/* Local DM Sans (DSGVO) */
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/dm-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ===== 7reach Premium Editorial – White, CI, Animated ===== */
:root {
  --bg: #FFFFFF;
  --bg-beige: #F7F2EB;
  --primary-blue: #052D6F;
  --accent-orange: #EA9936;
  --action-blue: #204ECF;
  --accent-light: #BAD6EB;
  --accent-coral: #F26749;
  --logo-turquoise: #2DD4BF;
  --text: #111111;
  --text-secondary: #333333;
  --text-muted: #666666;
  --border: rgba(0, 0, 0, 0.08);
  --font: "Franklin Gothic Book", "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-head: "Franklin Gothic BT", "Franklin Gothic Book", "DM Sans", sans-serif;
  --container: min(1100px, 92vw);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --duration: 0.4s;
  --touch-min: 44px;
  /* 1:3 typography ratio: body = 1 unit, headlines = 3 units */
  --body-size: 1rem;
  --head-ratio: 3;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--body-size);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

/* Kontaktseite (nach „Beratung anfragen“) – CI-Beige */
body.page-contact {
  background: var(--bg-beige);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.25rem, 5vw, 2rem);
  padding-right: clamp(1.25rem, 5vw, 2rem);
}

/* ----- Header ----- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 0.75rem 0;
}

/* Logo: official image or text fallback; protection zone = height of "e" (1em) */
.logo {
  display: inline-flex;
  align-items: center;
  padding: 0.5em;
  margin: -0.5em;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: 0.03em;
  color: var(--primary-blue);
  text-decoration: none;
}

.logo-img {
  display: block;
  height: 2em;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

.logo--img .logo-fallback {
  display: none;
}

.logo-fallback {
  display: inline-flex;
  align-items: center;
}

.logo-7 {
  color: var(--logo-turquoise);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
}

.nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  min-height: var(--touch-min);
  display: inline-flex;
  align-items: center;
}

.nav a:hover { color: var(--text-muted); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--touch-min);
  padding: 0.7rem 1.5rem;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.btn-primary {
  background: var(--accent-orange);
  color: #ffffff;
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(234, 153, 54, 0.35);
}


.btn-lg { padding: 0.75rem 2rem; font-size: 1rem; }

.btn-follow {
  background: var(--action-blue);
  color: #ffffff;
  font-size: 0.9rem;
  padding: 0.5rem 1.25rem;
}

.btn-follow:hover {
  filter: brightness(1.1);
  transform: scale(1.03);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.75rem;
  min-width: var(--touch-min);
  min-height: var(--touch-min);
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
}

/* ----- Section Base ----- */
.section {
  padding: clamp(4rem, 10vw, 6rem) 0;
}

.section-center {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Headlines: 1:3 ratio vs body (body 1rem → section head ~3rem base) */
.section-head {
  font-family: var(--font-head);
  font-size: clamp(calc(var(--body-size) * 2), 4.5vw, calc(var(--body-size) * var(--head-ratio)));
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.2;
  margin: 0 0 0.5rem 0;
  color: var(--primary-blue);
}

.section-head--center { text-align: center; }

.section-sub {
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0 0 2rem 0;
}

.section-sub--center { text-align: center; margin-left: auto; margin-right: auto; }

.section-cta { text-align: center; margin: 2rem 0 0; }

/* ----- 1) HERO – White BG, Fade-in-up ----- */
.section-hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--bg);
}

.section-hero--cinematic {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.hero-inner {
  width: 100%;
}

.hero-center {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* Cinematic intro overlay */
.hero-intro {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  background: #F7F2EB;
  pointer-events: none;
  overflow: hidden;
}

.hero-intro.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
}

.hero-intro.is-docking {
  background: transparent;
  transition: background-color 0.55s var(--ease);
}

.hero-intro.is-docking .hero-intro__logo-stage {
  z-index: 6;
}

.hero-intro__videos {
  position: absolute;
  inset: 0;
  background: #06101f;
  opacity: 0;
  transition: opacity 0.28s ease;
}

.hero-intro.is-montage .hero-intro__videos {
  opacity: 1;
}

.hero-intro__clip {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 0.85s ease, transform 1.4s ease;
  filter: saturate(1.05) contrast(1.03);
}

.hero-intro__clip.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-intro__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 45, 111, 0.18) 0%, rgba(5, 45, 111, 0.42) 55%, rgba(5, 45, 111, 0.62) 100%),
    radial-gradient(ellipse at center, transparent 30%, rgba(0, 0, 0, 0.28) 100%);
  opacity: 0;
  transition: opacity 0.28s ease;
  z-index: 1;
}

.hero-intro.is-montage .hero-intro__veil {
  opacity: 1;
}

.hero-intro__flash {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(255, 255, 255, 0.12);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.hero-intro__flash.is-on {
  opacity: 1;
}

.hero-intro__logo-stage {
  position: relative;
  z-index: 3;
  width: min(82vw, 520px);
  aspect-ratio: 1024 / 429;
  transform: scale(0.22);
  opacity: 0;
  transition: transform 1.55s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.55s ease;
}

.hero-intro.is-zoom .hero-intro__logo-stage {
  transform: scale(1);
  opacity: 1;
}

.hero-intro.is-split .hero-intro__logo-stage {
  transform: scale(1.08);
}

.hero-intro__logo {
  position: absolute;
  inset: 0;
  overflow: hidden;
  transition: transform 1.05s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.55s ease;
}

.hero-intro__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  user-select: none;
  pointer-events: none;
  background: transparent;
}

.hero-intro__logo--left {
  clip-path: inset(0 48.5% 0 0);
}

.hero-intro__logo--right {
  clip-path: inset(0 0 0 48.5%);
}

.hero-intro.is-split .hero-intro__logo--left {
  transform: translateX(calc(-56vw - 20px));
}

.hero-intro.is-split .hero-intro__logo--right {
  transform: translateX(calc(56vw + 20px));
}

/* QA hold: keep halves in-frame so the split reads clearly */
.hero-intro.is-split-hold.is-split .hero-intro__logo--left {
  transform: translateX(-26vw);
}

.hero-intro.is-split-hold.is-split .hero-intro__logo--right {
  transform: translateX(26vw);
}

/* After split, clear the halves so montage reads clean */
.hero-intro.is-montage.is-split:not(.is-split-hold) .hero-intro__logo {
  opacity: 0;
  transition: transform 1.05s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.55s ease 0.85s;
}

.hero-intro.is-fade-logo .hero-intro__logo-stage {
  /* legacy fallback – normal path uses FLIP dock */
  opacity: 0;
  visibility: hidden;
}

