/* ==========================================================================
   AYMS.ch – Handy & Tablet
   Gilt für alles unter 992 px (dort, wo die Icon-Leiste verschwindet
   und das Hamburger-Menü erscheint). Wird nach main.css geladen.
   ========================================================================== */


/* ==========================================================================
   Handy & Tablet (≤991px)
   ========================================================================== */

@media screen and (max-width:991px) {

  /* Profilbox scrollt mit statt fix links zu stehen */
  .profile-box-wrap{
    position: relative;
    padding: 0;
    top: 0;
    transform: translateY(0);
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
  }

  /* Icon-Leiste rechts ausblenden, dafür Hamburger-Menü anzeigen */
  .icon-bar{
    display: none;
  }

  .hamburger{
    display: flex;
    right: 30px;
    position: fixed;
    top: 30px;
  }

  /* Platz oben für den Hamburger (30 px Abstand + 55 px Höhe + 25 px Luft),
     damit er beim Öffnen der Seite nicht über dem Profilbild liegt */
  .wrapper{
    padding: 110px 32px 32px;
  }

  section{
    padding: 60px 0;
  }
}


/* ==========================================================================
   Handy (≤767px): Schriftgrössen
   ========================================================================== */

@media (max-width: 767px){
  h1{ font-size: 42px; line-height: 48px; letter-spacing: -0.4px; }
  h2{ font-size: 32px; line-height: 38px; letter-spacing: -0.3px; }
  h3{ font-size: 28px; line-height: 34px; letter-spacing: -0.2px; }
  h4{ font-size: 26px; line-height: 32px; letter-spacing: -0.2px; }
  h5{ font-size: 24px; line-height: 30px; letter-spacing: -1px; }
  h6{ font-size: 20px; line-height: 26px; letter-spacing: -0.1px; }
  p { font-size: 16px; line-height: 26px; }

  /* Bestätigung nach dem Senden: Schliessen-Button über die ganze Breite */
  #danke-modal .modal-footer .visiblo-btn-color{
    width: 100%;
  }
}
