.footer-v2 {
  --footer-ink: #f7f9fb;
  --footer-muted: rgba(247, 249, 251, 0.78);
  --footer-subtle: rgba(205, 196, 181, 0.62);
  --footer-line: rgba(129, 160, 186, 0.26);
  --footer-line-strong: rgba(129, 160, 186, 0.34);
  --footer-panel: rgba(4, 31, 52, 0.96);
  --footer-orange: #ff7900;

  position: relative;
  width: 100%;
  max-width: none;
  aspect-ratio: 2103 / 748;
  margin: 0 auto;
  overflow: hidden;
  color: var(--footer-ink);
  background:
    radial-gradient(circle at 44% 43%, rgba(36, 83, 111, 0.22), transparent 34%),
    linear-gradient(180deg, rgba(12, 42, 66, 0.98), rgba(5, 31, 52, 0.98));
  container-type: inline-size;
}

.footer-v2::before {
  position: absolute;
  top: 9.6%;
  left: 0;
  width: 100%;
  height: 1px;
  content: "";
  background: var(--footer-line);
}

.footer-v2__image {
  position: absolute;
  top: 0;
  right: 0;
  width: 14.25%;
  height: 74.1%;
  background-image:
    linear-gradient(90deg, var(--footer-panel) 0%, rgba(4, 31, 52, 0.5) 38%, rgba(4, 31, 52, 0) 68%),
    url("/templates/4c2026/img/component/footer-architecture-wide.png");
  background-position: center right;
  background-repeat: no-repeat;
  background-size: cover;
}

.footer-v2__logo {
  position: absolute;
  top: 31.4%;
  left: 5.25%;
  width: 12.8%;
  height: auto;
}

.footer-v2__divider {
  position: absolute;
  top: 25.55%;
  width: 1px;
  height: 33.15%;
  background: var(--footer-line-strong);
}

.footer-v2__divider--one { left: 20.85%; }
.footer-v2__divider--two { left: 36.15%; }
.footer-v2__divider--three { left: 51.3%; }
.footer-v2__divider--four { left: 67.35%; }

.footer-v2__card {
  position: absolute;
  top: 26.45%;
  width: 12%;
}

.footer-v2__card--contact { left: 23.3%; }
.footer-v2__card--about { left: 38.55%; }
.footer-v2__card--career { left: 53.75%; }

.footer-v2__accent {
  display: block;
  width: 32px;
  height: 2px;
  margin: 11px 0 28px;
  background: var(--footer-orange);
}

.footer-v2__card h2 {
  margin: 0;
  color: var(--footer-ink);
  font-family: "Lato Bold", Arial, sans-serif;
  font-size: clamp(15px, 1.28cqw, 27px);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.12;
  transition: color 160ms ease;
}

.footer-v2__card:hover h2,
.footer-v2__card:has(.footer-v2__cta:hover) h2,
.footer-v2__card:has(.footer-v2__cta:focus-visible) h2 {
  color: #ffffff;
}

.footer-v2__card p {
  margin: 0;
  color: var(--footer-muted);
  font-size: clamp(11px, 0.96cqw, 20px);
  line-height: 1.42;
}

.footer-v2__cta {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 36px;
  color: var(--footer-orange);
  font-family: "Lato Bold", Arial, sans-serif;
  font-size: clamp(11px, 0.92cqw, 19px);
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: color 160ms ease;
}

.footer-v2__arrow {
  display: inline-block;
  flex: 0 0 auto;
  width: clamp(7px, 0.5cqw, 11px);
  height: clamp(10px, 0.72cqw, 16px);
  background: url("/templates/4c2026/img/navigation/driving-transformation-arrow-white.svg") center / contain no-repeat;
  filter: brightness(0) saturate(100%) invert(50%) sepia(98%) saturate(2355%) hue-rotate(2deg) brightness(103%) contrast(104%);
  transition: transform 160ms ease;
}

.footer-v2__cta:hover,
.footer-v2__cta:focus-visible {
  color: #ff9a24;
}

.footer-v2__card:hover .footer-v2__arrow,
.footer-v2__cta:hover .footer-v2__arrow,
.footer-v2__cta:focus-visible .footer-v2__arrow,
.footer-v2__social-link:hover .footer-v2__arrow,
.footer-v2__social-link:focus-visible .footer-v2__arrow {
  transform: translateX(3px);
}

