/*
Theme Name: Hello Elementor Child
Theme URI: https://example.com/
Description: Child Theme für Hello Elementor
Author: Dein Name
Author URI: https://gerbig.digital
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
*/

/* Eigene Anpassungen ab hier ↓ */

.site-main {
  overflow: hidden;
}

:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

/* Language Switcher */

/*.wpml-menu .wpml-ls-legacy-dropdown-click a:hover {
  background: #eee;
}*/

.wpml-menu .wpml-ls-legacy-dropdown-click a:hover.wpml-ls-item-toggle:after {
  opacity: 1;
}

.wpml-menu .wpml-ls-legacy-dropdown-click a.wpml-ls-item-toggle:after {
  color: #0e625c;
  opacity: 0.5;
  transition: 300ms all ease-in-out;
  display: none;
}

.wpml-menu .wpml-ls-legacy-dropdown-click a {
  transition: 200ms all;
  padding: 10px 10px;
  border: none;
  border-radius: 4px;
  align-items: center;
  display: flex;
  color: #fff;
  background-color: transparent;
}

/*.menu-section .wpml-ls-native {
  display: none;
}*/

.menu-section .wpml-ls-item-legacy-dropdown-click {
  width: fit-content;
  margin-right: 0px !important;
  margin-left: auto !important;
}
.menu-section .wpml-ls-legacy-dropdown-click {
  width: unset !important;
}
.menu-section .wpml-ls-item {
  width: fit-content;
  margin-right: 0px !important;
  margin-left: auto !important;
}
.wpml-ls-legacy-dropdown-click a.wpml-ls-item-toggle:after {
  right: 15px;
}

.menu-section .wpml-menu ul,
.menu-section .wpml-ls-item {
  padding: 0 !important;
  width: 50px;
}

.wpml-ls-legacy-dropdown-click .wpml-ls-current-language:hover > a,
.wpml-ls-legacy-dropdown-click a:focus,
.wpml-ls-legacy-dropdown-click a:hover {
  background: transparent;
  color: var(--e-global-color-primary);
}

/* Platz schaffen */
.menu-section .wpml-ls-legacy-dropdown-click .wpml-ls-current-language > a {
  position: relative;
  padding-right: 18px !important;
}

/* Chevron */
.menu-section
  .wpml-ls-legacy-dropdown-click
  .wpml-ls-current-language
  .wpml-ls-item-toggle
  span::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 45%;
  transform: translateY(-40%) rotate(45deg);
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  pointer-events: none;
}

.menu-section .wpml-ls-legacy-dropdown-click .wpml-ls-sub-menu {
  border-top: none !important;
}

.menu-section .wpml-ls-link {
  background-color: #eee !important;
}

.menu-section .wpml-ls-sub-menu .wpml-ls-link span {
  color: #000 !important;
}

.wpml-footer ul {
  padding: 0;
}

.wpml-footer .wpml-ls-legacy-dropdown-click a {
  border-radius: 6px;
  padding: 10px;
  transition: 300ms all ease-in-out;
}

.wpml-footer .wpml-ls-legacy-dropdown-click a:hover {
  border: 1px solid #000;
  background: white;
}

.wpml-footer .wpml-ls-legacy-dropdown-click .wpml-ls-sub-menu {
  border-top: none;
}

.wpml-ls-legacy-dropdown-click .wpml-ls-sub-menu a {
  border-width: 1px;
}

.gg-footer-second-menu.elementor-element ul li a {
  padding: 0 24px 0 0 !important;
}

.gg-footer-second-menu.elementor-element ul li a:before {
  content: "";
  display: inline-block;
  position: absolute;
  width: 1px;
  height: 80%;
  background-color: #fff !important;
  margin-right: 12px;
  right: 0;
  bottom: auto;
  height: 65%;
  opacity: 1 !important;
}

@media (max-width: 768px) {
  .gg-footer-second-menu.elementor-element ul li a:before {
    content: none;
  }
  .gg-footer-second-menu.elementor-element ul li a {
    padding: 0 !important;
  }
}

.jet-mega-menu-mega-container__inner {
  padding: 0px !important;
}

.jet-mega-menu-mega-container {
  background-color: transparent !important;
  transform-origin: top right;
  transform: scale3d(1, 1, 1);
  transition-delay: 0s;
  transition: ease-in-out 0.3s max-width, ease-in-out 0.3s min-width,
    ease-in-out 0.3s max-height, ease-in-out 0.3s transform,
    ease-in-out 0.3s visibility;
}

