* {
    /*    outline: 1px solid red;*/
    margin: 0;
    /*    background-color: #dee1e3;*/
      
}

html,
body {
    height: 100%;
  
}

/* >>> Diese drei Zeilen sind die wichtigen Änderungen <<< */
html {

    overflow-y: auto;
    overflow-x: hidden;
    /* html scrollt */
    scroll-behavior: smooth;
    /* weiches Scrollen */
    scroll-snap-type: y mandatory;
     background-color: #e1e5eb !important;
 
    /* Snap auf dem Viewport */
}

body {
    margin: 0;
    overflow: visible;
    background-color: #e1e5eb !important;
  
}


main {
    display: block;
}

a {
    text-decoration: none;
    cursor: none;
}


.modelContainer {
    height: 94vh;
    width: 100%;
    justify-self: center;
    margin: auto;
    background-color: transparent;
    z-index: 1000;
    outline-style: none;



}

model-viewer {
    display: block;
    width: 100%;
    height: 94vh;
    outline-style: none;
}

model-viewer::part(default-progress-bar),
model-viewer::part(progress-bar) {
    display: none;
}


html {
  scrollbar-color: rgb(0, 0, 255) transparent;
  scrollbar-width: thin;
}

/* Für Chromium/Safari */
html::-webkit-scrollbar { width: 12px; }
html::-webkit-scrollbar-track { background: #f1f1f1; }
html::-webkit-scrollbar-thumb { background: rgb(0, 0, 255); }
html::-webkit-scrollbar-thumb:hover { background: rgb(0, 0, 200); }

section {
    z-index: 0;
    min-height: 100vh;
    width: 100%;
    scroll-snap-align: start;

    scroll-snap-stop: always;
    pointer-events: none;

}

section:nth-of-type(even) {
    background: none;
}

section:nth-of-type(odd) {
    background: none;
}


@font-face {
    font-family: 'NeueFreigeist';
    src: url('/font/Neue Freigeist Test/NeueFreigeist-SemiBold.woff') format("woff");
    font-weight: 600;
    /* Semibold */
    font-style: normal;
}

@font-face {
    font-family: 'PPEditorialNewUltralight';
    src: url('/font/PP/PPEditorialNew-Ultralight.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
}


header h1 {
    margin-left: 1vh;
    margin-top: 1vh;
    font-size: 11.5em;
    font-weight: 600;
    color: #0000ff;
    /*    letter-spacing: 1rem;*/


    text-transform: uppercase;
}


h1 {

    /*    outline: 1px solid green;*/
    font-family: 'NeueFreigeist', sans-serif;



}

h2 {
    /*    outline: 1px solid green;*/
    font-weight: 200;

    font-size: 3em;
    font-family: 'PPEditorialNewUltralight', sans-serif;
    color: #0000ff;

    /*    width: 80vw;*/
    margin-top: 12vh;
}

a:hover {
    text-decoration: underline;
}

h3 {

    font-weight: 100;
    font-size: 2.3em;


    font-family: 'NeueFreigeist', sans-serif;
    text-transform: uppercase;
    color: #0000ff;




}
h4 {
    /*    outline: 1px solid green;*/
    font-weight: 200;

    font-size: 3em;
    font-family: 'PPEditorialNewUltralight', sans-serif;
    color: #0000ff;

    /*    width: 80vw;*/
    margin-top: 12vh;
}




.grid-container {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows:
        88vh 12vh
        /* intro */
        88vh
        /* intro_2 */
        repeat(9, 94vh 6vh);
    /* 8 Projekte: je 94 + 6 */


    text-align: center;
    outline-style: none;
}

.projekt_titel {

    height: 100%;
    justify-self: center;


}



.intro_1 {
    grid-row: 1 / 3;



}




#intro {
    margin-left: 2vh;
    width: 98vw;
    height: 100vh;
    position: relative;

    /* Start: 100vh hoch */
    transform-origin: bottom;
    /* von oben „zusammendrücken“ */
    will-change: transform;
    color: blue;



}

.sec_into_1 {
    grid-row: 1 / 2;

}

.intro_2 {
    grid-row: 3 / 4;
    position: relative;

    pointer-events: none;
    display: grid;
    grid-template-rows: 6vh 74vh 10vh;
    grid-template-columns: 4vw 91vw 5vw;

    height: 100%;
    width: 100%;


}

.sec_into_2 {
    grid-row: 2 / 4;

}

.text_ich {
    grid-row: 2 / 3;
    grid-column: 2 / 3;
    width: 90vw;

   display: flex;
  gap: 2vw;              /* optional */
  justify-content: center; /* optional */
  flex-wrap: wrap;  
    hyphens: auto;   /* falls 2 Spalten eng werden */
}


.text_block{
   flex: 0 0 44vw;        /* kein Shrink, Basis = 30vw */
  width: 44vw;           /* (optional redundant) */
  max-width: 44vw;       /* schützt vor Wachsen */
  min-width: 0;          /* erlaubt echtes Schrumpfen bei langen Wörtern */
  hyphens: auto;         /* hübsches Umbrechen (DE-Text) */
  overflow-wrap: anywhere;
    font-size: 1.6rem;
    text-align: left;
     margin-top: 0vh;
    
}

.btn-download {
    grid-row: 3 / 4;
    grid-column: 2 / 3;
    /* gleiche Zeile */
    position: relative;
    display: flex;
    z-index: 2;
    justify-self: end;
    align-self: start;
    text-transform: uppercase;
    pointer-events: auto;
    width: 14%;

    font-size: 0.7em;
display: none

}

a.btn-download {
    text-decoration: none;
}

.icon_downloade {
    display: flex;

    height: 5vh;

}



.container3D_1 {
    grid-row: 4 / 5;
    z-index: 1;
}

.P1 {
    grid-row: 5 / 6;
    z-index: 1;
}

.sec_1 {
    grid-row: 4 / 6;

}




.container3D_2 {
    grid-row: 6 / 7;
}

.P2 {
    grid-row: 7 / 8;
}

.sec_2 {
    grid-row: 6 / 8;

}



.container3D_3 {
    grid-row: 8 / 9;
}

.P3 {
    grid-row: 9 / 10;
}

.sec_3 {
    grid-row: 8 / 10;

}


.container3D_4 {
    grid-row: 10 / 11;
}

.P4 {
    grid-row: 11 / 12;
}

.sec_4 {
    grid-row: 10 / 12;

}


.container3D_5 {
    grid-row: 12 / 13;
}

.P5 {
    grid-row: 13 / 14;
}

.sec_5 {
    grid-row: 12 / 14;

}


.container3D_6 {
    grid-row: 14 / 15;
}

.P6 {
    grid-row: 15/ 16;
}

.sec_6 {
    grid-row: 14 / 16;

}


.container3D_7 {
    grid-row: 16 / 17;
}

.P7 {
    grid-row: 17 / 18;
}

.sec_7 {
    grid-row: 16 / 18;
}


.container3D_8 {
    grid-row: 18 / 19;
}

.P8 {
    grid-row: 19 / 20;
}

.sec_8 {
    grid-row: 18 / 20;
}

.container3D_9 {
    grid-row: 20/ 21;
}

.P9 {
    grid-row: 21 / 22;
}

.sec_9 {
    grid-row: 20 / 22;
}
.container3D_10 {
    grid-row: 22/ 23;
}

.P10 {
    grid-row: 23 / 24;
}

.sec_10 {
    grid-row: 22 / 24;}


.playground {
    background-color: blue;
    color: white;
    z-index: 999;

}





.playground_grid {
    display: grid;
    width: 100vw;
    height: 94vh;
    grid-template-columns: repeat(5, 20vw);
    grid-template-rows: repeat(5, 18.8vh);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    background-color: blue
}


.playground_1 {
    grid-area: 1 / 1 / 3 / 3;
    height: 100%
}

.playground_2 {
    grid-area: 4 / 2 / 6 / 4;
    height: 100%
}

.playground_3 {
    grid-area: 1 / 3 / 4 / 5;
    height: 100%
}

.playground_4 {
    grid-area: 4 / 4 / 6 / 6;
    height: 100%
}




.grid_nav {
    position: fixed;
    inset: 0;
    /* oben/links/rechts/unten = 0 => volle Fläche */
    z-index: 2147483647;
    display: grid;
    grid-template-rows: 6vh 88vh 6vh;
    grid-template-columns: 4vw 92vw 4vw;
    pointer-events: none; 
    height: 100vh;


    /* macht die Ebene „durchlässig“… */
}

.nav-link {

    cursor: pointer;
    text-decoration: none;

    width: auto;

    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;

}

.nav-link img {
    width: auto;
}

.nav-link.show {
    opacity: 1;
    pointer-events: auto;
}

.nav-pro {

    grid-row: 3 / 4;
    grid-column: 1/2;
    width: auto;

    justify-self: end;
    align-self: flex-start;
/*    height: 4.2vh;*/
}

.nav-pro img {
    height: 5vh;
}

.nav-top {

    grid-row: 3 / 4;
    grid-column: 3/4;

    justify-self: start;
    align-self: start;
    width: auto;

}

.nav-top img {
    height: 5vh;
}

.nav-about {
    grid-row: 1 / 2;
    grid-column: 3 / 4;
    justify-self: start;
    align-self: flex-end;
    width: auto;
    height: 5vh
}

.nav-about img {
    height: 5vh;
}

body {


    cursor: none;

}

/* Unser blauer “Cursor” */
#blue-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 16px;
    height: 16px;
    background-color: blue;
    border-radius: 50%;
    box-shadow: none;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(1);
    /* Hier animieren wir transform sanft in 0.3s */
    transition: transform 0.3s ease-in-out, background-color 0.5s ease, box-shadow 0.5s ease-in-out ;
    z-index: 9999;
}

