/* ============================================================
   ITgroup Lösungstemplate V3 – Layout ohne Bilder
   Scope: .itg-solution-v3
   ============================================================ */

.itg-solution-v3,
.itg-solution-v3 * {
  box-sizing: border-box;
}

.itg-solution-v3 {
  --v3-blue: #0c2340;
  --v3-blue-dark: #071a2d;
  --v3-accent: #378add;
  --v3-paper: #f5f3ef;
  --v3-line: #e2e6e9;
  --v3-text: #17202a;
  --v3-body: #465461;
  --v3-muted: #72808c;
  --v3-white: #fff;
  --v3-media: #dfe4e8;
  --v3-width: 1100px;

  color: var(--v3-text);
  background: var(--v3-white);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.itg-solution-v3 h1,
.itg-solution-v3 h2,
.itg-solution-v3 h3,
.itg-solution-v3 p,
.itg-solution-v3 ul {
  margin-top: 0;
}

.itg-v3-wrap {
  width: min(var(--v3-width), calc(100% - 64px));
  margin-inline: auto;
}

.itg-v3-eyebrow {
  margin-bottom: 11px;
  color: var(--v3-accent);
  font-size: 10px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.itg-v3-h2 {
  margin-bottom: 16px;
  color: var(--v3-blue);
  font-size: clamp(29px, 3.3vw, 43px);
  line-height: 1.1;
  letter-spacing: -.035em;
  font-weight: 800;
}

.itg-v3-copy {
  color: var(--v3-body);
  font-size: 14px;
  line-height: 1.7;
}

.itg-v3-section {
  padding: 84px 0;
  border-top: 1px solid var(--v3-line);
}

.itg-v3-section--paper {
  background: var(--v3-paper);
}

.itg-v3-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

/* Neutrale Bildflächen */

.itg-v3-media {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, #e8ecef 0%, #d5dce1 100%);
}

.itg-v3-media::after {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(12,35,64,.08);
}

/* 01 · Product Hero */

.itg-v3-product-hero {
  padding: 44px 0 0;
  background: var(--v3-white);
}

.itg-v3-product-hero__box {
  position: relative;
  min-height: 350px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  color: var(--v3-white);
  background:
    linear-gradient(100deg, var(--v3-blue-dark) 0%, var(--v3-blue) 67%, #264f72 100%);
}

.itg-v3-product-hero__content {
  position: relative;
  z-index: 2;
  max-width: 790px;
  padding: 56px 42px 46px;
}

.itg-v3-product-hero h1 {
  max-width: 720px;
  margin-bottom: 17px;
  color: var(--v3-white);
  font-size: clamp(38px, 5vw, 57px);
  line-height: 1.04;
  letter-spacing: -.04em;
  font-weight: 800;
}

.itg-v3-product-hero__lead {
  max-width: 650px;
  margin-bottom: 0;
  color: rgba(255,255,255,.80);
  font-size: 15px;
  line-height: 1.65;
}

/* 02 · Benefits */

.itg-v3-benefits {
  padding: 72px 0 78px;
}

.itg-v3-benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--v3-line);
  border-left: 1px solid var(--v3-line);
}

.itg-v3-benefit {
  min-height: 215px;
  padding: 27px 24px;
  border-right: 1px solid var(--v3-line);
  border-bottom: 1px solid var(--v3-line);
}

.itg-v3-benefit__number {
  display: block;
  margin-bottom: 28px;
  color: var(--v3-accent);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
}

.itg-v3-benefit h3 {
  margin-bottom: 11px;
  color: var(--v3-blue);
  font-size: 18px;
  line-height: 1.28;
  font-weight: 800;
}

/* 03 · Capability */

.itg-v3-capability {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 32px;
}

.itg-v3-capability__media {
  min-height: 520px;
}

.itg-v3-capability__content {
  padding: 34px;
  border: 1px solid var(--v3-line);
  background: var(--v3-white);
}

.itg-v3-list-group + .itg-v3-list-group {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--v3-line);
}

.itg-v3-list-group h3 {
  margin-bottom: 13px;
  color: var(--v3-blue);
  font-size: 17px;
  font-weight: 800;
}

