/* Global Variables */
:root {
  --webpx-bg: #0b0b0b;
  --webpx-bg-contrast: #111213;
  --webpx-text: #ffffff;
  --webpx-muted: #b6bbc6;
  --webpx-accent: #DF9235;
  --webpx-border: rgba(255, 255, 255, 0.12);
  --webpx-radius: 12px;
  --webpx-container: 1120px;

  /* Elementor Global Color Fallbacks - werden überschrieben wenn Elementor lädt */
  --e-global-color-primary: #161616;
  --e-global-color-secondary: #DF9235;
  --e-global-color-text: #7A7A7A;
  --e-global-color-accent: #61CE70;
  --e-global-color-df0261e: #0F0F0F;

  /* Elementor Typography Fallbacks */
  --e-global-typography-primary-font-family: Inter, system-ui, sans-serif;
  --e-global-typography-primary-font-weight: 600;
  --e-global-typography-text-font-family: Inter, system-ui, sans-serif;
  --e-global-typography-text-font-weight: 400;
}

/* Base Typography */
html {
  font-size: 16px;
}

body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--webpx-text);
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--webpx-text);
  margin: 0 0 8px 0;
  line-height: 1.2;
}

p {
  margin: 0 0 12px 0;
}

a {
  color: var(--webpx-text);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Container */
.webpx-container {
  width: 100%;
  max-width: var(--webpx-container);
  padding-left: 24px;
  padding-right: 24px;
  margin-left: auto;
  margin-right: auto;
}

.webpx-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  /* Background wird von individuellen Widgets gesteuert */
  color: var(--webpx-text);
  text-decoration: none;
  font-weight: 600;
  padding: 14px 20px;
  border-radius: 10px;
  border: 1px solid #00000022;
  transition: background-color .2s ease, filter .2s ease, transform .2s ease;
}

/* Standard Background nur für Buttons OHNE spezielle Widget-Steuerung */
.webpx-button:not(.elementor-controlled) {
  background: var(--e-global-color-secondary);
}

.webpx-button:hover {
  filter: brightness(0.95);
  transform: translateY(-3px) scale(1.05);
  color: var(--webpx-text);
}

/* Hero */
.webpx-hero {
  color: var(--webpx-text);
}

.webpx-hero .webpx-eyebrow {
  color: var(--webpx-muted);
  font-size: 14px;
  margin-bottom: 16px;
}

.webpx-hero__title {
  font-size: clamp(32px, 6vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 16px 0;
}

.webpx-hero__subtitle {
  color: var(--webpx-muted);
  font-size: clamp(16px, 2.2vw, 20px);
  line-height: 1.6;
  margin: 0 0 24px 0;
}

.webpx-hero__buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Automatische Button-Ausrichtung basierend auf Text-Alignment */
.webpx-hero__buttons.button-align-left {
  justify-content: flex-start;
}

.webpx-hero__buttons.button-align-center {
  justify-content: center;
}

.webpx-hero__buttons.button-align-right {
  justify-content: flex-end;
}

/* Manueller Modus nutzt Elementor Selectors */
.webpx-hero__buttons.button-align-custom {
  /* justify-content wird durch Elementor Control gesetzt */
}

/* KPIs */
.webpx-kpis {
  color: var(--webpx-text);
  padding: 28px 0 16px;
}

.webpx-kpis__grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 16px;
}

@media (min-width: 640px) {
  .webpx-kpis__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.webpx-kpis__item {
  padding: 20px 0;
}

.webpx-kpis__value {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 6px;
}

.webpx-kpis__label {
  color: var(--webpx-muted);
  font-size: 14px;
}

@media (min-width: 640px) {
  .webpx-kpis__item {
    border-bottom: 0;
  }

  .webpx-kpis__item:not(:first-child) {
    border-left: 1px solid var(--webpx-border);
  }
}

/* Logo Marquee */
.webpx-logo-marquee {}

.webpx-logo-marquee__track {
  display: flex;
  gap: 48px;
  align-items: center;
  padding: 18px 0;
  animation: webpx-marquee linear infinite;
  margin: 0 -20px;
  /* Negative margin to counteract card padding */
}

.webpx-logo-marquee__item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
}

.webpx-logo-marquee__item img {
  max-width: 100%;
  width: auto;
  height: 100%;
  object-fit: contain;
  filter: grayscale(100%) brightness(1.6);
  opacity: 0.85;
  transition: all 300ms ease;
  /* Default transition - wird von Elementor überschrieben */
}

/* === HOVER-EFFEKTE === */

/* Hover-Pause: Stoppt Animation bei Hover */
.webpx-logo-marquee.hover-pause-enabled:hover .webpx-logo-marquee__track {
  animation-play-state: paused;
}

/* Hover-Color: Nur einzelne Logo-Items bei Hover */
.webpx-logo-marquee.hover-color-enabled .webpx-logo-marquee__item:hover img {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
  transform: scale(1.05);
}

/* Mobile: Hover-Effekte nur auf Desktop (Touch-Geräte ausschließen) */
@media (hover: none) {
  .webpx-logo-marquee.hover-pause-enabled:hover .webpx-logo-marquee__track {
    animation-play-state: running;
  }

  .webpx-logo-marquee.hover-color-enabled .webpx-logo-marquee__item:hover img {
    filter: grayscale(100%) brightness(1.6);
    opacity: 0.85;
    transform: none;
  }
}

@keyframes webpx-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-33.33%);
  }
}

/* === VIDEO CARDS WIDGET === */
.webpx-video-cards {
  padding: 80px 0;
  color: var(--webpx-text);
}

.webpx-video-cards__header {
  text-align: center;
  margin-bottom: 50px;
}

.webpx-video-cards__heading {
  font-size: 44px;
  font-weight: 600;
  margin-bottom: 16px;
  line-height: 1.2;
  color: var(--webpx-text);
}

.webpx-video-cards__description {
  font-size: 18px;
  color: var(--webpx-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.webpx-video-cards__grid {
  display: grid;
  /* Spalten und Gap werden durch Elementor responsive Controls gesteuert */
}

.webpx-video-cards__card {
  background: var(--webpx-bg-contrast);
  border: 1px solid var(--webpx-border);
  border-radius: var(--webpx-radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
  cursor: pointer;
}

.webpx-video-cards__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px var(--e-global-color-secondary)33;
  border-color: var(--e-global-color-secondary)33;
}

.webpx-video-cards__thumbnail {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
}

.webpx-video-cards__thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.webpx-video-cards__card:hover .webpx-video-cards__thumbnail img {
  transform: scale(1.05);
}

.webpx-video-cards__play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  opacity: 1;
  transition: all 0.3s ease;
}

.webpx-video-cards__card:hover .webpx-video-cards__play-overlay {
  background: rgba(0, 0, 0, 0.6);
}

.webpx-video-cards__play-button {
  width: 70px;
  height: 70px;
  /* background und color werden von Elementor Controls gesteuert */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transform: scale(1);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  /* box-shadow wird von Elementor Controls gesteuert */
}

/* Niedrige Spezifität - Fallback-Farben (werden von Elementor Controls überschrieben) */
.webpx-video-cards .webpx-video-cards__play-button {
  background: var(--e-global-color-secondary);
  box-shadow: 0 4px 15px var(--e-global-color-secondary)4D;
}

.webpx-video-cards .webpx-video-cards__play-button i {
  color: var(--webpx-bg);
}

.webpx-video-cards__card:hover .webpx-video-cards__play-button {
  transform: scale(1.1);
}

/* Hover-Fallback mit niedriger Spezifität */
.webpx-video-cards .webpx-video-cards__card:hover .webpx-video-cards__play-button {
  background: var(--e-global-color-secondary);
  box-shadow: 0 6px 20px var(--e-global-color-secondary)66;
}

.webpx-video-cards__play-button i {
  margin-left: 3px;
  /* Optischer Ausgleich für Play-Icon */
}

.webpx-video-cards__duration {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.9);
  color: var(--webpx-text);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid var(--webpx-border);
}

.webpx-video-cards__content {
  padding: 24px;
}

.webpx-video-cards__card-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.3;
  color: var(--webpx-text);
}

.webpx-video-cards__card-description {
  font-size: 14px;
  line-height: 1.5;
  color: var(--webpx-muted);
  margin: 0;
}

/* === VIDEO LIGHTBOX === */
.webpx-video-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.webpx-video-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.webpx-video-lightbox__backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 11, 11, 0.95);
  backdrop-filter: blur(10px);
}