.hero-intro__logo-stage.is-flying {
  position: fixed;
  margin: 0;
  aspect-ratio: auto;
  transform: none;
  opacity: 1;
  will-change: left, top, width, height;
  transition:
    left 0.95s cubic-bezier(0.22, 1, 0.36, 1),
    top 0.95s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.95s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.95s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Instant final states for QA (?introDebug=) */
.hero-intro.is-debug-static,
.hero-intro.is-debug-static * {
  transition: none !important;
  animation: none !important;
}

.hero-content {
  position: relative;
  z-index: 3;
  /* Kein translateY am Wrapper – sonst wandert die Logo-Zielposition während des Docks */
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}

.hero-content.is-waiting {
  opacity: 0;
}

.hero-content.is-visible {
  opacity: 1;
}

.hero-brand-logo {
  width: min(250px, 62vw);
  height: auto;
  display: block;
  margin: 0 auto 30px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.hero-content.is-logo-ready .hero-brand-logo {
  opacity: 1;
}

/* Während Logo fliegt: Text/CTA schon sichtbar, Platzhalter-Logo unsichtbar */
.hero-content.is-visible:not(.is-logo-ready) .hero-title,
.hero-content.is-visible:not(.is-logo-ready) .hero-sub,
.hero-content.is-visible:not(.is-logo-ready) .hero-ctas {
  animation: heroCopyIn 0.7s var(--ease) both;
}

.hero-content.is-visible:not(.is-logo-ready) .hero-sub {
  animation-delay: 0.08s;
}

.hero-content.is-visible:not(.is-logo-ready) .hero-ctas {
  animation-delay: 0.16s;
}

@keyframes heroCopyIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-intro {
    display: none !important;
  }
  .hero-content,
  .hero-content.is-waiting {
    opacity: 1 !important;
    transform: none !important;
  }
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 1rem 0;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(calc(var(--body-size) * 2.25), 5.5vw, calc(var(--body-size) * var(--head-ratio)));
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.1;
  margin: 0 0 1rem 0;
  color: var(--primary-blue);
}

/* Kleinere Hero-Headline (Startseite) */
.hero-title.hero-title--sm {
  font-size: clamp(calc(var(--body-size) * 2), 4.6vw, calc(var(--body-size) * 2.55));
}

.hero-sub {
  font-size: clamp(1.08rem, 1.65vw, 1.22rem);
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0 auto 2rem;
  max-width: 32em;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Hero load animation: fade-in + slide up */
.hero-anim {
  opacity: 0;
  transform: translateY(24px);
  animation: heroReveal 0.9s var(--ease) forwards;
}

.hero-anim:nth-child(1) { animation-delay: 0.1s; }
.hero-anim:nth-child(2) { animation-delay: 0.2s; }
.hero-anim:nth-child(3) { animation-delay: 0.35s; }
.hero-anim:nth-child(4) { animation-delay: 0.5s; }
.hero-anim:nth-child(5) { animation-delay: 0.65s; }
.hero-anim:nth-child(6) { animation-delay: 0.8s; }
.hero-anim:nth-child(7) { animation-delay: 0.95s; }

@keyframes heroReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-anim { animation: none; opacity: 1; transform: none; }
}

/* ----- 2) INFINITE LOGO CAROUSEL ----- */
.section-logos {
  padding: 2.5rem 0;
  overflow: hidden;
  background: var(--bg);
}

.logo-carousel-wrap {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  background: var(--bg);
}

.logo-carousel-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  width: max-content;
  animation: logoScroll 40s linear infinite;
  will-change: transform;
  backface-visibility: hidden;
}

/* Seamless loop: two identical sets; animate so second set replaces first visually */
.logo-carousel-track img {
  height: 3.4rem;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  flex-shrink: 0;
  filter: grayscale(1);
  opacity: 0.8;
  transition: filter 0.35s var(--ease), opacity 0.35s var(--ease);
  pointer-events: auto;
}

.logo-carousel-track img:hover {
  filter: grayscale(0);
  opacity: 1;
}

/* Infinite scroll: content flows left → right (track moves right for seamless loop) */
@keyframes logoScroll {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  .logo-carousel-track { animation: none; }
}

/* Process motion styles live below – legacy .process-steps removed */

/* ----- 3) SERVICE CAROUSEL – Horizontal ----- */
.section-services {
  background: var(--bg);
}

.service-carousel-wrap {
  margin-top: 2rem;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  padding: 0 1rem 1.5rem;
}

.service-carousel {
  display: flex;
  gap: 1.5rem;
  padding: 0.5rem 0;
  width: max-content;
  min-width: 100%;
}

.service-module {
  flex: 0 0 320px;
  scroll-snap-align: start;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  transition: box-shadow var(--duration) var(--ease);
}

.service-module:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.service-module-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-blue);
  margin: 0 0 0.5rem 0;
}

.service-module-lead {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0 0 1rem 0;
}

.service-module-bullets {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ----- 4) DASHBOARD – Vertrauen in Zahlen ----- */
.section-dashboard {
  background: var(--bg);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.dashboard-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: box-shadow var(--duration) var(--ease);
}

.dashboard-box:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.dashboard-icon {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--action-blue);
}

.dashboard-icon svg {
  width: 40px;
  height: 40px;
}

.dashboard-number {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 0.35rem;
}

.dashboard-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal[data-stagger="0"] { transition-delay: 0s; }
.reveal[data-stagger="1"] { transition-delay: 0.1s; }
.reveal[data-stagger="2"] { transition-delay: 0.2s; }

@media (max-width: 768px) {
  .dashboard-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ----- 5) CASES (Startseite #cases) – im Container zentriert, Grid ----- */
.section-cases {
  background: var(--bg);
}

/* Galerie nur auf index: gleiche Breite wie Überschrift, Karten zentriert */
.section-cases .container--cases {
  margin-left: auto;
  margin-right: auto;
}

.section-cases .cases-gallery-wrap {
  margin-top: 2rem;
  width: 100%;
  overflow: visible;
  padding: 0 0 1.5rem;
}

.section-cases .cases-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  width: 100%;
  margin: 0 auto;
  padding: 0.5rem 0 0;
  box-sizing: border-box;
}

@media (max-width: 900px) {
  .section-cases .cases-gallery {
    grid-template-columns: 1fr;
    max-width: 26rem;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (min-width: 901px) and (max-width: 1050px) {
  .section-cases .cases-gallery {
    gap: 1rem;
  }
}

.case-card {
  flex: 0 0 min(360px, 88vw);
  scroll-snap-align: center;
  scroll-snap-stop: normal;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow var(--duration) var(--ease);
}

/* Startseite: Grid-Karten, nicht Flex-Breite von oben */
.section-cases .case-card {
  flex: unset;
  width: 100%;
  min-width: 0;
  max-width: none;
  scroll-snap-align: unset;
}

.case-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.case-card-image {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.case-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.case-card-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-blue);
  margin: 0;
  padding: 1.25rem 1.25rem 0;
  text-align: center;
}

.case-card-block {
  padding: 0.5rem 1.25rem 0;
  text-align: center;
}

.case-card-block strong {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.case-card-block p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0.25rem 0 0 0;
}

.case-card-block:last-child { padding-bottom: 1.25rem; }

/* ----- 5b) CASES V2 (Cards + Modal) ----- */
.section-cases-v2 {
  background: #052D6F;
}

.cases-v2-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.cases-v2-card {
  background: #F7F2EB;
  border: 1px solid rgba(5, 45, 111, 0.08);
  border-radius: 1rem;
  padding: 1.1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.cases-v2-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.cases-v2-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #052D6F;
  background: #BAD6EB;
  margin-bottom: 0.75rem;
}

.cases-v2-title {
  margin: 0;
  color: #052D6F;
  font-family: var(--font-head);
  font-size: 1.2rem;
}

.cases-v2-text {
  margin: 0.7rem 0 0;
  color: #052D6F;
  opacity: 0.9;
  font-size: 0.95rem;
  line-height: 1.6;
}

.cases-v2-btn {
  margin-top: 1rem;
  border: none;
  border-radius: 9999px;
  background: #EA9936;
  color: #FFFFFF;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.7rem 1.1rem;
  cursor: pointer;
  transition: filter 0.2s ease;
}

.cases-v2-btn:hover {
  filter: brightness(1.06);
}

@media (min-width: 900px) {
  .cases-v2-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }
}



/* ----- 6) SOCIAL HUB – Clean cards (Simon + Ben + LinkedIn) ----- */
.section-social-hub {
  background: #FFFFFF;
}

.social-hub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.social-hub-grid--single {
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .social-hub-grid:has(.social-hub-card:nth-child(3)) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.social-hub-card {
  background: #FFFFFF;
  border: 1px solid var(--accent-light);
  border-radius: 1rem;
  padding: 1.75rem;
  text-align: center;
  transition: box-shadow var(--duration) var(--ease);
}

.social-hub-card:hover {
  box-shadow: 0 8px 24px rgba(186, 214, 235, 0.2);
}

.social-hub-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1rem;
}

.social-hub-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.social-hub-name {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-blue);
  margin: 0 0 0.5rem 0;
}

