  .hero-section {
    background: url('https://svgakademie24.dievorschau.de/fileadmin/user_upload/Dateisammlung_SVG_Akademie/Startseite/Header/hero_bg_clean_1920.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    max-width: 100vw !important;
    padding: 6rem 2rem;
    position: relative;
    min-height: 1000px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    transition: all 0.3s ease-in-out;
    overflow: hidden; /* keeps truck clipped while exiting */
  }

  .hero-container {
    max-width: 1200px;
    margin: 0 auto;
    margin-top: -325px;
    width: 100%;
    position: relative;
    z-index: 3;
  }

  .hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    transition: all 0.3s ease-in-out;
    z-index: 1;
  }

  /* NEU: Scroll-driven LKW-Layer */
  .hero-truck-layer {
    position: absolute;
    bottom: 40px;
    right: 0;
    width: 600px;
    height: auto;
    pointer-events: none;
    z-index: 2;
    will-change: transform;
    transform: translateX(0);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.25));
  }

  .hero-content {
    max-width: 70%;
    width: 100%;
    color: #484848;
    text-align: left;
    background-color: #FFFFFF;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.10), 0 6px 16px rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
    animation: hero-card-pulse 3.5s ease-in-out infinite;
    will-change: transform, box-shadow;
    position: relative;
  }

  /* L-förmiger gelber Akzent: wächst beim Page-Load aus der oberen-linken Ecke */
  .hero-content::before,
  .hero-content::after {
    content: '';
    position: absolute;
    background: #FFD100;
    z-index: 2;
  }
  /* Linker Balken: wächst nach unten */
  .hero-content::before {
    top: 0;
    left: 0;
    width: 6px;
    height: 0;
    border-radius: 3px 0 0 3px;
    animation: hero-edge-grow-left 1.3s cubic-bezier(0.65, 0, 0.35, 1) 0.8s forwards;
  }
  /* Oberer Balken: wächst nach rechts */
  .hero-content::after {
    top: 0;
    left: 0;
    width: 0;
    height: 6px;
    border-radius: 3px 3px 0 0;
    animation: hero-edge-grow-top 1.3s cubic-bezier(0.65, 0, 0.35, 1) 0.8s forwards;
  }
  @keyframes hero-edge-grow-left {
    from { height: 0; }
    to { height: 100%; }
  }
  @keyframes hero-edge-grow-top {
    from { width: 0; }
    to { width: 100%; }
  }

  @keyframes hero-card-pulse {
    0%, 100% {
      transform: scale(1);
      box-shadow: 0 12px 32px rgba(0, 0, 0, 0.10), 0 6px 16px rgba(0, 0, 0, 0.06);
    }
    50% {
      transform: scale(1.015);
      box-shadow: 0 18px 44px rgba(0, 0, 0, 0.15), 0 8px 22px rgba(0, 0, 0, 0.10);
    }
  }

  .hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 1.5rem 0;
    padding: 0;
    line-height: 1.2;
    color: #484848;
    text-align: left;
    text-wrap: balance;
  }

  .typewriter {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    margin: 1.5rem 0;
  }

  .typewriter-text {
    font-size: 2.5rem;
    color: #484848;
    display: inline;
    text-align: left !important;
    line-height: 1.2;
    margin: 0;
    padding: 0;
  }

  .typewriter-text::after {
    content: '|';
    color: #484848;
    animation: cursor-blink 0.8s step-end infinite;
    display: inline;
  }

  @keyframes cursor-blink {
    from, to { opacity: 1; }
    50% { opacity: 0; }
  }

  .hero-description {
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.8;
    line-height: 1.5;
    color: #484848;
    text-align: left;
  }

  .hero-buttons {
    display: flex !important;
    gap: 1rem;
    position: center !important;
  }

  .hero-buttons .btn:last-child {
    border: none;
    color: #484848;
  }

  @media (max-width: 768px) {
    .hero-section {
      height: 650px;
    }

    .hero-section::before {
      background: rgba(0, 0, 0, 0.3);
      backdrop-filter: blur(5px);
      -webkit-backdrop-filter: blur(5px);
    }

    .hero-container {
      margin-top: -200px;
    }

    .hero-content {
      max-width: 100%;
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
      backdrop-filter: blur(5px);
      -webkit-backdrop-filter: blur(5px);
    }

    .hero-title {
      text-align: center;
      font-size: 2rem;
    }

    .typewriter {
      justify-content: center;
    }

    .typewriter-text {
      text-align: center !important;
      font-size: 1.8rem;
    }

    .hero-description {
      flex-direction: column;
      text-align: center;
      font-size: 1rem;
      opacity: 0.8;
    }

    .hero-buttons {
      flex-direction: column;
      align-items: center !important;
      max-width: 250px;
      width: 100%;
    }

    .hero-buttons .btn:last-child {
      align-items: center !important;
      max-width: 200px;
      width: 100%;
      margin-left: 0px;
    }

    /* LKW mobile kleiner */
    .hero-truck-layer {
      width: 280px;
      bottom: 20px;
    }
  }

  /* Reduced motion: keine Scroll-Animation */
  @media (prefers-reduced-motion: reduce) {
    .hero-truck-layer {
      transform: none !important;
    }
    .hero-content {
      animation: none !important;
      transform: none !important;
    }
    .hero-content::before {
      height: 100% !important;
      animation: none !important;
    }
    .hero-content::after {
      width: 100% !important;
      animation: none !important;
    }
  }

