html, body {
    margin: 0;
    padding: 0;
}
html {
    overflow-x: clip;
    background: #070712;
}

:root {
    --header-height: 2em;
}

/* ==========================================================
   GLOBAL BACKGROUND GRID
   ========================================================== */

.site-grid-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

/* CSS-Linien deaktiviert – JS übernimmt alles */
.site-grid-bg::before,
.site-grid-bg::after {
    content: none;
}

/* JS fügt .js-grid hinzu → sicher kein ::before */
.site-grid-bg.js-grid::before,
.site-grid-bg.js-grid::after {
    display: none;
}

/* Pulse-Keyframes */
@keyframes gpulse-v {
    from { transform: translateY(0); }
    to   { transform: translateY(calc(100vh + 250px)); }
}

@keyframes gpulse-h {
    from { transform: translateX(0); }
    to   { transform: translateX(calc(100vw + 250px)); }
}

/* Alte .grid-dot ausblenden */
.grid-dot {
    display: none;
}

/* ==========================================================
   BASE
   ========================================================== */

.cevio-bg {
    position: relative;
    background: #ffffff;
    overflow-x: clip;
    min-height: 100vh;
    color: #000;
}

/* Hero section stays behind showcase */
.hero {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2.8em, 6vw, 4.2em);
    line-height: 1.15;
    overflow: visible;
    font-weight: 700;
    letter-spacing: -0.02em;
    padding-top: var(--header-height);
    color: #0e1422;
    margin-left: 8vw;

        opacity: 0;
    animation: heroFadeUp 0.9s ease-out forwards;
    animation-delay: 0.2s;
        font-family: system-ui, -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(1.2em);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text {
    margin-top: 0em;
    max-width: 42em;
    font-size: 1.2em;
    line-height: 1.6;
    color: #444;
    margin-left: 8vw;
    opacity: 0;
    animation: heroFadeUp 0.9s ease-out forwards;
    animation-delay: 0.45s;
            font-family: system-ui, -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.hero-actions {
    margin-top: 1em;
    margin-left: 14vw;
    display: flex;
    gap: 1.2em;

    opacity: 0;
    animation: heroFadeUp 0.9s ease-out forwards;
    animation-delay: 0.65s;
}

.btn-secondary {
    background: transparent;
    border: 0.1em solid rgba(15, 23, 42, 0.2);
    border-radius: 0.6em;

    padding: 0.6em 1.4em;
    font-size: 1em;
    font-weight: 500;
    color: #0f172a;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease,
        border-color 0.2s ease;
}

.btn-secondary:hover {
    background: rgba(15, 23, 42, 0.04);
    border-color: rgba(15, 23, 42, 0.35);
    transform: scale(1.06);
}

.btn-secondary:active {
    transform: scale(0.96);
}

.btn-primary {
    background: linear-gradient(
        135deg,
        #4f46ff,
        #c026ff
    );

    border: none;
    border-radius: 0.6em;

    padding: 0.65em 1.6em;
    font-size: 1em;
    font-weight: 600;
    color: #ffffff;

    cursor: pointer;

    box-shadow: 0 0.4em 1.2em rgba(79, 70, 255, 0.35);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0.8em 2em rgba(192, 38, 255, 0.45);
}

.btn-primary:active {
    transform: scale(0.96);
}

.hero-content {
    align-self: flex-start;
}

.hero-inner {
    width: 100%;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 4vw;
}

.hero-visual {
    position: relative;
    padding-top: 10em;
    overflow: hidden;
}

.hero-visual img {
    width: 100%;
    max-width: 700px;
    height: auto;

    transform: translateY(0);
    will-change: transform;
    transition: transform 0.1s linear;

    -webkit-mask-image: radial-gradient(
        ellipse at center,
        black 60%,
        transparent 100%
    );
    mask-image: radial-gradient(
        ellipse at center,
        black 60%,
        transparent 100%
    );
}


.hero-trust {
    margin-top: 7em;
    margin-left: 6em;
    font-size: 1.5em;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: #0f172a;
    opacity: 0;
    animation: heroFadeUp 0.9s ease-out forwards;
    animation-delay: 0.8s;
}


.hero-social {
    margin-top: 3em;
    display: flex;
    align-items: center;
    gap: 4em;
    margin-left: 17.5vw;

    opacity: 0;
    animation: heroFadeUp 0.9s ease-out forwards;
    animation-delay: 1s;
}

/* ---- Social – reines Icon + Text, kein Box ---- */

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;

    background: none !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    padding: 0 !important;
    margin: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    cursor: pointer;

    font-size: 0.95em;
    font-weight: 500;
    font-family: system-ui, -apple-system, BlinkMacSystemFont,
                 "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #64748b;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.social-btn:focus,
.social-btn:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

.social-icon {
    width: 1.15em;
    height: 1.15em;
    fill: currentColor;
    flex-shrink: 0;
}

.social-btn:hover {
    color: #0f172a;
    transform: scale(1.04);
}

.social-btn:active {
    transform: scale(0.96);
}

.social-btn[data-platform="discord"]:hover {
    color: #5865F2;
}

.social-btn[data-platform="instagram"]:hover {
    color: #E1306C;
}

/* ==========================================================
   WEB SHOWCASE – Scroll-Driven Color Reveal
   ========================================================== */

.wsc-scroll {
    position: relative;
    z-index: 2;
    height: 350vh;
    margin-top: 4em;
}

.wsc-section {
    position: sticky;
    top: 0;
    z-index: 2;
    margin-left: 2vw;
    margin-right: 2vw;
    height: 100vh;
    background: #070712;
    border-radius: 2.4em;
    overflow: hidden;
}

/* ── Mosaic layers ── */

.wsc-mosaic {
    position: absolute;
    inset: -20%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.wsc-mosaic-inner {
    display: flex;
    gap: 1em;
    width: 120%;
    height: 120%;
    transform: rotate(-15deg) scale(1.1);
    transform-origin: center center;
    padding: 2em;
}

.wsc-mosaic-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.wsc-mosaic-col:nth-child(even) { margin-top: -4em; }
.wsc-mosaic-col:nth-child(3) { margin-top: -8em; }

/* Gray base layer */
.wsc-mosaic-gray .wsc-mosaic-col img {
    width: 100%;
    border-radius: 0.6em;
    object-fit: cover;
    aspect-ratio: 16 / 11;
    filter: grayscale(0.85) brightness(0.5);
    opacity: 0.7;
}

/* Color reveal layer */
.wsc-mosaic-color {
    z-index: 1;
    clip-path: polygon(110% 0%, 110% 100%, 110% 100%, 110% 0%);
    will-change: clip-path;
}

.wsc-mosaic-color .wsc-mosaic-col img {
    width: 100%;
    border-radius: 0.6em;
    object-fit: cover;
    aspect-ratio: 16 / 11;
    filter: brightness(0.65) saturate(1.3);
    opacity: 0.85;
}

/* ── Sweep line: disabled ── */
.wsc-sweep-line { display: none; }

/* ── Dark overlay ── */

.wsc-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: radial-gradient(
        ellipse at 70% 60%,
        rgba(7, 7, 18, 0.3) 0%,
        rgba(7, 7, 18, 0.7) 50%,
        rgba(7, 7, 18, 0.88) 100%
    );
    pointer-events: none;
    transition: opacity 0.1s linear;
}

/* Subtle top glow */
.wsc-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    z-index: 4;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(79, 70, 255, 0.5) 30%,
        rgba(192, 38, 255, 0.5) 70%,
        transparent 100%
    );
}