.social-hub-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.social-hub-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
  transition: color var(--duration) var(--ease);
}

.social-hub-icon:hover {
  color: var(--action-blue);
}

.social-hub-followers {
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.social-hub-followers strong {
  color: var(--primary-blue);
}

.social-hub-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
}

.social-hub-thumb {
  aspect-ratio: 1;
  border-radius: 6px;
  min-height: 48px;
}

.linkedin-card {
  margin-top: 2rem;
  background: #FFFFFF;
  border: 1px solid var(--accent-light);
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
}

.linkedin-card-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.linkedin-card-logo {
  height: 40px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  flex-shrink: 0;
}

.linkedin-card-inner div { flex: 1; min-width: 200px; }

.linkedin-card-inner strong { color: var(--primary-blue); }

.linkedin-card-inner p { margin: 0.25rem 0 0 0; font-size: 0.9rem; color: var(--text-muted); }

@media (max-width: 700px) {
  .social-hub-grid { grid-template-columns: 1fr; }
}

/* ----- 7) FAQ ACCORDION ----- */
.section-faq {
  background: var(--bg);
}

.section-faq-inner {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.faq-accordion {
  margin-top: 1.5rem;
}

.faq-item {
  border-bottom: 1px solid var(--accent-light);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-blue);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  min-height: var(--touch-min);
}

.faq-question-text {
  flex: 1;
}

.faq-toggle {
  position: relative;
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
  font-size: 1.5rem;
  line-height: 1;
}

.faq-plus,
.faq-minus {
  position: absolute;
  transition: opacity var(--duration) var(--ease), transform var(--duration) var(--ease);
}

.faq-minus {
  opacity: 0;
}

.faq-item.is-open .faq-plus {
  opacity: 0;
}

.faq-item.is-open .faq-minus {
  opacity: 1;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease);
  /* Geschlossene Antwort blockiert keine Klicks auf die nächste Frage (Layout/Animation) */
  pointer-events: none;
}

.faq-item.is-open .faq-answer {
  max-height: 100rem;
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .faq-answer {
    transition: none;
  }
  .faq-item.is-open .faq-answer {
    max-height: none;
  }
}

.faq-answer p {
  margin: 0 0 1.25rem 0;
  padding-right: 2rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.faq-answer-list {
  margin: 0 0 1.25rem 0;
  padding-right: 2rem;
  padding-left: 1.25rem;
  font-family: var(--font);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.faq-answer-list li {
  margin-bottom: 0.5rem;
}

.faq-answer-list li:last-child {
  margin-bottom: 0;
}

/* ----- 8) FINAL CTA ----- */
.section-final {
  background: var(--primary-blue);
  color: #fff;
}

.section-head--light {
  color: #fff;
}

.section-sub--light {
  color: rgba(255, 255, 255, 0.85);
}

.final-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.section-final .btn-primary {
  background: var(--accent-orange);
  color: #fff;
}

.final-contact {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 1.5rem 0;
}

.final-contact a {
  color: #fff;
  text-decoration: none;
}

.final-contact a:hover { text-decoration: underline; }

/* ----- Footer ----- */
.footer {
  position: relative;
  z-index: 20;
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-inner {
  text-align: center;
}

.footer .logo {
  display: inline-block;
  margin-bottom: 0.35rem;
}

.footer-tagline {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0 0 1rem 0;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 1rem;
}

.footer-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-nav a:hover { color: var(--text-muted); }

.footer-legal {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

.footer-legal a {
  color: var(--text-muted);
  text-decoration: underline;
  cursor: pointer;
  position: relative;
  z-index: 2;
  pointer-events: auto;
}

.footer-legal a:hover {
  color: var(--text);
  text-decoration: underline;
}

/* ----- Mobile Nav ----- */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    flex-direction: column;
    gap: 0.5rem;
  }
  .nav.is-open { display: flex; }
}

/* ----- Contact Page (Beratung anfragen – modern, luftig) ----- */
.contact-main {
  background: #FFFFFF;
  min-height: 60vh;
}

.contact-section {
  padding: 6rem 1.5rem 8rem;
  text-align: center;
}

.contact-wrap {
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.contact-headline {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: bold;
  color: #052D6F;
  text-transform: uppercase;
  margin: 0 0 1rem 0;
  letter-spacing: 0.03em;
}

.contact-subline {
  font-family: var(--font);
  font-size: 1.2rem;
  color: #BAD6EB;
  margin: 0 0 3.5rem 0;
  line-height: 1.55;
}

.contact-form-minimal {
  text-align: left;
}

.contact-field {
  border: none;
  border-bottom: 1px solid #BAD6EB;
  margin-bottom: 0;
  transition: border-color 0.25s ease;
}

.contact-field + .contact-field {
  margin-top: 1rem;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  padding: 1.75rem 0;
  font-family: var(--font);
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--text);
  background: transparent;
  border: none;
  outline: none;
  resize: vertical;
  transition: color 0.2s ease;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: #A8A8A8;
  font-size: 1.15rem;
}

.contact-field input:focus,
.contact-field textarea:focus {
  border: none;
  outline: none;
}

.contact-field:focus-within {
  border-bottom-color: #052D6F;
}

.contact-field--textarea {
  margin-top: 1.25rem;
}

.contact-field--textarea textarea {
  min-height: 180px;
  padding-top: 1.75rem;
  padding-bottom: 1.75rem;
}

.contact-submit-wrap {
  text-align: center;
  margin-top: 3rem;
}

.contact-submit {
  display: inline-block;
  padding: 1.25rem 2.75rem;
  font-family: var(--font-head);
  font-weight: bold;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: #FFFFFF;
  background: #EA9936;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.contact-submit:hover {
  filter: brightness(1.06);
  transform: scale(1.02);
}

/* ----- Team Page ----- */
.team-page-hero {
  background: linear-gradient(180deg, #F7F2EB 0%, #FFFFFF 100%);
}

.team-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-muted);
  font-weight: 700;
}

.team-hero-cta {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
}

.team-metrics-strip {
  background: #FFFFFF;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.team-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.team-metric {
  border: 1px solid var(--accent-light);
  border-radius: 0.8rem;
  padding: 1rem;
  background: #FFFFFF;
  text-align: center;
}

.team-metric strong {
  display: block;
  color: var(--primary-blue);
  font-family: var(--font-head);
  font-size: 1.15rem;
}

.team-metric span {
  display: block;
  margin-top: 0.2rem;
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.team-problems {
  background: #F7F2EB;
}

.team-problem-grid {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.team-problem-card {
  background: #FFFFFF;
  border: 1px solid rgba(5, 45, 111, 0.12);
  border-radius: 0.9rem;
  padding: 1rem 1rem 1.1rem;
}

.team-problem-card h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-head);
  color: var(--primary-blue);
  font-size: 1rem;
}

.team-problem-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.55;
}

.team-pillars {
  background: #FFFFFF;
}

.team-pillars-grid {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.team-pillar {
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  padding: 1rem;
  background: #FFFFFF;
}

.team-pillar h3 {
  margin: 0 0 0.4rem;
  color: var(--primary-blue);
  font-family: var(--font-head);
  font-size: 1rem;
}

.team-pillar p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.5;
}

.team-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

.team-card {
  background: #FFFFFF;
  border: 1px solid var(--accent-light);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(5, 45, 111, 0.07);
}