.footer-v2__social {
  position: absolute;
  top: 26.45%;
  left: 70.35%;
  width: 14.6%;
}

.footer-v2__follow {
  margin: 0 0 29px;
  color: var(--footer-ink);
  font-family: "Lato Bold", Arial, sans-serif;
  font-size: clamp(15px, 1.28cqw, 27px);
  letter-spacing: 0.01em;
  line-height: 1.12;
  white-space: nowrap;
}

.footer-v2__social-grid {
  display: grid;
  gap: 27px;
}

.footer-v2__social-link {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 22px;
  color: var(--footer-ink);
  text-decoration: none;
  transition: color 160ms ease;
}

.footer-v2__social-link:hover,
.footer-v2__social-link:focus-visible {
  color: #ffffff;
}

.footer-v2__social-box {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
}

.footer-v2__social-box svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.footer-v2__social-name {
  display: block;
  color: var(--footer-muted);
  font-size: clamp(8px, 0.7cqw, 14px);
  letter-spacing: 0.34em;
  line-height: 1;
  text-align: left;
  text-transform: uppercase;
  transition: color 160ms ease;
}

.footer-v2__social-link:hover .footer-v2__social-name,
.footer-v2__social-link:focus-visible .footer-v2__social-name {
  color: var(--footer-ink);
}

.footer-v2__social-arrow {
  width: clamp(7px, 0.48cqw, 10px);
  height: clamp(10px, 0.7cqw, 15px);
}

.footer-v2__rule {
  position: absolute;
  top: 74.1%;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--footer-line-strong);
}

.footer-v2__bottom {
  position: absolute;
  top: 84.25%;
  right: 5.25%;
  left: 5.25%;
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) 1px minmax(0, 0.98fr) 1px minmax(0, 0.64fr);
  align-items: center;
  column-gap: 2.45%;
  transform: translateY(-50%);
}

.footer-v2__bottom-divider {
  width: 1px;
  height: clamp(42px, 5.4cqw, 82px);
  background: var(--footer-line-strong);
}

.footer-v2__legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-width: 0;
}

.footer-v2__legal a {
  min-width: 0;
  color: var(--footer-muted);
  font-size: clamp(10px, 0.72cqw, 15px);
  letter-spacing: 0.02em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: color 160ms ease;
}

.footer-v2__legal a:hover,
.footer-v2__legal a:focus-visible {
  color: var(--footer-ink);
}

.footer-v2__copy {
  display: grid;
  grid-template-columns: clamp(22px, 1.65cqw, 35px) minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: 572px;
  min-width: 0;
  color: var(--footer-muted);
  font-size: clamp(10px, 0.74cqw, 15.5px);
  line-height: 1.45;
}

.footer-v2__note-label {
  display: grid;
  aspect-ratio: 1;
  width: clamp(22px, 1.65cqw, 35px);
  place-items: center;
  border: 1px solid var(--footer-line-strong);
  color: var(--footer-orange);
  font-family: "Lato Bold", Arial, sans-serif;
  font-size: clamp(7px, 0.48cqw, 10px);
  letter-spacing: 0.08em;
  line-height: 1;
}

.footer-v2__copy p {
  margin: 0;
  color: rgba(247, 249, 251, 0.72);
}

.footer-v2__copyright {
  justify-self: start;
  width: max-content;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  color: var(--footer-muted);
  font-size: clamp(10px, 0.76cqw, 16px);
  line-height: 1.45;
  text-align: left;
}