/* Edge vignette */
.wsc-section::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: 2.4em;
    box-shadow: inset 0 0 60px 30px rgba(7, 7, 18, 0.8);
    pointer-events: none;
    opacity: var(--vig-opacity, 1);
    transition: opacity 0.1s linear;
}

/* ── Content positioning ── */

.wsc-inner {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    padding: 4em 5vw;
    pointer-events: none;
    will-change: transform, opacity;
}

.wsc-content-second {
    justify-content: center;
    align-items: flex-start;
    opacity: 0;
}

/* Title (start) */
.wsc-title {
    font-family: system-ui, -apple-system, BlinkMacSystemFont,
                 "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: clamp(3.4em, 7vw, 5.5em);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.05;
    color: #ffffff;
    text-align: right;
    margin: 0 0 0.3em;
}

/* Subtitle */
.wsc-text {
    font-family: system-ui, -apple-system, BlinkMacSystemFont,
                 "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: clamp(0.95em, 1.4vw, 1.1em);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.4);
    text-align: right;
    max-width: 38em;
    margin: 0;
}

/* Title (end) */
.wsc-title-end {
    font-family: system-ui, -apple-system, BlinkMacSystemFont,
                 "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: clamp(3.4em, 7vw, 5.5em);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.05;
    color: #ffffff;
    text-align: left;
    margin: 0 0 0.5em;
    text-shadow: 0 0 60px rgba(255, 255, 255, 0.15);
}

.wsc-btn {
    pointer-events: auto;
    margin-top: 0.5em;
}

.wsc-text-end {
    font-family: system-ui, -apple-system, BlinkMacSystemFont,
                 "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: clamp(0.95em, 1.4vw, 1.15em);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.45);
    text-align: center;
    max-width: 30em;
    margin: 0;
}

@media (max-width: 900px) {
    .wsc-mosaic-inner { gap: 0.6em; }
    .wsc-mosaic-col { gap: 0.6em; }
    .wsc-title-end { font-size: clamp(2.8em, 7vw, 4.5em); }
}

.services-heading {
    margin-top: 6em;
    text-align: center;
}

.services-heading-title {
    font-size: clamp(2.8em, 5vw, 3.6em);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0e1422;
    font-family: system-ui, -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ==========================================================
   SERVICES SCROLL ANIMATIONS
   ========================================================== */

.services-heading-title {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.services-heading-title.in-view {
    opacity: 1;
    transform: translateY(0);
}

.svc-card {
    opacity: 0;
    transform: translateY(50px) scale(0.97);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                flex 0.65s cubic-bezier(.22, 1, .36, 1);
}
.svc-card.in-view {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.svc-card:nth-child(1) { transition-delay: 0s; }
.svc-card:nth-child(2) { transition-delay: 0.1s; }
.svc-card:nth-child(3) { transition-delay: 0.2s; }
.svc-card:nth-child(4) { transition-delay: 0.3s; }

/* Remove delay on exit so all cards leave together */
.svc-card:not(.in-view) { transition-delay: 0s !important; }

/* ==========================================================
   SERVICES CARDS — EXPANDING HOVER
   ========================================================== */

.services-cards {
    margin-top: 2.5em;
    padding: 0 4vw 4em;
}

.services-cards-inner {
    display: flex;
    gap: 0.6em;
    height: 520px;
    max-width: 1400px;
    margin: 0 auto;
}

.svc-card {
    position: relative;
    flex: 1;
    min-width: 0;
    border-radius: 1.2em;
    overflow: hidden;
    cursor: pointer;
}

.services-cards-inner:hover .svc-card {
    flex: 0.7;
}

.services-cards-inner:hover .svc-card:hover {
    flex: 2.5;
}

.svc-card-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.svc-card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transition:
        transform 0.65s cubic-bezier(.22, 1, .36, 1),
        filter 0.65s ease;
    filter: brightness(0.55) saturate(0.9);
}

.svc-card:hover .svc-card-bg img {
    transform: scale(1);
    filter: none;
}

.svc-card-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        180deg,
        rgba(15, 20, 34, 0.1) 0%,
        rgba(15, 20, 34, 0.75) 100%
    );
    transition: background 0.5s ease;
}