.team-card-media {
  background: linear-gradient(145deg, rgba(186, 214, 235, 0.28), rgba(247, 242, 235, 0.9));
  aspect-ratio: 16 / 11;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.team-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-card-body {
  padding: 1.1rem 1.1rem 1.25rem;
}

.team-card-role {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.team-card-name {
  margin: 0.35rem 0 0.6rem;
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--primary-blue);
}

.team-card-quote {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.55;
}

@media (min-width: 760px) {
  .team-metrics-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .team-problem-grid,
  .team-pillars-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1120px) {
  .team-problem-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .team-pillars-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}



/* ----- Shared page modules (services/about) ----- */
.page-hero {
  padding-top: 2rem;
  padding-bottom: 1rem;
}
.breadcrumb {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.breadcrumb a {
  color: var(--text);
  text-decoration: none;
}
.breadcrumb a:hover { text-decoration: underline; }
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.card {
  background: #fff;
  border: 1px solid rgba(5,45,111,0.08);
  border-radius: 1rem;
  padding: 1.75rem;
  transition: box-shadow 0.25s, border-color 0.25s;
}
.card:hover {
  box-shadow: 0 12px 32px rgba(5,45,111,0.1);
}
.card-img-wrap {
  margin: -1.75rem -1.75rem 1.25rem;
  border-radius: 1rem 1rem 0 0;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: #F7F2EB;
}
.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
  color: var(--primary-blue);
}
.card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin: 0 0 1rem 0;
  line-height: 1.5;
}
.card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.card li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-left: 1.25rem;
  position: relative;
  margin-bottom: 0.35rem;
}
.card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: #EA9936;
}
.process-section .section-head { text-align: center; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
@media (min-width: 900px) {
  .process-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.process-step { text-align: center; }
.process-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--primary-blue);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 50%;
  margin-bottom: 1rem;
}
.process-step h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
  color: var(--primary-blue);
}
.process-step p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}
.cta-sticky-bar {
  background: #F7F2EB;
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.about-img-wrap {
  max-width: 480px;
}
.about-img-wrap .img-round,
.img-round {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  object-fit: cover;
}
.caption {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}
.nav a.active {
  font-weight: 600;
}


.cases-page {
  background: #FFFFFF;
}

.cases-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 10vw, 7.5rem) 0 clamp(3rem, 6vw, 4.5rem);
  background:
    radial-gradient(ellipse 80% 60% at 15% 20%, rgba(234, 153, 54, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 10%, rgba(5, 45, 111, 0.12), transparent 50%),
    linear-gradient(180deg, #F7F2EB 0%, #FFFFFF 100%);
}

.cases-hero__glow {
  position: absolute;
  inset: auto -10% -40% 40%;
  height: 60%;
  background: radial-gradient(circle, rgba(234, 153, 54, 0.2), transparent 65%);
  pointer-events: none;
  animation: casesGlow 8s ease-in-out infinite alternate;
}

@keyframes casesGlow {
  from { transform: translateX(0) scale(1); opacity: 0.7; }
  to { transform: translateX(-8%) scale(1.12); opacity: 1; }
}

.cases-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 920px;
}

.cases-hero__eyebrow {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.cases-hero__title {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(2.35rem, 6.2vw, 4.25rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--primary-blue);
  font-weight: 700;
}

.cases-hero__title span {
  color: #EA9936;
}

.cases-hero__sub {
  margin: 1.35rem 0 0;
  max-width: 38rem;
  font-size: clamp(1.02rem, 2vw, 1.2rem);
  line-height: 1.6;
  color: var(--text-secondary);
}

.cases-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.75rem;
  max-width: 40rem;
}

.cases-stat {
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(5, 45, 111, 0.08);
  backdrop-filter: blur(8px);
}

.cases-stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3.5vw, 2.15rem);
  color: var(--primary-blue);
  line-height: 1.1;
}

.cases-stat span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.cases-filter-bar {
  position: sticky;
  top: 64px;
  z-index: 20;
  padding: 0.85rem 0;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(5, 45, 111, 0.06);
}

.cases-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cases-filter {
  appearance: none;
  border: 1px solid rgba(5, 45, 111, 0.14);
  background: #FFFFFF;
  color: var(--primary-blue);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.cases-filter:hover {
  border-color: rgba(5, 45, 111, 0.35);
  transform: translateY(-1px);
}

.cases-filter.is-active {
  background: var(--primary-blue);
  border-color: var(--primary-blue);
  color: #FFFFFF;
}

.cases-stream {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5rem);
}

.case-story {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto clamp(3.5rem, 8vw, 5.5rem);
  padding: 0 1.25rem;
}

.case-story__media {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #0a1628;
  box-shadow: 0 24px 60px rgba(5, 45, 111, 0.14);
}

.case-story__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.04);
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.case-story:hover .case-story__media img,
.case-story.is-visible .case-story__media img {
  transform: scale(1);
}

.case-story__media-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, transparent 40%, rgba(5, 45, 111, 0.35));
  pointer-events: none;
}

.case-story__index {
  position: absolute;
  left: 1rem;
  bottom: 0.85rem;
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: -0.03em;
  line-height: 1;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.case-story__tag {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #EA9936;
}

.case-story__body h2 {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  line-height: 1.15;
  color: var(--primary-blue);
}

.case-story__lead {
  margin: 0.85rem 0 0;
  color: var(--text-secondary);
  line-height: 1.65;
  font-size: 1.02rem;
}

.case-story__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.case-story__grid h3 {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-blue);
}

.case-story__grid p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.case-story__kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.case-story__kpis > div {
  padding: 0.85rem 0.75rem;
  border-radius: 0.85rem;
  background: #F7F2EB;
  text-align: center;
}

.case-story__kpis strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--primary-blue);
}

.case-story__kpis span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.case-story.is-filtered-out {
  display: none;
}

.cases-method {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  background: #F7F2EB;
}

.cases-method__inner h2 {
  margin: 0 0 1.75rem;
  text-align: center;
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--primary-blue);
}

.cases-method__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.cases-method__steps li {
  background: #FFFFFF;
  border-radius: 1rem;
  padding: 1.15rem 1.2rem;
  border: 1px solid rgba(5, 45, 111, 0.06);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.cases-method__steps li:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(5, 45, 111, 0.1);
}

.cases-method__steps span {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #EA9936;
  margin-bottom: 0.35rem;
}

.cases-method__steps strong {
  display: block;
  font-family: var(--font-head);
  color: var(--primary-blue);
  font-size: 1.1rem;
}

.cases-method__steps p {
  margin: 0.35rem 0 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.cases-cta {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
  background:
    linear-gradient(135deg, rgba(5, 45, 111, 0.94), rgba(5, 45, 111, 0.82)),
    url('assets/cases/project-konzepte.jpg') center / cover;
  color: #FFFFFF;
}

.cases-cta__inner {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto;
}

.cases-cta h2 {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.cases-cta p {
  margin: 1rem 0 0;
  opacity: 0.9;
  line-height: 1.6;
}

.cases-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.cases-cta .btn-ghost {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.45);
}
.cases-cta .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #FFFFFF;
}

