@media all and (max-width: 799px) {
  
  
      
    
    .smartphone__menue {
        position: fixed;
        bottom: 0;       /* statt top: 0 → jetzt unten */
        left: 0;
        width: 100%;
        z-index: 2000;     
        pointer-events: none; /* lässt Klicks durch, falls nötig */
    }
    .smartphone__menue__menue > * {
        pointer-events: auto;
    }
    html, body {
        height: auto;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

.overlay-klein-smart a {
  color: black;
  text-decoration: underline;
}

.overlay-klein-smart a:visited {
  color: black;
}

.overlay-klein-smart a:hover {
  color: black;
}
  
    .smartphone__menue__menue {
        color: rgb(0, 0, 0);
        display: flex;
        /* margin-top 15 - 3 wegen margin von __punkt */
        
        font-family: 'suisse';
        font-size: 15px;
        list-style: 10px;
        flex-wrap: wrap;
        background-color: #fff;
        width: 100%;
        z-index: 1;
        line-height: 1.1;
       
    }


   
      
      .menue__menue-punkt--menue1 {
        width: 33.3%;
        padding: 10px 10px;
        text-align: start; /* nach links */
        background-color: #fff;
        
      }
      
    .menue__menue-punkt--menue1-1 {
        font-family: 'suisse';
        font-size: 15px;
        color: black;
        text-decoration: none;
    }
      
      .menue__menue-punkt--me {
        width: 33.3%;
        padding: 10px 10px;
        text-align: end; /* nach rechts */
        background-color: #fff;
        font-family: 'suisse';
        font-size: 15px;
        text-decoration: none;
        color: black;
      }

      .menue__menue-punkt--en__und__de__button-smart {
        display: flex;                /* nebeneinander */
        justify-content: center;      /* mittig in den 33.3% */
        align-items: center;          /* vertikal mittig */
        gap: 2px;                     /* kleiner Abstand */
        width: 33.3%;
        padding: 0;                   /* padding vom Container weg */
        background-color: #fff;
      }
      
     



    .menue__menue {
        display: none;
    }



 

    
    
    .stage-smart {
        position: relative;
        width: 100%;
        height: 100vh;
        overflow-y: auto; /* Scroll auf gesamtem Layer */
      
    }

    
    /* Layer-Grundverhalten */
    .featured,
    .home-grid {
      position: absolute;
      inset: 0;
      
    }
    
    /* Sichtbarkeit */
    .visible {
      opacity: 1;
      pointer-events: auto;
      z-index: 2;
    }
    
    .invisible {
      opacity: 0.1;
      pointer-events: none;
      z-index: 1;
      
    }
    
    .h-scroll {
        display: flex;
        flex-direction: column; /* oder row, je nach Layout */
        overflow-x: auto;       /* horizontal scrollen weiterhin erlaubt */
        overflow-y: auto;       /* vertikal scrollen aktiv */
        gap: 24px;
        height: auto;           /* Höhe flexibel, nicht 100% */
        -webkit-overflow-scrolling: touch; /* smooth scrolling */
       
    }
  
    /* Layer selbst scrollbar machen */
    .featured {
        overflow-y: auto;
        height: 100vh; /* optional */
    }
    
    /* --- Mini-Bilder vertikal scrollen --- */
    .home-grid {
        display: flex;
        flex-direction: column;
      }
      
      .mini-grid-smart {
        display: flex;
        flex-direction: row;   /* horizontal anordnen */
        flex-wrap: wrap;       /* Umbruch aktivieren */
        gap: 4px;              /* Abstand zwischen Bildern */
        overflow-y: auto; 
        max-height: calc(100vh - 30px);
        
        
    }
     
    .mini-row-smart {
        display: flex;
        flex-wrap: wrap;         /* Bilder umbrechen, wenn Platz nicht reicht */
        flex-direction: row;     /* Text + Bilder nebeneinander */
        gap: 8px;                /* Abstand zwischen Bildern/Text */
        margin-bottom: 20px;     /* Abstand zwischen Projekten */
        align-items: flex-start; /* Text oben ausrichten */
    }
   
    .mini img,
      .mini video {
        max-width: 100px;   /* gleiche Größe wie Bilder */
        height: auto;
        display: block;
        
      }
    
      /* Textspalte */
.art-smart {
    flex: 0 0 100px; /* feste Breite für Text */
    font-size: 9px;
    font-family: 'suisse', sans-serif;
    color: black;
}/* Bilder nebeneinander innerhalb des Projekts */

.mini-row-smart a.mini {
    max-width: 100px;
    
   
    margin-bottom: 4px; /* Zeilenumbruch bei neuen Bildern */
}
.projektbilder_uebersicht-smart {
    display: flex;
    flex-direction: row;          /* alles nebeneinander */
    gap: 10px;                    /* Abstand zwischen den Spalten */
  padding: 5PX;
    overflow-x: auto;             /* horizontales Scrollen */
    white-space: nowrap;          /* kein automatischer Umbruch */
    scroll-snap-type: x mandatory; /* optional: Snap-Effekt beim Scrollen */
    -ms-overflow-style: none;     /* IE und Edge */
    scrollbar-width: none;        /* Firefox */
  
    height: 100%;
    
    margin-bottom: 20px;          /* 👈 Abstand nach unten */
  }
  .projektbilder_uebersicht3 {
    margin-bottom: 15px;
  }
  /* Jede Spalte bleibt fix nebeneinander */
 /* Jede Spalte fix nebeneinander, Bilder vertikal zentrieren */
.projektbilder__spalte-smart {
    flex: 0 0 auto;               
    display: flex;
    flex-direction: column;       
    justify-content: center;      /* vertikal zentrieren */
    align-items: center;          /* horizontal zentrieren */
   
    scroll-snap-align: start;     
}

/* Einzelnes Bild */
.projektbilder__bild {
    position: relative;
    display: inline-block;
    margin-bottom: 3px;
    width: 60%;                  /* oder deine gewünschte Breite */
    max-width: 100%;
    height: auto;
}

  

   
   

    
.projekt-smart {
    display: flex;
    flex-direction: column; /* Text oben, Bilder unten */
    gap: 8px;
    margin-bottom: 2px;    /* Abstand zwischen Projekten */
   
    
}

.bilder-smart {
    display: grid;                   
    grid-template-columns: repeat(4, 1fr); /* Immer 4 Spalten */
    gap: 2px;      
    padding: 5px;                  
}

.bilder-smart .mini,
.bilder-smart .art-mini {
    max-width: 100%;   /* Bild füllt max. die Spalte */
    height: auto;                     
   
             /* mittig in der Spalte */
    font-size: 9px;
    font-family: 'suisse', sans-serif;
    color: black;
}
.art-text {
    font-size: 9px;
    font-family: 'suisse', sans-serif;
    color: black;
    text-decoration: none;
   
}

.bilder-smart .mini img,
.bilder-smart .mini video {
    width: 100%;
    
  
}
   
   

.projektbilder_uebersicht3 {
    display: flex;            /* Flexbox aktivieren */
    flex-direction: column;   /* Elemente untereinander stapeln */
    gap: 4px;                /* Abstand zwischen den Bildern */
              /* Abstand zum Rand */
              padding: 2px;
}
   
 

.mini-grid {
    display: none;
}

.stage {
    display: none;
}


/* Overlay Smart */
.layer-smart.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
   background-color: #fff;
    
    font-family: 'suisse';
    font-size: 15px;
    align-items: flex-end; 
    padding: 10px;
    z-index: 1000;
}

.layer-smart.overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.overlay-content-smart {
    width: 100%;
    color: rgb(0, 0, 0); 
    font-family: 'suisse';
    font-size: 15px;
    line-height: 1; /* zu klein → zwei <br> wirken wie einer */
}

#close-overlay-smart {
    position: absolute;
    top: 10px;
    right: 10px;
    font-family: 'suisse';
    font-size: 15px;
    background: none;
    border: none;
    color: rgb(0, 0, 0);
    cursor: pointer;
}