@media only screen and (max-width: 900px) {
  .footer-v2 {
    display: grid;
    aspect-ratio: auto;
    padding: 28px 22px 26px;
    background:
      radial-gradient(circle at 48% 18%, rgba(38, 91, 124, 0.28), transparent 38%),
      linear-gradient(180deg, rgba(12, 42, 66, 0.98), rgba(5, 31, 52, 0.98));
  }

  .footer-v2::before,
  .footer-v2__image,
  .footer-v2__divider,
  .footer-v2__bottom-divider {
    display: none;
  }

  .footer-v2__logo,
  .footer-v2__card,
  .footer-v2__social,
  .footer-v2__rule,
  .footer-v2__bottom,
  .footer-v2__legal,
  .footer-v2__copy,
  .footer-v2__copyright {
    position: static;
    transform: none;
  }

  .footer-v2__logo {
    width: min(142px, 40vw);
    justify-self: center;
    margin-bottom: 30px;
  }

  .footer-v2__card,
  .footer-v2__social,
  .footer-v2__bottom,
  .footer-v2__copy,
  .footer-v2__copyright {
    width: auto;
  }

  .footer-v2__card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    position: relative;
    inset: auto;
    min-height: 42px;
    border-bottom: 1px solid var(--footer-line-strong);
    transition: border-color 160ms ease;
  }

  .footer-v2__card:hover,
  .footer-v2__card:has(.footer-v2__cta:hover),
  .footer-v2__card:has(.footer-v2__cta:focus-visible) {
    border-color: rgba(255, 121, 0, 0.55);
  }

  .footer-v2__card:hover h2,
  .footer-v2__card:has(.footer-v2__cta:hover) h2,
  .footer-v2__card:has(.footer-v2__cta:focus-visible) h2 {
    color: #ff9a24;
  }

  .footer-v2__accent,
  .footer-v2__card p,
  .footer-v2__social-arrow,
  .footer-v2__rule {
    display: none;
  }

  .footer-v2__card h2 {
    font-size: clamp(15px, 4vw, 19px);
    line-height: 1.1;
  }

  .footer-v2__cta {
    gap: 0;
    margin: 0;
    font-size: 0;
  }

  .footer-v2__cta::after {
    position: absolute;
    inset: 0;
    content: "";
  }

  .footer-v2__cta .footer-v2__arrow {
    width: 8px;
    height: 12px;
  }

  .footer-v2__social {
    margin-top: 28px;
    padding-bottom: 18px;
  }

  .footer-v2__follow {
    margin-bottom: 18px;
    color: var(--footer-subtle);
    font-family: "Lato", Arial, sans-serif;
    font-size: clamp(9px, 2.5vw, 11px);
    letter-spacing: 0.28em;
    line-height: 1;
    text-transform: uppercase;
  }

  .footer-v2__social-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    width: 100%;
  }

  .footer-v2__social-link {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 12px;
  }

  .footer-v2__social-box {
    width: 30px;
    height: 30px;
  }

  .footer-v2__social-name {
    font-size: clamp(8px, 2.3vw, 10px);
    letter-spacing: 0.26em;
  }

  .footer-v2__bottom {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 26px;
  }

  .footer-v2__bottom::after {
    display: block;
    order: 2;
    height: 1px;
    content: "";
    background: var(--footer-line-strong);
  }

  .footer-v2__legal {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 18px;
  }

  .footer-v2__legal::before {
    grid-column: 1 / -1;
    margin-bottom: 13px;
    color: var(--footer-subtle);
    content: "Rechtliches";
    font-size: clamp(9px, 2.5vw, 11px);
    letter-spacing: 0.28em;
    line-height: 1;
    text-transform: uppercase;
  }

  .footer-v2__legal a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 32px;
    color: var(--footer-muted);
    font-size: clamp(12px, 3.3vw, 15px);
    letter-spacing: 0;
  }

  .footer-v2__legal a::after {
    display: block;
    flex: 0 0 auto;
    width: 6px;
    height: 9px;
    margin-left: 12px;
    content: "";
    background: url("/templates/4c2026/img/navigation/driving-transformation-arrow-white.svg") center / contain no-repeat;
    filter: brightness(0) saturate(100%) invert(92%) sepia(10%) saturate(249%) hue-rotate(176deg) brightness(96%) contrast(89%);
    transition: transform 160ms ease;
  }

  .footer-v2__legal a:hover::after,
  .footer-v2__legal a:focus-visible::after {
    transform: translateX(3px);
  }

  .footer-v2__copy {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 15px;
    padding-top: 10px;
    font-size: clamp(11px, 3.1vw, 14px);
    line-height: 1.4;
  }

  .footer-v2__copy p br,
  .footer-v2__copyright br {
    display: none;
  }

  .footer-v2__note-label {
    width: 38px;
    font-size: 12px;
  }

  .footer-v2__copyright {
    order: 3;
    padding-top: 0;
    font-size: clamp(11px, 3vw, 14px);
  }
}
