/* Mobil-Optimierung 2026-11-18 (OnlineOptimierung) – nur Smartphone/Tablet hoch */
@media (max-width: 727px) {
  /* Startbild: kompakter, Text besser lesbar */
  [data-hero] { min-height: 78svh; }
  [data-hero] > .absolute::after {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(to top, rgba(0,0,0,.62) 0%, rgba(0,0,0,.25) 45%, rgba(0,0,0,0) 70%);
  }
  .hero-content { margin-bottom: 90px; }
  .hero-content h1 { font-size: 1.85em; line-height: 1.15; margin-bottom: .55em; }
  .hero-content h5 { font-size: 1.05em; margin-bottom: .5em; }
  .hero-content .mt-\[40px\] { margin-top: 0; }

  /* Menü: grössere, besser lesbare Einträge */
  #main-navigation a { font-size: 17px; height: 52px; padding: 0 20px; color: #333; }

  /* Buttons: grössere Tippfläche, flach + eckig */
  .action-link { min-height: 44px; min-width: 140px; align-items: center; border-radius: 0; font-size: 16px; }
  input[data-contact-submit] { min-height: 46px; padding: 0 28px; border-radius: 0; font-size: 16px; }

  /* Abstände zwischen Sektionen reduzieren */
  main .mt-\[40px\] { margin-top: 24px; }
  main .my-\[40px\] { margin-top: 24px; margin-bottom: 24px; }
  h2, h3, h4 { line-height: 1.2; }
  h4 { font-size: 1.45em; }
  h3 { font-size: 1.6em; }

  /* Fotos: 2 Spalten statt einzeln untereinander */
  .photo-grid-home, .photo-grid-main { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 4px; }
  .photo-plus { transform: scale(.75); }

  /* Partnerfirmen: 2x2-Raster, Logos kompakt */
  [data-partners] { display: grid !important; grid-template-columns: 1fr 1fr; gap: 26px 16px; padding-top: 8px; padding-bottom: 24px; }
  [data-partners] > div { margin: 0 !important; width: auto !important; }
  [data-partners] figure { margin: 0 auto 10px; }
  [data-partners] figure img { width: 100%; max-width: 170px; height: auto; }
  [data-partners] h5 { font-size: 14px; line-height: 1.35; margin: 0 0 4px; }

  /* Kontakt: Logo kleiner */
  #kontakt img[src*="logo_gross"] { max-width: 150px; margin: 8px 0 24px; }

  /* Dienstleistung: Text-/Bild-Blöcke kompakter */
  .service-image { height: 240px; }
  .service-copy, .service-split-dark .service-copy { padding: 0 20px; align-items: stretch; }
  .service-copy-inner, .service-split-dark .service-copy-inner { padding: 36px 0; }
  .service-copy h2 { font-size: 1.6em; }

  /* Cookie-Hinweis: deckt nicht mehr den halben Bildschirm */
  [data-cookie] > div { padding: 12px 16px; gap: 10px; font-size: 13px; line-height: 1.4; }
  [data-cookie] .action-link { min-height: 40px; min-width: 0; flex: 1 1 0; font-size: 15px; }

  /* Karte etwas niedriger */
  [data-map] { height: 240px; }
}

/* Beschriftete Standorte (alle Bildschirmgrössen) */
.contact-addr { line-height: 1.4; }
.contact-addr strong { font-weight: 600; color: #2b2b2b; }