/* =========================================================================
   Aktuelle Online-Seminare — Karten (Sektion c7685, Startseite)
   ID-gescoped, kein Risiko von Kollisionen.
   ========================================================================= */
  #c7685 .item-inner {
    background: #ffffff;
    border: 1px solid #ededed;
    border-top: 4px solid #FFD100;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    top: 0;
    /* Lift via top statt transform: transform würde einen Stacking-Context
       erzeugen, der das z-index:-1 des gelben Datums-Balkens umkehrt
       (Balken würde sonst fälschlich hinter der Uhrzeit sichtbar). */
    transition: top 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
  }
  #c7685 .item-inner:hover {
    top: -6px;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.14);
    background-color: #FFFDF3;
  }
  @media (prefers-reduced-motion: reduce) {
    #c7685 .item-inner:hover { top: 0; }
    #c7685 .item-inner { transition: none; }
  }

/* =========================================================================
   Tile Slider auf Desktop sichtbar (Startseite, Sektion c27917)
   Theme initialisiert Slick nur auf Mobile (.d-md-none); Desktop bleibt
   sonst auf statischem 5-Spalten-Grid. Hier blenden wir die Slick-Variante
   auch auf Desktop ein, damit alle Items im Auto-Scroll durchlaufen.
   ========================================================================= */
  @media (min-width: 768px) {
    #c27917 .ticker-card-wrap.d-md-block { display: none !important; }
    #c27917 .slickslider-ticker.d-md-none { display: block !important; }
  }

  /* Nur eine Zeile sichtbar (statt 2-Row-Marquee aus Mobile-Init): */
  @media (min-width: 768px) {
    #c27917 .slickslider-ticker.d-md-none .slick-list {
      max-height: 340px;
      overflow: hidden;
    }
  }

  /* Karussell-Karten etwas mehr Abstand: 12px Padding links/rechts pro Karte
     → visueller Gap zwischen Cards ≈24px. */
  @media (min-width: 768px) {
    #c27917 .slickslider-ticker.d-md-none .slick-slide .item {
      padding-left: 12px;
      padding-right: 12px;
    }
  }
  /* =========================================================================
     Learning-Feed: Geräte-Mockups (Sektion c39843) — 3 Spalten gleichmäßig
     Container ist mask container_4_columns. Erste Spalte ist leer, also
     ausblenden und restliche 3 Spalten auf je 1/3 verteilen.
     ========================================================================= */
  @media (min-width: 992px) {
    #c39843 .row.content-sameheight > .col-xl-3.test {
      display: none;
    }
    #c39843 .row.content-sameheight > .col-xl-3:not(.test) {
      flex: 0 0 33.333333%;
      max-width: 33.333333%;
    }
  }
