/* Clipdesign: mobile Anpassungen, ohne Desktop-Layout zu veraendern */
@media (max-width: 767px) {
  html { -webkit-text-size-adjust: 100%; }
  body { min-width: 0; overflow-x: clip; font-size: 16px !important; }
  img, video, svg { max-width: 100%; }
  img { height: auto; }
  /* Alle grossen Inhaltscontainer erhalten einen mobilen Seitenabstand. */
  div[style*="max-width:1280px"], section[style*="max-width:1280px"] {
    padding-left: 20px !important; padding-right: 20px !important;
  }
  section[style*="padding:72px"], div[style*="padding:104px"] {
    padding-top: 48px !important; padding-bottom: 56px !important;
    gap: 28px !important;
  }
  /* Mehrspaltige Inhaltsbereiche werden einspaltig. */
  div[style*="flex:1 1 440px"], div[style*="flex:1 1 380px"],
  div[style*="flex:0 1 380px"], a[style*="flex:1 1 300px"] {
    flex: 1 1 100% !important; min-width: 0 !important; max-width: 100% !important;
  }
  div[style*="margin-bottom:-164px"] { margin-bottom: 0 !important; }
  a[style*="flex:1 1 300px"] { padding: 24px !important; }
  div[style*="border-radius:20px;padding:36px"] { padding: 24px !important; }
  /* Header-Links duerfen umbrechen und bleiben gut antippbar. */
  header nav, nav { max-width: 100%; flex-wrap: wrap !important; }
  nav a { min-height: 40px; display: inline-flex; align-items: center; }
  h1 { font-size: clamp(32px, 9vw, 48px) !important; line-height: 1.12 !important; overflow-wrap: break-word; }
  h2 { font-size: clamp(26px, 7vw, 36px) !important; line-height: 1.2 !important; overflow-wrap: break-word; }
  p, a, label { overflow-wrap: break-word; }
  input, textarea, select { max-width: 100%; box-sizing: border-box; font-size: 16px !important; }
  .clip-contact-form { max-width: 100%; }
  .clip-contact-form button { min-height: 46px; }
}
@media (max-width: 390px) {
  div[style*="max-width:1280px"], section[style*="max-width:1280px"] {
    padding-left: 16px !important; padding-right: 16px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .lv, .rg, .rg2, .rg3, .lb { animation: none !important; }
}