.gd-industry-challenges__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.gd-industry-challenges__item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 0.35rem 0;
}
.gd-industry-challenges__icon {
  flex: 0 0 auto;
  color: var(--e-global-color-primary);
  line-height: 1.2;
  margin-top: 5px;
}
.gd-industry-challenges__text {
  display: inline-block;
}

/* === Wrapper (UL) === */
.cases-introduction-items,
.cases-approach-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 30px;
}

/* === Einzelnes Item === */
.cases-introduction-item,
.cases-approach-item {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 15px;
  font-family: var(--e-global-typography-text-font-family), Sans-serif;
  font-weight: var(--e-global-typography-text-font-weight);
}

/* === Icon links === */
.cases-introduction-item__icon,
.cases-approach-item__icon {
  color: var(--e-global-color-de602de);
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1em;
  margin-top: 3px;
}

/* === Content (rechts) === */
.cases-introduction-item__content {
  display: grid;
  gap: 0.25rem;
}

.cases-introduction-item__title,
.cases-approach-item__title {
  line-height: 1.3;
  font-weight: normal;
  font-size: 18px;
}

.cases-introduction-item__body,
.cases-approach-item__body {
  margin-top: 16px;
  opacity: 0.8;
  line-height: 1.5;
  font-size: 16px;
}

.cases-introduction-item__body ul,
.cases-approach-item__body ul {
  list-style-type: square;
}

.cases-introduction-item__body li,
.cases-approach-item__body li {
  margin-top: 8px;
  color: #000;
  padding-left: 10px;
}

.cases-breadcrumb {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.cases-breadcrumb__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.cases-breadcrumb__item {
  display: flex;
  align-items: center;
}

.cases-breadcrumb__link {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.8); /* im Hero auf Blau */
}

.cases-breadcrumb__link:hover {
  text-decoration: underline;
  color: #fff;
}

.cases-breadcrumb__separator {
  margin: 0 0.25rem;
  color: rgba(255, 255, 255, 0.5);
}

.cases-breadcrumb__current {
  color: #fff;
  font-weight: 500;
}

.partner-branches {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.badge-branche {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border-radius: 999px;
  text-decoration: none;
  color: var(--e-global-color-text);
  font-size: 0.9em;
  line-height: 1.2;
  transition: 0.2s ease;
}

.badge-branche:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  color: var(--e-global-color-text);
}

.case-industries {
  display: inline; /* damit Kommas schön im Textfluss bleiben */
}

