/* Standard: Landscape zeigen, Portrait verstecken */
.video-landscape { display: block; }
.video-portrait  { display: none; }

/* Im Hochformat umkehren */
@media (orientation: portrait) {
  .video-landscape { display: none; }
  .video-portrait  { display: block; }
}

@media all and (max-width: 1024px)
  {
  /* Smartphones */
  :root 
    {
    --efeuwidth: 40vw;
    --headerheight: 12vw;
    --fritzpaw: 250px;
    }
  
  .bigger {
    font-size: 22px;
  }
  
  .massnahmen .row .col-xl-4 {
    margin-bottom: 20px;
  }
  
  .massnahmen h2 {
    font-size: 30px;
  }
  
  .massnahmen h3 {
    font-size: 24px;
  }
  
  .comprisma-service h2 
    {
    color: #fff;
    }

  video.video-portrait.com-startseite
    {
    content: url("/media/videos/portrait/COM_Startseite_mobil.webp");  
    }

  img.roll 
    {
    display: none;  
    }
  
  div#logo-bg
    {
    top: 40px;
    width: 32vw;      
    }
  
  div#logo-bg img
    {
    width: 17vw;  
    }
  
  h1 
    {
    font-size: 1.8em;  
    }

  h1 + .subheadline 
    {
    font-size: 1.5em;
    line-height: 1.2; 
    }
  
  .rollout-pattern 
    {
    width: 100%;
    }
  
  .home h1, .rollout-pattern h1 
    {
    font-size: 1.8em;  
    }
  
  h2
    {
    font-size: 1.6em;  
    }
    
  section.contact
    {
    font-size: 22px;  
    }  
    
  .header-text 
    {
    font-size: 1.5em;  
    }
  
  div.subtitle
    {
    font-size: 1em;  
    }

  body.page-id-3120 h1, .page-id-161 h1 {
      font-size: 26px;
    }
    
    body.page-id-3120 h2, .page-id-161 h2 {
      font-size: 20px;
    }
    
    body.page-id-3120 h3, .page-id-161 h3 {
      font-size: 16px;
    }
    
    body.page-id-3120 h4, .page-id-161 h4 {
      font-size: 16px;
    }

  div.boxed {
      padding: 20px 14px;
    }


  div.boxed .zeeg-inline-widget, div.bg-efeu .zeeg-inline-widget {
      margin-left: -14px;
      margin-right: -14px;
    }

  
  #fritz-schwanz
    {
    height: 20vw;
    top: 6vw;  
    }
  
  body.home img.fritz-image
    {
    width: 50%;  
    }
      
  a.home-button
    {
    width: 100%;  
    }
    
  section, div.bg-efeu 
    {
    padding: 30px 10px;
    }    

  span.rolltext-static, .topline
    {
    display: inline-block;
    font-size: 1em;      
    }

  .rolltext-container .rolltext, .headline
    {
    font-size: 2em;  
    }
  
  .uppercase {
    font-size: 1.5em;
  }
    
  .container-expanded-left {
      position: relative;
      width: 120%;
      left: -20%;
    }

  .container-expanded-right {
      position: relative;
      width: 120%;
    }

  div.sidebar div.cp-newsletter-box {
      padding: 40px 14%;
    }


  body.single-post section.top .container, .padding-logo {
      padding-right: 32vw;
    }

  .rmp-container .rmp-menu-wrap, .rmp-container .rmp-menu-additional-content {
     display: block !important;
     width: auto !important;
     padding-top: 100px !important;
     padding-top: 15vh !important;
    }

  .rmp-container .rmp-menu-wrap .rmp-menu-item-link {
    font-size: 30px !important;
    height: 40px !important;
    }

  .rmp-container .rmp-menu-sub-level-item .rmp-menu-item-link {
    font-size: 18px !important;
    height: 32px !important;
    padding-right: 0 !important;
    }

  .rmp-container .rmp-menu-additional-content {
    display: none !important;
    }

  section#lp-top img.fritz-overlay {
    height: 200px;
    width: auto;
    bottom: -18px;
    right: 20px;
  }

  body.error404 section#lp-top img.fritz-overlay {
    bottom: -34px;
  }

  div#footer {
      padding: 40px 10px;
    }
  
  #footer-extended #rmp-submenu {
    text-align: center;
  }
  
  .flex-stretch {
    display: initial; 
    align-items: initial;
  }
  
  div#footer-frames img {
      display: inline-block;
      width: 100%;
      height: auto;
      margin: 0 0 20px 0;
      max-width: 200px;
    }
  
  .white-box table {
      width: 100%;
      border-collapse: separate; /* Standardmäßig separate */
      border-spacing: 0 20px;
      font-size: 12px;
    }

@keyframes fritz-tail {
    0%{
      left: -10%;
      top: -6vw;
    }
    10%{
      left: -10%;
      top: -6vw;
    }
    25%{
      left: 40%;
      top: -6vw;
    }
    40%{
      left: 100%;
      top: -4vw;
    }
    100%{
      left: 100%;
      top: -4vw;
    }
    }

@keyframes rollout {
    0% {
      width: 100%;
    }
    100% {
      width: 100%;
    }
    }

  }
  
@media all and (max-width: 1200px) 
  {
  /* Tablets landscape */
  }
  
@media all and (min-width: 768px) 
  {
  .comprisma-service h2 
    {
    color: #004563;
    }

  .bg-md-white {
    background-color: #fff !important;
    color: #34343D !important;
  }
  }