@font-face { font-family: 'Chakra Petch'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/ChakraPetch-400.woff2') format('woff2'); }
@font-face { font-family: 'Chakra Petch'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/ChakraPetch-600.woff2') format('woff2'); }
@font-face { font-family: 'Chakra Petch'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/ChakraPetch-700.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/IBMPlexMono-400.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/IBMPlexMono-600.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/IBMPlexMono-700.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 300; font-display: swap; src: url('../fonts/IBMPlexSans-300.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/IBMPlexSans-400.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/IBMPlexSans-500.woff2') format('woff2'); }

:root {
    --cyan:       #00d4ff;
    --cyan-dim:   rgba(0,212,255,0.10);
    --cyan-glow:  rgba(0,212,255,0.20);
    --orange:     #e8650a;
    --orange-lt:  #fb923c;
    --orange-dim: rgba(232,101,10,0.12);
    --bg:         #040711;
    --bg2:        #080c18;
    --bg3:        #0c1020;
    --text:       #dde3f0;
    --muted:      #6b7896;
    --border:     rgba(255,255,255,0.06);
    --border-c:   rgba(0,212,255,0.22);
    --radius:     10px;
    --radius-lg:  18px;
    --mono:       'IBM Plex Mono', monospace;
    --head:       'Chakra Petch', sans-serif;
    --body:       'IBM Plex Sans', sans-serif;
  }
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body { font-family: var(--body); background: var(--bg); color: var(--text); line-height: 1.7; overflow-x: hidden; }
  h1, h2, h3, h4 { font-family: var(--head); line-height: 1.15; }
  a { color: var(--cyan); text-decoration: none; transition: color .2s; }
  a:hover { color: var(--orange-lt); opacity: 1; }
  .container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

  
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 16px 0;
    background: rgba(4,7,17,0.88); backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
  }
  .nav-inner { max-width: 1080px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; }

  
  .logo-wrap { display: flex; align-items: center; gap: 11px; }
  .logo-word { font-family: var(--mono); font-weight: 700; font-size: 19px; letter-spacing: -0.5px; color: #fff; }
  .logo-word .ki { color: var(--cyan); }
  .logo-word .do { color: var(--orange-lt); }
  .logo-word .it { color: var(--muted); font-weight: 400; font-size: 13px; margin-left: 1px; }

  .nav-links { display: flex; gap: 28px; list-style: none; }
  .nav-links a { font-family: var(--mono); font-size: 13px; color: var(--muted); transition: color .2s; }
  .nav-links a:hover { color: var(--orange-lt); opacity: 1; }
  .nav-cta { color: var(--bg) !important; background: var(--cyan); padding: 8px 18px; border-radius: 6px; font-weight: 600; transition: background .2s; }
  .nav-cta:hover { background: var(--orange) !important; color: #fff !important; opacity: 1 !important; }

  .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
  .hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; }
  .mobile-menu { display: none; position: fixed; top: 72px; left: 0; right: 0; background: rgba(4,7,17,.97); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); z-index: 99; padding: 20px 24px; }
  .mobile-menu.open { display: block; }
  .mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 16px; }
  .mobile-menu a { font-size: 18px; font-weight: 500; color: var(--text); transition: color .2s; }
  .mobile-menu a:hover { color: var(--orange-lt); }

  
  #hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; padding-top: 80px; }
  #canvas-bg { position: absolute; inset: 0; z-index: 0; }
  .hero-radial {
    position: absolute; top: 30%; left: 50%; transform: translate(-50%, -50%);
    width: 700px; height: 700px;
    background: radial-gradient(ellipse at center, rgba(0,212,255,0.04) 0%, transparent 65%);
    pointer-events: none; z-index: 1;
  }
  .hero-content { position: relative; z-index: 2; text-align: center; max-width: 860px; padding: 0 24px; }

  .hero-badge {
    display: inline-flex; align-items: center; gap: 10px;
    background: rgba(0,212,255,0.07); border: 1px solid rgba(0,212,255,0.18);
    color: var(--cyan); font-family: var(--mono); font-size: 12px; letter-spacing: 1.5px;
    padding: 7px 18px; border-radius: 4px; margin-bottom: 36px; text-transform: uppercase;
  }
  .badge-dot { width: 6px; height: 6px; background: var(--cyan); border-radius: 50%; animation: blink 1.8s ease-in-out infinite; }
  @keyframes blink { 0%,100%{ opacity:1; } 50%{ opacity:0.2; } }

  
  .hero-logo { margin: 0 auto 32px; display: block; }

  .hero-title {
    font-size: clamp(38px, 6.5vw, 78px);
    font-weight: 700; letter-spacing: -2px; line-height: 1.05; margin-bottom: 22px;
    color: #fff;
  }
  .hero-title .c { color: var(--cyan); }
  .hero-title .o { color: var(--orange-lt); }
  .hero-sub { font-size: clamp(15px, 2.2vw, 18px); color: var(--muted); max-width: 560px; margin: 0 auto 44px; font-weight: 300; }
  .hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

  .btn-primary {
    background: var(--cyan); color: #04060f; font-family: var(--head);
    font-weight: 700; font-size: 14px; padding: 13px 30px; border-radius: 6px;
    border: none; cursor: pointer; transition: all .2s; display: inline-block; letter-spacing: 0.3px;
  }
  .btn-primary:hover { background: var(--orange); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(232,101,10,.35); }
  .btn-secondary {
    background: transparent; color: var(--text); font-family: var(--head);
    font-weight: 600; font-size: 14px; padding: 12px 30px; border-radius: 6px;
    border: 1px solid rgba(255,255,255,.12); cursor: pointer; transition: all .2s; display: inline-block;
  }
  .btn-secondary:hover { border-color: var(--orange); color: var(--orange-lt); opacity: 1; transform: translateY(-2px); }

  .scroll-hint { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--muted); font-family: var(--mono); font-size: 10px; letter-spacing: 2px; text-transform: uppercase; z-index: 2; animation: bobble 2.5s ease-in-out infinite; }
  @keyframes bobble { 0%,100%{ transform: translateX(-50%) translateY(0); } 50%{ transform: translateX(-50%) translateY(7px); } }

  
  section { padding: 96px 0; }
  .section-eyebrow { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--cyan); margin-bottom: 14px; display: flex; align-items: center; gap: 12px; }
  .section-eyebrow::before { content: '//'; opacity: .5; }
  .section-title { font-size: clamp(28px, 4.5vw, 46px); font-weight: 700; letter-spacing: -1px; color: #fff; margin-bottom: 18px; }
  .section-desc { font-size: 16px; color: var(--muted); max-width: 560px; line-height: 1.85; }

  
  #ueber-uns { background: var(--bg2); }
  .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-top: 56px; }
  .about-visual { position: relative; height: 300px; }

  
  .topo-svg { width: 100%; height: 100%; }

  .about-text ul { list-style: none; margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
  .about-text li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--muted); }
  .about-text li::before { content: '›'; color: var(--cyan); font-family: var(--mono); font-weight: 700; margin-top: 1px; flex-shrink: 0; font-size: 16px; }

  
  #leistungen { background: var(--bg); }
  .services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
  .service-card {
    background: var(--bg2); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 32px 28px; position: relative;
    overflow: hidden; transition: all .3s;
  }
  .service-card::after { content: ''; position: absolute; inset: 0; border-radius: var(--radius-lg); border: 1px solid transparent; transition: border-color .3s; pointer-events: none; }
  .service-card:hover { transform: translateY(-5px); background: var(--bg3); }
  .service-card:hover::after { border-color: var(--border-c); }
  .service-num { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: 1px; margin-bottom: 20px; }
  .service-icon { margin-bottom: 20px; }
  .service-icon svg { width: 32px; height: 32px; }
  .service-card h3 { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 12px; }
  .service-card p { font-size: 14px; color: var(--muted); line-height: 1.85; }
  .service-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
  .tag { font-family: var(--mono); font-size: 11px; padding: 3px 10px; border-radius: 3px; background: var(--cyan-dim); border: 1px solid rgba(0,212,255,.12); color: var(--cyan); }
  .tag.org { background: var(--orange-dim); border-color: rgba(232,101,10,.18); color: var(--orange-lt); }

  
  .project-right { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
  .project-img-placeholder {
    width: 220px; aspect-ratio: 16/10;
    border: 1px dashed rgba(0,212,255,0.22);
    border-radius: var(--radius); background: rgba(0,212,255,0.03);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 8px; color: var(--muted); font-family: var(--mono); font-size: 10px;
    letter-spacing: 1px; text-transform: uppercase; cursor: pointer;
    transition: border-color .3s, background .3s;
    overflow: hidden; position: relative;
  }
  .project-img-placeholder:hover { border-color: rgba(0,212,255,0.5); background: rgba(0,212,255,0.06); }
  .project-img-placeholder svg { width: 24px; height: 24px; stroke: var(--muted); opacity: .5; transition: opacity .3s; }
  .project-img-placeholder:hover svg { opacity: .8; }
  .project-img-placeholder.org-border { border-color: rgba(232,101,10,0.22); background: rgba(232,101,10,0.03); }
  .project-img-placeholder.org-border:hover { border-color: rgba(232,101,10,0.5); background: rgba(232,101,10,0.06); }
  .project-img-placeholder.nda {
    border-color: rgba(255,255,255,0.08); background: rgba(0,0,0,0.2);
    border-style: dashed;
  }
  .project-img-placeholder.nda::after {
    content: ''; position: absolute; inset: 0;
    background: repeating-linear-gradient(45deg, transparent, transparent 4px, rgba(255,255,255,.015) 4px, rgba(255,255,255,.015) 8px);
  }
  
  @media (max-width: 880px) {
    .project-right { flex-direction: row; align-items: center; flex-wrap: wrap; }
    .project-img-placeholder { width: 100%; aspect-ratio: 16/7; }
  }
  #projekte { background: var(--bg2); }
  .projects-wrap { margin-top: 56px; display: flex; flex-direction: column; gap: 24px; }
  .project-card {
    background: var(--bg3); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 36px 40px;
    display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: start;
    transition: all .3s; position: relative; overflow: hidden;
  }
  .project-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--cyan); transform: scaleY(0); transform-origin: top; transition: transform .4s cubic-bezier(.16,1,.3,1); }
  .project-card:hover::before { transform: scaleY(1); }
  .project-card:hover { border-color: var(--border-c); }
  .project-card.orange-accent::before { background: var(--orange); }
  .project-card.orange-accent:hover { border-color: rgba(232,101,10,0.4); }
  .project-num { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 2px; color: var(--muted); text-transform: uppercase; margin-bottom: 14px; }
  .project-card h3 { font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 12px; letter-spacing: -.5px; }
  .project-card > div > p { font-size: 15px; color: var(--muted); line-height: 1.85; max-width: 580px; margin-bottom: 22px; }
  .project-features { display: flex; flex-direction: column; gap: 9px; }
  .feat { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--muted); }
  .feat::before { content: '→'; font-family: var(--mono); color: var(--cyan); flex-shrink: 0; font-size: 13px; margin-top: 1px; }
  .project-pill { background: var(--cyan-dim); border: 1px solid rgba(0,212,255,.18); border-radius: 4px; padding: 6px 14px; font-family: var(--mono); font-size: 11px; font-weight: 600; color: var(--cyan); white-space: nowrap; height: fit-content; letter-spacing: .5px; }
  .project-pill.org { background: var(--orange-dim); border-color: rgba(232,101,10,.2); color: var(--orange-lt); }

  
  #kontakt { background: var(--bg); }
  .contact-wrap { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; margin-top: 56px; align-items: start; }
  .contact-info { display: flex; flex-direction: column; gap: 24px; }
  .contact-item { display: flex; gap: 14px; align-items: flex-start; }
  .c-icon { width: 40px; height: 40px; background: var(--cyan-dim); border: 1px solid rgba(0,212,255,.15); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .c-icon svg { width: 18px; height: 18px; stroke: var(--cyan); }
  .contact-item h4 { font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--cyan); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 3px; }
  .contact-item p { font-size: 14px; color: var(--muted); }

  .contact-form { display: flex; flex-direction: column; gap: 18px; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .form-group { display: flex; flex-direction: column; gap: 7px; }
  .form-group label { font-family: var(--mono); font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; }
  .form-group input, .form-group textarea, .form-group select {
    background: var(--bg2); border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--radius); padding: 11px 14px; color: var(--text);
    font-family: var(--body); font-size: 14px; width: 100%;
    transition: border-color .2s, box-shadow .2s; outline: none;
  }
  .form-group input::placeholder, .form-group textarea::placeholder { color: var(--muted); opacity: .6; }
  .form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-color: var(--cyan); box-shadow: 0 0 0 3px var(--cyan-dim);
  }
  .form-group textarea { resize: vertical; min-height: 130px; }
  .form-group select {
    -webkit-appearance: none; -moz-appearance: none; appearance: none;
    padding-right: 42px; cursor: pointer;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7896' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px 16px;
  }
  .form-group select:focus, .form-group select:hover {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300d4ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  }
  .form-group select::-ms-expand { display: none; }
  .form-group select:invalid { color: var(--muted); }
  .form-group select option { background: var(--bg2); color: var(--text); padding: 8px; }
  .form-group select option[value=""] { color: var(--muted); }
  .btn-submit {
    background: var(--cyan); color: #04060f; font-family: var(--head);
    font-weight: 700; font-size: 14px; padding: 13px 26px; border-radius: 7px;
    border: none; cursor: pointer; transition: all .2s;
    display: inline-flex; align-items: center; gap: 8px; width: fit-content; letter-spacing: .3px;
  }
  .btn-submit:hover { background: var(--orange); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(232,101,10,.35); }
  .btn-submit svg { width: 16px; height: 16px; stroke: #04060f; }
  .form-success { display: none; background: var(--cyan-dim); border: 1px solid rgba(0,212,255,.2); border-radius: var(--radius); padding: 18px; text-align: center; color: var(--cyan); font-family: var(--mono); font-size: 13px; }

  
  footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 36px 0; }
  .footer-inner { max-width: 1080px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
  .footer-logo { display: flex; align-items: center; gap: 10px; }
  .footer-logo svg { width: 26px; height: 26px; }
  .footer-logo span { font-family: var(--mono); font-weight: 700; font-size: 16px; color: var(--text); }
  .footer-copy { font-family: var(--mono); font-size: 12px; color: var(--muted); }
  .footer-links { display: flex; gap: 20px; }
  .footer-links button { background: none; border: none; color: var(--muted); font-family: var(--mono); font-size: 12px; cursor: pointer; transition: color .2s; }
  .footer-links button:hover { color: var(--orange-lt); }

  
  .lb-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.82); backdrop-filter: blur(10px); z-index: 1000; align-items: center; justify-content: center; padding: 20px; }
  .lb-overlay.active { display: flex; }
  .lb-box { background: var(--bg2); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-lg); max-width: 660px; width: 100%; max-height: 85vh; overflow-y: auto; padding: 44px; position: relative; }
  .lb-close { position: absolute; top: 18px; right: 18px; width: 34px; height: 34px; background: var(--bg3); border: 1px solid var(--border); border-radius: 6px; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--muted); font-family: var(--mono); font-size: 16px; transition: all .2s; }
  .lb-close:hover { border-color: var(--orange); color: var(--orange-lt); }
  .lb-box h2 { font-size: 26px; font-weight: 700; color: #fff; margin-bottom: 28px; }
  .lb-box h3 { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--cyan); margin: 28px 0 10px; }
  .lb-box p, .lb-box li { font-size: 14px; color: var(--muted); line-height: 1.85; margin-bottom: 8px; }
  .lb-box strong { color: var(--text); font-weight: 500; }
  .lb-divider { height: 1px; background: var(--border); margin: 24px 0; }

  
  #scroll-progress {
    position: fixed; top: 0; left: 0; height: 2px; width: 0%;
    background: linear-gradient(90deg, var(--cyan), var(--orange));
    z-index: 200; transition: width .05s linear;
    box-shadow: 0 0 8px rgba(0,212,255,.5);
  }

  
  @keyframes heroFloat {
    0%,100% { transform: translateY(0px); filter: drop-shadow(0 0 18px rgba(0,212,255,.35)); }
    50%      { transform: translateY(-8px); filter: drop-shadow(0 0 28px rgba(0,212,255,.55)); }
  }
  .hero-logo { animation: heroFloat 4s ease-in-out infinite; }

  
  .reveal {
    opacity: 0; transform: translateY(32px) scale(0.97);
    transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1);
  }
  .reveal.visible { opacity: 1; transform: translateY(0) scale(1); }
  .reveal-left  { opacity: 0; transform: translateX(-40px); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); }
  .reveal-left.visible  { opacity: 1; transform: translateX(0); }
  .reveal-right { opacity: 0; transform: translateX(40px);  transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); }
  .reveal-right.visible { opacity: 1; transform: translateX(0); }
  .d1 { transition-delay: .1s; } .d2 { transition-delay: .2s; } .d3 { transition-delay: .3s; }
  .d4 { transition-delay: .4s; } .d5 { transition-delay: .5s; }

  
  .stagger-children > * {
    opacity: 0; transform: translateY(20px);
    transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1);
  }
  .stagger-children.visible > *:nth-child(1) { opacity:1; transform:none; transition-delay:.05s; }
  .stagger-children.visible > *:nth-child(2) { opacity:1; transform:none; transition-delay:.15s; }
  .stagger-children.visible > *:nth-child(3) { opacity:1; transform:none; transition-delay:.25s; }
  .stagger-children.visible > *:nth-child(4) { opacity:1; transform:none; transition-delay:.35s; }
  .stagger-children.visible > *:nth-child(5) { opacity:1; transform:none; transition-delay:.45s; }

  
  .service-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 20px 60px rgba(0,0,0,.4);
  }

  
  nav.scrolled {
    background: rgba(4,7,17,0.97);
    box-shadow: 0 1px 40px rgba(0,0,0,.4);
  }

  
  @media (max-width: 880px) { .about-grid { grid-template-columns: 1fr; } .about-visual { display: none; } .services-grid { grid-template-columns: 1fr 1fr; } .contact-wrap { grid-template-columns: 1fr; } .project-card { grid-template-columns: 1fr; } }
  @media (max-width: 600px) { .nav-links { display: none; } .hamburger { display: flex; } .services-grid { grid-template-columns: 1fr; } .form-row { grid-template-columns: 1fr; } .footer-inner { flex-direction: column; text-align: center; } section { padding: 64px 0; } .project-card { padding: 24px 20px; } .lb-box { padding: 24px 18px; } }