.svc-card:hover .svc-card-overlay {
    background: linear-gradient(
        180deg,
        rgba(79, 70, 255, 0.08) 0%,
        rgba(15, 20, 34, 0.85) 100%
    );
}

.svc-card-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2em 1.8em;
    color: #ffffff;
}

.svc-card-num {
    position: absolute;
    top: 1.4em;
    left: 1.4em;
    font-size: 0.8em;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.45);
    transition: color 0.4s ease;
}

.svc-card:hover .svc-card-num {
    color: rgba(255, 255, 255, 0.8);
}

.svc-card-title {
    font-size: 1.5em;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 0.3em 0;
    line-height: 1.2;
    font-family: system-ui, -apple-system, BlinkMacSystemFont,
                 "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    transition: font-size 0.5s cubic-bezier(.22, 1, .36, 1);
}

.svc-card:hover .svc-card-title {
    font-size: 2em;
}

.svc-card-text {
    font-size: 0.95em;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.8);
    max-width: 28em;
    margin: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition:
        max-height 0.5s cubic-bezier(.22, 1, .36, 1),
        opacity 0.4s ease;
            font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont,
                 "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    font-weight: 400;
}

.svc-card:hover .svc-card-text {
    max-height: 8em;
    opacity: 1;
}

.svc-card-cta {
    display: inline-block;
    margin-top: 1em;
    font-size: 0.85em;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.6);
    transform: translateY(1em);
    opacity: 0;
    transition:
        transform 0.45s cubic-bezier(.22, 1, .36, 1) 0.08s,
        opacity 0.4s ease 0.08s,
        color 0.3s ease;
}

.svc-card:hover .svc-card-cta {
    transform: translateY(0);
    opacity: 1;
    color: #ffffff;
}

.svc-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    z-index: 1;
    background: radial-gradient(
        ellipse at 50% 100%,
        rgba(79, 70, 255, 0.2) 0%,
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.svc-card:hover::after {
    opacity: 1;
}

@media (max-width: 900px) {
    .services-cards-inner {
        flex-direction: column;
        height: auto;
    }

    .svc-card {
        height: 200px;
        flex: none !important;
    }

    .services-cards-inner:hover .svc-card:hover {
        height: 360px;
        flex: none !important;
    }

    .svc-card-title {
        font-size: 1.3em;
    }

    .svc-card:hover .svc-card-title {
        font-size: 1.6em;
    }
}

@media (max-width: 600px) {
    .services-cards {
        padding: 0 3vw 3em;
    }

    .svc-card {
        height: 160px;
        border-radius: 0.9em;
    }

    .services-cards-inner:hover .svc-card:hover {
        height: 300px;
    }
}

/* =========================
   NEWSLETTER
   ========================= */

.newsletter-section {
    margin-top: 0;
    margin-bottom: -6.1em;
    padding: 4em 6vw 4.5em;
    background: transparent;
}

.newsletter-inner {
    position: relative;
    max-width: 54em;
    margin: 0;
    padding: 3.2em 3em;
    border-radius: 1.4em;
    background: #0e1118;
    overflow: hidden;
    transform: translateY(-2.5em);
}

/* ══════════════════════════════════════
   ORBITAL RINGS
   ══════════════════════════════════════ */

.nl-orbital {
    position: absolute;
    top: 50%;
    right: -40px;
    width: 320px;
    height: 320px;
    transform: translateY(-50%);
    pointer-events: none;
}

.nl-orbit-ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.nl-orbit-slow {
    animation: nlOrbitSpin 20s linear infinite;
}

.nl-orbit-fast {
    animation: nlOrbitSpin 14s linear infinite reverse;
}

@keyframes nlOrbitSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* ══════════════════════════════════════
   CONTENT
   ══════════════════════════════════════ */

.nl-content {
    position: relative;
    z-index: 1;
    max-width: 24em;
}

.nl-label {
    display: block;
    font-size: 0.7em;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8b83ff;
    margin-bottom: 1em;
    font-family: system-ui, -apple-system, BlinkMacSystemFont,
                 "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.newsletter-title {
    font-size: clamp(1.8em, 3vw, 2.2em);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.12;
    color: #ffffff;
    margin-bottom: 0.5em;
    font-family: system-ui, -apple-system, BlinkMacSystemFont,
                 "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.newsletter-text {
    font-size: 0.92em;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 1.8em;
    line-height: 1.6;
    font-family: system-ui, -apple-system, BlinkMacSystemFont,
                 "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* =========================
   FORM
   ========================= */

.newsletter-form {
    display: flex;
    justify-content: flex-start;
    gap: 0.5em;
    flex-wrap: wrap;
}

.newsletter-input {
    flex: 1;
    min-width: 14em;
    padding: 0.75em 1em;
    font-size: 0.9em;
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5em;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    outline: none;
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;
    font-family: system-ui, -apple-system, BlinkMacSystemFont,
                 "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.newsletter-input:focus {
    border-color: #4f46ff;
    box-shadow: 0 0 0 3px rgba(79, 70, 255, 0.15);
}

/* Subscribe button inside newsletter */
.newsletter-form .btn-primary {
    padding: 0.75em 1.6em;
    border-radius: 0.5em;
    font-size: 0.88em;
    font-weight: 600;
    letter-spacing: 0.02em;
    background: #4f46ff;
    white-space: nowrap;
}

/* Hinweis */
.newsletter-hint {
    display: block;
    margin-top: 1.2em;
    font-size: 0.72em;
    color: rgba(255, 255, 255, 0.18);
}

/* =========================
   NEWSLETTER – CONSENT
   ========================= */

.newsletter-consent {
    margin-top: 0.8em;
    display: flex;
    align-items: flex-start;
    gap: 0.5em;
    font-size: 0.72em;
    color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    width: 100%;
}

.newsletter-consent input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.newsletter-consent span {
    line-height: 1.4;
}

/* Datenschutz Button */
.privacy-btn {
    background: none;
    border: none;
    padding: 0;
    font-size: inherit;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    transition: color 0.2s ease;
}

.privacy-btn:hover {
    color: #8b83ff;
}

/* =========================
   NEWSLETTER – CUSTOM CHECKBOX
   ========================= */

.custom-checkbox {
    width: 1em;
    height: 1em;
    position: relative;
    flex-shrink: 0;
    border-radius: 0.2em;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    display: grid;
    place-items: center;
    transition:
        border-color 0.25s ease,
        background 0.25s ease,
        transform 0.15s ease;
}

.newsletter-consent:hover .custom-checkbox {
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.08);
}

.custom-checkbox::after {
    content: "";
    position: absolute;
    width: 0.55em;
    height: 0.32em;
    border-left: 2px solid white;
    border-bottom: 2px solid white;
    top: 50%;
    left: 50%;
    transform:
        translate(-50%, -50%)
        rotate(-45deg)
        scale(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

.newsletter-consent input:checked + .custom-checkbox {
    background: #4f46ff;
    border-color: transparent;
}

.newsletter-consent input:checked + .custom-checkbox::after {
    transform:
        translate(-50%, -55%)
        rotate(-45deg)
        scale(1);
}

.newsletter-consent:active .custom-checkbox {
    transform: scale(0.92);
}

.consent-text {
    line-height: 1.4;
}


/* ═══════════════════════════════════════
   ERSTBERATUNG CTA (inside projects-section)
   ═══════════════════════════════════════ */

.cta-consult-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0;
    padding: 0 0 8em 6vw;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 0.8em;
}

.cta-consult-title {
    font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: clamp(2.2em, 4.5vw, 3.2em);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin: 0;
}

.cta-consult-text {
    font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.05em;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    max-width: 32em;
    margin: 0.3em 0 0 2.5em;
}

.cta-consult-btn {
    font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    text-decoration: none;
    margin: 0.5em 0 0 5em;
    font-size: 1em;
    padding: 0.85em 2.4em;
}


/* =========================
   PROJEKTE – BENTO GRID
   ========================= */

.projects-section {
    position: relative;
    margin-top: 3em;
    padding: 4em 0 4em;
    overflow: hidden;
    background: #070712;
}

.projects-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 40%, rgba(79, 70, 255, 0.1), transparent 60%),
        radial-gradient(ellipse at 70% 60%, rgba(192, 38, 255, 0.08), transparent 50%);
    pointer-events: none;
}