.itg-v3-check-list {
  margin-bottom: 0;
  padding: 0;
  list-style: none;
}

.itg-v3-check-list li {
  position: relative;
  padding: 7px 0 7px 19px;
  color: var(--v3-body);
  font-size: 14px;
  line-height: 1.55;
}

.itg-v3-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 6px;
  background: var(--v3-accent);
}

.itg-v3-callout {
  margin-top: 25px;
  padding: 16px 17px;
  border-left: 4px solid var(--v3-accent);
  background: #edf5fa;
  color: var(--v3-blue);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 800;
}

/* 04 · Process */

.itg-v3-process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.itg-v3-process-card {
  border: 1px solid var(--v3-line);
  background: var(--v3-white);
}

.itg-v3-process-card__media {
  aspect-ratio: 16 / 9;
}

.itg-v3-process-card__content {
  padding: 22px;
}

.itg-v3-process-card__number {
  display: block;
  margin-bottom: 10px;
  color: var(--v3-accent);
  font-size: 10px;
  font-weight: 900;
}

.itg-v3-process-card h3 {
  margin-bottom: 9px;
  color: var(--v3-blue);
  font-size: 17px;
  font-weight: 800;
}

/* 05 · Inspection */

.itg-v3-inspection-list {
  display: grid;
  gap: 18px;
}

.itg-v3-inspection-case {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  border: 1px solid var(--v3-line);
  background: var(--v3-white);
}

.itg-v3-inspection-case__media {
  min-height: 330px;
}

.itg-v3-inspection-case__content {
  padding: 34px;
  align-self: center;
}

