

/* =========================================================
   RESET
========================================================= */



button,
a {
    font: inherit;
}

button {
    border: 0;
}

a {
    color: inherit;
    text-decoration: none;
}


/* =========================================================
   EXPERIENCE SECTION
========================================================= */

.website-experience {
    position:relative;

    overflow:visible;

    padding:160px 0 180px;

    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(255,255,255,.055),
            transparent 28%
        ),
        radial-gradient(
            circle at 80% 70%,
            rgba(255,255,255,.035),
            transparent 30%
        ),
        #b9792b;
}

/* =========================================================
   BACKGROUND GRID
========================================================= */

.website-experience::before {
    content: "";

    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(255,255,255,.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.025) 1px,
            transparent 1px
        );

    background-size: 70px 70px;

    mask-image:
        linear-gradient(
            to bottom,
            black,
            transparent 85%
        );

    pointer-events: none;
}


/* =========================================================
   CONTAINER
========================================================= */

.experience-container {
    position: relative;
    z-index: 2;

    width: min(1400px, calc(100% - 50px));

    margin:auto;

    max-height:none;
}

/* =========================================================
   HEADER
========================================================= */

.experience-header {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 60px;

    margin-bottom: 80px;
}

.experience-label {
    display: flex;
    align-items: center;

    gap: 12px;

    color: #515151;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: .22em;
    text-transform: uppercase;
}

.experience-label::before {
    content: "";

    width: 35px;
    height: 2px;

    background: #cf2929;
}
.experience-title{
    color:#161616;
}
.experience-title,
.experience-title span {
    margin-top: 20px;

    font-family: "Space Grotesk", sans-serif;

    font-size:
        clamp(55px, 8vw, 125px);

    font-weight: 600;

    line-height: .82;

    letter-spacing: -.065em;
}

.experience-title span {
   color:#eee;
}

.experience-intro {
    align-self: end;

    max-width: 480px;

    color: #1c1c1c;

    font-size: 16px;

    line-height: 1.75;
}


/* =========================================================
   TOP META
========================================================= */

.experience-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 25px;

    color: #666;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: .18em;

    text-transform: uppercase;
}

.experience-meta span:last-child {
    color: #4b4b4b;
}


/* =========================================================
   PROJECT SHOWCASE
========================================================= */

.project-showcase {
    display: grid;

    grid-template-columns: 80px 1fr;

    min-height: 700px;

    border: 1px solid rgba(255,255,255,.1);

    background: rgba(255,255,255,.025);

    backdrop-filter: blur(20px);
}


/* =========================================================
   PROJECT NUMBERS
========================================================= */

.project-numbers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
 
}

.project-number {
  flex: 0 0 auto;
}

.project-number {
    position: relative;

    flex: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: rgba(65, 64, 64, 0.635);

    color: #131313;

    cursor: pointer;
    
    transition:
        background .4s ease,
        color .4s ease;
}
.project-number:hover{
    background-color: #2f2f2f;
     cursor: url("/thumb/Icons/mauszeiger4.png") 35 35, auto;
     color: white;
}


.project-number::after {
    content: "";

    position: absolute;

    right: -1px;

    width: 2px;
    height: 0;

    background: white;

    transition:
        height .5s cubic-bezier(.16,1,.3,1);
}

.project-number.active {
    color: white;

    background: rgba(46, 9, 9, 0.04);
}

.project-number.active::after {
    height: 55px;
}

.project-number span {
    font-size: 20px;
    font-weight: 600;

    letter-spacing: .12em;

    transform: rotate(-90deg);

}


/* =========================================================
   PROJECT AREA
========================================================= */

.project-area {
    position: relative;

    min-width: 0;

    overflow: hidden;
}


/* =========================================================
   PROJECT SLIDES
========================================================= */

.project {
    position: absolute;
    inset: 0;

    display: flex;
    flex-direction: column;

    opacity: 0;
    visibility: hidden;

    transform:
        translateX(30px);

    transition:
        opacity .5s ease,
        transform .6s cubic-bezier(.16,1,.3,1),
        visibility .5s;
}

.project.active {
    position: relative;

    opacity: 1;
    visibility: visible;

    transform: translateX(0);
}


/* =========================================================
   PROJECT TOP
========================================================= */