/* ── Projects Layout (Marquee + Bento) ── */

.projects-layout {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2em;
}

.projects-marquee {
    position: absolute;
    left: 2.5em;
    top: 0;
    bottom: 0;
    width: 2em;
    overflow: hidden;
    z-index: 2;
    mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent);
}

.projects-marquee-track {
    display: flex;
    flex-direction: column;
    animation: marquee-scroll 14s linear infinite;
}

.projects-marquee-set {
    display: flex;
    flex-direction: column;
    gap: 1.5em;
    padding: 0.75em 0;
}

.projects-marquee-track span {
    font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.6em;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.08);
    white-space: nowrap;
    writing-mode: vertical-lr;
    transform: rotate(180deg);
    transition: color 0.3s ease;
    cursor: default;
}

.projects-marquee-track span:hover {
    color: rgba(255, 255, 255, 0.5);
}

@keyframes marquee-scroll {
    0%   { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

/* ── Bento Grid ── */

.projects-bento {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.bento-card {
    position: relative;
    border-radius: 1em;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    display: block;
    transition: border-color 0.3s ease;
}

.bento-card:hover {
    border-color: rgba(255, 255, 255, 0.22);
}

/* ── Card backgrounds ── */

.bento-card-bg {
    position: absolute;
    inset: 0;
    transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-card:hover .bento-card-bg {
    transform: scale(1.05);
}

.bento-card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── Overlay ── */

.bento-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(7, 7, 18, 0.85) 100%);
    transition: opacity 0.4s ease;
}

/* ── Card info ── */

.bento-card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1em 1.2em;
    display: flex;
    flex-direction: column;
    gap: 2px;
    transform: translateY(4px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-card:hover .bento-card-info {
    transform: translateY(0);
}

.bento-card-name {
    font-family: system-ui, -apple-system, BlinkMacSystemFont,
                 "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 0.95em;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.3;
}

.bento-card-sub {
    font-size: 0.72em;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 400;
}

/* ── Grid positions ── */

.bento-c1 { grid-column: 1 / 8;   grid-row: 1 / 2;  height: 280px; }
.bento-c2 { grid-column: 8 / 13;  grid-row: 1 / 3;             }
.bento-c3 { grid-column: 1 / 5;   grid-row: 2 / 3;  height: 170px; }
.bento-c4 { grid-column: 5 / 8;   grid-row: 2 / 3;  height: 170px; }
.bento-c5 { grid-column: 1 / 6;   grid-row: 3 / 4;  height: 180px; }
.bento-c6 { grid-column: 6 / 9;   grid-row: 3 / 4;  height: 180px; }
.bento-c7 { grid-column: 9 / 13;  grid-row: 3 / 4;  height: 180px; }
.bento-c8 { grid-column: 1 / 4;   grid-row: 4 / 5;  height: 200px; }

/* ── Scroll reveal ── */

.bento-card {
    opacity: 0;
    transform: translateY(30px) scale(0.97);
    transition:
        opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.3s ease;
}

.bento-card.in-view {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.bento-card:nth-child(1) { transition-delay: 0s; }
.bento-card:nth-child(2) { transition-delay: 0.08s; }
.bento-card:nth-child(3) { transition-delay: 0.16s; }
.bento-card:nth-child(4) { transition-delay: 0.24s; }
.bento-card:nth-child(5) { transition-delay: 0.12s; }
.bento-card:nth-child(6) { transition-delay: 0.30s; }
.bento-card:nth-child(7) { transition-delay: 0.36s; }

.bento-card:not(.in-view) { transition-delay: 0s !important; }

/* ── More button ── */

.projects-more {
    position: relative;
    z-index: 2;
    margin-top: 2.5em;
    margin-bottom: 0;
    display: flex;
    justify-content: center;
}

.btn-secondary--light {
    color: rgba(255, 255, 255, 0.8) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    background: rgba(255, 255, 255, 0.05) !important;
}

.btn-secondary--light:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
    color: #fff !important;
}

/* ── Responsive ── */

@media (max-width: 900px) {
    .projects-section { padding: 3em 0 3em; }
    .bento-c1 { height: 180px; }
    .bento-c3, .bento-c4 { height: 150px; }
    .bento-c5, .bento-c6, .bento-c7 { height: 150px; }
    .bento-c8 { height: 140px; }
}

/* =========================
   HOLO PURPLE – HERO WORD
   ========================= */
   
/* ── Word Rotator: shared base ── */
.word-rotator {
    display: inline;
    white-space: nowrap;
    overflow: visible;
}

.word-rotator span {
    background: linear-gradient(
        100deg,
        #4f46ff,
        #6d5cff,
        #9f5bff,
        #c026ff,
        #6d5cff,
        #4f46ff
    );
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: holoPurpleClean 36s linear infinite;
}

@keyframes holoPurpleClean {
    from { background-position: 0% 50%; }
    to   { background-position: 300% 50%; }
}

/* ── Word Rotator: desktop per-letter morph (769px+) ── */
@media (min-width: 769px) {
    .word-rotator {
        display: inline-flex;
        padding-bottom: 0.08em;
    }

    .word-rotator span {
        display: inline-block;
        min-width: 0.6ch;
        padding-bottom: 0.15em;
        vertical-align: baseline;
        transition: transform 0.45s cubic-bezier(.22,1,.36,1);
    }

    .word-rotator span.morphing {
        transform: scaleX(0.65) skewX(-6deg);
        filter: blur(2.5px);
    }
}

/* =========================
   COPY TOAST – GLOBAL
   ========================= */

.copy-toast {
    position: fixed;
    bottom: 2em;
    right: 2em;

    background: #111827;
    color: #ffffff;
    padding: 0.6em 1.2em;
    border-radius: 0.6em;

    font-size: 0.9em;
    font-weight: 500;

    opacity: 0;
    transform: translateY(1em);
    pointer-events: none;

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;

    z-index: 9999;
}

.copy-toast.show {
    opacity: 1;
    transform: translateY(0);
}


/* =========================
   COOKIE CONSENT MODAL – NEU
   ========================= */

#cookie-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(15, 23, 42, 0);
    backdrop-filter: blur(0px);

    transition:
        background 0.4s ease,
        backdrop-filter 0.4s ease;
}

#cookie-overlay.visible {
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(8px);
}

#cookie-overlay.closing {
    background: rgba(15, 23, 42, 0);
    backdrop-filter: blur(0px);
}

