* {
    /*    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;
    /* Snap auf dem Viewport */
}

body {
    margin: 0;
    overflow: visible;
    /* body scrollt NICHT selbst */
    /* kein scroll-snap-type hier */
}

/* Sections sind die Snap-Ziele */

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;
}


body {
    scrollbar-color: rgb(0, 0, 255) transparent;
    scrollbar-width: thin;
}

body::-webkit-scrollbar {
    width: 12px;
}

body::-webkit-scrollbar-track {
    background: #f1f1f1;
}

body::-webkit-scrollbar-thumb {
    background: rgb(0, 0, 255);
}

body::-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 Text/NeueFreigeistTest-SemiBold.otf') format('opentype');
    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;




}



.grid-container {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows:
        88vh 12vh
        /* intro */
        88vh
        /* intro_2 */
        repeat(8, 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;

}

.foto_ich {
    grid-row: 2 / 3;
    grid-column: 2 / 3;

    width: 25vw;
    position: relative;
    z-index: 1;
    justify-self: center;
    align-self: center;
}


.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;

}
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;
}
*/

.playground {
    background-color: blue;
    color: white;
    z-index: 999;

}

.P9 {}



.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 91vw 5vw;
    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);

}

.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;
}