.project-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    padding: 35px 40px 28px;
}

.project-category {
    color: #545454;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: .18em;

    text-transform: uppercase;
}

.project-name {
    margin-top: 7px;

    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(28px, 4vw, 55px);

    font-weight: 600;

    letter-spacing: -.05em;
}

.project-description {
    max-width: 260px;

    margin-top: 5px;

    color: #3b3b3b;

    font-size: 15px;

    line-height: 1.6;

    text-align: right;
}


/* =========================================================
   BROWSER
========================================================= */

.browser {
    position: relative;

    flex: 1;

    margin:
        0 40px 35px;

    overflow: hidden;

    border:
        1px solid rgba(255,255,255,.13);

    border-radius: 12px;

    background: #151515;

    box-shadow:
        0 40px 100px rgba(0,0,0,.5);

    transition:
        transform .7s cubic-bezier(.16,1,.3,1),
        box-shadow .7s ease;
}

.project:hover .browser {
    transform:
        translateY(-6px)
        scale(1.008);

    box-shadow:
        0 50px 120px rgba(0,0,0,.65);
}


/* =========================================================
   BROWSER HEADER
========================================================= */

.browser-header {
    position: relative;
    z-index: 5;

    height: 37px;

    display: flex;
    align-items: center;

    gap: 7px;

    padding: 0 13px;

    background: #191919;

    border-bottom:
        1px solid rgba(255,255,255,.08);
}

.browser-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #555;
}

.browser-address {
    position: absolute;

    left: 50%;
    transform: translateX(-50%);

    width: 38%;
    min-width: 160px;

    padding: 5px 12px;

    border-radius: 20px;

    background: #111;

    color: #555;

    font-size: 8px;

    text-align: center;
}


/* =========================================================
   WEBSITE PREVIEW
========================================================= */

.browser-content {
    position: relative;

    height: calc(100% - 37px);

    min-height: 450px;

    overflow: hidden;

    background: #111;
}

.browser-content iframe {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    border: 0;

    background: white;
}


/* =========================================================
   PREVIEW OVERLAY
========================================================= */

.preview-overlay {
    position: absolute;
    inset: 0;

    z-index: 10;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        rgba(0,0,0,.05);

    opacity: 0;

    cursor: pointer;

    transition:
        opacity .4s ease;
}

.browser:hover .preview-overlay {
    opacity: 1;
}

.preview-circle {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 125px;
    height: 125px;

    border:
        1px solid rgba(255,255,255,.7);

    border-radius: 50%;

    background:
        rgba(0,0,0,.55);

    backdrop-filter: blur(10px);

    color: white;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: .12em;

    text-transform: uppercase;

    transform:
        scale(.7);

    transition:
        transform .5s cubic-bezier(.16,1,.3,1);
}

.browser:hover .preview-circle {
    transform: scale(1);
}


/* =========================================================
   PROJECT FOOTER
========================================================= */

.project-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding:
        0 40px 35px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;

    gap: 7px;
}

.project-tag {
    padding: 7px 11px;

    border:
        1px solid rgba(255,255,255,.1);

    border-radius: 100px;

    color: #777;

    font-size: 8px;
    font-weight: 700;

    letter-spacing: .1em;

    text-transform: uppercase;
}

.project-link {
    display: flex;
    align-items: center;

    gap: 12px;

    color: white;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: .15em;

    text-transform: uppercase;
}

.project-link-arrow {
    display: grid;
    place-items: center;

    width: 37px;
    height: 37px;

    border:
        1px solid rgba(255,255,255,.25);

    border-radius: 50%;

    transition:
        transform .4s cubic-bezier(.16,1,.3,1),
        background .3s ease;
}

.project-link:hover .project-link-arrow {
    transform:
        rotate(45deg)
        scale(1.1);

    background: white;

    color: black;
}


/* =========================================================
   BELOW SHOWCASE
========================================================= */

.experience-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding-top: 25px;
}

.experience-hint {
    color: #555;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: .16em;

    text-transform: uppercase;
}

.experience-hint span {
    color: #aaa;
}

.open-all {
    display: flex;
    align-items: center;

    gap: 10px;

    color: #aaa;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: .14em;

    text-transform: uppercase;

    cursor: pointer;

    transition:
        color .3s ease;
}

.open-all:hover {
    color: white;
}