/* Modal Box */
.cookie-modal {
    width: min(92vw, 28em);
    padding: 2.4em 2.2em 1.8em;

    background: #ffffff;
    border-radius: 1.6em;
    box-shadow:
        0 2em 5em rgba(15, 23, 42, 0.2),
        0 0.6em 1.6em rgba(15, 23, 42, 0.08);

    text-align: center;

    transform: translateY(1.5em) scale(0.96);
    opacity: 0;
    animation: cookieModalIn 0.45s cubic-bezier(.22, 1, .36, 1) 0.1s forwards;
}

#cookie-overlay.closing .cookie-modal {
    animation: cookieModalOut 0.3s ease forwards;
}

@keyframes cookieModalIn {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes cookieModalOut {
    to {
        opacity: 0;
        transform: translateY(1em) scale(0.97);
    }
}

/* Cookie Icon */
.cookie-icon {
    font-size: 2.4em;
    margin-bottom: 0.3em;
    line-height: 1;
}

/* Title */
.cookie-modal h3 {
    font-size: 1.4em;
    font-weight: 700;
    color: #111827;
    margin: 0 0 0.5em 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont,
                 "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Description */
.cookie-text {
    font-size: 0.92em;
    line-height: 1.65;
    color: #6b7280;
    margin-bottom: 1.6em;
    font-family: system-ui, -apple-system, BlinkMacSystemFont,
                 "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-weight: 400;
}

/* Button Group */
.cookie-actions {
    display: flex;
    flex-direction: column;
    gap: 0.55em;
    margin-bottom: 1.4em;
}

/* Buttons – Base */
.cookie-btn {
    padding: 0.72em 1.2em;
    border-radius: 0.75em;
    border: none;
    width: 100%;

    font-size: 0.92em;
    font-weight: 600;
    letter-spacing: 0.01em;
    cursor: pointer;
    font-family: system-ui, -apple-system, BlinkMacSystemFont,
                 "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

/* Primary – Gradient */
.cookie-btn.primary {
    background: linear-gradient(135deg, #4f46ff, #c026ff);
    color: #ffffff;
    box-shadow: 0 0.4em 1.4em rgba(79, 70, 255, 0.3);
}

.cookie-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.7em 2em rgba(79, 70, 255, 0.4);
}

/* Secondary */
.cookie-btn.secondary {
    background: #f3f4f6;
    color: #111827;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.cookie-btn.secondary:hover {
    background: #e5e7eb;
    transform: translateY(-1px);
    box-shadow: 0 0.4em 1em rgba(15, 23, 42, 0.08);
}

/* Ghost */
.cookie-btn.ghost {
    background: transparent;
    color: #6b7280;
    font-weight: 500;
}

.cookie-btn.ghost:hover {
    color: #111827;
    background: rgba(15, 23, 42, 0.03);
}

/* Active */
.cookie-btn:active {
    transform: scale(0.97) !important;
}

/* Footer Links */
.cookie-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;

    font-size: 0.78em;
    color: #9ca3af;
}

.cookie-links button {
    background: none;
    border: none;
    padding: 0;

    font: inherit;
    color: inherit;
    cursor: pointer;
    transition: color 0.2s ease;
}

.cookie-links button:hover {
    color: #4b5563;
    text-decoration: underline;
}

.cookie-links span {
    font-size: 1.2em;
    line-height: 1;
    color: #d1d5db;
}

/* =========================
   COOKIE SETTINGS VIEW
   ========================= */

.cookie-modal--settings {
    text-align: left;
}

.cookie-modal--settings h3,
.cookie-modal--settings .cookie-text {
    text-align: center;
}

.cookie-settings-list {
    margin-bottom: 1.2em;
}

.cookie-setting {
    border-top: 1px solid rgba(15, 23, 42, 0.07);
    padding: 0.9em 0;
}

.cookie-setting:last-child {
    border-bottom: 1px solid rgba(15, 23, 42, 0.07);
}

.setting-row {
    display: grid;
    grid-template-columns: 1.6em 1fr auto;
    align-items: center;
    column-gap: 0.7em;
}

.setting-expand {
    background: none;
    border: none;
    font-size: 1.1em;
    cursor: pointer;
    color: #9ca3af;
    padding: 0;
    transform: rotate(0deg);
    transition: transform 0.25s ease, color 0.2s ease;
}

.setting-expand:hover {
    color: #4b5563;
}

.setting-expand.open {
    transform: rotate(90deg);
}

.cookie-setting strong {
    font-family: system-ui, -apple-system, BlinkMacSystemFont,
                 "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 0.9em;
    font-weight: 600;
    color: #111827;
    letter-spacing: 0.01em;
}

.setting-fixed {
    font-size: 0.78em;
    font-weight: 600;
    color: #16a34a;
    background: rgba(22, 163, 74, 0.08);
    padding: 0.25em 0.7em;
    border-radius: 999px;
    letter-spacing: 0.02em;
}

/* Toggle */
.setting-toggle {
    width: 2.6em;
    height: 1.4em;
    border-radius: 999px;
    background: #d1d5db;
    position: relative;
    cursor: pointer;
    border: none;
    justify-self: end;
    transition: background-color 0.35s cubic-bezier(.22, 1, .36, 1);
}

.setting-toggle::after {
    content: "";
    position: absolute;
    top: 0.17em;
    left: 0.17em;
    width: 1.06em;
    height: 1.06em;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0.15em 0.5em rgba(15, 23, 42, 0.2);
    transition:
        transform 0.35s cubic-bezier(.22, 1, .36, 1),
        box-shadow 0.25s ease;
}

.setting-toggle.on {
    background: linear-gradient(135deg, #4f46ff, #c026ff);
}

.setting-toggle.on::after {
    transform: translateX(1.2em);
    box-shadow: 0 0.3em 0.8em rgba(79, 70, 255, 0.3);
}

.setting-toggle:hover::after {
    box-shadow: 0 0.4em 1em rgba(15, 23, 42, 0.25);
}

.setting-toggle:active::after {
    transform: scaleX(1.15) translateX(var(--toggle-x, 0));
}

/* Details */
.setting-details {
    margin-top: 0.6em;
    padding-left: 2.3em;
}

.setting-details p {
    font-family: system-ui, -apple-system, BlinkMacSystemFont,
                 "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 0.82em;
    line-height: 1.6;
    color: #6b7280;
    margin: 0;
}


/* ==========================================================
   PROCESS SCROLL SECTION – FIXED APPROACH
   ==========================================================*/

.process-scroll {
    position: relative;
}

.process-pinned {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-pinned.is-fixed {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 50;
}

.process-pinned.is-bottom {
    position: absolute;
    top: auto;
    bottom: 0;
    left: 0;
    z-index: 50;
}

.process-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(
        135deg,
        rgba(79, 70, 255, 0.05),
        rgba(192, 38, 255, 0.05)
    );
    opacity: 1;
}

.process-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1300px;
    padding: 0 6vw;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 6vw;
}

/* ---------- LEFT ---------- */

.process-left {
    position: relative;
    transform: translateX(-3vw);
}

.process-section-title {
    font-size: clamp(2.2em, 4vw, 3.2em);
    font-weight: 700;
    letter-spacing: -0.025em;
    color: #0e1422;
    margin-bottom: 3.5em;
    line-height: 1.1;
    font-family: system-ui, -apple-system, BlinkMacSystemFont,
                 "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.process-section-title span {
    background: linear-gradient(
        100deg, #4f46ff, #6d5cff, #9f5bff, #c026ff, #6d5cff, #4f46ff
    );
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: holoPurpleClean 36s linear infinite;
}

.process-step-counter {
    position: absolute;
    top: 3.8em;
    left: -0.05em;
    font-size: clamp(6em, 10vw, 9em);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(79, 70, 255, 0.12);
    transition: all 0.5s cubic-bezier(.22, 1, .36, 1);
    pointer-events: none;
    user-select: none;
}

.process-step-counter.active {
    -webkit-text-stroke: 1.5px rgba(79, 70, 255, 0.25);
}

/* ---------- CARD STACK ---------- */

.process-cards {
    position: relative;
    min-height: 14em;
    margin-top: 1em;
    transform: translateX(-2vw);
}

.process-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2.4em 2.6em;
    border-radius: 1.2em;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.07);
    box-shadow:
        0 1.2em 3em rgba(15, 23, 42, 0.06),
        0 0.3em 0.8em rgba(15, 23, 42, 0.04);

    opacity: 0;
    transform: translateY(3em) scale(0.96);
    transition:
        opacity 0.55s cubic-bezier(.22, 1, .36, 1),
        transform 0.55s cubic-bezier(.22, 1, .36, 1),
        box-shadow 0.4s ease;
    pointer-events: none;
}