@media (min-width: 860px) {
  .case-story {
    grid-template-columns: 1.05fr 1fr;
    gap: 2.5rem;
    padding: 0 1.5rem;
  }
  .case-story--flip .case-story__media {
    order: 2;
  }
  .case-story--flip .case-story__body {
    order: 1;
  }
  .case-story__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .cases-method__steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .cases-hero__stats {
    grid-template-columns: 1fr;
  }
  .cases-filter-bar {
    top: 56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cases-hero__glow {
    animation: none;
  }
  .case-story__media img {
    transition: none;
  }
}


/* --- Tailwind replacements (CDN removed) --- */
.bg-white { background-color: #FFFFFF; }
.bg-black\/60 { background-color: rgba(0,0,0,.6); }
.text-white { color: #fff; }
.text-\[\#052D6F\] { color: #052D6F; }
.text-\[\#052D6F\]\/85 { color: rgba(5,45,111,.85); }
.text-\[\#052D6F\]\/90 { color: rgba(5,45,111,.9); }
.text-\[\#EA9936\] { color: #EA9936; }
.bg-\[\#F7F2EB\] { background-color: #F7F2EB; }
.bg-\[\#EA9936\]\/10 { background-color: rgba(234,153,54,.1); }
.border-gray-100 { border-color: #f3f4f6; }
.border { border-width: 1px; border-style: solid; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }
.p-10 { padding: 2.5rem; }
.p-6 { padding: 1.5rem; }
.p-4 { padding: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.pt-8 { padding-top: 2rem; }
.pt-2 { padding-top: .5rem; }
.pl-5 { padding-left: 1.25rem; }
.mt-2 { margin-top: .5rem; }
.mt-3 { margin-top: .75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-14 { margin-top: 3.5rem; }
.mt-auto { margin-top: auto; }
.mb-6 { margin-bottom: 1.5rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.my-auto { margin-top: auto; margin-bottom: auto; }
.max-w-3xl { max-width: 48rem; }
.max-w-3xl-case, .max-w-3xl { max-width: 48rem; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.h-5 { height: 1.25rem; }
.w-5 { width: 1.25rem; }
.h-8 { width: auto; height: 2rem; }
.w-8 { width: 2rem; }
.h-10 { height: 2.5rem; }
.w-10 { width: 2.5rem; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-stretch { align-items: stretch; }
.justify-center { justify-content: center; }
.self-center { align-self: center; }
.flex-col { flex-direction: column; }
.gap-10 { gap: 2.5rem; }
.space-y-2 > * + * { margin-top: .5rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.text-center { text-align: center; }
.text-sm { font-size: .875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.leading-relaxed { line-height: 1.625; }
.underline { text-decoration: underline; }
.underline-offset-4 { text-underline-offset: 4px; }
.decoration-\[\#052D6F\]\/35 { text-decoration-color: rgba(5,45,111,.35); }
.list-disc { list-style-type: disc; }
.object-cover { object-fit: cover; }
.aspect-video { aspect-ratio: 16 / 9; }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0,0,0,.25); }
.shadow-sm { box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.fixed { position: fixed; }
.absolute { position: absolute; }
.relative { position: relative; }
.inset-0 { inset: 0; }
.right-3 { right: .75rem; }
.top-3 { top: .75rem; }
.z-10 { z-index: 10; }
.z-\[3000\] { z-index: 3000; }
.overflow-y-auto { overflow-y: auto; }
.overscroll-contain { overscroll-behavior: contain; }
.overscroll-y-contain { overscroll-behavior-y: contain; }
.bg-slate-100 { background-color: #f1f5f9; }
@media (min-width: 768px) {
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .md\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
  .md\:text-base { font-size: 1rem; line-height: 1.5rem; }
  .md\:p-8 { padding: 2rem; }
}
@media (min-width: 640px) {
  .sm\:items-center { align-items: center; }
  .sm\:py-4 { padding-top: 1rem; padding-bottom: 1rem; }
}

/* Case detail pages */
.case-detail { background: #fff; }
.case-detail .placeholder-chip {
  display: inline-block;
  background: #fff3cd;
  color: #664d03;
  border: 1px dashed #e0a800;
  padding: .1rem .4rem;
  border-radius: .35rem;
  font-size: .85em;
  font-weight: 600;
}
.case-hero {
  padding: clamp(3rem,7vw,5rem) 0 clamp(2rem,5vw,3rem);
  background: linear-gradient(180deg,#F7F2EB 0%,#fff 100%);
}
.case-hero__meta { display:flex; flex-wrap:wrap; gap:.5rem; margin-bottom:1rem; }
.case-hero__client {
  font-size:.78rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:#EA9936;
}
.case-hero h1 {
  margin:0; font-family:var(--font-head); color:var(--primary-blue);
  font-size:clamp(1.8rem,4.5vw,2.8rem); line-height:1.15; max-width:40rem;
}
.case-hero__sub { margin:1rem 0 0; color:var(--text-secondary); max-width:36rem; line-height:1.6; }
.case-kpi-row {
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; margin-top:2rem; max-width:40rem;
}
.case-kpi {
  background:#fff; border:1px solid rgba(5,45,111,.08); border-radius:1rem; padding:1rem 1.1rem;
}
.case-kpi strong { display:block; font-family:var(--font-head); font-size:clamp(1.4rem,3vw,1.9rem); color:var(--primary-blue); }
.case-kpi span { display:block; margin-top:.25rem; font-size:.8rem; color:var(--text-muted); }
.case-tags { display:flex; flex-wrap:wrap; gap:.45rem; margin-top:1.25rem; }
.case-tag {
  font-size:.78rem; font-weight:600; padding:.35rem .7rem; border-radius:999px;
  background:rgba(5,45,111,.06); color:var(--primary-blue);
}
.case-section { padding:clamp(2.5rem,6vw,4rem) 0; }
.case-section--alt { background:#F7F2EB; }
.case-section h2 {
  margin:0 0 1rem; font-family:var(--font-head); color:var(--primary-blue);
  font-size:clamp(1.4rem,3vw,1.9rem);
}
.case-section p, .case-section li { color:var(--text-secondary); line-height:1.65; }
.case-approach {
  display:grid; gap:1rem; margin-top:1.5rem;
}
@media(min-width:800px){ .case-approach { grid-template-columns:repeat(2,minmax(0,1fr)); } }
.case-approach article {
  background:#fff; border:1px solid rgba(5,45,111,.08); border-radius:1rem; padding:1.25rem;
}
.case-approach h3 { margin:0 0 .5rem; color:var(--primary-blue); font-size:1.05rem; }
.case-why {
  background: linear-gradient(135deg,#052D6F,#0a3d8f); color:#fff; border-radius:1.25rem; padding:clamp(1.5rem,4vw,2.5rem);
}
.case-why h2 { color:#fff; }
.case-why__grid { display:grid; gap:1.25rem; margin-top:1.5rem; }
@media(min-width:800px){ .case-why__grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
.case-why__item h3 { margin:0 0 .5rem; color:#EA9936; font-size:1.05rem; }
.case-why__item p { color:rgba(255,255,255,.88); margin:0; }
.case-content-grid {
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; margin-top:1.5rem;
}
@media(min-width:700px){ .case-content-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
.case-content-card {
  background:#fff; border:1px solid rgba(5,45,111,.08); border-radius:1rem; overflow:hidden;
}
.case-content-thumb {
  position:relative; aspect-ratio:9/16; background:#0a1628; display:grid; place-items:center;
}
.case-content-thumb img { width:100%; height:100%; object-fit:cover; }
.case-content-play {
  position:absolute; inset:0; display:grid; place-items:center; background:rgba(0,0,0,.25);
  color:#fff; font-size:2rem; text-decoration:none;
}
.case-content-card p { margin:0; padding:.85rem 1rem 1rem; font-size:.88rem; }
.case-compare {
  display:grid; grid-template-columns:1fr 1fr; gap:1rem; margin-top:1.5rem;
}
.case-compare__box {
  border-radius:1rem; padding:1.25rem; background:#fff; border:1px solid rgba(5,45,111,.08);
}
.case-compare__box h3 { margin:0 0 .75rem; font-size:.8rem; letter-spacing:.1em; text-transform:uppercase; color:var(--text-muted); }
.case-compare__box strong { display:block; font-size:1.6rem; color:var(--primary-blue); font-family:var(--font-head); margin-bottom:.35rem; }
.case-quote {
  margin-top:1.5rem; padding:1.5rem; border-left:4px solid #EA9936; background:#fff; border-radius:0 1rem 1rem 0;
}
.case-quote p { margin:0; font-size:1.1rem; color:var(--primary-blue); font-style:italic; }
.case-quote footer { margin-top:1rem; display:flex; gap:.85rem; align-items:center; }
.case-quote img { width:52px; height:52px; border-radius:50%; object-fit:cover; background:#e9ecef; }
.case-cta-band {
  margin:clamp(2rem,5vw,3rem) 0; padding:clamp(1.75rem,4vw,2.5rem); border-radius:1.25rem;
  background:#F7F2EB; display:flex; flex-wrap:wrap; gap:1rem; align-items:center; justify-content:space-between;
}
.case-cta-band h2 { margin:0; font-size:1.35rem; color:var(--primary-blue); font-family:var(--font-head); }
.case-open-list { margin-top:2rem; padding:1rem; background:#fff8e6; border:1px solid #f0d78c; border-radius:.75rem; font-size:.9rem; }
.case-open-list h3 { margin:0 0 .5rem; color:#664d03; font-size:.95rem; }
.case-open-list ul { margin:0; padding-left:1.2rem; color:#664d03; }
.cases-card-link { text-decoration:none; color:inherit; display:block; }
.cases-card-link:hover .case-story__media img { transform:scale(1.03); }
/* ----- Leistungen (Startseite) – Editorial Rows ----- */
.section-services.section {
  background: #FFFFFF;
  padding-top: clamp(3rem, 7vw, 5rem);
  padding-bottom: clamp(3rem, 7vw, 5rem);
}

.services-rail {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 5vw, 3.25rem);
  margin-top: 0.25rem;
}

.services-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
  text-decoration: none;
  color: inherit;
  align-items: center;
}

@media (min-width: 880px) {
  .services-item {
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(1.75rem, 4vw, 3rem);
  }
  .services-item--flip .services-item__media { order: 2; }
  .services-item--flip .services-item__copy { order: 1; }
}

.section-services .section-sub--center {
  max-width: 36rem;
}

.services-item__media {
  overflow: hidden;
  aspect-ratio: 5 / 3;
  background: #F7F2EB;
}

.services-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.65s var(--ease);
}

.services-item:hover .services-item__media img {
  transform: scale(1.04);
}

.services-item__num {
  display: block;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #EA9936;
  margin-bottom: 0.55rem;
}

.services-item__copy h3 {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  line-height: 1.2;
  color: var(--primary-blue);
}

.services-item__copy p {
  margin: 0.7rem 0 0;
  max-width: 28rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.services-item__cta {
  display: inline-block;
  margin-top: 1.1rem;
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary-blue);
  border-bottom: 2px solid #EA9936;
  padding-bottom: 0.12rem;
}

.services-item:hover .services-item__cta {
  color: #052D6F;
}

.services-all {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2rem;
  margin: 2.5rem 0 0;
}

.services-all a {
  color: var(--primary-blue);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(5, 45, 111, 0.25);
}

.services-all a:hover {
  border-bottom-color: #EA9936;
}

.highlight-cases { padding:clamp(2.5rem,6vw,4rem) 0; background:#fff; }
.highlight-grid { display:grid; gap:1.25rem; margin-top:1.75rem; }
@media(min-width:860px){ .highlight-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
.highlight-card {
  border-radius:1.15rem; overflow:hidden; border:1px solid rgba(5,45,111,.08); background:#F7F2EB;
  text-decoration:none; color:inherit; display:flex; flex-direction:column; transition:transform .3s var(--ease), box-shadow .3s var(--ease);
}
.highlight-card:hover { transform:translateY(-3px); box-shadow:0 16px 40px rgba(5,45,111,.12); }
.highlight-card__media { aspect-ratio:16/10; overflow:hidden; }
.highlight-card__media img { width:100%; height:100%; object-fit:cover; display:block; }
.highlight-card__body { padding:1.15rem 1.2rem 1.35rem; }
.highlight-card__kpi { font-family:var(--font-head); font-size:1.6rem; color:var(--primary-blue); margin:0; }
.highlight-card__client { font-size:.75rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:#EA9936; margin:0 0 .35rem; }
.highlight-card__title { margin:.35rem 0 0; color:var(--primary-blue); font-size:1.05rem; line-height:1.3; }
.highlight-card__text { margin:.5rem 0 0; color:var(--text-secondary); font-size:.92rem; line-height:1.5; }
.form-msg { display:none; margin-top:1rem; padding:.85rem 1rem; border-radius:.75rem; }
.form-msg.is-ok { display:block; background:#e8f5e9; color:#1b5e20; }
.form-msg.is-err { display:block; background:#fdecea; color:#8a1f11; }
.hp-field { position:absolute; left:-9999px; opacity:0; height:0; overflow:hidden; }
.contact-check { display:flex; gap:.6rem; align-items:flex-start; text-align:left; margin:1rem 0; font-size:.9rem; }

/* ===== PROCESS MOTION MODULE ===== */
.section-process-motion {
  --pm-navy: #052D6F;
  --pm-orange: #EA9936;
  --pm-coral: #F26749;
  --pm-sky: #BAD6EB;
  --pm-cream: #F7F2EB;
  --pm-blue: #204ECF;
  background: var(--pm-navy);
  color: var(--pm-cream);
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  /* kein overflow:clip/hidden – bricht ScrollTrigger-Pin */
  overflow: visible;
  isolation: isolate;
}

.process-motion {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.process-motion__intro {
  max-width: 40rem;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.process-motion__eyebrow {
  margin: 0 0 0.65rem;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pm-orange);
}

.process-motion__intro h2 {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(1.85rem, 4.2vw, 2.75rem);
  line-height: 1.12;
  color: #fff;
}

.process-motion__sub {
  margin: 0.9rem 0 0;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(247, 242, 235, 0.78);
}

.section-process-motion .placeholder-chip {
  display: inline-block;
  background: rgba(234, 153, 54, 0.18);
  color: #ffd9a0;
  border: 1px dashed rgba(234, 153, 54, 0.55);
  padding: 0.05rem 0.35rem;
  border-radius: 0.3rem;
  font-size: 0.85em;
  font-weight: 700;
}

.process-motion__layout {
  position: relative;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 0.85rem;
  align-items: stretch;
}

.process-motion__railwrap {
  display: block;
  position: relative;
}

.process-motion__rail {
  position: absolute;
  top: 1.2rem;
  bottom: 1.2rem;
  left: 11px;
  width: 3px;
}

.process-motion__rail-track {
  position: absolute;
  inset: 0;
  background: rgba(186, 214, 235, 0.22);
  border-radius: 999px;
}

.process-motion__rail-fill {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, var(--pm-orange), var(--pm-coral));
  border-radius: 999px;
}

.process-motion__nodes {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.process-motion__node {
  width: 14px;
  height: 14px;
  margin-left: -5.5px;
  border-radius: 50%;
  background: var(--pm-navy);
  border: 2px solid rgba(186, 214, 235, 0.45);
  display: grid;
  place-items: center;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s var(--ease);
}

.process-motion__node i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: transparent;
}

.process-motion__node.is-active {
  border-color: var(--pm-orange);
  transform: scale(1.12);
  box-shadow: 0 0 0 5px rgba(234, 153, 54, 0.16);
}

.process-motion__node.is-active i {
  background: var(--pm-orange);
  animation: psBlink 1.4s ease-in-out infinite;
}

.process-motion__node.is-done {
  border-color: var(--pm-orange);
  background: var(--pm-orange);
}

.process-motion__node.is-done i {
  width: 7px;
  height: 4px;
  border-radius: 0;
  background: transparent;
  border-left: 2px solid #052D6F;
  border-bottom: 2px solid #052D6F;
  transform: rotate(-45deg) translate(1px, -1px);
}

.process-motion__phases {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.process-phase {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(186, 214, 235, 0.18);
  border-radius: 1.15rem;
  padding: 1.35rem 1.2rem 1.4rem;
  overflow: hidden;
  z-index: 1;
}

.process-phase__copy,
.process-phase__stage {
  position: relative;
  z-index: 1;
}

.process-phase__giant {
  position: absolute;
  right: -0.1em;
  top: -0.15em;
  font-family: var(--font-head);
  font-size: clamp(4.5rem, 20vw, 9rem);
  font-weight: 700;
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 2px rgba(234, 153, 54, 0.22);
  text-stroke: 2px rgba(234, 153, 54, 0.22);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.process-phase__num {
  display: block;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--pm-orange);
  margin-bottom: 0.55rem;
}

.process-phase__copy h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-head);
  font-size: clamp(1.35rem, 2.5vw, 1.7rem);
  color: #fff;
  line-height: 1.2;
}

.process-phase__text {
  margin: 0 0 0.55rem;
  color: rgba(247, 242, 235, 0.8);
  line-height: 1.55;
  font-size: 0.98rem;
}

.process-phase__duration {
  margin: 0.85rem 0 0.75rem;
  font-size: 0.88rem;
  color: var(--pm-sky);
}

.process-phase__deliver-label {
  margin: 0 0 0.45rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(247, 242, 235, 0.55);
}

.process-phase__chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.process-phase__chips li {
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  background: rgba(32, 78, 207, 0.35);
  border: 1px solid rgba(186, 214, 235, 0.28);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  transition: transform 0.25s var(--ease), border-color 0.25s ease;
}

.process-phase__chips li:hover {
  transform: translateY(-2px);
  border-color: var(--pm-orange);
}

.process-phase__stage {
  margin-top: 1.25rem;
}

.process-stage {
  position: relative;
  border-radius: 1rem;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(32, 78, 207, 0.35), transparent 55%),
    rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(186, 214, 235, 0.16);
  box-shadow: 0 0 40px rgba(234, 153, 54, 0.08);
  padding: 1rem;
  min-height: 220px;
  overflow: hidden;
  will-change: transform;
}

/* --- Scene: Diagnose --- */
.ps-radar {
  position: relative;
  width: 88px;
  height: 88px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  border: 1px solid rgba(186, 214, 235, 0.35);
  box-shadow: 0 0 0 8px rgba(32, 78, 207, 0.12);
}
.ps-radar__ring {
  position: absolute;
  inset: 14%;
  border: 1px solid rgba(186, 214, 235, 0.25);
  border-radius: 50%;
}
.ps-radar__ring--2 { inset: 28%; }
.ps-radar__sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 70%, rgba(234, 153, 54, 0.45) 100%);
  opacity: 0.7;
}
.process-phase.is-playing .ps-radar__sweep {
  animation: psSpin 2.8s linear infinite;
}
@keyframes psSpin { to { transform: rotate(360deg); } }

.ps-bars { display: grid; gap: 0.45rem; margin-bottom: 0.85rem; }
.ps-bar {
  display: grid;
  grid-template-columns: 5.5rem 1fr auto;
  gap: 0.45rem;
  align-items: center;
  font-size: 0.72rem;
  color: rgba(247, 242, 235, 0.75);
}
.ps-bar i {
  display: block;
  height: 6px;
  border-radius: 999px;
  background: rgba(186, 214, 235, 0.2);
  position: relative;
  overflow: hidden;
}
.ps-bar i::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: linear-gradient(90deg, var(--pm-blue), var(--pm-orange));
  border-radius: inherit;
  transition: width 1s var(--ease);
}
.process-phase.is-playing .ps-bar:nth-child(1) i::after,
.process-phase.is-done .ps-bar:nth-child(1) i::after { width: 78%; }
.process-phase.is-playing .ps-bar:nth-child(2) i::after,
.process-phase.is-done .ps-bar:nth-child(2) i::after { width: 54%; }
.process-phase.is-playing .ps-bar:nth-child(3) i::after,
.process-phase.is-done .ps-bar:nth-child(3) i::after { width: 91%; }

.ps-plot {
  position: relative;
  height: 72px;
  border-radius: 0.6rem;
  background:
    linear-gradient(rgba(186, 214, 235, 0.08) 1px, transparent 1px) 0 0 / 100% 24px,
    linear-gradient(90deg, rgba(186, 214, 235, 0.08) 1px, transparent 1px) 0 0 / 24px 100%,
    rgba(0, 0, 0, 0.15);
}
.ps-dot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 8px;
  height: 8px;
  margin: -4px;
  border-radius: 50%;
  background: var(--pm-sky);
  opacity: 0;
  transform: scale(0.4);
}
.process-phase.is-playing .ps-dot,
.process-phase.is-done .ps-dot {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.35s ease, transform 0.35s var(--ease);
}
.process-phase.is-playing .ps-dot:nth-child(2) { transition-delay: 0.1s; }
.process-phase.is-playing .ps-dot:nth-child(3) { transition-delay: 0.18s; }
.process-phase.is-playing .ps-dot:nth-child(4) { transition-delay: 0.26s; }
.process-phase.is-playing .ps-dot:nth-child(5) { transition-delay: 0.34s; }
.ps-dot--gap {
  width: 12px;
  height: 12px;
  margin: -6px;
  background: var(--pm-orange);
  box-shadow: 0 0 0 4px rgba(234, 153, 54, 0.25);
}
.ps-dot--gap em {
  position: absolute;
  left: 16px;
  top: -2px;
  font-style: normal;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--pm-orange);
  white-space: nowrap;
}

/* --- Scene: Konzept --- */
.ps-type {
  margin: 0 0 0.85rem;
  min-height: 1.4em;
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--pm-orange);
}
.ps-board {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  min-height: 150px;
}
.ps-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(186, 214, 235, 0.22);
  border-radius: 0.75rem;
  padding: 0.7rem 0.75rem;
  opacity: 0;
  transform: translateY(18px) rotate(-4deg);
}
.ps-card span {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pm-sky);
  margin-bottom: 0.25rem;
}
.ps-card strong {
  font-size: 0.88rem;
  color: #fff;
  font-weight: 600;
}
.process-phase.is-playing .ps-card,
.process-phase.is-done .ps-card {
  opacity: 1;
  transform: none;
  transition: opacity 0.45s var(--ease), transform 0.55s var(--ease);
}
.process-phase.is-playing .ps-card[data-card="1"] { transition-delay: 0.08s; }
.process-phase.is-playing .ps-card[data-card="2"] { transition-delay: 0.16s; }
.process-phase.is-playing .ps-card[data-card="3"] { transition-delay: 0.24s; }
.ps-arrow {
  position: absolute;
  left: 18%;
  top: 42%;
  width: 64%;
  height: auto;
  color: var(--pm-orange);
  opacity: 0;
  pointer-events: none;
}
.process-phase.is-playing .ps-arrow,
.process-phase.is-done .ps-arrow {
  opacity: 0.85;
  transition: opacity 0.4s ease 0.35s;
}
.ps-arrow__path {
  stroke-dasharray: 280;
  stroke-dashoffset: 280;
}
.process-phase.is-playing .ps-arrow__path {
  animation: psDraw 0.9s var(--ease) 0.35s forwards;
}
.process-phase.is-done .ps-arrow__path { stroke-dashoffset: 0; }
@keyframes psDraw { to { stroke-dashoffset: 0; } }

/* --- Scene: Produktion --- */
.process-stage--produktion {
  display: grid;
  justify-items: center;
  gap: 0.85rem;
}
.ps-phone {
  position: relative;
  width: min(148px, 42vw);
  aspect-ratio: 9 / 16;
  border-radius: 1.1rem;
  padding: 0.35rem;
  background: #0a1628;
  border: 2px solid rgba(186, 214, 235, 0.35);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}
.ps-phone__screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 0.85rem;
  overflow: hidden;
  background: #111;
}
.ps-phone__screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.08);
}
.process-phase.is-playing .ps-phone__screen img:nth-child(1) {
  animation: psKen 9s ease-in-out infinite;
}
.process-phase.is-playing .ps-phone__screen img:nth-child(2) {
  animation: psKen 9s ease-in-out 3s infinite;
}
.process-phase.is-playing .ps-phone__screen img:nth-child(3) {
  animation: psKen 9s ease-in-out 6s infinite;
}
.process-phase.is-done .ps-phone__screen img:first-child {
  opacity: 1;
  transform: scale(1.04);
}
@keyframes psKen {
  0% { opacity: 0; transform: scale(1.08); }
  8% { opacity: 1; }
  30% { opacity: 1; transform: scale(1); }
  38% { opacity: 0; }
  100% { opacity: 0; transform: scale(1.08); }
}
.ps-rec {
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
  padding: 0.2rem 0.4rem;
  border-radius: 999px;
}
.ps-rec i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pm-coral);
}
.process-phase.is-playing .ps-rec i {
  animation: psBlink 1s step-end infinite;
}
@keyframes psBlink { 50% { opacity: 0; } }

.ps-timeline {
  position: relative;
  width: 100%;
  height: 28px;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0 0.2rem;
}
.ps-clip {
  height: 14px;
  width: var(--w);
  border-radius: 3px;
  background: rgba(186, 214, 235, 0.35);
  transform: scaleX(0);
  transform-origin: left center;
}
.process-phase.is-playing .ps-clip,
.process-phase.is-done .ps-clip {
  transform: scaleX(1);
  transition: transform 0.45s var(--ease);
}
.process-phase.is-playing .ps-clip:nth-child(2) { transition-delay: 0.1s; }
.process-phase.is-playing .ps-clip:nth-child(3) { transition-delay: 0.2s; }
.process-phase.is-playing .ps-clip:nth-child(4) { transition-delay: 0.3s; }
.ps-playhead {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  width: 2px;
  background: var(--pm-orange);
  opacity: 0;
}
.process-phase.is-playing .ps-playhead {
  opacity: 1;
  animation: psPlayhead 3.2s linear infinite;
}
@keyframes psPlayhead {
  from { left: 0; }
  to { left: 100%; }
}

/* --- Scene: Ads --- */
.ps-chart {
  position: relative;
  margin-bottom: 0.75rem;
}
.ps-chart svg {
  width: 100%;
  height: 110px;
  color: var(--pm-orange);
  display: block;
}
.ps-chart__line {
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
}
.process-phase.is-playing .ps-chart__line {
  animation: psDraw 1.2s var(--ease) forwards;
}
.process-phase.is-done .ps-chart__line { stroke-dashoffset: 0; }
.ps-chart__pt {
  fill: var(--pm-cream);
  opacity: 0;
  transform-origin: center;
}
.process-phase.is-playing .ps-chart__pt,
.process-phase.is-done .ps-chart__pt {
  opacity: 1;
  transition: opacity 0.3s ease;
}
.process-phase.is-playing .ps-chart__pt:nth-child(2) { transition-delay: 0.45s; }
.process-phase.is-playing .ps-chart__pt:nth-child(3) { transition-delay: 0.65s; }
.process-phase.is-playing .ps-chart__pt:nth-child(4) { transition-delay: 0.85s; }
.ps-chart__counter {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  color: rgba(247, 242, 235, 0.75);
}
.ps-chart__counter strong { color: #fff; font-size: 1.15rem; }
.ps-ab {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin-bottom: 0.65rem;
}
.ps-ab__card {
  border-radius: 0.7rem;
  padding: 0.85rem;
  text-align: center;
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(186, 214, 235, 0.2);
  opacity: 0;
  transform: translateY(12px);
}
.ps-ab__card--win {
  border-color: var(--pm-orange);
  background: rgba(234, 153, 54, 0.16);
}
.ps-ab__card span {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pm-orange);
}
.process-phase.is-playing .ps-ab__card,
.process-phase.is-done .ps-ab__card {
  opacity: 1;
  transform: none;
  transition: opacity 0.4s var(--ease), transform 0.45s var(--ease);
}
.process-phase.is-playing .ps-ab__card--win { transition-delay: 0.15s; }
.ps-loop {
  margin: 0;
  text-align: center;
  font-family: var(--font-head);
  font-size: 0.92rem;
  color: var(--pm-sky);
  opacity: 0;
}
.process-phase.is-playing .ps-loop,
.process-phase.is-done .ps-loop {
  opacity: 1;
  transition: opacity 0.4s ease 0.35s;
}
.ps-loop span {
  display: inline-block;
  margin-right: 0.35rem;
  color: var(--pm-orange);
}
.process-phase.is-playing .ps-loop span {
  animation: psSpin 2.4s linear infinite;
}

/* ===== Desktop sticky scroll-story ===== */
@media (min-width: 1024px) {
  .section-process-motion {
    padding-top: clamp(4rem, 7vw, 5.5rem);
    padding-bottom: clamp(3rem, 6vw, 5rem);
  }

  .section-process-motion.is-desktop-motion .process-motion__track {
    height: 360vh;
    position: relative;
  }

  .section-process-motion.is-desktop-motion .process-motion__pin {
    position: sticky;
    top: 72px;
    min-height: calc(100vh - 88px);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .process-motion__layout {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 1.25rem;
    min-height: 72vh;
  }

  .process-motion__rail {
    position: absolute;
    inset: 8% 0;
    width: 4px;
    left: 18px;
  }

  .process-motion__rail-track {
    position: absolute;
    inset: 0;
    background: rgba(186, 214, 235, 0.22);
    border-radius: 999px;
  }

  .process-motion__rail-fill {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, var(--pm-orange), var(--pm-coral));
    border-radius: 999px;
    will-change: height;
  }

  .process-motion__nodes {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
  }

  .process-motion__node {
    width: 18px;
    height: 18px;
    margin-left: -7px;
    border-radius: 50%;
    background: var(--pm-navy);
    border: 2px solid rgba(186, 214, 235, 0.45);
    display: grid;
    place-items: center;
    transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s var(--ease);
  }

  .process-motion__node i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: transparent;
  }

  .process-motion__node.is-active {
    border-color: var(--pm-orange);
    transform: scale(1.15);
    box-shadow: 0 0 0 6px rgba(234, 153, 54, 0.18);
  }

  .process-motion__node.is-active i {
    background: var(--pm-orange);
    animation: psBlink 1.4s ease-in-out infinite;
  }

  .process-motion__node.is-done {
    border-color: var(--pm-orange);
    background: var(--pm-orange);
  }

  .process-motion__node.is-done i {
    width: 8px;
    height: 5px;
    border-radius: 0;
    background: transparent;
    border-left: 2px solid #052D6F;
    border-bottom: 2px solid #052D6F;
    transform: rotate(-45deg) translate(1px, -1px);
  }

  .process-motion__phases {
    position: relative;
    min-height: 72vh;
    display: block;
  }

  .process-phase {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.15fr);
    gap: clamp(1.25rem, 3vw, 2.25rem);
    align-items: center;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0.5rem 0 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px) scale(0.98);
    filter: blur(6px);
    transition:
      opacity 0.5s var(--ease),
      transform 0.55s var(--ease),
      filter 0.45s ease;
  }

  .process-phase.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: none;
    filter: none;
    z-index: 2;
  }

  .process-phase.is-leaving {
    opacity: 0;
    transform: scale(0.96);
    filter: blur(4px);
    z-index: 1;
  }

  .process-phase__giant {
    right: 42%;
    top: 4%;
    font-size: clamp(7rem, 14vw, 11rem);
  }

  .process-phase__stage {
    margin-top: 0;
  }

  .process-stage {
    min-height: 300px;
    padding: 1.2rem;
  }

  .process-phase__chips {
    margin-bottom: 0.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .section-process-motion * {
    animation: none !important;
    transition: none !important;
  }
  .process-phase {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    pointer-events: auto !important;
    position: relative !important;
  }
  @media (min-width: 1024px) {
    .process-motion__phases {
      display: flex;
      flex-direction: column;
      gap: 2rem;
      min-height: 0;
    }
    .process-phase {
      display: grid;
    }
  }
  .ps-bar i::after { width: calc(var(--fill, 70) * 1%) !important; }
  .ps-dot, .ps-card, .ps-ab__card, .ps-loop, .ps-arrow { opacity: 1 !important; transform: none !important; }
  .ps-chart__line { stroke-dashoffset: 0 !important; }
  .ps-phone__screen img:first-child { opacity: 1 !important; transform: scale(1.02) !important; }
}