.webpx-video-lightbox__container {
  position: relative;
  width: 90%;
  max-width: 1000px;
  max-height: 90vh;
  background: var(--webpx-bg-contrast);
  border: 1px solid var(--webpx-border);
  border-radius: var(--webpx-radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
}

.webpx-video-lightbox__close {
  position: absolute;
  top: -60px;
  right: 0;
  background: var(--webpx-bg-contrast);
  border: 1px solid var(--webpx-border);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  color: var(--webpx-text);
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.webpx-video-lightbox__close:hover {
  background: var(--e-global-color-secondary);
  color: var(--webpx-bg);
  border-color: var(--e-global-color-secondary);
  transform: scale(1.1);
}

.webpx-video-lightbox__content {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  /* 16:9 aspect ratio */
}

.webpx-video-lightbox__content iframe,
.webpx-video-lightbox__content video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .webpx-video-cards {
    padding: 60px 0;
  }

  .webpx-video-cards__heading {
    font-size: 32px;
  }

  .webpx-video-cards__description {
    font-size: 16px;
  }

  /* Grid-Layout wird durch Elementor responsive Controls gesteuert */

  .webpx-video-cards__card {
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
  }

  .webpx-video-cards__card:hover {
    box-shadow: 0 4px 25px var(--e-global-color-secondary)26;
  }

  .webpx-video-cards__play-button {
    width: 60px;
    height: 60px;
    font-size: 20px;
    /* box-shadow wird von Elementor Controls gesteuert */
  }

  /* Mobile Fallback mit niedriger Spezifität */
  .webpx-video-cards .webpx-video-cards__play-button {
    box-shadow: 0 3px 12px var(--e-global-color-secondary)40;
  }

  /* Mobile Fallback wenn keine Elementor-Farbe gesetzt */
  .elementor-widget-webpx_video_cards .webpx-video-cards__play-button:not([style*="background"]) {
    background: var(--e-global-color-secondary) !important;
    box-shadow: 0 3px 12px var(--e-global-color-secondary)40 !important;
  }

  .webpx-video-cards__content {
    padding: 20px;
  }

  .webpx-video-lightbox__container {
    width: 95%;
  }

  .webpx-video-lightbox__close {
    top: -50px;
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}

/* === INFO CARDS WIDGET === */
.webpx-info-cards {
  padding: 80px 0;
  color: var(--webpx-text);
}

.webpx-info-cards__header {
  text-align: center;
  margin-bottom: 50px;
}

.webpx-info-cards__heading {
  font-size: 44px;
  font-weight: 600;
  margin-bottom: 16px;
  line-height: 1.2;
  color: var(--webpx-text);
}

.webpx-info-cards__description {
  font-size: 18px;
  color: var(--webpx-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.webpx-info-cards__grid {
  display: grid;
  /* Spalten und Gap werden durch Elementor responsive Controls gesteuert */
}

.webpx-info-cards__card {
  background: var(--webpx-bg-contrast);
  border: 1px solid var(--webpx-border);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  text-decoration: none;
  display: block;
}

.webpx-info-cards__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.2);
  text-decoration: none;
}

.webpx-info-cards__image {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
}

.webpx-info-cards__image img {
  width: 100%;
  height: 100% !important;
  object-fit: contain;
  /* Fallback - wird durch Elementor Control überschrieben */
  transition: transform 0.3s ease;
  filter: grayscale(20%);
  object-position: center;
}

.webpx-info-cards__card:hover .webpx-info-cards__image img {
  transform: scale(1.05);
  filter: grayscale(0%);
}

.webpx-info-cards__content {
  padding: 24px;
}

.webpx-info-cards__card-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
  line-height: 1.3;
  color: var(--webpx-text);
}

.webpx-info-cards__card-title .highlighted {
  color: var(--e-global-color-secondary);
  font-weight: inherit;
}

.webpx-info-cards__card-description {
  font-size: 14px;
  line-height: 1.6;
  color: var(--webpx-muted);
  margin: 0;
}

/* Link-spezifische Styles */
a.webpx-info-cards__card {
  cursor: pointer;
}

a.webpx-info-cards__card:hover .webpx-info-cards__card-title {
  color: var(--e-global-color-secondary);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .webpx-info-cards {
    padding: 60px 0;
  }

  .webpx-info-cards__heading {
    font-size: 32px;
  }

  .webpx-info-cards__description {
    font-size: 16px;
  }

  .webpx-info-cards__card-title {
    font-size: 18px;
  }

  .webpx-info-cards__content {
    padding: 20px;
  }

  .webpx-info-cards__card:hover {
    transform: translateY(-3px);
  }
}

/* ==========================================
   NEWSLETTER CTA WIDGET
   ========================================== */

.webpx-newsletter-cta {
  padding: 60px 20px;
  color: var(--webpx-text);
}

.webpx-newsletter-cta__content {
  max-width: 1000px;
  margin: 0 auto;
  background: var(--webpx-bg-contrast);
  border: 1px solid var(--webpx-border);
  border-radius: 20px;
  padding: 48px 40px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.webpx-newsletter-cta__content:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.2);
}

.webpx-newsletter-cta__icon {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--e-global-color-secondary);
  font-size: 48px;
  transition: all 0.3s ease;
}

.webpx-newsletter-cta__icon i,
.webpx-newsletter-cta__icon svg {
  display: block;
}