.process-card.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    box-shadow:
        0 2em 4.5em rgba(79, 70, 255, 0.08),
        0 0.4em 1.2em rgba(15, 23, 42, 0.06);
}

.process-card.exiting {
    opacity: 0;
    transform: translateY(-2.5em) scale(0.97);
}

.process-card.below {
    opacity: 0;
    transform: translateY(3em) scale(0.96);
}

.process-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 1.8em;
    right: 1.8em;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: linear-gradient(90deg, #4f46ff, #c026ff);
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: all 0.6s cubic-bezier(.22, 1, .36, 1);
}

.process-card.active::before {
    opacity: 1;
    transform: scaleX(1);
}

.pcard-header {
    display: flex;
    align-items: center;
    gap: 1em;
    margin-bottom: 1em;
}

.pcard-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.6em;
    height: 2.6em;
    border-radius: 0.7em;
    background: linear-gradient(135deg, #4f46ff, #c026ff);
    color: #ffffff;
    font-size: 0.85em;
    font-weight: 700;
    letter-spacing: 0.04em;
    flex-shrink: 0;
    box-shadow: 0 0.4em 1.2em rgba(79, 70, 255, 0.3);
}

.pcard-title {
    font-size: 1.6em;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: #0e1422;

    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont,
                 "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.pcard-text {
    font-size: 1.05em;
    line-height: 1.7;
    color: #4b5563;
    max-width: 30em;
  font-weight: 400;
        font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont,
                 "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- RIGHT – IMAGE ---------- */

.process-right {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-img-wrap {
    position: relative;
    width: 100%;
    max-width: 480px;
    aspect-ratio: 4 / 5;
    border-radius: 1.4em;
    overflow: hidden;
    box-shadow:
        0 2.5em 5em rgba(15, 23, 42, 0.1),
        0 0.6em 1.6em rgba(15, 23, 42, 0.06);
}

.process-img-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 50%,
        rgba(15, 23, 42, 0.2) 100%
    );
    pointer-events: none;
    z-index: 1;
}