/* =========================================================
   FULLSCREEN EXPERIENCE
========================================================= */

.experience-modal {

    position:fixed;

    inset:0;

    width:100vw;
    height:100vh;

    z-index:9999;

    display:flex;
    flex-direction:column;

    background:#090909;

    opacity:0;
    visibility:hidden;

    transform:none;

    transition:
        opacity .5s ease,
        visibility .5s;
}

.experience-modal.open {

    opacity:1;

    visibility:visible;
}

/* =========================================================
   MODAL HEADER
========================================================= */

.modal-header {

    position: relative;

    z-index: 10000;

    height: 75px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 35px;

    background:
        rgba(10,10,10,.92);

    backdrop-filter: blur(20px);

    border-bottom:
        1px solid rgba(255,255,255,.1);
 margin-top: 0px;
}


/* BRAND */

.modal-brand {

    display:flex;

    align-items:center;

    gap:15px;

    color:white;

    font-size:10px;

    font-weight:800;

    letter-spacing:.16em;

    text-transform:uppercase;

    cursor:pointer;

}


.modal-brand strong {
    color:white;
}


.modal-brand span {
    color:#555;
}


.modal-brand span:last-child {
    color:#777;
}


/* CENTER PROJECT NAME */

.modal-project {

    position:absolute;

    left:50%;

    transform:translateX(-50%);

    color:#777;

    font-size:9px;

    font-weight:800;

    letter-spacing:.18em;

    text-transform:uppercase;

}


/* CLOSE BUTTON */

.modal-close {

    position:relative;

    z-index:10001;

    display:flex;

    align-items:center;

    gap:12px;

    padding:8px 12px;

    background:transparent;

    border:0;

    color:#aaa;

    font-size:9px;

    font-weight:800;

    letter-spacing:.12em;

    text-transform:uppercase;

    cursor:pointer;

}


.modal-close span {

    display:grid;

    place-items:center;

    width:35px;

    height:35px;

    border:1px solid rgba(255,255,255,.25);

    border-radius:50%;

    color:white;

    font-size:18px;

    transition:
        background .3s ease,
        color .3s ease,
        transform .3s ease;

}


.modal-close:hover span {

    background:white;

    color:black;

    transform:rotate(90deg);

}
/* =========================================================
   MODAL CONTENT
========================================================= */

.modal-content {

    position:relative;

    flex:1;

    width:100%;

    min-height:0;

    overflow:hidden;

}


.modal-content iframe {

    position:absolute;

    inset:0;

    width:100%;

    height:100%;

    border:0;

    background:white;

}

.modal-content {
    position:relative;
    flex:1;
    min-height:0;
    overflow:hidden;
    z-index:1;
}
/* =========================================================
   PROGRESS
========================================================= */

.modal-progress {
    position: absolute;

    right: 24px;
    top: 50%;

    z-index: 30;

    width: 2px;
    height: 150px;

    transform: translateY(-50%);

    background:
        rgba(255,255,255,.15);
}

.modal-progress-bar {
    width: 100%;
    height: 0%;

    background: white;

    transition:
        height .15s linear;
}


/* =========================================================
   MODAL PROJECT NAV
========================================================= */

.modal-project-nav {
    position: absolute;

    z-index: 30;

    left: 25px;
    bottom: 25px;

    display: flex;

    gap: 6px;
}

.modal-project-nav button {
    width: 34px;
    height: 34px;

    border:
        1px solid rgba(255,255,255,.2);

    border-radius: 50%;

    background:
        rgba(0,0,0,.5);

    color: white;

    cursor: pointer;

    transition:
        background .3s ease,
        transform .3s ease;
}

.modal-project-nav button:hover {
    background: white;

    color: black;

    transform: translateY(-3px);
}


/* =========================================================
   MOBILE DEVICE BUTTON
========================================================= */

.device-switcher {
    position: absolute;

    z-index: 30;

    right: 25px;
    bottom: 25px;

    display: flex;

    padding: 4px;

    border:
        1px solid rgba(255,255,255,.15);

    border-radius: 100px;

    background:
        rgba(0,0,0,.5);

    backdrop-filter: blur(10px);
}

.device-switcher button {
    padding: 8px 11px;

    border-radius: 100px;

    background: transparent;

    color: #777;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: .1em;

    cursor: pointer;

    text-transform: uppercase;
}