.close-overlay-smart {
    margin-bottom: 30px;
}
.overlay-meta-smart {
    margin-bottom: 30px;
}

.mail__link {
    font-family: 'suisse';
    font-size: 15px;
    color: rgb(0, 0, 0);
}
.awards-btn-smart{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: none;
    border: none;
    font-family: 'suisse';
    font-size: 15px;
    margin-left: -5px;
    
    cursor: pointer;
    margin-bottom: 10px;
  }
  
  .awards-btn-smart .plus {
    font-weight: normal;
    margin-right: -10px;
  }

 /* nur Awards verstecken, ohne andere hidden-Klassen zu beeinflussen */
.awards-content-smart.hidden {
    display: none;
  }
  
  .awards-content-smart {
    margin-bottom: 15px;
    font-size: 15px;
    font-family: 'suisse';
  }
  
 
  .award {
    font-family: 'suisse';
    font-size: 15px;
    color: rgb(0, 0, 0);
}

/* Vollbild-Splash */
#splash {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: white;
    display: flex;
    justify-content: flex-start;  /* Text oben links */
    align-items: flex-start;
    padding: 10px;
    z-index: 9999;
    opacity: 1;
    transition: opacity 1.2s ease; /* Fade-out: 2 Sekunden */
  }
  
  #splash.hidden {
    opacity: 0;
    pointer-events: none;
  }
  
  /* Bild mittig */
  #splash .splash-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: auto;
  }

}