.process-img-slot {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.08);
    transition:
        opacity 0.65s cubic-bezier(.22, 1, .36, 1),
        transform 0.65s cubic-bezier(.22, 1, .36, 1);
}

.process-img-slot.active {
    opacity: 1;
    transform: scale(1);
}

.process-img-slot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.process-img-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background: linear-gradient(
        135deg,
        rgba(79, 70, 255, 0.06),
        rgba(192, 38, 255, 0.06)
    );
}

.process-img-icon {
    font-size: 3em;
    display: block;
    margin-bottom: 0.3em;
    opacity: 0.5;
}

.process-img-label {
    position: absolute;
    bottom: 1.4em;
    left: 50%;
    transform: translateX(-50%);

    font-size: 1em;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;

    color: #ffffff;
    z-index: 2;

    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.6),
        0 6px 16px rgba(0, 0, 0, 0.45);
}


/* ---------- VERTICAL TRAIL ---------- */

.process-trail-v {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) translateX(1vw);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 5;
}

.ptrail-line {
    width: 2px;
    height: 5em;
    background: rgba(15, 23, 42, 0.08);
    position: relative;
    overflow: hidden;
}

.ptrail-line::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, #4f46ff, #c026ff);
    transition: height 0.5s cubic-bezier(.22, 1, .36, 1);
}

.ptrail-line.filled::after {
    height: 100%;
}

.ptrail-line.partial::after {
    height: var(--line-progress, 0%);
}

.ptrail-dot {
    width: 0.85em;
    height: 0.85em;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.1);
    border: 2px solid rgba(15, 23, 42, 0.1);
    transition:
        background 0.4s ease,
        border-color 0.4s ease,
        transform 0.4s cubic-bezier(.22, 1, .36, 1),
        box-shadow 0.4s ease;
    cursor: pointer;
    position: relative;
    z-index: 2;
}