.device-switcher button.active {
    background: white;

    color: black;
}


/* =========================================================
   MOBILE PREVIEW MODE
========================================================= */

.modal-content.mobile-mode {

    display:flex;

    justify-content:center;

    align-items:center;

    width:100%;

    height:100%;

    background:#101010;
}


.modal-content.mobile-mode iframe {

    position:relative;

    inset:auto;

    display:block;

    width:390px;

    height:min(850px, calc(100vh - 160px));

    max-width:90vw;

    max-height:calc(100vh - 160px);


    border:8px solid #1d1d1d;

    border-radius:32px;


    background:white;


    box-shadow:
        0 30px 80px rgba(0,0,0,.7);

}
/* =========================================================
   REVEAL ANIMATION
========================================================= */

.experience-reveal {
    opacity: 1;
    transform: translateY(0);

    transition:
        opacity .9s ease,
        transform .9s cubic-bezier(.16,1,.3,1);
}


.experience-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.experience-reveal.visible {
    opacity: 1;

    transform:
        translateY(0);
}

.experience-nav-brand small {
    color:#777;
}


@media(max-width:650px){

.experience-nav-brand small{
    display:none;
}

}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .experience-header {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .experience-intro {
        max-width: 600px;
    }

    .project-showcase {
        grid-template-columns: 60px 1fr;
    }

    .project-top {
        padding:
            28px 25px 20px;
    }

    .project-bottom {
        padding:
            0 25px 25px;
    }

    .browser {
        margin:
            0 25px 25px;
    }

}


@media (max-width: 650px) {

    .website-experience {
        padding:
            100px 0 120px;
    }

    .experience-container {
        width:
            calc(100% - 30px);
    }

    .experience-title {
        font-size:
            clamp(52px, 16vw, 90px);
    }

    .experience-meta {
        margin-bottom: 15px;
    }

    .project-showcase {
        display: block;

        min-height: 0;
    }

    .project-numbers {
        height: 55px;

        flex-direction: row;

        border-right: 0;
         margin-bottom: 50px;
        border-bottom:
            1px solid rgba(255,255,255,.1);
    }

    .project-number {
        height: 55px;
    }

    .project-number::after {
        right: auto;
        bottom: -1px;

        width: 0;
        height: 2px;
    }

    .project-number.active::after {
        width: 35px;
        height: 2px;
    }

    .project-number span {
        transform: none;
    }

    .project {
        position: relative;

        display: none;
    }

    .project.active {
        display: flex;
    }

    .project-top {
        flex-direction: column;

        gap: 12px;

        padding:
            25px 18px 18px;
    }

    .project-description {
        max-width: 300px;

        text-align: left;
    }

    .browser {
        margin:
            0 18px 20px;
    }

    .browser-content {
        min-height: 400px;
    }

    .project-bottom {
        flex-direction: column;
        align-items: flex-start;

        gap: 20px;

        padding:
            0 18px 25px;
    }

    .project-link {
        width: 100%;

        justify-content: space-between;

        padding-top: 15px;

        border-top:
            1px solid rgba(255,255,255,.1);
    }

    .experience-bottom {
        flex-direction: column;
        align-items: flex-start;

        gap: 20px;
    }

    .open-all {
        width: 100%;

        justify-content: space-between;

        padding:
            14px 0;

        border-top:
            1px solid rgba(255,255,255,.1);
    }

  .modal-header {
    

    height:60px;

    padding:0 15px;

}

    .modal-project {
        display: none;
    }

    .modal-brand span:last-child {
    display:none;
}

    .modal-close {
        padding: 5px;
    }

    .modal-close span {
        width: 35px;
        height: 35px;
    }

    .modal-progress {
        right: 12px;

        height: 100px;
    }

    .modal-project-nav {
        left: 12px;
        bottom: 15px;
    }

    .device-switcher {
        right: 12px;
        bottom: 15px;
    }

   

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;

        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }

}

/* ===== FIX HEADER VISIBILITY ===== */




.experience-reveal.visible {
    opacity:1;
    transform:none;
}


.experience-title {
    color:#161616;
}


.experience-title span {
    color:#eeeeee;
}




.experience-nav-brand small {
    color:#777;
}