/* WESO - CSS der Inhaltsbausteine (Plugin weso-site, AP5).
   Die Bloecke sind zeichengenau die Heredocs aus
   Basis-Optimierungen/snippets/weso-inhalt-css.php -- geladen wird die
   Datei nur auf Seiten, die mindestens eine der Klassen benutzen
   (includes/weso-inhalt-css.php). Versionsnummer = Cache-Buster. */
.video-container {
            position: relative;
            width: 100%;
            padding-bottom: 56.25%; /* 16:9 Seitenverhältnis */
            height: 0;
            overflow: hidden;
        }

        .video-container iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: 0;
        }
.stats-container {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        gap: 30px; /* Etwas kleinere Abstände */
        flex-wrap: wrap;
        text-align: left;
    }
    .stat .number {
        color: #ab0101; /* Neue Farbe */
        font-size: 1.6rem; /* Etwas kleinere Schriftgröße */
        font-weight: bold;
        margin: 0;
    }
    .stat p {
        font-size: 0.9rem; /* Etwas kleinere Schriftgröße */
        margin-top: 3px;
        color: black; /* Schwarzer Text */
    }
.features-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    max-width: 600px; /* oder die gewünschte Breite */
  }
  
  .features-list li {
    flex-basis: 50%; /* Jedes Listenelement nimmt 50% der Breite ein */
    display: flex;
    align-items: center; /* Zentriert die Inhalte vertikal */
    font-size: 16px; /* oder die gewünschte Schriftgröße */
    margin-bottom: 10px; /* oder der gewünschte Abstand */
    color: black;
  }
  
  .features-list img {
    width: 32px; /* angepasste Größe */
    height: auto;
    margin-right: 5px; /* oder der gewünschte Abstand */
  }
/* Container für die Schritte */
  .timeline-container {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 0 auto;
    padding: 20px 0; /* Wichtig für die Position der Linie */
  }

  /* Die durchgehende Linie im Hintergrund */
  .timeline-container::before {
    content: '';
    position: absolute;
    top: 45px; /* 20px Padding + 25px halber Kreis */
    left: 0; 
    right: 0; 
    height: 2px; /* Dicke der Linie */
    background-color: #ffffff; /* Linie ist WEISS */
    z-index: 0;
  }

  /* Ein einzelner Schritt-Container */
  .step-item {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
  }

  /* Der Kreis mit der Zahl */
  .step-circle {
    width: 50px;
    height: 50px;
    background-color: #ffffff; /* Hintergrund Weiß (verdeckt die Linie) */
    /* KORREKTUR: Rahmen entfernt */
    border: none; 
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    color: #000000; /* Zahl SCHWARZ */
    margin-bottom: 20px;
    transition: all 0.3s ease;
    /* Optional: Ein leichter Schatten, damit sich der weiße Kreis vom Hintergrund abhebt? */
    /* box-shadow: 0 2px 5px rgba(0,0,0,0.1); */
  }

  /* Text unter dem Kreis */
  .step-content h3 {
    font-size: 18px;
    color: #ffffff; /* Überschrift WEISS */
    margin: 0 0 10px 0;
    font-weight: 700;
  }

  .step-content p {
    font-size: 14px;
    color: #ffffff; /* Beschreibungstext WEISS */
    line-height: 1.5;
    margin: 0;
    padding: 0 10px;
  }

  /* --- RESPONSIVE (Handy Ansicht) --- */
  @media (max-width: 767px) {
    .timeline-container {
      flex-direction: column;
      align-items: flex-start;
      padding-left: 0;
    }
    
    /* Linie auf Handy ausblenden */
    .timeline-container::before {
      display: none; 
    }

    .step-item {
      flex-direction: row;
      align-items: flex-start;
      text-align: left;
      margin-bottom: 30px;
      width: 100%;
    }

    .step-circle {
      margin-right: 20px;
      margin-bottom: 0;
      flex-shrink: 0;
    }
  }
/* Der USP-Streifen: eine Sektion fuer alle Breiten (AP5).
   Ab 768px rendert Divi die vier Spalten selbst (Desktop nebeneinander,
   Tablet 2x2). Unter 768px liegen die vier Argumente uebereinander und
   blenden im 2,5-Sekunden-Takt weich um -- frueher machte das ein
   Swiper-Slider in einer eigenen Mobil-Sektion. Faellt dieser Block je
   aus, stapelt Divi die Argumente einfach untereinander. */
  @media only screen and (max-width: 767px) {
    .weso-usp .et_pb_row {
      position: relative;
      height: 46px;
      padding-top: 0;
      padding-bottom: 0;
    }
    .weso-usp .et_pb_column {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      animation: weso-usp-drehen 10s linear infinite;
    }
    .weso-usp .et_pb_column:nth-child(2) { animation-delay: 2.5s; }
    .weso-usp .et_pb_column:nth-child(3) { animation-delay: 5s; }
    .weso-usp .et_pb_column:nth-child(4) { animation-delay: 7.5s; }
    .weso-usp .et_pb_text .et_pb_text_inner p {
      font-size: 14px;
      line-height: 1.2;
      letter-spacing: 0.5px;
      margin: 0;
    }
  }
  /* 4/29 % von 10 s = 0,4 s Ein- und Ausblendung; Nachbarn ueberlappen
     sich darin -- das ist der Crossfade des alten Sliders. */
  @keyframes weso-usp-drehen {
    0%   { opacity: 0; }
    4%   { opacity: 1; }
    25%  { opacity: 1; }
    29%  { opacity: 0; }
    100% { opacity: 0; }
  }
  /* Wer Bewegung reduziert hat, bekommt die vier Argumente gestapelt --
     bewusst identisch mit dem Zustand ohne diese CSS. */
  @media only screen and (max-width: 767px) and (prefers-reduced-motion: reduce) {
    .weso-usp .et_pb_row {
      position: static;
      height: auto;
    }
    .weso-usp .et_pb_column {
      position: static;
      height: auto;
      opacity: 1;
      animation: none;
    }
  }
