

/* ---------- MOBILE NAV ---------- */
@media (max-width: 991.98px) {

    /* stays white as on mobile, there's no dark bg */
    .navbar .navbar-nav:has(.nav-item.is-hovered) .nav-link.active{
        color:#fff;
    }

    /* remove your desktop pill styling on mobile */
    .pp-navbar .navbar-nav {
        background: transparent;
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 20px 0;
        gap: 0;
        /* margin: auto; for centering */
        align-items: baseline;
        overflow: hidden;
    }

    /* top white pill bar */
    .pp-mobile-pill {
        width: 100%;
        background: #fff;
        border-radius: 999px;
        display: flex;
        align-items: center;
        padding: 0 14px;
        position: relative;
        z-index: 1100;
        /* filter: drop-shadow(0 0 2px rgba(0, 0, 0, 1)); */
        box-shadow: rgba(0, 0, 0, 0.24) 0px 0px 6px;
    }

    /* hamburger button */
    .pp-burger {
        border: 0;
        background: transparent;
        padding: 0;
        width: 44px;
        height: 44px;
        display: grid;
        place-items: center;
    }
    .pp-burger:focus{ box-shadow: none; }

    /* 3 bars (span is the middle bar; ::before top; ::after bottom) */
    .pp-burger-icon {
        width: 22px;
        height: 2px;
        background: #000;
        border-radius: 2px;
        position: relative;
        display: block;
        transition: background .2s ease;
    }
    .pp-burger-icon::before,
    .pp-burger-icon::after {
        content:"";
        position: absolute;
        left: 0;
        width: 22px;
        height: 2px;
        background: #000;
        border-radius: 2px;
        transition: transform .25s cubic-bezier(.2,.8,.2,1),
                    top .25s cubic-bezier(.2,.8,.2,1),
                    opacity .2s ease;
    }
    .pp-burger-icon::before{ top: -7px; }
    .pp-burger-icon::after { top:  7px; }

    /* open -> X */
    .pp-burger[aria-expanded="true"] .pp-burger-icon {
        background: transparent;          /* hide middle bar */
    }
    .pp-burger[aria-expanded="true"] .pp-burger-icon::before {
        top: 0;
        transform: rotate(45deg);
    }
    .pp-burger[aria-expanded="true"] .pp-burger-icon::after {
        top: 0;
        transform: rotate(-45deg);
    }

    /* brand centered (kept your look but fixed buggy positioning) */
    .pp-mobile-brand {
        position: absolute;
        /* left: 50%; for centering */
        right: 0;
        transform: translateX(-22%);
        text-decoration: none;
        color: #000;
        font-weight: 700;
        font-size: 1.05rem;
        line-height: 1;
    }

    /* fullscreen overlay when collapse is open */
    .pp-navbar .navbar-collapse {
        background: #000;
        padding: 0 30px;
        border-radius: 0 0 34px 34px;

        /* animation setup (from top) */
        opacity: 0;
        transform: translate3d(0,-24px,0);
        pointer-events: none;
        will-change: transform, opacity;
        transition: transform .35s cubic-bezier(.16,1,.3,1),
            opacity   .35s cubic-bezier(.16,1,.3,1);
    }

    .pp-navbar .navbar-collapse.show {
        opacity: 1;
        pointer-events: auto;
    }

    /* stop Bootstrap's height animation from interfering */
    .pp-navbar .collapsing {
        height: auto !important;
        transition: none !important;
    }

    /* layout inside overlay */
    .pp-mobile-menu-inner {
        height: calc(100vh - 60px);
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        padding-bottom: 20px;
    }

    /* huge menu links */
    .pp-navbar .nav-link {
        color: #fff;
        display: flex;
        font-weight: 800;
        font-size: 45px;
        font-size: 10vw;
        line-height: 1.05;
        padding: 0;
        margin: 0;
        border-radius: 0;
        transition: opacity .2s ease;
        white-space: nowrap;
    }
    .pp-navbar .nav-link:hover { opacity: .7; }
    .pp-mobile-menu-inner .navbar-nav.position-relative.hover .nav-link.active {
        color: #fff;
    }

    /* footer bits */
    .pp-mobile-footer {
        margin-top: 15px;
        display: flex;
        flex-direction: column;
    }
    .pp-lang {
        color: rgba(255,255,255,.8);
        font-size: 1rem;
        margin-bottom: 6px;
    }
    .pp-imprint,
    .pp-privacy {
        display: inline-block;
        color: rgba(255,255,255,.8);
        text-decoration: none;
        margin-bottom: 20px;
    }
    .pp-privacy:hover, .pp-imprint:hover{ opacity:.7; }

    /* email pill input at bottom */
    .pp-email {
        display: flex;
        align-items: center;
        background: #fff;
        border-radius: 999px;
        padding: 0 10px 0 16px;
        gap: 10px;
    }
    .pp-email-input {
        border: 0;
        outline: none;
        width: 100%;
        font-size: 1.05rem;
    }
    .pp-email-btn {
        border: 0;
        background: transparent;
        width: 44px;
        height: 44px;
        border-radius: 999px;
        font-size: 1.6rem;
        line-height: 1;
        display: grid;
        place-items: center;
    }

    /* keep desktop logo out of the way on mobile */
    .pp-navbar .navbar-brand img { height: 40px; }

    #projects-overview-proof h1,
    #blog-overview-blog h1 {
        font-size: 50px;
        margin-bottom: 10px !important;
    }

    .pp-bg-team {
        background-size: 160vh !important;
        background-position: calc(50% + 80px) calc(20% + 20px);
    }

}
@media (max-width: 768px) {

    .statistics-section h1 {
        font-size: 40px;
    }
    h1 {
        font-size: 50px;
        hyphens: auto;
    }
    h2 {
        font-size: 40px;
    }
    body {
        overflow-x: hidden;
    }
    .pp-mobile-menu-inner {
        height: calc(90vh - 70px);
    }
    .navbar {
        padding: 25px 0 5px;
    }
    .container {
        padding: 0 30px;
    }
    .pp-hero__content,
    .content-hero__content {
        padding-bottom: 50px;
    }
    .content-hero::after,
    .pp-hero::after {
        background: linear-gradient(
            15deg, 
            rgba(0, 0, 0, 0.65) 0%, 
            rgba(0, 0, 0, 0.45) 35%, 
            rgba(0, 0, 0, 0.15) 60%, 
            rgba(0, 0, 0, 0.0) 100%
        );
    }
    section.quote-section .card {
        max-height: 55vh;
    }
    .p-5 {
        padding: 30px !important;
    }
    .statistics-content-panel {
        left: 30px !important;
        right: 30px !important;
    }
    .footer-inner{
        min-height: 600px;
    }
    .footer-inner {
        padding-bottom: 25vh;
    }
    
}
@media (max-width: 576px) {
    .footer-inner{
        min-height: 550px;
    }
    .footer-inner {
        padding-bottom: 20vh;
    }
    
}


/* Targets screens shorter than 600px laptops */
@media screen and (max-height: 600px) {
    .statistics-stat h1.title,
    .statistics-headline h1 { font-size: 50px;}
    .statistics-headline p {
        font-size: 16px;
    }
    .statistics-content-wrapper { 
        transform: scaleY(0.8);
    }
    .statistics-content-panel {
        padding: 0 !important;
        overflow: visible !important;
    }

}