.webpx-newsletter-cta__title {
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 16px;
  color: var(--e-global-color-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.webpx-newsletter-cta__subtitle {
  font-size: 0.95rem;
  font-weight: 500;
  margin: 0 0 20px;
  color: var(--webpx-text);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  opacity: 0.9;
}

.webpx-newsletter-cta__description {
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0 0 32px;
  color: var(--webpx-muted);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 32px;
}

.webpx-newsletter-cta__button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--e-global-color-secondary);
  color: #2c3e50;
  text-decoration: none;
  border: 2px solid var(--e-global-color-secondary);
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.webpx-newsletter-cta__button:hover {
  background: transparent;
  color: var(--e-global-color-secondary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--e-global-color-secondary)40;
  text-decoration: none;
}

.webpx-newsletter-cta__button i {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.webpx-newsletter-cta__button:hover i {
  transform: translateX(2px);
}

/* Responsive Adjustments */
@media (max-width: 1023px) {
  .webpx-newsletter-cta {
    padding: 50px 15px;
  }
  
  .webpx-newsletter-cta__content {
    padding: 36px 30px;
  }
  
  .webpx-newsletter-cta__title {
    font-size: 1.5rem;
  }
}

@media (max-width: 767px) {
  .webpx-newsletter-cta {
    padding: 40px 15px;
  }
  
  .webpx-newsletter-cta__content {
    padding: 32px 24px;
  }
  
  .webpx-newsletter-cta__title {
    font-size: 1.3rem;
    line-height: 1.4;
  }
  
  .webpx-newsletter-cta__subtitle {
    font-size: 0.85rem;
  }
  
  .webpx-newsletter-cta__description {
    font-size: 0.85rem;
    margin-bottom: 28px;
  }
  
  .webpx-newsletter-cta__button {
    padding: 10px 24px;
    font-size: 0.8rem;
  }
  
  .webpx-newsletter-cta__icon {
    font-size: 40px;
    margin-bottom: 20px;
  }
}

/* ==========================================
   COMPARISON CARDS WIDGET
   ========================================== */

.webpx-comparison-cards {
  padding: 60px 20px;
  color: var(--webpx-text);
}

.webpx-comparison-cards__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.webpx-comparison-cards__card {
  background: rgba(0, 0, 0, 0.7);
  border: 2px solid var(--e-global-color-secondary);
  border-radius: 8px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.webpx-comparison-cards__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px var(--e-global-color-secondary)40;
  background: rgba(0, 0, 0, 0.8);
}

.webpx-comparison-cards__title {
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.3;
  margin: 0 0 20px;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid var(--e-global-color-secondary);
  padding-bottom: 16px;
}

.webpx-comparison-cards__category {
  font-size: 0.8rem;
  font-weight: 600;
  margin: 0 0 16px;
  color: var(--e-global-color-secondary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  opacity: 0.9;
}

.webpx-comparison-cards__value {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
  margin: 0 0 24px;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
  cursor: default;
}

.webpx-comparison-cards__value[data-counted="1"] {
  color: #ffffff;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.webpx-comparison-cards__description {
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
  color: var(--e-global-color-secondary);
  font-weight: 400;
  letter-spacing: 0.3px;
}

/* Responsive Adjustments */
@media (max-width: 1023px) {
  .webpx-comparison-cards {
    padding: 50px 15px;
  }
  
  .webpx-comparison-cards__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .webpx-comparison-cards__card {
    padding: 32px 24px;
  }
  
  .webpx-comparison-cards__title {
    font-size: 1.2rem;
  }
  
  .webpx-comparison-cards__value {
    font-size: 3rem;
  }
  
  .webpx-comparison-cards__value[data-counted="1"] {
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.25);
  }
}

@media (max-width: 767px) {
  .webpx-comparison-cards {
    padding: 40px 15px;
  }
  
  .webpx-comparison-cards__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .webpx-comparison-cards__card {
    padding: 28px 20px;
  }
  
  .webpx-comparison-cards__title {
    font-size: 1.1rem;
    margin-bottom: 16px;
  }
  
  .webpx-comparison-cards__category {
    font-size: 0.75rem;
    margin-bottom: 12px;
  }
  
  .webpx-comparison-cards__value {
    font-size: 2.5rem;
    margin-bottom: 20px;
  }
  
  .webpx-comparison-cards__value[data-counted="1"] {
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
  }
  
  .webpx-comparison-cards__description {
    font-size: 0.8rem;
    line-height: 1.4;
  }
}

/* FAQ */
.webpx-faq {
  color: var(--webpx-text);
  padding: 48px 0;
}

.elementskit-accordion {
  display: grid;
  gap: 16px;
}

.elementskit-card {
  border: 1px solid var(--webpx-border);
  border-radius: 18px;
  background: var(--webpx-bg-contrast);
  padding: 0;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.elementskit-card:hover {
  border-color: var(--e-global-color-secondary);
}

.elementskit-card-header {}

.ekit-accordion--toggler {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  background: transparent;
  color: var(--webpx-text);
  border: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: color .2s ease;
  text-decoration: none;
}

.ekit-accordion--toggler:hover {
  color: var(--e-global-color-secondary);
  text-decoration: none;
}

.ekit-accordion-title {
  flex: 1;
  margin-right: 16px;
  line-height: 1.4;
}

.ekit_accordion_icon_group {
  flex-shrink: 0;
  position: relative;
  width: 20px;
  height: 20px;
  transform: translateY(2px);
}

/* Icon-Position Anpassungen */
.ekit-accordion--toggler[style*="row-reverse"] .ekit-accordion-title {
  margin-right: 0;
  margin-left: 16px;
}

.ekit_accordion_normal_icon,
.ekit_accordion_active_icon {
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity .3s ease, transform .3s ease;
  color: var(--webpx-muted);
}

.ekit_accordion_active_icon {
  opacity: 0;
  color: var(--e-global-color-secondary);
  transform: rotate(180deg);
}

.elementskit-card.active .ekit_accordion_normal_icon {
  opacity: 0;
  transform: rotate(180deg);
}

.elementskit-card.active .ekit_accordion_active_icon {
  opacity: 1;
  transform: rotate(0deg);
}

.collapse {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.collapse.show {
  transition: max-height 0.3s ease-in;
}

.elementskit-card-body {
  color: var(--webpx-muted);
  padding: 0 24px 24px 24px;
  line-height: 1.6;
}

.ekit-accordion--content {
  margin: 0;
}

.ekit-accordion--content p {
  margin-bottom: 12px;
}

.ekit-accordion--content p:last-child {
  margin-bottom: 0;
}

/* CTA */
.webpx-cta {
  color: var(--webpx-text);
  padding: 48px 0;
  text-align: center;
  background: var(--webpx-section-bg, #1a1a1a);
}

.webpx-cta__title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 15px 0;
  color: var(--webpx-text, #ffffff);
}

.webpx-cta__subtitle {
  color: var(--webpx-muted, #cccccc);
  font-size: 18px;
  line-height: 1.5;
  margin: 0 0 25px 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Button in der Section */
/* CTA Button Basis-Stile (überschreibbar durch Elementor) */
.webpx-cta .webpx-button {
  display: inline-block;
  color: var(--webpx-text);
  padding: 16px 32px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  /* Performance Optimierung */
  will-change: transform, box-shadow;

  /* Pulsing Animation */
  animation: ctaPulse 3s ease-in-out infinite;

  /* Für Shimmer-Effekt */
  background-size: 200% 100%;
  
  /* CSS Variable für Animation Farbe */
  --animation-color: var(--e-global-color-secondary);
}

/* CTA Button Background wird KOMPLETT von Elementor gesteuert */

/* Elementor Steuerungen haben Vorrang */
.elementor-widget-webpx_cta .webpx-cta .webpx-button {
  /* Elementor-Controls überschreiben Background und Animation-Color */
}


/* Shimmer-Animation */
.webpx-cta .webpx-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  animation: shimmer 4s ease-in-out infinite;
  animation-delay: 1s;
  will-change: left, opacity;
}

.webpx-cta .webpx-button:hover {
  transform: translateY(-3px) scale(1.05);
  text-decoration: none;
  color: var(--webpx-text);
  ;
  animation: ctaPulseHover 1.5s ease-in-out infinite;
}

.webpx-cta .webpx-button:active {
  transform: translateY(-1px) scale(1.02);
  transition: all 0.1s ease;
}

.webpx-cta .webpx-button:focus {
  outline: none;
  box-shadow:
    0 8px 25px 0 color-mix(in srgb, var(--animation-color) 40%, transparent),
    0 0 0 1px color-mix(in srgb, var(--animation-color) 20%, transparent),
    0 0 30px color-mix(in srgb, var(--animation-color) 30%, transparent),
    0 0 0 3px color-mix(in srgb, var(--animation-color) 50%, transparent);
}

.webpx-cta .webpx-button:focus:not(:focus-visible) {
  box-shadow:
    0 4px 15px 0 color-mix(in srgb, var(--animation-color) 30%, transparent),
    0 0 0 1px color-mix(in srgb, var(--animation-color) 10%, transparent);
}

/* Keyframe Animationen */
@keyframes ctaPulse {

  0%,
  100% {
    box-shadow:
      0 4px 15px 0 color-mix(in srgb, var(--animation-color) 30%, transparent),
      0 0 0 1px color-mix(in srgb, var(--animation-color) 10%, transparent),
      0 0 0 0 color-mix(in srgb, var(--animation-color) 40%, transparent);
  }

  50% {
    box-shadow:
      0 4px 20px 0 color-mix(in srgb, var(--animation-color) 40%, transparent),
      0 0 0 1px color-mix(in srgb, var(--animation-color) 15%, transparent),
      0 0 20px 5px color-mix(in srgb, var(--animation-color) 20%, transparent);
  }
}

@keyframes ctaPulseHover {

  0%,
  100% {
    box-shadow:
      0 8px 25px 0 color-mix(in srgb, var(--animation-color) 40%, transparent),
      0 0 0 1px color-mix(in srgb, var(--animation-color) 20%, transparent),
      0 0 30px color-mix(in srgb, var(--animation-color) 30%, transparent);
  }

  50% {
    box-shadow:
      0 10px 35px 0 color-mix(in srgb, var(--animation-color) 50%, transparent),
      0 0 0 1px color-mix(in srgb, var(--animation-color) 30%, transparent),
      0 0 40px 8px color-mix(in srgb, var(--animation-color) 40%, transparent);
  }
}

@keyframes shimmer {
  0% {
    left: -100%;
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    left: 100%;
    opacity: 0;
  }
}

/* Responsive CTA */
@media (max-width: 768px) {
  .webpx-cta {
    padding: 32px 0;
  }

  .webpx-cta__title {
    font-size: clamp(20px, 5vw, 28px);
    margin-bottom: 12px;
  }

  .webpx-cta__subtitle {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .webpx-cta .webpx-button {
    padding: 14px 28px;
    font-size: 15px;
    border-radius: 10px;
  }

  .webpx-cta .webpx-button:hover {
    transform: translateY(-2px) scale(1.03);
  }
}

@media (max-width: 480px) {
  .webpx-cta {
    padding: 24px 0;
  }

  .webpx-cta__subtitle {
    font-size: 15px;
  }

  .webpx-cta .webpx-button {
    padding: 12px 24px;
    font-size: 14px;
    width: 100%;
    max-width: 280px;
    border-radius: 8px;
  }

  .webpx-cta .webpx-button:hover {
    transform: translateY(-1px) scale(1.02);
  }

  /* Reduzierte Animation auf kleinen Bildschirmen */
  @media (prefers-reduced-motion: reduce) {
    .webpx-cta .webpx-button {
      animation: none;
    }

    .webpx-cta .webpx-button::before {
      animation: none;
    }

    .webpx-cta .webpx-button:hover {
      animation: none;
      transform: translateY(-2px);
    }
  }
}

/* Steps - Entfernt (ersetzt durch moderne Version unten) */

/* Problems */
.webpx-problems {
  color: var(--webpx-text);
  padding: 48px 0;
}

.webpx-problems__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .webpx-problems__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* TOP-LEFT: Dropdown links unter Button */
  .webpx-floating-menu-wrapper.position-top-left .webpx-dropdown-menu {
    left: 0 !important;
    right: auto !important;
  }

  /* TOP-RIGHT: Dropdown rechts unter Button */
  .webpx-floating-menu-wrapper.position-top-right .webpx-dropdown-menu {
    left: auto !important;
    right: 0 !important;
  }

  /* BOTTOM-LEFT: Dropdown links über Button */
  .webpx-floating-menu-wrapper.position-bottom-left .webpx-dropdown-menu {
    left: 0 !important;
    right: auto !important;
  }

  /* BOTTOM-RIGHT: Dropdown rechts über Button */
  .webpx-floating-menu-wrapper.position-bottom-right .webpx-dropdown-menu {
    left: auto !important;
    right: 0 !important;
  }
}

@media (min-width: 1024px) {
  .webpx-problems__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.webpx-problems__card {
  border: 1px solid var(--webpx-border);
  border-radius: var(--webpx-radius);
  padding: 16px;
  background: var(--webpx-bg-contrast);
}

.webpx-problems__title {
  margin: 0 0 8px 0;
  font-size: 18px;
}

.webpx-problems__text {
  color: var(--webpx-muted);
}

/* Testimonials */
.webpx-testimonials {
  color: var(--webpx-text);
  padding: 48px 0;
}

.webpx-testimonials__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .webpx-testimonials__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .webpx-testimonials__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.webpx-testimonial {
  border: 1px solid var(--webpx-border);
  border-radius: 16px;
  background: var(--webpx-bg-contrast);
  margin: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.webpx-testimonial__image {
  width: 100%;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
}

.webpx-testimonial__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.webpx-testimonial__content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.webpx-testimonial__quote {
  margin: 0 0 20px 0;
  color: var(--webpx-text);
  font-size: 16px;
  line-height: 1.6;
  flex: 1;
}

.webpx-testimonial__meta {
  color: var(--webpx-text);
  font-size: 14px;
}

.webpx-testimonial__name {
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--webpx-text);
}

.webpx-testimonial__role {
  opacity: 0.7;
  color: var(--webpx-muted);
}

/* Header/Footer base */
.webpx-header {
  color: var(--webpx-text);
}

.webpx-footer {
  color: var(--webpx-text);
}

.webpx-header .webpx-container,
.webpx-footer .webpx-container {
  padding-top: 12px;
  padding-bottom: 12px;
}

/* Utility */
.webpx-muted {
  color: var(--webpx-muted);
}

/* Hinweis: Globale Deaktivierung von Box-Shadows entfernt, 
   damit Widget-/Elementor-Einstellungen für Schatten greifen. */

/* Card */
.webpx-card {
  border: 1px solid var(--webpx-border);
  border-radius: 18px;
  background: var(--webpx-bg-contrast);
  padding: 20px;
}

/* Logo Card */
.webpx-logo-card {
  display: grid;
  align-items: center;
  gap: 18px;
  overflow: hidden;
}

.webpx-logo-card__heading {
  font-size: clamp(18px, 2.2vw, 24px);
  color: var(--webpx-text);
  display: -webkit-box;
  max-width: 50vw;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
  max-height: calc(1.4em * 2);
}

.elementor-widget-webpx_floating_to_top {
  z-index: 1000;
}

/* Rotating Logo */
.webpx-rotating-logo {
  padding: 24px 0;
}

.webpx-rotating-logo__container {
  display: inline-block;
}

.webpx-rotating-logo__image {
  display: block;
  max-width: 100%;
  height: auto;
  transition: opacity 0.3s ease;
  transform-origin: center center;
}

/* Team */
.webpx-team {
  color: var(--webpx-text);
  padding: 48px 0;
}

.webpx-team__heading {
  font-size: clamp(24px, 4vw, 42px);
  margin: 0 0 40px 0;
  text-align: center;
}

.webpx-team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  justify-content: center;
}

/* Grid Verhalten: Mittig zentrieren */
.webpx-team__grid--center {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(250px, 300px)) !important;
  justify-content: center !important;
}

/* Grid Verhalten: Automatische Breite */
.webpx-team__grid--auto {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
  justify-content: center !important;
}

/* Grid Verhalten: Items mittig bei wenigen Mitgliedern */
.webpx-team__grid--center-items {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 24px !important;
}

.webpx-team__grid--center-items .webpx-team-card {
  flex: 0 0 auto !important;
  width: 320px !important;
  max-width: calc(50% - 12px) !important;
}

.webpx-team__grid--auto .webpx-team-card {
  justify-self: center;
}

@media (max-width: 1024px) {
  .webpx-team__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .webpx-team__grid--center {
    grid-template-columns: repeat(auto-fit, minmax(200px, 280px));
  }

  .webpx-team__grid--auto {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .webpx-team__grid--center-items .webpx-team-card {
    width: 280px !important;
    max-width: calc(50% - 12px) !important;
  }
}

@media (max-width: 767px) {
  .webpx-team__grid {
    grid-template-columns: 1fr;
  }

  .webpx-team__grid--center {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .webpx-team__grid--center .webpx-team-card {
    max-width: 300px;
  }

  .webpx-team__grid--auto {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .webpx-team__grid--center-items .webpx-team-card {
    width: 100% !important;
    max-width: 320px !important;
  }
}

.webpx-team-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--webpx-border);
  border-radius: 18px;
  background: #000;
  aspect-ratio: 1/1;
}

.webpx-team-card__img {
  width: 100% !important;
  height: 100% !important;
  display: block;
  object-fit: cover;
  object-position: center center;
  border-radius: 16px 16px 0 0;
}

.webpx-team-card__overlay {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  border-radius: 14px;
  padding: 12px;
  border: 1px solid var(--webpx-bg);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.95) 100%);
  border: 1px solid var(--webpx-border);
}

.webpx-team-card__name {
  color: var(--e-global-color-secondary);
  font-weight: 600;
  margin-bottom: 4px;
}

.webpx-team-card__role {
  color: var(--webpx-text);
  opacity: 0.9;
  font-size: 14px;
}

/* Service Cards */
.webpx-service-cards {
  padding: 48px 0;
}

.webpx-service-cards__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  width: 100%;
  max-width: 100%;
}

/* Zentrierung bei weniger Karten als Spalten */
.webpx-service-cards__grid--centered {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
}

.webpx-service-cards__grid--centered .webpx-service-cards__card {
  flex: 0 1 calc(33.333% - 20px);
  max-width: 400px;
  min-width: 300px;
}

.webpx-service-cards__card {
  background: #2A2A2A;
  border: 1px solid #444444;
  border-radius: 15px;
  padding: 40px 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: visible;
  display: flex;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
  min-height: 280px;
}

.webpx-service-cards__card:hover {
  transform: translateY(-5px);
}

.webpx-service-cards__link {
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

.webpx-service-cards__link:hover {
  text-decoration: none;
}

.webpx-service-cards__icon {
  color: var(--e-global-color-secondary);
  ;
  font-size: 50px;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.webpx-service-cards__icon svg {
  width: 50px;
  height: 50px;
  fill: currentColor;
}

.webpx-service-cards__title {
  color: #FFFFFF;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 15px 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
  max-width: 100%;
}

.webpx-service-cards__description {
  color: #CCCCCC;
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
  max-width: 100%;
  flex: 1;
}

/* Responsive Service Cards */
@media (max-width: 1024px) {
  .webpx-service-cards__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .webpx-service-cards__grid--centered .webpx-service-cards__card {
    flex: 0 1 calc(50% - 12px);
    max-width: 350px;
    min-width: 280px;
  }
}

@media (max-width: 767px) {
  .webpx-service-cards__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .webpx-service-cards__grid--centered .webpx-service-cards__card {
    flex: 0 1 100%;
    max-width: 400px;
    min-width: 100%;
  }

  .webpx-service-cards__card {
    padding: 30px 24px;
    min-height: 240px;
  }

  .webpx-service-cards__icon {
    font-size: 40px;
    margin-bottom: 16px;
  }

  .webpx-service-cards__icon svg {
    width: 40px;
    height: 40px;
  }

  .webpx-service-cards__title {
    font-size: 20px;
    margin-bottom: 12px;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .webpx-service-cards__description {
    font-size: 14px;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}

@media (max-width: 480px) {
  .webpx-service-cards__card {
    padding: 25px 20px;
    min-height: 220px;
  }

  .webpx-service-cards__title {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.2;
  }

  .webpx-service-cards__description {
    font-size: 13px;
    line-height: 1.4;
  }
}

/* Testimonials */
.webpx-testimonials {
  color: var(--webpx-text);
  padding: 48px 0;
}

/* Mobile section padding optimization */
@media (max-width: 768px) {
  .webpx-testimonials {
    padding: 30px 0;
  }
}

@media (max-width: 480px) {
  .webpx-testimonials {
    padding: 20px 0;
  }
}

/* Outer container for external navigation */
.webpx-testimonials-outer {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 50px;
  /* Space for external navigation */
}

.webpx-testimonials-wrapper {
  position: relative;
  width: 100%;
  /* Full width - no max-width constraint for full content width */
  margin: 0 auto;
}

.webpx-testimonials__carousel {
  overflow: hidden;
  position: relative;
  cursor: grab;
  touch-action: pan-y;
  /* Allow vertical scrolling, prevent horizontal */
}

.webpx-testimonials__carousel:active {
  cursor: grabbing;
}

.webpx-slides-wrapper {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.swiper-slide {
  min-width: 0;
  flex-shrink: 0;
  padding: 0 15px;
  box-sizing: border-box;
}

.webpx-testimonial {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  overflow: hidden;
  height: 100%;
}

.webpx-testimonial__text-area {
  padding: 25px 25px 25px 25px;
  background: #1a1a1a;
  border-radius: 0 0 20px 20px;
  flex: 1;
}

.webpx-testimonial__image {
  margin-bottom: 0;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
  position: relative;
  width: 100%;
  flex-shrink: 0;
  aspect-ratio: 4/5;
  /* Fallback */
}

.webpx-testimonial__image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100% !important;
  border-radius: 20px 20px 0 0;
  object-fit: cover;
  object-position: center center;
  border: none;
  display: block;
}

.webpx-testimonial__meta {
  margin-bottom: 15px;
}

.webpx-testimonial__name {
  font-weight: 600;
  color: var(--webpx-text);
  font-size: 20px;
  margin: 0;
  line-height: 1.3;
}

.webpx-testimonial__content {
  display: block;
}

.webpx-testimonial__quote {
  font-size: 14px;
  line-height: 1.4;
  color: var(--webpx-muted);
  margin: 0;
  font-style: normal;
  text-align: center;
}

.webpx-testimonial__role {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  color: var(--webpx-muted);
}

/* Navigation - External positioning */
.webpx-testimonials-outer .webpx-nav-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(26, 26, 26, 0.95) !important;
  border: 1px solid var(--webpx-border) !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--webpx-text) !important;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  backdrop-filter: blur(15px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  outline: none !important;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.webpx-testimonials-outer .webpx-nav-button:hover {
  background: var(--e-global-color-secondary);
  color: #111;
  border-color: var(--e-global-color-secondary);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 25px var(--e-global-color-secondary)4D;
}

.webpx-testimonials-outer .webpx-nav-button:active {
  transform: translateY(-50%) scale(0.95);
}

.webpx-testimonials-outer .webpx-nav-button:focus {
  outline: none !important;
  background: rgba(26, 26, 26, 0.95) !important;
  border: 1px solid var(--webpx-border) !important;
  color: var(--webpx-text) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
}

.webpx-testimonials-outer .webpx-nav-button:focus:not(:focus-visible) {
  outline: none !important;
  background: rgba(26, 26, 26, 0.95) !important;
  border: 1px solid var(--webpx-border) !important;
  color: var(--webpx-text) !important;
}

.webpx-testimonials-outer .webpx-nav-button:focus-visible {
  outline: 2px solid var(--e-global-color-secondary);
  outline-offset: 2px;
}

/* Complete focus reset for all browsers */
.webpx-testimonials-outer .webpx-nav-button:-moz-focusring {
  outline: none !important;
  background: rgba(26, 26, 26, 0.95) !important;
  border: 1px solid var(--webpx-border) !important;
  color: var(--webpx-text) !important;
}

.webpx-testimonials-outer .webpx-nav-button::-moz-focus-inner {
  border: 0 !important;
  outline: none !important;
}

.webpx-testimonials-outer .webpx-nav-button[data-focus] {
  background: rgba(26, 26, 26, 0.95) !important;
  border: 1px solid var(--webpx-border) !important;
  color: var(--webpx-text) !important;
}

.webpx-testimonials-outer .webpx-nav-prev {
  left: 0;
  transform: translateY(-50%);
}

.webpx-testimonials-outer .webpx-nav-next {
  right: 0;
  transform: translateY(-50%);
}

.webpx-testimonials-outer .webpx-nav-button i {
  font-size: 18px;
  line-height: 1;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/* Fallback CSS Arrows wenn Elementor Icons nicht laden */
.webpx-testimonials-outer .webpx-nav-prev::after {
  content: '‹';
  position: absolute;
  font-size: 24px;
  font-weight: bold;
  color: currentColor;
  pointer-events: none;
}

.webpx-testimonials-outer .webpx-nav-next::after {
  content: '›';
  position: absolute;
  font-size: 24px;
  font-weight: bold;
  color: currentColor;
  pointer-events: none;
}

/* Verstecke Fallback wenn Elementor Icons verfügbar sind */
.webpx-testimonials-outer .webpx-nav-button i:not(:empty)~*::after,
.webpx-testimonials-outer .webpx-nav-button i[class*="eicon"]~*::after,
.webpx-testimonials-outer .webpx-nav-button:has(i[class]) .webpx-nav-prev::after,
.webpx-testimonials-outer .webpx-nav-button:has(i[class]) .webpx-nav-next::after,
.webpx-testimonials-outer .webpx-nav-prev:has(i[class])::after,
.webpx-testimonials-outer .webpx-nav-next:has(i[class])::after {
  display: none !important;
}

/* Robuste Lösung: Verstecke Fallback-Arrows wenn Icons geladen sind */
.webpx-testimonials-outer .webpx-nav-prev::after,
.webpx-testimonials-outer .webpx-nav-next::after {
  display: none !important;
}

.webpx-testimonials-outer .webpx-nav-prev i {
  margin-right: 2px;
  /* Slight optical adjustment */
}

.webpx-testimonials-outer .webpx-nav-next i {
  margin-left: 2px;
  /* Slight optical adjustment */
}

/* Pagination */
.webpx-testimonials-wrapper .webpx-pagination {
  position: relative;
  margin-top: 32px;
  text-align: center;
}

/* Layout adjustments when images are hidden */
.webpx-testimonials--no-images .webpx-testimonial {
  /* Adjust height for text-only testimonials */
  min-height: auto;
}

.webpx-testimonials--no-images .webpx-testimonial__text-area {
  /* Make text area fill the entire card when no image */
  border-radius: 20px;
  padding: 30px 25px;
}

.webpx-testimonials--no-images .webpx-testimonial__meta {
  /* Adjust spacing when no image present */
  margin-bottom: 20px;
}

/* Mobile pagination optimization */
@media (max-width: 768px) {
  .webpx-testimonials-wrapper .webpx-pagination {
    margin-top: 24px;
  }

  .webpx-testimonials-wrapper .webpx-pagination-bullet {
    width: 10px;
    height: 10px;
    margin: 0 5px;
  }
}

@media (max-width: 480px) {
  .webpx-testimonials-wrapper .webpx-pagination {
    margin-top: 20px;
  }

  .webpx-testimonials-wrapper .webpx-pagination-bullet {
    width: 12px;
    height: 12px;
    margin: 0 6px;
  }
}

.webpx-testimonials-wrapper .webpx-pagination-bullet {
  width: 8px;
  height: 8px;
  background: var(--webpx-border);
  border-radius: 50%;
  margin: 0 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  padding: 0;
  display: inline-block;
}

.webpx-testimonials-wrapper .webpx-pagination-bullet.webpx-pagination-active {
  background: var(--e-global-color-secondary);
  transform: scale(1.2);
}

.webpx-testimonials-wrapper .webpx-pagination-bullet:focus {
  outline: none;
}

.webpx-testimonials-wrapper .webpx-pagination-bullet:focus:not(:focus-visible) {
  outline: none;
}

/* Fallback ohne JavaScript - zeige alle Slides vertikal */
.no-js .webpx-testimonials__carousel .swiper-slide {
  display: block !important;
  width: 100% !important;
  margin-bottom: 24px;
}

.no-js .webpx-slides-wrapper {
  display: block !important;
  transform: none !important;
}

/* Elementor Editor compatibility */
.elementor-editor-active .webpx-slides-wrapper {
  transition: transform 0.3s ease;
}

/* Ensure proper initialization in Elementor preview */
.elementor-widget-webpx_testimonials .webpx-testimonials__carousel {
  position: relative;
  overflow: hidden;
}

.elementor-widget-webpx_testimonials .swiper-slide {
  transition: all 0.3s ease;
}

/* Fix for Elementor Editor Preview */
.elementor-editor-active .webpx-testimonials__carousel {
  display: flex !important;
  overflow-x: auto !important;
  gap: 20px !important;
  padding: 10px 0 !important;
}

.elementor-editor-active .webpx-testimonials__carousel .swiper-slide {
  flex: 0 0 auto !important;
  width: 350px !important;
  display: block !important;
}

.elementor-editor-active .webpx-testimonial {
  height: auto !important;
  min-height: 400px !important;
}

.elementor-editor-active .webpx-nav-button {
  display: none !important;
  /* Hide navigation in editor */
}

.elementor-editor-active .webpx-pagination {
  display: none !important;
  /* Hide pagination in editor */
}

/* Steps/Prozess Widget */
.webpx-steps {
  padding: 80px 0;
  color: var(--webpx-text, #ffffff);
  background: transparent;
  position: relative;
}

.webpx-steps__header {
  text-align: center;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.webpx-steps__section-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--webpx-text, #ffffff);
  margin: 0 0 20px 0;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.webpx-steps__section-subtitle {
  font-size: 20px;
  line-height: 1.5;
  color: var(--webpx-muted, #cccccc);
  margin: 0;
}

.webpx-steps__wrapper {
  display: flex;
  align-items: stretch;
  /* Einheitliche Steuerung des Abstands zwischen Text und Bild */
  --steps-gap: 60px;
  gap: var(--steps-gap);
  max-width: 1200px;
  margin: 0 auto;
}

.webpx-steps__content-wrapper {
  /* Text darf nur bis an den Bildrand (40% Bildbreite + Gap) laufen */
  flex: 0 0 calc(60% - var(--steps-gap));
  max-width: calc(60% - var(--steps-gap));
  min-width: 0;
  /* Für besseres Flex-Verhalten */
}

.webpx-steps__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.webpx-steps__item {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.webpx-steps__item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.webpx-steps__num {
  font-size: 72px;
  font-weight: 500;
  color: var(--e-global-color-secondary);
  line-height: 0.8;
  flex-shrink: 0;
  min-width: 120px;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 8px var(--e-global-color-secondary)33;
}

.webpx-steps__content {
  flex: 1;
  padding-top: 0px;
  /* Scroll-Clamp: Text endet spätestens am Bildrand */
  max-width: 100%;
}

.webpx-steps__title {
  font-size: 28px;
  font-weight: 700;
  color: var(--webpx-text, #ffffff);
  margin: 0 0 18px 0;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.webpx-steps__text {
  font-size: 18px;
  line-height: 1.7;
  color: var(--webpx-muted, #cccccc);
  margin: 0;
  max-width: 600px;
}

.webpx-steps__text strong {
  color: var(--webpx-text, #ffffff);
  font-weight: 700;
}

.webpx-steps__text em {
  color: var(--e-global-color-secondary);
  font-style: normal;
  font-weight: 600;
}

/* Sticky Image Effekt */
.webpx-steps--sticky-image .webpx-steps__wrapper {
  align-items: flex-start;
}

.webpx-steps--sticky-image .webpx-steps__image--sticky {
  position: sticky;
  top: 100px;
  align-self: flex-start;
}

/* Text darf nicht weiter als das Bild „scrollen“ → keine erzwungene Mindesthöhe */
.webpx-steps--sticky-image .webpx-steps__content-wrapper {
  min-height: auto;
}

/* Fade-In Effekt für Steps beim Scrollen */
.webpx-steps--sticky-image .webpx-steps__item {
  opacity: 0.3;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.webpx-steps--sticky-image .webpx-steps__item:first-child,
.webpx-steps--sticky-image .webpx-steps__item:hover {
  opacity: 1;
  transform: translateY(0);
}

/* Elementor Editor - Sticky deaktivieren */
.elementor-editor-active .webpx-steps__image--sticky {
  position: relative !important;
  top: auto !important;
}

.webpx-steps__image {
  /* Bildspalte fix: 40% */
  flex: 0 0 40%;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.webpx-steps__image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  object-fit: cover;
}

/* Without image - center content */
.webpx-steps:not(.webpx-steps--with-image) .webpx-steps__content-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

/* Responsive */
@media (max-width: 1024px) {
  .webpx-testimonials-wrapper {
    padding: 0 45px;
  }
}

/* Steps Responsive */
@media (max-width: 1024px) {
  .webpx-steps {
    padding: 60px 0;
  }

  .webpx-steps__header {
    margin-bottom: 50px;
  }

  .webpx-steps__section-title {
    font-size: 40px;
  }

  .webpx-steps__section-subtitle {
    font-size: 18px;
  }

  .webpx-steps__wrapper {
    /* Auf Tablet kleinere Lücke */
    --steps-gap: 40px;
    gap: var(--steps-gap);
    padding: 0 20px;
  }

  .webpx-steps__num {
    font-size: 64px;
    min-width: 100px;
  }

  .webpx-steps__title {
    font-size: 24px;
  }

  .webpx-steps__text {
    font-size: 17px;
  }

  .webpx-steps__item {
    gap: 35px;
    margin-bottom: 45px;
    padding-bottom: 45px;
  }
}

@media (max-width: 768px) {
  .webpx-steps {
    padding: 50px 0;
  }

  .webpx-steps__header {
    margin-bottom: 40px;
  }

  .webpx-steps__section-title {
    font-size: 32px;
    margin-bottom: 15px;
  }

  .webpx-steps__section-subtitle {
    font-size: 17px;
  }

  .webpx-steps__wrapper {
    flex-direction: column !important;
    gap: 40px;
    padding: 0 15px;
  }

  .webpx-steps__image {
    flex: none;
    width: 100%;
    max-width: 500px;
    order: -1;
    /* Bild immer oben auf Mobile */
    margin: 0 auto;
  }

  .webpx-steps__content-wrapper {
    /* Auf Mobile/kleineren Screens Text über volle Breite */
    flex: none;
    width: 100%;
    max-width: 100%;
  }

  .webpx-steps__num {
    font-size: 56px;
    min-width: 90px;
  }

  .webpx-steps__title {
    font-size: 22px;
    margin-bottom: 15px;
  }

  .webpx-steps__text {
    font-size: 16px;
    line-height: 1.6;
  }

  .webpx-steps__item {
    gap: 30px;
    margin-bottom: 40px;
    padding-bottom: 40px;
  }
}

@media (max-width: 480px) {
  .webpx-steps {
    padding: 40px 0;
  }

  .webpx-steps__header {
    margin-bottom: 30px;
  }

  .webpx-steps__section-title {
    font-size: 28px;
    margin-bottom: 12px;
  }

  .webpx-steps__section-subtitle {
    font-size: 16px;
  }

  .webpx-steps__wrapper {
    padding: 0 10px;
  }

  .webpx-steps__num {
    font-size: 48px;
    min-width: 80px;
    line-height: 0.9;
  }

  .webpx-steps__title {
    font-size: 20px;
    margin-bottom: 12px;
    line-height: 1.3;
  }

  .webpx-steps__text {
    font-size: 15px;
    line-height: 1.5;
  }

  .webpx-steps__item {
    gap: 25px;
    margin-bottom: 35px;
    padding-bottom: 35px;
  }
}

@media (max-width: 768px) {
  .webpx-testimonials-outer {
    padding: 0 25px;
    /* Reduced external navigation space */
    max-width: 100%;
  }

  .webpx-testimonials-wrapper {
    padding: 0 10px;
    /* Add some internal padding */
  }

  .webpx-testimonial {
    padding: 0;
    min-height: 480px;
    max-width: 100%;
    margin: 0;
  }

  .webpx-testimonial__image img {
    min-height: 280px;
    border-radius: 20px 20px 0 0;
  }

  .webpx-testimonial__text-area {
    padding: 20px;
  }

  .webpx-testimonial__name {
    font-size: 18px;
  }

  .webpx-testimonial__quote {
    font-size: 14px;
    line-height: 1.4;
  }

  .webpx-testimonials-outer .webpx-nav-button {
    width: 45px;
    height: 45px;
  }

  .webpx-testimonials-outer .webpx-nav-button i {
    font-size: 16px;
  }

  .webpx-testimonials-outer .webpx-nav-prev {
    left: 2px;
  }

  .webpx-testimonials-outer .webpx-nav-next {
    right: 2px;
  }
}

@media (max-width: 480px) {
  .webpx-testimonials-outer {
    padding: 0 20px;
    /* Minimal external navigation space */
    max-width: 100%;
  }

  .webpx-testimonials-wrapper {
    padding: 0 5px;
    /* Minimal internal padding */
  }

  .webpx-testimonial {
    padding: 0;
    min-height: 450px;
    max-width: 100%;
    margin: 0;
  }

  .webpx-testimonial__image img {
    min-height: 260px;
  }

  .webpx-testimonial__text-area {
    padding: 18px;
  }

  .webpx-testimonial__name {
    font-size: 17px;
  }

  .webpx-testimonial__quote {
    font-size: 13px;
    line-height: 1.4;
  }

  .webpx-testimonials-outer .webpx-nav-button {
    width: 40px;
    height: 40px;
  }

  .webpx-testimonials-outer .webpx-nav-button i {
    font-size: 14px;
  }

  .webpx-testimonials-outer .webpx-nav-prev {
    left: 0;
  }

  .webpx-testimonials-outer .webpx-nav-next {
    right: 0;
  }

  .swiper-slide {
    padding: 0 5px;
  }
}

/* Extra small screens */
@media (max-width: 375px) {
  .webpx-testimonials-outer {
    padding: 0 15px;
  }

  .webpx-testimonial {
    padding: 0;
    min-height: 400px;
  }

  .webpx-testimonial__image img {
    min-height: 240px;
  }

  .webpx-testimonial__text-area {
    padding: 15px;
  }

  .webpx-testimonial__name {
    font-size: 16px;
  }

  .webpx-testimonial__quote {
    font-size: 12px;
  }

  .webpx-testimonials-outer .webpx-nav-button {
    width: 44px;
    height: 44px;
    background: rgba(26, 26, 26, 0.98) !important;
    border: 2px solid var(--webpx-border) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  }

  .webpx-testimonials-outer .webpx-nav-button i {
    font-size: 16px;
    font-weight: 900;
  }

  .webpx-testimonials-outer .webpx-nav-button::before {
    content: '';
    position: absolute;
    inset: -10px;
    background: transparent;
  }

  .webpx-testimonials-outer .webpx-nav-prev {
    left: 5px;
  }

  .webpx-testimonials-outer .webpx-nav-next {
    right: 5px;
  }

  /* Mobile Fallback Arrows */
  .webpx-testimonials-outer .webpx-nav-prev::after {
    font-size: 20px;
  }

  .webpx-testimonials-outer .webpx-nav-next::after {
    font-size: 20px;
  }
}

/* ====================================
   Footer Widget Styles
   ==================================== */
.webpx-footer {
  background: #1a1a1a;
  color: #999;
  padding: 60px 20px 40px;
}

.webpx-footer .webpx-container {
  max-width: 1200px;
  margin: 0 auto;
}

.webpx-footer__main {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.webpx-footer__column {
  min-width: 0;
}

.webpx-footer__column--logo {
  padding-right: 20px;
}

.webpx-footer__column--wide {
  grid-column: span 2;
}

.webpx-footer__column--wider {
  grid-column: span 3;
}

/* Logo & Description */
.webpx-footer__logo {
  color: var(--e-global-color-secondary);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
}

.webpx-footer__logo-image {
  max-width: 200px;
  height: auto;
  margin-bottom: 15px;
}

.webpx-footer__description {
  color: #999;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Social Links */
.webpx-footer__social-links {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.webpx-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 20px;
  transition: color 0.3s ease;
}

.webpx-footer__social-link:hover {
  color: var(--e-global-color-secondary);
}

.webpx-footer__social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Column Headings */
.webpx-footer__heading {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: none;
}

/* Links */
.webpx-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.webpx-footer__links li {
  margin-bottom: 12px;
}

.webpx-footer__link {
  color: #999;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
  display: inline-block;
}

.webpx-footer__link:hover {
  color: #fff;
}

/* Text Content */
.webpx-footer__text-content {
  color: #999;
  font-size: 14px;
  line-height: 1.6;
}

.webpx-footer__text-content p {
  margin-bottom: 10px;
}

.webpx-footer__text-content p:last-child {
  margin-bottom: 0;
}

.webpx-footer__text-content strong {
  color: #ccc;
  font-weight: 500;
}

.webpx-footer__text-content a {
  color: var(--e-global-color-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.webpx-footer__text-content a:hover {
  color: #fff;
  text-decoration: underline;
}

/* Legacy Contact Info (for backwards compatibility) */
.webpx-footer__contact p {
  color: #999;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 10px;
}

.webpx-footer__company {
  color: #ccc;
  font-weight: 500;
}

.webpx-footer__address,
.webpx-footer__phone,
.webpx-footer__email {
  color: #999;
}

/* Copyright Section */
.webpx-footer__copyright {
  border-top: 1px solid #333;
  padding-top: 30px;
  text-align: center;
}

.webpx-footer__copyright>div {
  color: #666;
  font-size: 12px;
  line-height: 1.6;
  margin-bottom: 10px;
}

.webpx-footer__copyright p {
  color: inherit;
  font-size: inherit;
  line-height: inherit;
  margin-bottom: 10px;
}

.webpx-footer__disclaimer {
  margin-top: 15px;
  opacity: 0.7;
}

/* Copyright Links */
.webpx-footer__copyright a {
  color: #999;
  text-decoration: none;
  transition: color 0.3s ease;
}

.webpx-footer__copyright a:hover {
  color: var(--e-global-color-secondary);
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .webpx-footer__main {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
  }

  .webpx-footer__column--logo,
  .webpx-footer__column--wide,
  .webpx-footer__column--wider {
    grid-column: 1 / -1;
    padding-right: 0;
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .webpx-footer {
    padding: 40px 20px 30px;
  }

  .webpx-footer__main {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
  }

  .webpx-footer__column--logo,
  .webpx-footer__column--wide,
  .webpx-footer__column--wider {
    grid-column: 1 / -1;
  }

  .webpx-footer__heading {
    font-size: 15px;
    margin-bottom: 15px;
  }

  .webpx-footer__link,
  .webpx-footer__contact p {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .webpx-footer__main {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .webpx-footer__social-links {
    gap: 10px;
  }

  .webpx-footer__copyright {
    padding-top: 20px;
  }

  .webpx-footer__copyright>div,
  .webpx-footer__copyright p {
    font-size: 11px;
  }
}

/* ====================================
   Image Gallery Widget Styles
   ==================================== */
.webpx-image-gallery {
  width: 100%;
}

.webpx-image-gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.webpx-image-gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 1/1;
}

.webpx-image-gallery__link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.webpx-image-gallery__image {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.webpx-image-gallery__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: all 0.3s ease;
}

.webpx-image-gallery__item:hover .webpx-image-gallery__image img {
  transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .webpx-image-gallery__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }
}

@media (max-width: 768px) {
  .webpx-image-gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .webpx-image-gallery__grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* Floating To-Top Button */
.webpx-floating-to-top-container {
  position: fixed;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
  pointer-events: none;
}

.webpx-floating-to-top-container.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.webpx-floating-to-top-container.show .webpx-to-top-btn {
  transform: translateY(0);
}

/* Floating Menu Button */
.webpx-floating-menu-container {
  position: fixed;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
  pointer-events: none;
}

.webpx-floating-menu-container.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.webpx-floating-menu-container.show .webpx-menu-btn {
  transform: translateY(0);
}

/* Shared Button Styles */
.webpx-to-top-btn,
.webpx-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #000000;
  color: #ffffff;
  border: none;
  border-radius: 25px;
  padding: 15px 25px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
  min-width: fit-content;
  position: static;
  /* Default: vom spezifischen Button überschrieben */
  transform: translateY(20px);
  z-index: 9999;
}

/* Sichtbarkeit/Position je Button-Typ korrigieren */
.webpx-to-top-btn {
  position: fixed;
}

.webpx-menu-btn {
  position: fixed;
}

/* Menu Button Specific Color */
.webpx-menu-btn {
  background-color: #e91e63;
}

.webpx-menu-btn:hover {
  background-color: #c2185b;
}

/* Button Hover States */
.webpx-floating-to-top-container.show .webpx-to-top-btn:hover,
.webpx-floating-menu-container.show .webpx-menu-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
  color: #ffffff;
  text-decoration: none;
}

.webpx-floating-to-top-container.show .webpx-to-top-btn:active,
.webpx-floating-menu-container.show .webpx-menu-btn:active {
  transform: translateY(0);
}

/* Icon Styles */
.webpx-to-top-btn i,
.webpx-menu-btn i {
  font-size: 16px;
  line-height: 1;
}

.webpx-menu-btn .menu-icon {
  transition: all 0.3s ease;
}

.webpx-to-top-btn .btn-text,
.webpx-menu-btn .btn-text {
  font-size: inherit;
  font-weight: inherit;
  margin: 0;
}

/* Doppelte CSS-Definition entfernt - wird in Haupt-Definition integriert */

/* Debug entfernt */

/* Button Positionen - werden über Elementor Controls gesteuert */
/* Default-Werte entfernt, um vollständige Kontrolle über Elementor zu ermöglichen */

/* Floating Menu Wrapper - relativ zum Button positioniert */
.webpx-floating-menu-wrapper {
  position: relative !important;
  /* Container ist fixed; Wrapper relativ für Dropdown */
  pointer-events: auto;
  display: inline-block !important;
  z-index: 9999 !important;


}

/* Mobile optimizations für individuelle Positionierung */
@media (max-width: 768px) {
  /* Mobile Button-Styles - Positionen über Elementor Controls */

  .webpx-floating-btn {
    padding: 12px 20px;
    font-size: 12px;
    gap: 6px;
  }

  .webpx-floating-btn i {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  /* Extreme Mobile Optimierungen - Positionen über Elementor Controls */

  .webpx-floating-btn {
    padding: 10px 16px;
    font-size: 11px;
    border-radius: 20px;
  }

  .webpx-floating-btn .btn-text {
    display: none;
  }

  .webpx-floating-btn i {
    font-size: 16px;
    margin: 0;
  }
}

/* Desktop Icon Only Option */
.webpx-floating-to-top-container.desktop-icon-only .webpx-to-top-btn .btn-text,
.webpx-floating-menu-container.desktop-icon-only .webpx-menu-btn .btn-text {
  display: none !important;
}

.webpx-floating-to-top-container.desktop-icon-only .webpx-to-top-btn,
.webpx-floating-menu-container.desktop-icon-only .webpx-menu-btn {
  min-width: auto !important;
  width: auto !important;
  padding: 16px !important;
  border-radius: 50% !important;
  gap: 0 !important;
  aspect-ratio: 1/1 !important;
  justify-content: center !important;
  align-items: center !important;
}

.webpx-floating-to-top-container.desktop-icon-only .webpx-to-top-btn i,
.webpx-floating-menu-container.desktop-icon-only .webpx-menu-btn i {
  margin: 0 !important;
  font-size: 18px !important;
}

/* Mobile Icon Only Option */
@media (max-width: 768px) {

  .webpx-floating-to-top-container.mobile-icon-only .webpx-to-top-btn .btn-text,
  .webpx-floating-menu-container.mobile-icon-only .webpx-menu-btn .btn-text {
    display: none !important;
  }

  .webpx-floating-to-top-container.mobile-icon-only .webpx-to-top-btn,
  .webpx-floating-menu-container.mobile-icon-only .webpx-menu-btn {
    min-width: auto !important;
    width: auto !important;
    padding: 16px !important;
    border-radius: 50% !important;
    gap: 0 !important;
    aspect-ratio: 1/1 !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .webpx-floating-to-top-container.mobile-icon-only .webpx-to-top-btn i,
  .webpx-floating-menu-container.mobile-icon-only .webpx-menu-btn i {
    margin: 0 !important;
    font-size: 18px !important;
  }
}

/* Floating Menu Dropdown */
.webpx-floating-menu {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Menu Wrapper - KORREKTE POSITIONIERUNG */
.webpx-floating-menu-wrapper {
  position: fixed !important;
  z-index: 9999;
  display: none;
}

.webpx-floating-menu-wrapper.show {
  display: block !important;
}

/* WRAPPER POSITION-KLASSEN - DESKTOP */
.webpx-floating-menu-wrapper.position-top-left {
  top: 30px;
  left: 30px;
}

.webpx-floating-menu-wrapper.position-top-right {
  top: 30px;
  right: 30px;
}

.webpx-floating-menu-wrapper.position-bottom-left {
  bottom: 30px;
  left: 30px;
}

.webpx-floating-menu-wrapper.position-bottom-right {
  bottom: 30px;
  right: 30px;
}

/* MOBILE: INTELLIGENTE POSITIONIERUNG */
@media (max-width: 768px) {

  .webpx-floating-menu-wrapper.position-top-left,
  .webpx-floating-menu-wrapper.position-top-right {
    top: 15px;
    right: 15px;
    left: auto !important;
    /* Immer rechts auf mobile */
  }

  .webpx-floating-menu-wrapper.position-bottom-left,
  .webpx-floating-menu-wrapper.position-bottom-right {
    bottom: 15px;
    right: 15px;
    left: auto !important;
    /* Immer rechts auf mobile */
  }
}

/* Menu offen - kein Debug-Styling mehr */

/* Alte Regeln entfernt - siehe neue Regeln unten */

/* === DROPDOWN: BASIS-STYLING === */
.webpx-dropdown-menu {
  position: absolute;
  min-width: 220px;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  pointer-events: none;
  margin-top: 60px;

  /* Standard-Position (wird überschrieben) */
  top: calc(100% + 10px);
  left: 0;
  transform: translateY(-8px);
}

/* === MOBILE: ÜBERSCHREIBT ALLE DESKTOP-POSITIONIERUNG === */
@media (max-width: 768px) {

  /* MOBILE: Alle Positionen verwenden Vollbild-Style */
  .webpx-floating-menu-wrapper.position-top-left .webpx-dropdown-menu,
  .webpx-floating-menu-wrapper.position-top-right .webpx-dropdown-menu,
  .webpx-floating-menu-wrapper.position-bottom-left .webpx-dropdown-menu,
  .webpx-floating-menu-wrapper.position-bottom-right .webpx-dropdown-menu {
    position: fixed !important;
    top: 60px !important;
    bottom: auto !important;
    left: 15px !important;
    right: 15px !important;
    width: auto !important;
    min-width: auto !important;
    max-width: none !important;
    border-radius: 16px !important;
    transform: scale(0.95) translateY(-20px) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6) !important;
    backdrop-filter: blur(20px) !important;
    background: rgba(26, 26, 26, 0.95) !important;
  }

  /* Mobile Menu geöffnet */
  .webpx-floating-menu-wrapper.menu-open.position-top-left .webpx-dropdown-menu,
  .webpx-floating-menu-wrapper.menu-open.position-top-right .webpx-dropdown-menu,
  .webpx-floating-menu-wrapper.menu-open.position-bottom-left .webpx-dropdown-menu,
  .webpx-floating-menu-wrapper.menu-open.position-bottom-right .webpx-dropdown-menu {
    transform: scale(1) translateY(0) !important;
  }

  /* Mobile Dropdown Items - Touch-optimiert */
  .webpx-dropdown-item {
    padding: 16px 20px !important;
    font-size: 16px !important;
    gap: 16px !important;
  }

  .webpx-dropdown-item i {
    font-size: 18px !important;
    width: 24px !important;
  }
}

/* Dropdown öffnen - BASIS (wird von spezifischen Regeln überschrieben) */
.webpx-floating-menu-wrapper.menu-open .webpx-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* === DESKTOP: POSITION-SPEZIFISCHE REGELN === */


/* JavaScript kann top/bottom/transform übersteuern */

/* Menu geöffnet - JavaScript steuert Transform */

/* Backdrop: Sauberer Blur */
.webpx-menu-backdrop {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: rgba(0, 0, 0, 0.4) !important;
  backdrop-filter: blur(8px) !important;
  z-index: 9998 !important;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.webpx-menu-backdrop.show {
  z-index: 9998 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.webpx-dropdown-menu-inner {
  padding: 8px;
}

.webpx-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  /* color: von Elementor-Controls übernommen */
  text-decoration: none;
  border-radius: 10px;
  transition: all 0.2s ease;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 2px;
}

.webpx-dropdown-item:last-child {
  margin-bottom: 0;
}

.webpx-dropdown-item:hover {
  background: rgba(255, 255, 255, 0.1);
  /* color: von Elementor-Controls übernommen */
  text-decoration: none;
  transform: translateX(4px);
}

.webpx-dropdown-item i {
  font-size: 16px;
  /* color: von Elementor Icon-Controls übernommen */
  width: 20px;
  text-align: center;
  flex-shrink: 0;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
}

.webpx-dropdown-item .item-text {
  flex: 1;
  white-space: nowrap;
}

/* Menu button active state */
.webpx-floating-menu-wrapper.menu-open .menu-btn {
  background-color: #c2185b;
}

.webpx-floating-menu-wrapper.menu-open .menu-btn .menu-icon {
  transition: all 0.3s ease;
}

/* Entfernt - wird durch neue individuelle Positionierung ersetzt */

/* ENTFERNT - VERURSACHT KONFLIKTE */

.webpx-dropdown-item {
  padding: 8px 12px;
  font-size: 12px;
  gap: 8px;
}

.webpx-dropdown-item i {
  font-size: 14px;
  width: 16px;
}

/* Backdrop overlay (optional) */
.webpx-menu-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(2px);
}

.webpx-menu-backdrop.show {
  opacity: 1;
  visibility: visible;
  backdrop-filter: blur(8px);
}

/* Smooth animation for menu items appearing */
.webpx-floating-menu-wrapper.menu-open .webpx-dropdown-item {
  animation: slideInItem 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards !important;
  opacity: 0;
  transform: translateY(10px);
}

.webpx-floating-menu-wrapper.menu-open .webpx-dropdown-item:nth-child(1) {
  animation-delay: 0.05s !important;
}

.webpx-floating-menu-wrapper.menu-open .webpx-dropdown-item:nth-child(2) {
  animation-delay: 0.1s !important;
}

.webpx-floating-menu-wrapper.menu-open .webpx-dropdown-item:nth-child(3) {
  animation-delay: 0.15s !important;
}

.webpx-floating-menu-wrapper.menu-open .webpx-dropdown-item:nth-child(4) {
  animation-delay: 0.2s !important;
}

.webpx-floating-menu-wrapper.menu-open .webpx-dropdown-item:nth-child(5) {
  animation-delay: 0.25s !important;
}

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

/* Icon Fallbacks & Fixes */
/* Sicherstellen, dass Icons korrekt dargestellt werden */
.webpx-floating-btn i,
.webpx-dropdown-item i {
  font-style: normal;
  display: inline-block;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}

/* FontAwesome Icon Fixes */
.fas,
.far,
.fal,
.fad,
.fab {
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "Font Awesome 5 Free", "Font Awesome 5 Pro" !important;
}

.fas {
  font-weight: 900;
}

.far {
  font-weight: 400;
}

/* Elementor Icon Fixes */
[class^="eicon-"],
[class*=" eicon-"] {
  font-family: "eicons" !important;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: inline-block;
  vertical-align: middle;
}

/* Spezifische Fixes für Dropdown Icons */
.webpx-dropdown-item [class^="eicon-"],
.webpx-dropdown-item [class*=" eicon-"] {
  font-family: "eicons" !important;
  speak: none;
  font-variant: normal;
  text-transform: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* FontAwesome in Dropdown Items */
.webpx-dropdown-item .fas,
.webpx-dropdown-item .far,
.webpx-dropdown-item .fab {
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "Font Awesome 5 Free", "Font Awesome 5 Pro" !important;
}

.webpx-dropdown-item .fas {
  font-weight: 900;
}

.webpx-dropdown-item .far {
  font-weight: 400;
}

/* Entfernt - keine Fallbacks mehr nötig */

/* SAUBERE ICON-DARSTELLUNG ohne Fallback-Komplexität */
.webpx-to-top-btn i,
.webpx-menu-btn i,
.webpx-dropdown-item i {
  font-style: normal;
  font-weight: normal;
  font-size: 16px;
  line-height: 1;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: inline-block;
  vertical-align: middle;
}

/* FontAwesome Icons korrekt laden */
.webpx-dropdown-item .fas,
.webpx-to-top-btn .fas,
.webpx-menu-btn .fas {
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "Font Awesome 5 Free", "Font Awesome 5 Pro" !important;
  font-weight: 900 !important;
}

.webpx-dropdown-item .far,
.webpx-to-top-btn .far,
.webpx-menu-btn .far {
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "Font Awesome 5 Free", "Font Awesome 5 Pro" !important;
  font-weight: 400 !important;
}

.webpx-dropdown-item .fab,
.webpx-to-top-btn .fab,
.webpx-menu-btn .fab {
  font-family: "Font Awesome 6 Brands", "Font Awesome 6 Free", "Font Awesome 5 Brands", "Font Awesome 5 Free" !important;
  font-weight: 400 !important;
}

/* Elementor Icons korrekt laden */
.webpx-dropdown-item [class^="eicon-"],
.webpx-dropdown-item [class*=" eicon-"],
.webpx-to-top-btn [class^="eicon-"],
.webpx-to-top-btn [class*=" eicon-"],
.webpx-menu-btn [class^="eicon-"],
.webpx-menu-btn [class*=" eicon-"] {
  font-family: "eicons" !important;
  font-weight: normal !important;
}

/* ========================================
   Reviews Static Widget
   ======================================== */

.webpx-reviews-static {
  color: var(--webpx-text);
  padding: 48px 0;
}

/* Mobile section padding optimization */
@media (max-width: 768px) {
  .webpx-reviews-static {
    padding: 30px 0;
  }
}

@media (max-width: 480px) {
  .webpx-reviews-static {
    padding: 20px 0;
  }
}

.webpx-reviews-static__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Responsive Fallbacks nur wenn KEINE Elementor-Styles vorhanden */
@media (max-width: 1023px) {
  .webpx-reviews-static__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .webpx-reviews-static__grid {
    grid-template-columns: 1fr;
  }
}

.webpx-review {
  background: var(--webpx-bg-contrast);
  border: 1px solid var(--webpx-border);
  border-radius: 20px;
  padding: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.webpx-review:hover {
  transform: translateY(-2px);
  border-color: var(--e-global-color-secondary);
  box-shadow: 0 8px 25px var(--e-global-color-secondary)26;
}

.webpx-review__image {
  margin-bottom: 0;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
  position: relative;
  width: 100%;
  flex-shrink: 0;
  aspect-ratio: 4/5; /* Default - kann durch Elementor überschrieben werden */
}

.webpx-review__image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100% !important;
  border-radius: 20px 20px 0 0;
  object-fit: cover;
  object-position: center center;
  border: none;
  display: block;
}

.webpx-reviews-static--no-images .webpx-review__image {
  display: none;
}

.webpx-review__text-area {
  padding: 25px 25px 25px 25px;
  background: var(--webpx-bg-contrast);
  border-radius: 0 0 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.webpx-reviews-static--no-images .webpx-review__text-area {
  border-radius: 20px;
  padding: 30px 25px;
}

.webpx-review__stars {
  font-size: 18px;
  color: var(--e-global-color-secondary);
  line-height: 1;
  margin-bottom: 15px;
}

.webpx-review__stars .star {
  margin: 0 1px;
}

.webpx-review__stars .star.empty {
  opacity: 0.3;
}

.webpx-review__content {
  flex: 1;
  margin-bottom: 15px;
}

.webpx-review__quote {
  font-size: 14px;
  line-height: 1.4;
  color: var(--webpx-text);
  margin: 0;
  font-style: normal;
  text-align: center;
}

.webpx-review__meta {
  margin-top: auto;
}

.webpx-review__name {
  font-weight: 600;
  color: var(--webpx-text);
  font-size: 20px;
  margin: 0 0 4px 0;
  line-height: 1.3;
}

.webpx-review__role {
  display: block;
  font-size: 14px;
  color: var(--webpx-muted);
}

/* Mobile optimizations */
@media (max-width: 768px) {
  .webpx-reviews-static__grid {
    padding: 0 15px;
    gap: 20px;
  }
  
  .webpx-review__text-area {
    padding: 20px;
  }
  
  .webpx-reviews-static--no-images .webpx-review__text-area {
    padding: 25px 20px;
  }
  
  .webpx-review__name {
    font-size: 18px;
  }
  
  .webpx-review__stars {
    font-size: 16px;
  }
}