@charset "UTF-8";
/* mobile-fix-home.css — nur Mobile (max-width:1024px), Desktop unverändert.
   Nur Startseite. Sektionen werden über ihre Onepage-Klassen angesprochen
   (layout, über-uns, eigentümer, verfügbar, buchungstool, 4-gründe, cta, kontakt). */

@media (max-width: 1024px) {

  /* ---------- 1) HERO: Markenleiste ----------
     Ursache: Marquee (3 Logos à 125px, Endlos-Animation) läuft innerhalb des
     24px-Innenrands; das jeweils dritte Logo wird an der Containerkante hart
     angeschnitten ("Eu…"). Bei nur 3 Marken ist eine ruhige, statische Zeile
     sauberer: alle drei Logos gleich breit nebeneinander, Repeats ausgeblendet. */
  section.layout .con-kit-component-marquee {
    -webkit-mask-image: none !important;
    mask-image: none !important;
    overflow: visible !important;
  }
  section.layout .con-kit-component-marquee__content {
    animation: none !important;
    transform: none !important;
    width: 100% !important;
    justify-content: center !important;
  }
  section.layout .con-kit-component-marquee__repeat {
    display: none !important;
  }
  section.layout .con-kit-component-marquee-gallery {
    display: flex !important;
    width: 100% !important;
    justify-content: space-between !important;
    gap: 8px;
  }
  section.layout .con-kit-component-marquee-gallery-item {
    flex: 1 1 0 !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 130px;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  section.layout .con-kit-component-marquee-gallery-item img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
  }
  /* Abstand Buttons -> Logos -> Mockup straffen */
  section.layout .con-kit-component-marquee {
    height: auto !important;
  }

  /* ---------- 2) HERO: Video-/Handy-Mockup ----------
     Ursache: Preview füllt die volle Spaltenbreite (342 × 612px) – wirkt auf dem
     Handy wie ein zweiter Screen. Auf ~300px begrenzt und zentriert. */
  section.layout .con-kit-atom-video {
    max-width: 300px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* ---------- 3) ÜBER UNS: lange zentrierte Fließtexte ----------
     Ursache: zwei Absätze (≈ 20 Zeilen) zentriert in 20px → schwer lesbar,
     flatternder Rand. Linksbündig + 17px, Überschrift ebenfalls linksbündig,
     damit Block in sich konsistent ist (wie die Sektion "Wir sind ein Team"). */
  section.über-uns .con-kit-animation__atom,
  section.über-uns .con-kit-component-header,
  section.über-uns .con-kit-component-text,
  section.über-uns .con-kit-quark {
    text-align: left !important;
  }
  section.über-uns .con-kit-component-header .con-kit-quark {
    font-size: 28px !important;
    line-height: 1.2 !important;
  }
  section.über-uns .con-kit-component-text .con-kit-quark-paragraph {
    font-size: 17px !important;
    line-height: 1.6 !important;
  }

  /* ---------- 4) TEAM-Überschrift: Wort wird mitten im Wort umbrochen ----------
     Ursache: "Baumaschinenbranche" ist breiter als 342px bei 29px Rubik Dirt →
     Zeichenumbruch "Baumaschinenbranch / e". Kleinere Größe (25px) – passt bis 360px ohne Trennung. */
  section.eigentümer .con-kit-component-header .con-kit-quark {
    -webkit-hyphens: manual;
    hyphens: manual;
    overflow-wrap: break-word;
    word-break: normal !important;
  }
  section.eigentümer .con-kit-component-header .con-kit-quark {
    font-size: 25px !important;
    line-height: 1.25 !important;
  }

  /* ---------- 5) Weitere lange Überschriften ---------- */
  /* CTA-Hero: 8 Zeilen à 29px in Weiß – auf 26px/1.2 reduziert */
  section.cta .con-kit-component-header .con-kit-quark {
    font-size: 26px !important;
    line-height: 1.2 !important;
  }
  section.cta .con-kit-component-text .con-kit-quark-paragraph {
    font-size: 16px !important;
    line-height: 1.6 !important;
  }

  /* ---------- 6) RENTWARE-Widget ----------
     Inhalte liegen im Shadow-DOM (nicht stylebar). Nur Außenmaß: volle Breite,
     kein zusätzlicher Versatz. */
  section.buchungstool rtr-search {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  /* ---------- 7) KONTAKT: Karte ----------
     Ursache: Google-Maps-iframe hat feste 300×300px → schmaler, versetzter Block
     (L45 statt bündig) unter der Zwickau-Karte. Volle Breite, gleiche Rundung. */
  section.kontakt iframe {
    display: block;
    width: 100% !important;
    height: 280px !important;
    border-radius: 8px;
    margin: 0 auto;
  }
  section.kontakt .con-kit-frame {
    padding-bottom: 40px !important;
  }
}