.ptrail-dot.active {
    background: linear-gradient(135deg, #4f46ff, #c026ff);
    border-color: transparent;
    transform: scale(1.35);
    box-shadow:
        0 0 0 4px rgba(79, 70, 255, 0.15),
        0 0.3em 1em rgba(79, 70, 255, 0.25);
}

.ptrail-dot.passed {
    background: linear-gradient(135deg, #4f46ff, #c026ff);
    border-color: transparent;
}

.ptrail-dot:hover:not(.active) {
    transform: scale(1.2);
    border-color: rgba(79, 70, 255, 0.3);
}

/* ---------- BOTTOM INDICATOR ---------- */

.process-indicator {
    position: absolute;
    bottom: 2.5em;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.6em;
    font-size: 0.85em;
    color: #94a3b8;
    font-weight: 500;
    letter-spacing: 0.06em;
    z-index: 5;
}

.process-indicator-current {
    font-weight: 700;
    font-size: 1.1em;
    background: linear-gradient(135deg, #4f46ff, #c026ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ---------- SCROLL HINT ---------- */

.process-scroll-hint {
    position: absolute;
    bottom: 1.5em;
    right: 6vw;
    display: flex;
    align-items: center;
    gap: 0.5em;
    font-size: 0.85em;
    color: #94a3b8;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 500;
    animation: processHintPulse 2.5s ease-in-out infinite;
    z-index: 5;
    transition: opacity 0.4s ease;
}

.process-scroll-hint-arrow {
    display: inline-block;
    animation: processHintBounce 2.5s ease-in-out infinite;
}

@keyframes processHintPulse {
    0%, 100% { opacity: 0.4; }
    50%      { opacity: 0.8; }
}

@keyframes processHintBounce {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(6px); }
}

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(
        180deg,
        rgba(79, 70, 255, 0.35),
        rgba(192, 38, 255, 0.35)
    );
    border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(
        180deg,
        rgba(79, 70, 255, 0.6),
        rgba(192, 38, 255, 0.6)
    );
}

/* ==========================================================
   TESTIMONIALS SLIDER
   ========================================================== */


.testimonials-section {
    margin-top: 6em;
    padding: 5em 6vw 4em;
    background: linear-gradient(
        135deg,
        rgba(17, 24, 39, 0.025),
        rgba(17, 24, 39, 0.05)
    );
    overflow: hidden;
}

.testimonials-inner {
    max-width: 1300px;
    margin: 0 auto;
}

.testimonials-title {
    text-align: center;
    font-size: clamp(2em, 3.5vw, 2.8em);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0e1422;
    margin-bottom: 2.2em;
    font-family: system-ui, -apple-system, BlinkMacSystemFont,
                 "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.testimonials-accent {
    color: #0e1422;
}


/* ---------- SLIDER ---------- */

.testimonials-slider {
    position: relative;
    overflow: hidden;
    border-radius: 1.4em;
    cursor: grab;
}

.testimonials-slider:active {
    cursor: grabbing;
}

.testimonials-track {
    display: flex;
    gap: 1.6em;
    transition: transform 0.55s cubic-bezier(.22, 1, .36, 1);
    will-change: transform;
    padding: 0.5em 0;
}

.testimonials-track.dragging {
    transition: none;
}

/* ---------- CARD ---------- */

.testimonial-card {
    flex: 0 0 calc(33.333% - 1.07em);
    min-width: 0;
    padding: 2.4em 2.2em 2em;
    border-radius: 1.4em;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow:
        0 0.8em 2.4em rgba(15, 23, 42, 0.04),
        0 0.2em 0.6em rgba(15, 23, 42, 0.03);
    transition:
        transform 0.35s cubic-bezier(.22, 1, .36, 1),
        box-shadow 0.35s ease;
    user-select: none;
}

.testimonial-card:hover {
    transform: translateY(-0.4em);
    box-shadow:
        0 1.5em 3.5em rgba(79, 70, 255, 0.08),
        0 0.4em 1em rgba(15, 23, 42, 0.05);
}

/* Stars */
.testimonial-stars {
    font-size: 1.1em;
    letter-spacing: 0.08em;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1em;
}

/* Text */
.testimonial-text {
    font-size: 1em;
    line-height: 1.75;
    color: #374151;
    margin-bottom: 1.6em;
    font-family: "Space Grotesk", system-ui, -apple-system,
                 BlinkMacSystemFont, "Segoe UI", Roboto,
                 Helvetica, Arial, sans-serif;
    font-weight: 400;
}

/* Author */
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.8em;
}

.testimonial-avatar {
    width: 2.6em;
    height: 2.6em;
    border-radius: 50%;
    background: linear-gradient(135deg, #4f46ff, #c026ff);
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 800;
    font-size: 0.95em;
    font-family: "Inter", system-ui, sans-serif;
    flex-shrink: 0;
}

.testimonial-name {
    display: block;
    font-weight: 700;
    font-size: 0.92em;
    color: #111827;
    font-family: "Inter", system-ui, sans-serif;
}

.testimonial-role {
    display: block;
    font-size: 0.78em;
    color: #6b7280;
    font-weight: 500;
    font-family: "Space Grotesk", system-ui, sans-serif;
}

/* ---------- CONTROLS ---------- */

.testimonials-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.4em;
    margin-top: 2.4em;
}

.testimonial-arrow {
    width: 2.8em;
    height: 2.8em;
    border-radius: 50%;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: #ffffff;
    display: grid;
    place-items: center;
    cursor: pointer;
    color: #374151;
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease;
}

.testimonial-arrow svg {
    width: 1.1em;
    height: 1.1em;
}

.testimonial-arrow:hover {
    background: linear-gradient(135deg, #4f46ff, #c026ff);
    border-color: transparent;
    color: #ffffff;
    transform: scale(1.08);
    box-shadow: 0 0.4em 1.2em rgba(79, 70, 255, 0.3);
}

.testimonial-arrow:active {
    transform: scale(0.94);
}

/* Dots */
.testimonials-dots {
    display: flex;
    gap: 0.5em;
}

.testimonial-dot {
    width: 0.55em;
    height: 0.55em;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.15);
    border: none;
    padding: 0;
    cursor: pointer;
    transition:
        background 0.3s ease,
        width 0.35s cubic-bezier(.22, 1, .36, 1),
        box-shadow 0.3s ease;
}

.testimonial-dot.active {
    width: 1.8em;
    background: linear-gradient(135deg, #4f46ff, #c026ff);
    box-shadow: 0 0.15em 0.6em rgba(79, 70, 255, 0.3);
}

.testimonial-dot:hover:not(.active) {
    background: rgba(79, 70, 255, 0.35);
}

/* ═══════════════════════════════════
   (Old pslide styles removed – now using bento grid)
   ═══════════════════════════════════ */

/* ---------- RESPONSIVE ---------- */

@media (max-width: 1024px) {
    .testimonial-card {
        flex: 0 0 calc(50% - 0.8em);
    }
}

@media (max-width: 640px) {
    .testimonials-section {
        padding: 4em 4vw 3em;
    }

    .testimonial-card {
        flex: 0 0 100%;
    }

    .testimonial-card:hover {
        transform: none;
    }
}