.case-industry-badge {
  color: var(--e-global-color-primary, #ff6600);
  font-weight: 500;
  text-transform: uppercase;
}

.case-industry-sep {
  color: inherit;
  margin-right: 0.25em;
}

/* ============================================
   WRAPPER & SLIDER
============================================ */

/* Äußerer Wrapper – hier hängen die Pfeile dran */
.case-swiper-wrap {
  position: relative;
  overflow: visible;
}

/* Eigentlicher Swiper-Container */
.case-swiper {
  width: 100%;
  position: relative;
  overflow: hidden; /* kannst du bei Bedarf auf visible stellen */
}

/* ============================================
   STANDARD SLIDE
============================================ */

.case-swiper__item {
  border-radius: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.case-swiper__item:hover .case-swiper__title {
  color: var(--e-global-color-primary, #ff6600);
}

/* ============================================
   BILD
============================================ */

/* Bildcontainer */
.case-swiper__image {
  width: 100%;
  height: 220px;
  overflow: hidden; /* WICHTIG: verhindert Überlaufen */
  position: relative;
}

/* Innerer Layer mit Hintergrundbild */
.case-swiper__image-inner {
  width: 100%;
  height: 100%;
  background-size: cover; /* beibehalten */
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.4s ease; /* smooth zoom */
}

.solution-swiper .case-swiper__image-inner {
  background-size: contain; /* beibehalten */
}

.solution-swiper .case-swiper__image {
  padding: 24px;
  border: 1px solid var(--e-global-color-4b5c7fb);
}

/* Zoom */
.case-swiper__item:hover .case-swiper__image-inner {
  transform: scale(1.08); /* sanfter Zoom */
}

/* ============================================
   CONTENT
============================================ */

.case-swiper__content {
  margin-top: 0.75rem;
}

.case-swiper__industries {
  font-size: 0.85rem;
  color: var(--e-global-color-primary, #ff6600);
  margin-bottom: 0.25rem;
}

.case-swiper__title {
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  color: var(--e-global-color-text);
  font-family: var(--e-global-typography-text-font-family), sans-serif;
}

/* ============================================
   ENDCARD
============================================ */

.case-swiper__item--end {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 220px !important; /* gleiche Höhe wie Bildkarten */
  padding: 1.5rem;
  border: 1px solid #ddd;
}

.case-swiper__endcard {
  text-align: center;
  text-decoration: none;
  color: inherit;
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.case-swiper__title--endcard {
  margin-bottom: 0.5rem;
}

.case-swiper__text {
  margin: 0.5rem 0 0;
  opacity: 0.85;
}

/* ============================================
   EXTERNE NAVIGATION (PFEILE IM WRAPPER)
============================================ */

/* Gemeinsamer Button-Style */
.case-swiper-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 1px solid var(--e-global-color-primary);
  border-radius: 100px;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.case-swiper-nav i {
  color: var(--e-global-color-primary);
}

/* Links/rechts außerhalb des Sliders platzieren */
.case-swiper-nav--prev {
  left: -28px; /* Abstand nach Bedarf anpassen */
}

.case-swiper-nav--next {
  right: -28px; /* Abstand nach Bedarf anpassen */
}

/* Hover-Effekt */
.case-swiper-nav:hover,
.case-swiper-nav:focus {
  background: var(--e-global-color-4b5c7fb);
}

/* Wrapper */
.case-branches {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Badge */
.case-branches p {
  display: inline-block;
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--e-global-color-primary, #ff6600);
  text-decoration: none;
  margin-bottom: 0px;
}

/* Heading */
.industry-counter__heading {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
}

/* Number + Prefix + Suffix */
.industry-counter__value {
  font-size: 52px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 12px;
  color: var(--e-global-color-primary, #ff6600);
}

.industry-counter__prefix,
.industry-counter__suffix {
  font-size: 0.6em;
  margin-left: 4px;
}

/* Subtext */
.industry-counter__label {
  font-size: 16px;
  margin-top: 4px;
  opacity: 0.85;
  text-transform: uppercase;
}

/* === GRID-LAYOUT =================================================== */

/* 3 Spalten, 2 Reihen: 1. Reihe Counter, 2. Reihe Listen */
.industry-challenges-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 24px;
}

/* Erste Reihe: Counter-Kacheln (teilen sich eine Grid-Zeile → gleiche Höhe) */
.industry-challenges-row__counter {
  border-bottom: 1px solid rgba(0, 0, 0, 0.5);
}

/* Zweite Reihe: Listen unter den Countern */
.industry-challenges-row__list {
  font-size: 15px;
  line-height: 1.5;
}

/* Responsive: untereinander auf Mobile */
@media (max-width: 768px) {
  .industry-challenges-row {
    grid-template-columns: 1fr;
  }
}

/* ORANGENER COUNTER-BLOCK */
.industry-counter {
  text-align: left;
  color: #000;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 36px;
}

/* Heading oben */
.industry-counter__heading {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
}

/* Zahl + Prefix/Suffix */
.industry-counter__value {
  font-size: 52px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 12px;
}

.industry-counter__prefix,
.industry-counter__suffix {
  font-size: 0.6em;
  margin-left: 4px;
}

/* Subtext (unter der Zahl, uppercase) */
.industry-counter__label {
  font-size: 18px;
  margin-top: 4px;
  opacity: 0.85;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .industry-challenges-row {
    grid-template-columns: 1fr; /* eine Spalte */
  }

  /* Reihenfolge definieren:
     1: Counter 1
     2: Liste 1
     3: Counter 2
     4: Liste 2
     5: Counter 3
     6: Liste 3
  */

  .industry-challenges-row__counter--1 {
    order: 1;
  }
  .industry-challenges-row__list--1 {
    order: 2;
    margin-bottom: 24px;
  }

  .industry-challenges-row__counter--2 {
    order: 3;
  }
  .industry-challenges-row__list--2 {
    order: 4;
    margin-bottom: 24px;
  }

  .industry-challenges-row__counter--3 {
    order: 5;
  }
  .industry-challenges-row__list--3 {
    order: 6;
  }
}

/**********************************************
 * INDUSTRY PARTNER CONTACT – ICON BUTTONS
 **********************************************/

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

/* Container für die Icons (Mail + Teams) */
.industry_partner_contact__icon-list {
  display: inline-flex;
  gap: 8px;
}

/* Basis: runde Icon-Buttons */
.industry_partner_contact__icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--e-global-color-primary, #ff6600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--e-global-color-primary, #ff6600);
  background: #fff;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.industry_partner_contact__icon-btn i {
  font-size: 16px;
}

/* Hover-Effekt */
.industry_partner_contact__icon-btn:hover {
  background: var(--e-global-color-primary, #ff6600);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Optional: leicht unterschiedliche Styles je Typ */
.industry_partner_contact__icon-btn--teams i {
  /* falls du später was Spezielles für Teams willst */
}

.industry_partner_contact__icon-btn--mail i {
  /* falls du später was Spezielles für Mail willst */
}

/**********************************************
 * EMPTY FALLBACK
 **********************************************/
.industry_partner_contact__empty {
  opacity: 0.6;
  font-size: 14px;
}

/* Wrapper UL */
.solutions-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Einzelnes List-Item */
.solutions-list__item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  gap: 15px;
  font-family: var(--e-global-typography-text-font-family), Sans-serif;
}

/* Icon links */
.solutions-list__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.15rem; /* optisch mittig zur Textzeile */
  color: var(--e-global-color-8a187ce);
  font-size: 1.1em;
}

/* Text */
.solutions-list__title {
  display: inline-block;
  line-height: 1.3;
  font-weight: normal;
  font-size: 18px;
}

/* Optional: letzter Abstand kleiner */
.solutions-list__item:last-child {
  margin-bottom: 0;
}

/* ============================
   SOLUTIONS BREADCRUMB
============================ */

.solutions-breadcrumb {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.solutions-breadcrumb__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.solutions-breadcrumb__item {
  display: flex;
  align-items: center;
}

.solutions-breadcrumb__link {
  text-decoration: none;
  color: var(--e-global-color-8a187ce); /* für helle Hero-Hintergründe */
}

.solutions-breadcrumb__link:hover {
  color: var(--e-global-color-8a187ce);
  text-decoration: underline;
}

.solutions-breadcrumb__separator {
  margin: 0 0.25rem;
  color: var(--e-global-color-8a187ce);
}

.solutions-breadcrumb__current {
  color: var(--e-global-color-8a187ce);
}

/* ========================================
   GRID-WRAPPER (gemeinsam für Cases, Solutions, About)
   ======================================== */
.cases-counters,
.solutions-counters-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 24px;
}

.about-counters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
}

@media (max-width: 768px) {
  .cases-counters,
  .solutions-counters-row,
  .about-counters {
    grid-template-columns: 1fr;
    row-gap: 40px;
  }
}

/* ========================================
   BASIS-STYLES FÜR ALLE COUNTER
   (Cases + Solutions + About)
   ======================================== */

.cases-counter,
.solutions-counter,
.about-counter {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: left;
  padding-bottom: 36px;
  font-family: var(--e-global-typography-text-font-family), Sans-serif;
}

/* Große Zahl */
.cases-counter__value,
.solutions-counter__value {
  font-size: 52px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 8px;
}

/* Große Zahl */
.about-counter__value {
  font-size: 36px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 8px;
}

/* Prefix & Suffix einheitlich */
.cases-counter__prefix,
.cases-counter__suffix,
.solutions-counter__prefix,
.solutions-counter__suffix,
.about-counter__prefix,
.about-counter__suffix {
  font-size: 0.6em;
  margin-left: 4px;
}

/* Subtext / Label */
.cases-counter__label,
.solutions-counter__label,
.about-counter__label {
  font-size: 16px;
  line-height: 1.4;
  margin-top: 4px;
  opacity: 0.85;
}

/* ========================================
   FARBLOGIK PRO COUNTER-TYP
   ======================================== */

/* Solutions = violett */
.solutions-counter__value,
.solutions-counter__prefix,
.solutions-counter__suffix {
  color: var(--e-global-color-8a187ce);
}

/* Cases = blau */
.cases-counter__value,
.cases-counter__prefix,
.cases-counter__suffix {
  color: var(--e-global-color-de602de);
}

/* About = Elementor Primary (neu) */
.about-counter__value,
.about-counter__prefix,
.about-counter__suffix {
  color: #000;
}

.solutions-counter,
.cases-counter,
.about-counter {
  border-bottom: 1px solid;
  padding-bottom: 36px;
}

.solutions-counter {
  border-color: var(--e-global-color-8a187ce);
}

.cases-counter {
  border-color: var(--e-global-color-de602de);
}

.about-counter {
  background-color: var(--e-global-color-4b5c7fb);
  padding: 24px 24px 32px;
  border-radius: 8px;
  border: none;
}

/* FEATURED-Variante: Primary-Background + weiße Schrift */
.about-counter--featured {
  background-color: var(--e-global-color-primary);
  color: #fff;
}

.about-counter--featured .about-counter__value,
.about-counter--featured .about-counter__prefix,
.about-counter--featured .about-counter__suffix,
.about-counter--featured .about-counter__label {
  color: #fff;
  opacity: 1;
}

/* =========================================
   ÄUSSERER WRAPPER MIT FADE-EFFEKT
========================================= */
.industry-brand-slider-wrap {
  position: relative;
  overflow: hidden;
  padding: 8px 0;
}

/* Graue/helle Fades links & rechts */
.industry-brand-slider-wrap::before,
.industry-brand-slider-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  pointer-events: none;
  z-index: 2;
}

/* links → transparent nach innen */
.industry-brand-slider-wrap::before {
  left: 0;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 1),
    rgba(255, 255, 255, 0)
  );
}

/* rechts → transparent nach innen */
.industry-brand-slider-wrap::after {
  right: 0;
  background: linear-gradient(
    to left,
    rgba(255, 255, 255, 1),
    rgba(255, 255, 255, 0)
  );
}

/* =========================================
   INNERER SLIDER + TRACK
========================================= */

.industry-brand-slider {
  width: 100%;
  overflow: hidden;
}

/* Track bewegt sich endlos von rechts nach links */
.industry-brand-slider__track {
  display: inline-flex;
  align-items: center;
  /* Wichtiger Part: Endlosbewegung */
  animation: industry-brand-ticker 50s linear infinite;
  /* für super-smooth Bewegung */
  will-change: transform;
}

/* =========================================
   EINZELNE ELEMENTE
========================================= */

/* Elemente stehen nebeneinander, Breite nach Inhalt */
.industry-brand-slider__item {
  padding: 35px; /* Abstand zwischen Namen */
  display: flex;
  align-items: center;
  white-space: nowrap;
  border: 1px solid var(--e-global-color-4b5c7fb);
  margin-right: 40px; /* optischer Abstand – passt zu spaceBetween: 40 von vorher */
  border-radius: 10px;
}

/* Text-Styling (Font + Farbe aus deinem Code) */
.industry-brand-slider__text {
  font-size: 20px;
  font-weight: 900;
  color: #555;
  font-family: var(--e-global-typography-text-font-family), sans-serif;
  text-transform: uppercase;
}

/* =========================================
   KEYFRAMES – ENDLOS-LAUF
   Inhalt läuft von rechts nach links.
   Wenn du links→rechts willst, dreh einfach die Werte um.
========================================= */
@keyframes industry-brand-ticker {
  0% {
    transform: translateX(0);
  }
  100% {
    /* ca. halbe Breite, weil wir die Liste 2x ausgeben */
    transform: translateX(-50%);
  }
}

/* ===== Grid-Layout ====================================== */

.partner-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

@media (max-width: 1024px) {
  .partner-contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

/* ============================================
   GRID
============================================ */
.partner-contact-grid {
  display: grid;
  gap: 28px;
}

.partner-contact-grid--cols-3 {
  grid-template-columns: repeat(5, 1fr);
}

.partner-contact-grid--cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.partner-contact-grid--cols-1 {
  grid-template-columns: 1fr;
}

@media (max-width: 1024px) {
  .partner-contact-grid--cols-3,
  .partner-contact-grid--cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .partner-contact-grid--cols-3,
  .partner-contact-grid--cols-2 {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* ============================================
   CARD
============================================ */
.partner-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: box-shadow 0.3s ease;
}

.partner-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* ============================================
   BILD + HOVER IMAGE
============================================ */
.partner-card__image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
}

.partner-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.partner-card__image--color {
  opacity: 0;
}

.partner-card:hover .partner-card__image--normal {
  opacity: 0;
  transform: scale(1.05);
}

.partner-card:hover .partner-card__image--color {
  opacity: 1;
  transform: scale(1.05);
}

/* ============================================
   CONTENT
============================================ */
.partner-card__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.partner-card__name {
  margin: 0 0 4px;
  font-size: 16px !important;
  font-weight: 700;
}

.partner-card__position {
  margin: 0 0 10px;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* ============================================
   CONTACT ICONS
============================================ */
.partner-card__contacts {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.partner-card__contacts div {
  display: flex;
  gap: 10px;
}

.partner-card__icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--e-global-color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--e-global-color-primary);
  background: #fff;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.partner-card__icon-btn:hover {
  background: var(--e-global-color-primary);
  color: #fff;
}

/* ============================================
   BUTTON "MEHR"
============================================ */
.partner-card__more {
  padding: 10px 16px;
  border-radius: 999px;
  background: #f3f3f4;
  text-decoration: none;
  color: #000 !important;
  font-weight: 600;
  transition: 0.2s ease;
  white-space: nowrap;
  font-size: 14px;
}

.partner-card__more:hover {
  background: #dcdcdc;
  color: #000 !important;
}

.manual-card {
  flex-direction: unset;
}

.manual-card .partner-card__image-wrap,
.manual-card .partner-card__body {
  width: 50%;
}

.manual-card .partner-card__position {
  color: var(--e-global-color-primary);
}

.manual-card__contact {
  margin: 0 0 5px;
  font-size: 0.9rem;
  opacity: 0.8;
}

.manual-card .partner-card__name {
  margin-bottom: 16px;
}

/* Mobile: untereinander */
@media (max-width: 768px) {
  .manual-card {
    flex-direction: column;
  }
  .partner-card__image-wrap,
  .partner-card__body {
    width: 100% !important;
  }
}

/* GRID — 4 SPALTEN */
.network-logos-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 24px;
  align-items: stretch; /* Wichtig */
}

/* EINZELNE KÄSTEN — gleiche Höhe */
.network-logos-grid__item {
  background: #fff;
  border-radius: 10px;
  padding: 32px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  box-sizing: border-box;
  border: 1px solid var(--e-global-color-4b5c7fb);
  gap: 56px;
}

/* Logo selbst */
.network-logos-grid__item img {
  max-width: 250px;
  object-fit: contain; /* immer sauber */
  display: block;
}

.network-logos-grid__text {
  font-family: "Verdana", Sans-serif;
  font-weight: 500;
  color: var(--e-global-color-text);
  font-size: 16px;
}

.network-logos-grid__text a {
  color: var(--e-global-color-primary);
}

/* Mobile: untereinander */
@media (max-width: 768px) {
  .network-logos-grid__item {
    flex-direction: column;
  }
}

/* Grid: 2 Bilder nebeneinander */
.about-team {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* Jeder Bild-Slot ist ein Quadrat */
.about-team__slot {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1; /* quadratisch */
  overflow: hidden;
  border-radius: 12px; /* optional */
}

/* Zwei Ebenen je Slot übereinander, wir blenden per .is-active */
.about-team__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 0.8s ease; /* weicher Merge-Effekt */
}

/* nur die aktive Ebene ist sichtbar */
.about-team__image.is-active {
  opacity: 1;
}

/* Mobile: untereinander */
@media (max-width: 768px) {
  .about-team {
    grid-template-columns: 1fr;
  }
}

.values-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: inherit;
}

.value-label {
  background-color: #f3f3f3;
  padding: 24px 12px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  color: #333;
  white-space: nowrap;
  min-width: 225px;
  text-align: center;
  text-transform: uppercase;
}

.value-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--e-global-color-primary, #0073e5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--e-global-color-primary, #0073e5);
  flex-shrink: 0;
  margin-left: -25px;
  background-color: #fff;
}

.value-icon i {
  font-size: 14px;
  line-height: 1;
}

.value-text {
  font-size: 15px;
  color: #222;
}

/* Optional: etwas enger auf Mobile */
@media (max-width: 768px) {
  .values-list {
    gap: 64px;
  }
  .value-item {
    align-items: center;
    flex-direction: column;
  }
  .value-label {
    width: 100%;
  }
  .value-icon {
    transform: rotate(90deg);
    margin-left: unset;
    margin-top: -24px;
  }
  .value-text {
    font-size: 14px;
    text-align: center;
  }
}