/* Optional: Cursor bei Klick vergrößern */
#blue-cursor.active {
    width: 24px;
    height: 24px;
    background-color: dodgerblue;
}

.icon {}


#blue-cursor.hover {
    transform: translate(-50%, -50%) scale(1.2);
    box-shadow: 0 0 6px 8px rgba(0, 0, 255, 1);

}
 .mobile-overlay {
      position: fixed;
      inset: 0;
      background-color: blue; /* kräftiges Blau */
      color: white;
      display: none; /* per JS aktiviert */
      justify-content: center;
      align-items: center;
      text-align: center;
      
     padding: 2rem;
  font-weight: 100;
    font-size: 2.3em;


    font-family: 'NeueFreigeist', sans-serif;
    text-transform: uppercase;}


.is-mobile h3 {
    font-size: 4.8rem;

}

.is-mobile .foto_ich {
    width: 80vw;
}

.is-mobile .grid_nav {

    grid-template-rows: 6vh 90vh 4vh;
    grid-template-columns: 12vw 1fr 12vw;

}

.is-mobile .grid-container {

    grid-template-columns: 1fr;
    grid-template-rows:
        88vh 12vh
        /* intro */
        88vh
        /* intro_2 */
        repeat(8, 96vh 4vh);
}

.is-mobile #blue-cursor {
    display: none;
}