.itg-v3-inspection-case__label {
  display: block;
  margin-bottom: 10px;
  color: var(--v3-accent);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.itg-v3-inspection-case h3 {
  margin-bottom: 16px;
  color: var(--v3-blue);
  font-size: 25px;
  line-height: 1.18;
  font-weight: 800;
}

/* 06 · Extensions */

.itg-v3-extension {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 32px;
  align-items: stretch;
}

.itg-v3-extension__media {
  min-height: 300px;
}

.itg-v3-extension__content {
  padding: 32px;
  border: 1px solid var(--v3-line);
  background: var(--v3-white);
}

/* 07 · Contact */

.itg-v3-contact {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 42px;
  align-items: stretch;
}

.itg-v3-contact__content {
  padding: 42px 0;
  align-self: center;
}

.itg-v3-contact__media {
  min-height: 350px;
}

.itg-v3-contact__details {
  display: grid;
  gap: 8px;
  margin-top: 24px;
}

.itg-v3-contact__details a {
  color: var(--v3-blue);
  text-decoration: none;
  font-weight: 800;
}

/* Responsive */

@media (max-width: 900px) {
  .itg-v3-capability,
  .itg-v3-inspection-case,
  .itg-v3-extension,
  .itg-v3-contact {
    grid-template-columns: 1fr;
  }

  .itg-v3-capability__media,
  .itg-v3-contact__media {
    min-height: 360px;
  }
}

@media (max-width: 720px) {
  .itg-v3-wrap {
    width: min(var(--v3-width), calc(100% - 36px));
  }

  .itg-v3-section {
    padding: 66px 0;
  }

  .itg-v3-product-hero {
    padding-top: 24px;
  }

  .itg-v3-product-hero__box {
    min-height: 450px;
  }

  .itg-v3-product-hero__content {
    padding: 44px 24px 32px;
  }

  .itg-v3-product-hero h1 {
    font-size: 39px;
  }

  .itg-v3-benefits__grid,
  .itg-v3-process {
    grid-template-columns: 1fr;
  }

  .itg-v3-capability__media,
  .itg-v3-inspection-case__media,
  .itg-v3-extension__media,
  .itg-v3-contact__media {
    min-height: 280px;
  }

  .itg-v3-capability__content,
  .itg-v3-inspection-case__content,
  .itg-v3-extension__content {
    padding: 27px 22px;
  }
}

/* ============================================================
   ITgroup Motion
   CSS steuert die sichtbare Animation.
   JavaScript setzt beim Scrollen nur die Klasse .itg-on.
   ============================================================ */

@keyframes itg-v3-hero-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes itg-v3-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero: vollständig CSS-basiert */
.itg-solution-v3 .itg-v3-product-hero__box {
  animation:
    itg-v3-hero-in .90s cubic-bezier(.2,.8,.2,1) both;
}

.itg-solution-v3 .itg-v3-product-hero__content > * {
  animation:
    itg-v3-up .72s cubic-bezier(.2,.8,.2,1) both;
}

.itg-solution-v3 .itg-v3-product-hero__content > *:nth-child(1) {
  animation-delay: .12s;
}

.itg-solution-v3 .itg-v3-product-hero__content > *:nth-child(2) {
  animation-delay: .23s;
}

.itg-solution-v3 .itg-v3-product-hero__content > *:nth-child(3) {
  animation-delay: .34s;
}

/*
 * Sicherer Grundzustand:
 * Lädt JavaScript nicht, bleiben alle Inhalte sichtbar.
 */
.itg-solution-v3 .itg-r {
  opacity: 1;
  transform: none;
}

/* Erst das laufende Script aktiviert den Startzustand. */
.itg-solution-v3.itg-motion-ready .itg-r {
  opacity: 0;
  transition:
    opacity .62s cubic-bezier(.2,.8,.2,1);
  will-change: opacity, transform;
}

/* Karten und große Inhaltsblöcke bewegen sich zusätzlich leicht nach oben. */
.itg-solution-v3.itg-motion-ready .itg-rg > .itg-r,
.itg-solution-v3.itg-motion-ready .itg-v3-capability.itg-r,
.itg-solution-v3.itg-motion-ready .itg-v3-extension.itg-r,
.itg-solution-v3.itg-motion-ready .itg-v3-contact.itg-r {
  transform: translateY(22px);
  transition:
    opacity .62s cubic-bezier(.2,.8,.2,1),
    transform .48s cubic-bezier(.2,.8,.2,1);
}

/* Sichtbarer Zustand */
.itg-solution-v3.itg-motion-ready .itg-r.itg-on {
  opacity: 1;
}

.itg-solution-v3.itg-motion-ready .itg-rg > .itg-r.itg-on,
.itg-solution-v3.itg-motion-ready .itg-v3-capability.itg-r.itg-on,
.itg-solution-v3.itg-motion-ready .itg-v3-extension.itg-r.itg-on,
.itg-solution-v3.itg-motion-ready .itg-v3-contact.itg-r.itg-on {
  opacity: 1;
  transform: translateY(0);
}

/* Gestaffelte Gruppen */
.itg-solution-v3 .itg-rg > *:nth-child(1) { transition-delay: .00s; }
.itg-solution-v3 .itg-rg > *:nth-child(2) { transition-delay: .09s; }
.itg-solution-v3 .itg-rg > *:nth-child(3) { transition-delay: .18s; }
.itg-solution-v3 .itg-rg > *:nth-child(4) { transition-delay: .27s; }
.itg-solution-v3 .itg-rg > *:nth-child(5) { transition-delay: .36s; }
.itg-solution-v3 .itg-rg > *:nth-child(6) { transition-delay: .45s; }

/* Dezente Hover-Reaktion, unabhängig von der Scroll-Animation */
.itg-solution-v3 .itg-v3-benefit,
.itg-solution-v3 .itg-v3-process-card,
.itg-solution-v3 .itg-v3-inspection-case {
  transition:
    opacity .62s cubic-bezier(.2,.8,.2,1),
    transform .48s cubic-bezier(.2,.8,.2,1),
    box-shadow .28s ease,
    border-color .28s ease;
}

.itg-solution-v3 .itg-v3-benefit:hover,
.itg-solution-v3 .itg-v3-process-card:hover,
.itg-solution-v3 .itg-v3-inspection-case:hover {
  border-color: rgba(55,138,221,.38);
  box-shadow: 0 16px 32px rgba(12,35,64,.09);
}

/* Systemeinstellung für reduzierte Bewegung */
@media (prefers-reduced-motion: reduce) {
  .itg-solution-v3 .itg-v3-product-hero__box,
  .itg-solution-v3 .itg-v3-product-hero__content > *,
  .itg-solution-v3.itg-motion-ready .itg-r {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

