/* DSGVO-freundliche Systemschrift-Variante ohne externe Font-CDNs */
:root {
    --blue: #0060aa;
    --blue-bright: #0080e0;
    --warm: #3d3b3a;
    --black: #0a0908;
    --surface: #111010;
    --surface2: #1a1918;
    --border: rgba(255,255,255,0.07);
    --text: #f0ede8;
    --text-muted: #9a948f;
    --text-dim: #7b756f;
    --font-display: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-body: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  html {
    scroll-behavior: smooth;
    font-size: 16px;
  }

  body {
    background: var(--black);
    color: var(--text);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
  }

  /* Custom Cursor */
  #cursor {
    position: fixed;
    width: 8px; height: 8px;
    background: var(--blue);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background 0.2s;
  }
  #cursor-ring {
    position: fixed;
    width: 36px; height: 36px;
    border: 1px solid rgba(0, 96, 170, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: transform 0.12s var(--ease-out), width 0.3s, height 0.3s, border-color 0.3s;
  }
  body:hover #cursor { opacity: 1; }
  .hoverable:hover ~ #cursor,
  body.hovering #cursor {
    width: 14px; height: 14px;
    background: var(--blue-bright);
  }

  /* Selection */
  ::selection { background: var(--blue); color: #fff; }

  /* Scrollbar */
  ::-webkit-scrollbar { width: 3px; }
  ::-webkit-scrollbar-track { background: var(--black); }
  ::-webkit-scrollbar-thumb { background: var(--blue); }

  /* NAV */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 22px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    transition: padding 0.4s var(--ease-out), background 0.4s;
  }
  nav.scrolled {
    padding: 14px 40px;
    background: rgba(10,9,8,0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
  }

  .nav-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 1;
  }
  .nav-logo img {
    display: block;
    width: 140px;
    height: auto;
    max-width: 100%;
    object-fit: contain;
  }

  .nav-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border: 1px solid var(--border);
    background: rgba(17,16,16,0.92);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
  }
  .nav-toggle span {
    display: block;
    width: 18px;
    height: 1.5px;
    background: var(--text);
    transition: transform 0.25s ease, opacity 0.25s ease;
  }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  .nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
  }
  .nav-links a {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
    cursor: none;
  }
  .nav-links a:hover { color: var(--text); }

  .nav-cta {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--black);
    background: var(--blue);
    padding: 11px 24px;
    text-decoration: none;
    cursor: none;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s var(--ease-out);
  }
  .nav-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--blue-bright);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out);
  }
  .nav-cta:hover::before { transform: scaleX(1); }
  .nav-cta span { position: relative; z-index: 1; color: #fff; }
  body.menu-open .nav-cta { opacity: 0; pointer-events: none; visibility: hidden; }

  /* HERO */
  #hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 140px 60px 80px;
    position: relative;
    overflow: hidden;
  }

  .hero-bg {
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse 60% 80% at 80% 50%, rgba(0,96,170,0.08) 0%, transparent 70%),
      radial-gradient(ellipse 40% 40% at 20% 80%, rgba(61,59,58,0.15) 0%, transparent 60%);
  }

  .hero-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
  }

  .hero-content { position: relative; z-index: 2; }

  .hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 32px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s var(--ease-out) 0.2s forwards;
  }
  .hero-eyebrow::before {
    content: '';
    width: 28px; height: 1px;
    background: var(--blue);
  }

  .hero-title {
    font-family: var(--font-display);
    font-size: clamp(3.2rem, 6vw, 6rem);
    font-weight: 800;
    line-height: 1.0;
    letter-spacing: -0.045em;
    color: var(--text);
    margin-bottom: 28px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.9s var(--ease-out) 0.4s forwards;
  }
  .hero-title .accent { color: var(--blue); }
  .hero-title .stroke {
    -webkit-text-stroke: 1.5px rgba(240,237,232,0.25);
    color: transparent;
  }

  .hero-sub {
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--text-muted);
    max-width: 440px;
    line-height: 1.7;
    margin-bottom: 48px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s var(--ease-out) 0.6s forwards;
  }

  .hero-actions {
    display: flex;
    gap: 20px;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s var(--ease-out) 0.8s forwards;
  }

  .btn-primary {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    background: var(--blue);
    padding: 16px 36px;
    text-decoration: none;
    cursor: none;
    position: relative;
    overflow: hidden;
    display: inline-block;
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
  }
  .btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.1);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out);
  }
  .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 60px rgba(0,96,170,0.3); }
  .btn-primary:hover::after { transform: scaleX(1); }

  .btn-ghost {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-muted);
    text-decoration: none;
    cursor: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s, gap 0.3s;
  }
  .btn-ghost::after { content: '→'; transition: transform 0.3s; }
  .btn-ghost:hover { color: var(--text); gap: 14px; }

  /* Hero Visual */
  .hero-visual {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 580px;
    opacity: 0;
    animation: fadeIn 1.2s var(--ease-out) 0.5s forwards;
  }

  .orb-container {
    position: relative;
    width: 380px;
    height: 380px;
  }

  .orb {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%,
      rgba(0,128,224,0.25) 0%,
      rgba(0,96,170,0.12) 40%,
      transparent 70%);
    border: 1px solid rgba(0,96,170,0.2);
    animation: orbPulse 6s ease-in-out infinite;
  }
  .orb::before {
    content: '';
    position: absolute;
    inset: 20px;
    border-radius: 50%;
    border: 1px solid rgba(0,96,170,0.12);
    animation: orbRotate 12s linear infinite;
  }
  .orb::after {
    content: '';
    position: absolute;
    inset: 50px;
    border-radius: 50%;
    border: 1px solid rgba(0,96,170,0.08);
    animation: orbRotate 20s linear infinite reverse;
  }

  .orb-inner {
    position: absolute;
    inset: 80px;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 40%, rgba(0,96,170,0.4), rgba(0,40,80,0.6));
    box-shadow:
      0 0 80px rgba(0,96,170,0.2),
      inset 0 0 40px rgba(0,128,224,0.15);
    animation: orbPulse 4s ease-in-out infinite alternate;
  }

  .orb-dots {
    position: absolute;
    inset: -20px;
    animation: orbRotate 15s linear infinite;
  }
  .orb-dot {
    position: absolute;
    width: 4px; height: 4px;
    background: var(--blue);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--blue);
  }
  .orb-dot:nth-child(1) { top: 10%; left: 50%; }
  .orb-dot:nth-child(2) { top: 50%; right: 5%; }
  .orb-dot:nth-child(3) { bottom: 15%; left: 20%; }

  .floating-cards {
    position: absolute;
    inset: -40px;
  }
  .float-card {
    position: absolute;
    background: rgba(26,25,24,0.9);
    border: 1px solid var(--border);
    backdrop-filter: blur(20px);
    padding: 14px 18px;
    font-size: 0.75rem;
  }
  .float-card:nth-child(1) {
    top: 5%; right: -10%;
    animation: floatY 5s ease-in-out infinite;
  }
  .float-card:nth-child(2) {
    bottom: 10%; left: -8%;
    animation: floatY 7s ease-in-out infinite reverse;
  }
  .float-card-label {
  color: rgba(255,255,255,0.66);
  letter-spacing: 0.05em;
}
  .float-card-value {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.1rem, 1.35vw, 1.45rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--blue);
  max-width: 180px;
}

  /* Stats bar */
  .hero-stats {
    position: absolute;
    bottom: 60px; left: 60px;
    display: flex;
    gap: 60px;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out) 1.1s forwards;
  }
  .stat-item {}
  .stat-num {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.03em;
    line-height: 1;
  }
  .stat-num span { color: var(--blue); }
  .stat-label {
    font-size: 0.75rem;
    color: var(--text-dim);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 4px;
  }

  /* SECTION COMMONS */
  section { padding: 120px 60px; }

  .section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 24px;
  }
  .section-label::before {
    content: '';
    width: 20px; height: 1px;
    background: var(--blue);
  }

  .section-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4vw, 3.8rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--text);
    margin-bottom: 20px;
  }

  .section-sub {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
    max-width: 520px;
    line-height: 1.7;
  }

  /* Reveal animation */
  .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
  .reveal-delay-4 { transition-delay: 0.4s; }
  .reveal-delay-5 { transition-delay: 0.5s; }

  /* SERVICES */
  #services {
    background: var(--surface);
    position: relative;
  }
  #services::before {
    content: '';
    position: absolute;
    top: 0; left: 60px; right: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
  }

  .services-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: end;
    margin-bottom: 80px;
  }

  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
  }

  .service-card {
    background: var(--surface);
    padding: 48px 40px;
    position: relative;
    overflow: hidden;
    cursor: none;
    transition: background 0.4s;
  }
  .service-card::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 2px;
    background: var(--blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease-out);
  }
  .service-card:hover { background: var(--surface2); }
  .service-card:hover::before { transform: scaleX(1); }

  .service-number {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--text-dim);
    margin-bottom: 32px;
  }

  .service-icon {
    width: 44px; height: 44px;
    margin-bottom: 28px;
    color: var(--blue);
  }

  .service-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 14px;
    letter-spacing: -0.02em;
  }

  .service-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 28px;
  }

  .service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .service-tag {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-dim);
    border: 1px solid var(--border);
    padding: 5px 12px;
  }

  /* PORTFOLIO */
  #portfolio { background: var(--black); }

  .portfolio-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
  }

  .portfolio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    background: var(--border);
  }

  .portfolio-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
    cursor: none;
    background: var(--surface);
  }
  .portfolio-item.large { grid-column: span 2; aspect-ratio: 21/9; }

  .portfolio-img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out);
  }

  .portfolio-visual {
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.8s var(--ease-out);
  }

  .portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,9,8,0.95) 0%, rgba(10,9,8,0.3) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.5s;
    display: flex;
    align-items: flex-end;
    padding: 40px;
  }

  .portfolio-item:hover .portfolio-overlay { opacity: 1; }
  .portfolio-item:hover .portfolio-visual { transform: scale(1.04); }

  .portfolio-info {}
  .portfolio-cat {
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 8px;
  }
  .portfolio-name {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
    margin-bottom: 12px;
  }
  .portfolio-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: none;
    cursor: none;
    transition: gap 0.3s, color 0.3s;
  }
  .portfolio-link:hover { color: var(--blue); gap: 14px; }

  /* Mock visuals for portfolio */
  .mock-dashboard {
    width: 80%; height: 75%;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 16px;
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 12px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.5);
  }
  .mock-topbar {
    height: 28px;
    background: var(--surface);
    border-radius: 4px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    gap: 6px;
  }
  .mock-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--text-dim); }
  .mock-dot:first-child { background: #ff6060; }
  .mock-dot:nth-child(2) { background: #ffc060; }
  .mock-body { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .mock-card { background: var(--surface); border-radius: 4px; padding: 10px; }
  .mock-shot {
    padding: 0;
    overflow: hidden;
    min-height: 190px;
    border: 1px solid rgba(255,255,255,0.04);
    background: rgba(0,96,170,0.08);
  }
  .mock-shot img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
  }
  .mock-bar-wrap {
    grid-column: span 3;
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 72px;
  }
  .mock-bar {
    flex: 1;
    background: var(--blue);
    border-radius: 2px 2px 0 0;
    opacity: 0.55;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 5px;
    overflow: hidden;
  }
  .mock-bar span {
    display: block;
    font-size: 0.9rem;
    line-height: 1.15;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: rgba(255,255,255,0.88);
    text-align: center;
    white-space: normal;
    max-width: 100%;
  }
  .mock-bar:nth-child(1) { height: 52%; }
  .mock-bar:nth-child(2) { height: 84%; opacity: 0.88; }
  .mock-bar:nth-child(3) { height: 48%; }
  .mock-bar:nth-child(4) { height: 74%; opacity: 0.72; }
  .mock-bar:nth-child(5) { height: 54%; }
  .mock-bar:nth-child(6) { height: 80%; opacity: 0.8; }
  .mock-bar:nth-child(7) { height: 40%; }
  .mock-bar:nth-child(8) { height: 68%; opacity: 0.64; }

  .mock-ecom {
    width: 65%; height: 80%;
    background: #f5f3f0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0,0,0,0.5);
    display: grid;
    grid-template-rows: 40px 1fr;
  }
  .mock-nav { background: #1a1918; display: flex; align-items: center; padding: 0 16px; gap: 8px; }
  .mock-nav-dot { width: 20px; height: 3px; background: rgba(255,255,255,0.3); border-radius: 2px; }
  .mock-nav-dot.active { background: var(--blue); width: 30px; }
  .mock-hero { display: grid; grid-template-columns: 1fr 1fr; }
  .mock-hero--full { display: block; width: 100%; height: 100%; }
  .mock-hero-fullimg { width: 100%; height: 100%; object-fit: cover; display: block; }
  .mock-hero-text { padding: 20px; background: #f5f3f0; }
  .mock-line { height: 6px; background: #e0ddd8; border-radius: 3px; margin-bottom: 8px; }
  .mock-line.title { width: 70%; height: 10px; background: #3d3b3a; }
  .mock-line.accent { width: 40%; background: var(--blue); }
  .mock-line.btn { width: 50%; height: 24px; background: var(--blue); border-radius: 2px; margin-top: 12px; }
  .mock-hero-img { background: linear-gradient(135deg, #d4d0cb, #c4c0bb); }

  .mock-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px;
  }
  .mock-logo-big {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    color: rgba(0,96,170,0.3);
    letter-spacing: -0.05em;
  }
  .mock-palette { display: flex; gap: 8px; }
  .mock-swatch { width: 32px; height: 32px; border-radius: 50%; }

  /* ABOUT */
  #about {
    background: var(--surface);
    position: relative;
  }

  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
  }

  .about-visual {
    position: relative;
    height: 500px;
  }

  .about-img-block {
    position: absolute;
    border: 1px solid var(--border);
    background: var(--surface2);
    overflow: hidden;
  }
  .about-img-block:nth-child(1) {
    top: 0; left: 0;
    width: 65%; height: 70%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .about-img-block:nth-child(2) {
    bottom: 0; right: 0;
    width: 55%; height: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,96,170,0.08);
  }

  .about-big-number {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 10vw, 5rem);
    font-weight: 800;
    color: rgba(0,96,170,0.15);
    letter-spacing: -0.05em;
  }
  .about-year {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--blue);
    letter-spacing: 0.1em;
  }

  .about-content {}
  .about-manifesto {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.4;
    letter-spacing: -0.02em;
    margin-bottom: 32px;
    padding-left: 20px;
    border-left: 2px solid var(--blue);
  }

  .about-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 20px;
  }

  .about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
  }
  .value-item {
    padding: 20px 24px;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
  }
  .value-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 2px; height: 0;
    background: var(--blue);
    transition: height 0.4s var(--ease-out);
  }
  .value-item:hover::before { height: 100%; }
  .value-title {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
  }
  .value-desc { font-size: 0.8rem; color: var(--text-muted); line-height: 1.6; }

  /* PROCESS */
  #process { background: var(--black); }

  .process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    margin-top: 80px;
    position: relative;
  }
  .process-grid::before {
    content: '';
    position: absolute;
    top: 28px; left: 10%;
    width: 80%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--blue), var(--blue), transparent);
    opacity: 0.3;
  }

  .process-step {
    padding: 0 20px;
    text-align: center;
    position: relative;
  }
  .step-num {
    width: 56px; height: 56px;
    border: 1px solid rgba(0,96,170,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--blue);
    background: var(--black);
    position: relative;
    z-index: 1;
    transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
  }
  .process-step:hover .step-num {
    border-color: var(--blue);
    background: rgba(0,96,170,0.1);
    box-shadow: 0 0 30px rgba(0,96,170,0.2);
  }
  .step-title {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
  }
  .step-desc { font-size: 0.78rem; color: var(--text-muted); line-height: 1.6; }

  /* TESTIMONIALS */
  #testimonials {
    background: var(--surface);
    position: relative;
    overflow: hidden;
  }
  #testimonials::before {
    content: '"';
    position: absolute;
    font-family: var(--font-display);
    font-size: 40rem;
    font-weight: 800;
    color: rgba(0,96,170,0.03);
    top: -10%; right: -5%;
    line-height: 1;
    pointer-events: none;
  }

  .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
  }

  .testimonial-card {
    background: var(--surface2);
    border: 1px solid var(--border);
    padding: 40px;
    position: relative;
    transition: border-color 0.4s, transform 0.4s var(--ease-out);
    cursor: none;
  }
  .testimonial-card:hover {
    border-color: rgba(0,96,170,0.3);
    transform: translateY(-4px);
  }

  .testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 24px;
  }
  .star { width: 12px; height: 12px; fill: var(--blue); }

  .testimonial-quote {
    font-size: 0.92rem;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 32px;
    font-style: italic;
  }

  .testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .author-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.85rem;
    color: #fff;
    flex-shrink: 0;
  }
  .author-name {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text);
  }
  .author-role { font-size: 0.75rem; color: var(--text-dim); }

  /* CTA */
  #cta {
    background: var(--black);
    text-align: center;
    padding: 140px 60px;
    position: relative;
    overflow: hidden;
  }
  #cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(0,96,170,0.08) 0%, transparent 70%);
  }

  .cta-content { position: relative; z-index: 1; }
  .cta-title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 5vw, 5.5rem);
    font-weight: 800;
    line-height: 1.0;
    letter-spacing: -0.04em;
    color: var(--text);
    margin-bottom: 24px;
  }
  .cta-title span { color: var(--blue); }
  .cta-sub {
    font-size: 1rem;
    font-weight: 300;
    color: var(--text-muted);
    max-width: 480px;
    margin: 0 auto 48px;
    line-height: 1.7;
  }
  .cta-actions { display: flex; gap: 20px; justify-content: center; align-items: center; }
  .cta-small { font-size: 0.8rem; color: var(--text-dim); margin-top: 24px; }

  /* FOOTER */
  footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 60px;
  }

  .footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 40px;
  }

  .footer-brand .nav-logo {
    display: inline-flex;
    margin-bottom: 16px;
  }
  .footer-brand .nav-logo img {
    width: auto;
    height: 96px;
    max-width: min(42vw, 200px);
    object-fit: contain;
  }
  .footer-brand-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; max-width: 240px; }

  .footer-col-title {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 20px;
  }
  .footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
  .footer-links a {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: none;
    cursor: none;
    transition: color 0.3s;
  }
  .footer-links a:hover { color: var(--blue); }

  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .footer-copy { font-size: 0.78rem; color: var(--text-dim); }
  .footer-socials { display: flex; gap: 20px; }
  .footer-social {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-dim);
    text-decoration: none;
    cursor: none;
    transition: color 0.3s;
  }
  .footer-social:hover { color: var(--blue); }

  /* DIVIDER */
  .section-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
    margin: 0 60px;
    width: calc(100% - 120px);
  }

  /* Animations */
  @keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes fadeIn {
    to { opacity: 1; }
  }
  @keyframes orbPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.04); }
  }
  @keyframes orbRotate {
    to { transform: rotate(360deg); }
  }
  @keyframes floatY {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-14px); }
  }


  .mobile-menu {
    position: fixed;
    top: 86px;
    left: 16px;
    right: 16px;
    z-index: 999;
    background: rgba(10,9,8,0.96);
    border: 1px solid var(--border);
    backdrop-filter: blur(20px);
    box-shadow: 0 24px 60px rgba(0,0,0,0.35);
  }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu-inner {
    display: grid;
    gap: 6px;
    padding: 16px;
  }
  .mobile-menu a {
    display: block;
    padding: 14px 12px;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255,255,255,0.04);
  }
  .mobile-menu a:last-child { border-bottom: 0; }
  .mobile-menu a.active,
  .mobile-menu a:hover { color: var(--text); }
  .mobile-menu-cta {
    margin-top: 8px;
    background: var(--blue);
    color: #fff !important;
    text-align: center;
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }

  /* Mobile */
  @media (max-width: 1024px) {
    nav { padding: 18px 24px; }
    nav.scrolled { padding: 12px 24px; }
    #hero { grid-template-columns: 1fr; padding: 150px 24px 80px; }
    .hero-visual { height: 300px; }
    .orb-container { width: 240px; height: 240px; }
    .hero-stats { left: 30px; bottom: 30px; gap: 32px; }
    .stat-num { font-size: 1.6rem; }
    section { padding: 80px 30px; }
    .services-header { grid-template-columns: 1fr; gap: 20px; }
    .services-grid { grid-template-columns: 1fr; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .portfolio-item.large { grid-column: span 1; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-visual { height: 300px; }
    .process-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .process-grid::before { display: none; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
    .nav-links { display: none; }
    .nav-cta { display: none; }
    .portfolio-header { flex-direction: column; align-items: flex-start; gap: 20px; }
    .cta-actions { flex-direction: column; }
  }

  @media (max-width: 600px) {
    nav { padding: 14px 16px; gap: 12px; }
    nav.scrolled { padding: 10px 16px; }
    .nav-logo img { width: 92px; }
    .nav-toggle { width: 44px; height: 44px; }
    .mobile-menu { top: 74px; left: 12px; right: 12px; }
    .process-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 20px; }
    .about-values { grid-template-columns: 1fr; }
    .hero-stats { gap: 24px; }
    .stat-num { font-size: 1.3rem; }
    .nav-logo img { width: 112px; }
    .footer-brand .nav-logo img { width: 96px; height: auto; max-width: 100%; }
    .nav-toggle { display: inline-flex; }
  }

  /* Smooth scroll for lenis feel */
  @media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
  }


/* Shared page styles */
main { min-height: 60vh; }
.page-hero {
  min-height: 68vh;
  display: grid;
  align-items: end;
  padding: 180px 60px 80px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 80% at 80% 20%, rgba(0,96,170,0.10) 0%, transparent 65%),
    linear-gradient(180deg, rgba(255,255,255,0.02), transparent 20%);
}
.page-hero.compact { min-height: 52vh; }
.page-hero-content { position: relative; z-index: 2; max-width: 860px; }
.page-title { font-family: var(--font-display); font-size: clamp(3rem, 5vw, 5.2rem); line-height: 1; letter-spacing: -0.04em; margin-bottom: 24px; }
.page-title .accent, .text-accent { color: var(--blue); }
.page-intro { font-size: 1.05rem; max-width: 720px; color: var(--text-muted); line-height: 1.8; }
.page-grid-2 { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; }
.content-card { background: var(--surface2); border: 1px solid var(--border); padding: 36px; }
.content-stack { display: grid; gap: 24px; }
.lead-list, .bullet-list { list-style: none; display: grid; gap: 12px; }
.lead-list li, .bullet-list li { color: var(--text-muted); position: relative; padding-left: 18px; }
.lead-list li::before, .bullet-list li::before { content: ''; position: absolute; left: 0; top: 0.75em; width: 8px; height: 1px; background: var(--blue); }
.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); }
.metric { background: var(--surface); padding: 28px; }
.metric-value { font-family: var(--font-display); font-size: 2rem; font-weight: 500; color: var(--text); line-height: 1; margin-bottom: 8px; }
.metric-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-dim); }
.page-section-dark { background: var(--surface); }
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.case-card { border: 1px solid var(--border); background: var(--surface); overflow: hidden; transition: transform 0.35s var(--ease-out), border-color 0.35s; }
.case-card:hover { transform: translateY(-4px); border-color: rgba(0,96,170,0.35); }
.case-visual { aspect-ratio: 16/10; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(0,96,170,0.12), rgba(255,255,255,0.02)); border-bottom: 1px solid var(--border); overflow: hidden; }
.proj-dashboard {
  width: 88%;
  margin: auto;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  display: grid;
  grid-template-rows: 22px 1fr;
}
.proj-topbar {
  height: 22px;
  background: #1a1918;
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 5px;
}
.proj-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--text-dim); }
.proj-dot:first-child { background: #ff6060; }
.proj-dot:nth-child(2) { background: #ffc060; }
.proj-body {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 110px 44px;
  gap: 10px;
  padding: 8px 8px 20px 8px;
}
.proj-shot {
  overflow: hidden;
  border-radius: 3px;
  background: rgba(0,96,170,0.08);
  border: 1px solid rgba(255,255,255,0.04);
}
.proj-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.proj-bar-wrap {
  grid-column: span 3;
  display: flex;
  align-items: flex-end;
  gap: 3px;
}
.proj-bar {
  flex: 1;
  align-self: flex-end;
  background: var(--blue);
  border-radius: 2px 2px 0 0;
  opacity: 0.55;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px 3px;
  overflow: hidden;
}
.proj-ecom {
  width: 72%; height: 82%;
  background: #f5f3f0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  display: grid;
  grid-template-rows: 28px 1fr;
}
.proj-ecom .mock-nav { background: #1a1918; display: flex; align-items: center; padding: 0 12px; gap: 6px; }
.proj-ecom-img { width: 100%; height: 100%; object-fit: cover; display: block; }

.proj-bar:nth-child(1) { height: 52%; }
.proj-bar:nth-child(2) { height: 84%; opacity: 0.88; }
.proj-bar:nth-child(3) { height: 48%; }
.proj-bar:nth-child(4) { height: 74%; opacity: 0.72; }
.proj-bar:nth-child(5) { height: 54%; }
.proj-bar:nth-child(6) { height: 80%; opacity: 0.8; }
.proj-bar:nth-child(7) { height: 40%; }
.proj-bar:nth-child(8) { height: 68%; opacity: 0.64; }
.proj-bar span {
  font-size: 0.48rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}
.case-body { padding: 28px; }
.case-meta { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.case-title { font-family: var(--font-display); font-size: 1.4rem; letter-spacing: -0.02em; margin-bottom: 12px; }
.case-text { color: var(--text-muted); font-size: 0.92rem; line-height: 1.75; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-card { border: 1px solid var(--border); background: var(--surface2); padding: 30px; }
.contact-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-dim); margin-bottom: 10px; }
.contact-value { font-family: var(--font-display); font-size: 1.15rem; color: var(--text); }
.contact-value a { color: inherit; text-decoration: none; }
.form-grid { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field label { display: block; font-size: 0.78rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 10px; }
.form-field input, .form-field textarea, .form-field select { width: 100%; background: #0f0e0d; border: 1px solid var(--border); color: var(--text); padding: 16px 18px; font: inherit; }
.form-field textarea { min-height: 160px; resize: vertical; }
.form-note { font-size: 0.8rem; color: var(--text-dim); line-height: 1.7; }
.simple-content { max-width: 880px; display: grid; gap: 24px; }
.simple-content h2 { font-family: var(--font-display); font-size: 1.6rem; margin-top: 12px; }
.simple-content p, .simple-content li { color: var(--text-muted); line-height: 1.8; }
.simple-content ul { padding-left: 20px; }
.nav-links a.active, .footer-links a.active, .footer-social.active { color: var(--text); }
.spacer-40 { height: 40px; }
@media (max-width: 1024px) {
  .page-hero { padding: 150px 30px 70px; min-height: 56vh; }
  .page-grid-2, .contact-grid, .case-grid { grid-template-columns: 1fr; }
  .metric-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .content-card { padding: 24px; }
}


/* Better touch/mobile responsiveness */
@media (hover: none), (pointer: coarse) {
  body { cursor: auto; }
  #cursor, #cursor-ring { display: none; }
  a, button, .service-card, .portfolio-item, .testimonial-card { cursor: pointer; }
}

@media (max-width: 820px) {
  nav {
    padding: 18px 18px;
    gap: 12px;
    align-items: flex-start;
  }
  nav.scrolled { padding: 14px 18px; }
  .nav-logo img { width: 124px; }
  .footer-brand .nav-logo img { width: 96px; height: auto; max-width: 100%; }
  .nav-cta {
    padding: 10px 14px;
    font-size: 0.72rem;
    white-space: nowrap;
  }

  #hero {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: auto;
    padding: 110px 18px 48px;
    gap: 24px;
  }
  .hero-content,
  .hero-visual,
  .hero-stats,
  .services-header,
  .portfolio-header,
  .about-grid,
  .process-grid,
  .testimonials-grid,
  .footer-top,
  .footer-bottom,
  .page-grid-2,
  .contact-grid,
  .case-grid {
    width: 100%;
  }
  .hero-title {
    font-size: clamp(2.8rem, 15vw, 4.7rem);
    line-height: 0.95;
    margin-bottom: 20px;
    max-width: 100%;
    word-break: break-word;
  }
  .hero-sub {
    max-width: 100%;
    font-size: 0.98rem;
    margin-bottom: 28px;
  }
  .hero-actions {
    width: 100%;
    flex-wrap: wrap;
    gap: 14px;
  }
  .btn-primary {
    padding: 15px 22px;
    font-size: 0.78rem;
  }
  .btn-ghost {
    font-size: 0.82rem;
  }
  .hero-visual {
    height: auto;
    width: 100%;
    justify-content: center;
    padding: 10px 0 0;
  }
  .orb-container {
    width: min(70vw, 290px);
    height: min(70vw, 290px);
  }
  .floating-cards { inset: -10px; }
  .float-card {
    padding: 10px 12px;
    font-size: 0.68rem;
  }
  .float-card:nth-child(1) { top: 8%; right: -2%; }
  .float-card:nth-child(2) { bottom: 8%; left: -2%; }
  .float-card-value {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.1rem, 1.35vw, 1.45rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--blue);
  max-width: 180px;
}
  .hero-stats {
    position: static;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 6px;
  }
  .stat-item {
    min-width: 0;
    padding-top: 6px;
    border-top: 1px solid var(--border);
  }
  .stat-num { font-size: 1.35rem; }
  .stat-label {
    font-size: 0.62rem;
    line-height: 1.4;
  }

  section { padding: 72px 18px; }
  .section-title {
    font-size: clamp(2rem, 9vw, 3rem);
    margin-bottom: 14px;
  }
  .section-sub { max-width: 100%; }
  .service-card { padding: 32px 24px; }
  .portfolio-overlay {
    opacity: 1;
    padding: 22px;
    background: linear-gradient(to top, rgba(10,9,8,0.96) 0%, rgba(10,9,8,0.6) 55%, rgba(10,9,8,0.08) 100%);
  }
  .portfolio-name { font-size: 1.2rem; }
  .about-visual { height: 260px; }
  .about-manifesto { font-size: 1.2rem; }
  .process-grid { grid-template-columns: 1fr; gap: 22px; margin-top: 48px; }
  .process-step { text-align: left; padding: 0; }
  .step-num { margin: 0 0 18px; }
  .testimonial-card { padding: 28px 24px; }
  #cta { padding: 100px 18px; }
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .cta-actions .btn-primary,
  .cta-actions .btn-ghost {
    justify-content: center;
    text-align: center;
  }
  footer { padding: 44px 18px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; padding-bottom: 32px; margin-bottom: 28px; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .page-hero {
    min-height: auto;
    padding: 120px 18px 52px;
  }
  .page-title {
    font-size: clamp(2.3rem, 12vw, 4rem);
    margin-bottom: 18px;
  }
  .page-intro { font-size: 0.96rem; }
  .content-card { padding: 24px 20px; }
  .metric-grid { grid-template-columns: 1fr; }
  .metric { padding: 22px 20px; }
  .contact-card { padding: 24px 20px; }
}

@media (max-width: 560px) {
  nav {
    align-items: center;
  }
  .nav-links { display: none; }
  .nav-cta {
    padding: 9px 12px;
    font-size: 0.68rem;
  }
  #hero { padding-top: 96px; }
  .hero-eyebrow,
  .section-label {
    font-size: 0.66rem;
    letter-spacing: 0.12em;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .hero-stats {
    grid-template-columns: 1fr;
  }
  .orb-container {
    width: min(76vw, 250px);
    height: min(76vw, 250px);
  }
  .float-card:nth-child(1) { right: -4%; }
  .float-card:nth-child(2) { left: -4%; }
  .page-hero { padding-top: 104px; }
}


/* Header and mobile menu fixes */
.nav-links a.active,
.footer-links a.active,
.footer-social.active { color: var(--text); }

@media (max-width: 1024px) {
  .nav-toggle { display: inline-flex; }
  .nav-logo img { width: 116px; }
  .footer-brand .nav-logo img { width: 96px; }
}

@media (max-width: 820px) {
  nav {
    align-items: center;
    padding: 14px 16px;
  }
  nav.scrolled { padding: 10px 16px; }
  .nav-logo img { width: 96px; }
  .nav-cta,
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  #hero { padding-top: 126px; }
}

@media (max-width: 600px) {
  .nav-logo img { width: 88px; }
  .footer-brand .nav-logo img { width: 96px; }
  .mobile-menu { top: 72px; }
  #hero { padding-top: 118px; }
}

body.menu-open { overflow: hidden; }



/* Premium mobile menu refinement */
nav {
  z-index: 1200;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background:
    linear-gradient(180deg, rgba(7,7,7,0.72) 0%, rgba(7,7,7,0.88) 18%, rgba(7,7,7,0.96) 100%),
    radial-gradient(circle at 72% 24%, rgba(0,96,170,0.12), transparent 28%),
    rgba(5,5,5,0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 118px 16px 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.mobile-menu[hidden] {
  display: block;
}

body.menu-open .mobile-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu-inner {
  position: relative;
  width: min(100%, 460px);
  min-height: calc(100dvh - 116px);
  margin: 0 auto;
  padding: 20px 0 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.mobile-menu-inner::before {
  content: '';
  display: block;
  margin-bottom: 18px;
  color: rgba(240,237,232,0.18);
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.mobile-menu a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 0;
  color: rgba(240,237,232,0.72);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  transition: color 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.mobile-menu a::after {
  content: '↗';
  color: rgba(240,237,232,0.28);
  font-size: 0.9rem;
  transform: translateX(-6px);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

.mobile-menu a:not(.mobile-menu-cta):hover,
.mobile-menu a:not(.mobile-menu-cta).active {
  color: var(--text);
  border-color: rgba(0,96,170,0.28);
}

.mobile-menu a:not(.mobile-menu-cta):hover::after,
.mobile-menu a:not(.mobile-menu-cta).active::after {
  opacity: 1;
  transform: translateX(0);
  color: var(--blue);
}

.mobile-menu a:not(.mobile-menu-cta):nth-child(-n+5)::before {
  content: '0' counter(menu-item);
  counter-increment: menu-item;
  color: rgba(240,237,232,0.26);
  font-family: var(--font-body);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  margin-right: 16px;
  min-width: 24px;
}

.mobile-menu-inner {
  counter-reset: menu-item;
}

.mobile-menu-cta {
  margin-top: auto;
  justify-content: center !important;
  padding: 16px 20px !important;
  border: 1px solid rgba(0,96,170,0.5) !important;
  background: linear-gradient(135deg, var(--blue), var(--blue-bright));
  color: #fff !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase;
  border-bottom: 0 !important;
  box-shadow: 0 20px 40px rgba(0,96,170,0.22);
  margin-bottom: 4px;
}

.mobile-menu-cta::before,
.mobile-menu-cta::after {
  content: none !important;
}

body.menu-open .nav-toggle {
  border-color: rgba(255,255,255,0.24);
  background: rgba(17,16,16,0.9);
}

@media (max-width: 820px) {
  .mobile-menu {
    padding-top: 108px;
  }

  .mobile-menu-inner {
    min-height: calc(100dvh - 102px);
  }
}

@media (max-width: 600px) {
  .mobile-menu {
    padding: 108px 14px 18px;
  }

  .mobile-menu-inner {
    width: 100%;
    min-height: calc(100dvh - 92px);
    padding-top: 6px;
  }

  .mobile-menu a {
    font-size: 1.1rem;
    padding: 16px 0;
  }

  .mobile-menu a:not(.mobile-menu-cta):nth-child(-n+5)::before {
    font-size: 0.68rem;
    min-width: 22px;
    margin-right: 14px;
  }

  .mobile-menu-cta {
    margin-top: 18px;
  }
}


@media (max-width: 600px) {
  .mobile-menu-inner::before {
    margin-left: 96px;
    margin-bottom: 22px;
  }

  .mobile-menu a {
    padding-left: 4px;
  }
}


@media (max-width: 1024px) {
  .hero-principles {
    gap: 24px;
  }
  .hero-principles .stat-num {
    font-size: 1.05rem;
  }
  .hero-principles .stat-label {
    font-size: 0.72rem;
  }
}

@media (max-width: 600px) {
  .hero-principles .stat-num {
    font-size: 0.95rem;
  }
  .hero-principles .stat-label {
    font-size: 0.68rem;
  }
  .float-card-value {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.1rem, 1.35vw, 1.45rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--blue);
  max-width: 180px;
}
}

/* Hero trust statements instead of metrics */
.hero-principles {
  gap: 72px;
  align-items: flex-start;
}
.hero-principles .stat-item {
  min-width: 0;
  flex: 0 1 auto;
}
.hero-principles .stat-num {
  font-size: clamp(1.55rem, 2.2vw, 2rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-transform: none;
  white-space: nowrap;
}
.hero-principles .stat-num span {
  color: var(--blue);
}
.hero-principles .stat-label {
  margin-top: 10px;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--text-muted);
}

.float-card-label {
  color: rgba(255,255,255,0.66);
  letter-spacing: 0.05em;
}
.float-card-value {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.1rem, 1.35vw, 1.45rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--blue);
  max-width: 180px;
}

@media (max-width: 1024px) {
  .hero-principles {
    gap: 36px;
    flex-wrap: wrap;
    right: 30px;
  }
  .hero-principles .stat-num {
    font-size: 1.3rem;
  }
  .hero-principles .stat-label {
    font-size: 0.8rem;
  }
}

@media (max-width: 600px) {
  .hero-principles {
    gap: 22px;
  }
  .hero-principles .stat-num {
    font-size: 1.05rem;
    white-space: normal;
  }
  .hero-principles .stat-label {
    font-size: 0.74rem;
  }
  .float-card-value {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.1rem, 1.35vw, 1.45rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--blue);
  max-width: 180px;
}
}

/* Refined hero principles (lighter & smaller) */
.hero-principles {
  gap: 64px;
}

.hero-principles .stat-num {
  font-size: clamp(1.25rem, 1.6vw, 1.6rem);
  font-weight: 600; /* less bold */
  letter-spacing: -0.02em;
}

.hero-principles .stat-num span {
  color: var(--blue);
}

.hero-principles .stat-label {
  margin-top: 8px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.62); /* softer */
  letter-spacing: 0.03em;
}

@media (max-width: 1024px) {
  .hero-principles {
    gap: 32px;
  }
  .hero-principles .stat-num {
    font-size: 1.1rem;
  }
}

@media (max-width: 600px) {
  .hero-principles {
    gap: 20px;
  }
  .hero-principles .stat-num {
    font-size: 0.95rem;
  }
}


/* keep lower hero principles unchanged */
.hero-principles .stat-num {
  font-size: clamp(1.25rem, 1.6vw, 1.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.hero-principles .stat-label {
  margin-top: 8px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.62);
  letter-spacing: 0.03em;
}

/* ============================================================
   PROJEKTANFRAGE WIDGET
   ============================================================ */

/* content-card Padding entfernen – Widget bringt sein eigenes Spacing mit */
.kontakt-page .page-grid-2 > .content-card:last-child {
  padding: 0;
  overflow: hidden;
}

#projektanfrage-widget {
  width: 100%;
}

#pw-root {
  width: 100%;
  padding: 40px 36px;
  box-sizing: border-box;
}

/* Scrollbar für lange Optionslisten */
#pw-root .pw-options {
  max-height: 420px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(43,127,212,0.3) transparent;
}

#pw-root .pw-options::-webkit-scrollbar {
  width: 4px;
}

#pw-root .pw-options::-webkit-scrollbar-thumb {
  background: rgba(43,127,212,0.3);
  border-radius: 2px;
}

/* ============================================================
   RESPONSIVE FIXES
   ============================================================ */

/* Tablet 820px – Kontaktseite Widget */
@media (max-width: 820px) {
  .kontakt-page .page-grid-2 > .content-card:last-child {
    padding: 32px 28px;
  }
}

/* Smartphone – Widget kompakter */
@media (max-width: 600px) {
  .kontakt-page .page-grid-2 > .content-card:last-child {
    padding: 24px 20px;
  }
  #pw-root {
    padding: 24px 20px;
  }
}
