/* ============================================================
   LOCAL FONTS - DSGVO-konform, kein externer Server
   Place font files in /fonts subfolder (siehe README)
   ============================================================ */

/* Geist (Sans-Serif) */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/geist-v4-latin-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/geist-v4-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/geist-v4-latin-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/geist-v4-latin-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/geist-v4-latin-700.woff2') format('woff2');
}

/* Geist Mono */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/geist-mono-v4-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/geist-mono-v4-latin-500.woff2') format('woff2');
}

/* Fraunces (Serif Display) */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/fraunces-v38-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/fraunces-v38-latin-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/fraunces-v38-latin-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/fraunces-v38-latin-500italic.woff2') format('woff2');
}

/* ============================================================ */

:root {
    /* Warm dark theme - augenfreundlich */
    --bg: #131410;          /* warmes Dunkelgrün-Schwarz */
    --bg-2: #1a1b16;
    --bg-3: #22241e;
    --ink: #ebe8df;          /* warmes Off-White */
    --ink-2: #c5c2b6;
    --ink-dim: #8a877c;
    --ink-muted: #5c5a52;
    --accent: #b8e36a;       /* lime/limette - tech, aber gedämpft */
    --accent-2: #6db5ff;     /* azurblau - vertrauen */
    --accent-warm: #e8a26a;  /* warmes orange */
    --line: rgba(235, 232, 223, 0.1);
    --line-soft: rgba(235, 232, 223, 0.05);
    --display: 'Fraunces', Georgia, serif;
    --sans: 'Geist', system-ui, -apple-system, sans-serif;
    --mono: 'Geist Mono', ui-monospace, monospace;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }

  body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.55;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  ::selection { background: var(--accent); color: var(--bg); }
  a { color: inherit; text-decoration: none; }

  /* Subtle warm grain */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  }

  /* ========== TOP BAR ========== */
  .topbar {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 40px;
    background: rgba(19, 20, 16, 0.7);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line-soft);
    transition: padding 0.3s ease;
  }
  .topbar.scrolled { padding: 14px 40px; }

  .logo {
    font-size: 17px;
    font-weight: 500;
    letter-spacing: -0.01em;
    display: flex; align-items: center; gap: 12px;
    color: var(--ink);
  }
  .logo-mark {
    width: 32px; height: 32px;
    position: relative;
    display: flex; align-items: center; justify-content: center;
  }
  .logo-mark svg {
    width: 100%; height: 100%;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  .logo:hover .logo-mark svg { transform: rotate(180deg); }
  .logo-mark .lm-outer { stroke: var(--ink); fill: none; stroke-width: 1.5; }
  .logo-mark .lm-inner { fill: var(--accent); transition: fill 0.4s; }
  .logo:hover .logo-mark .lm-inner { fill: var(--accent-2); }

  .topbar nav { display: flex; gap: 32px; }
  .topbar nav a {
    font-size: 14px;
    color: var(--ink-2);
    transition: color 0.2s;
    position: relative;
    padding: 4px 0;
  }
  .topbar nav a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 1px;
    background: var(--accent);
    transition: width 0.3s ease;
  }
  .topbar nav a:hover { color: var(--accent); }
  .topbar nav a:hover::after { width: 100%; }

  .top-cta {
    font-size: 13px;
    color: var(--ink);
    padding: 10px 18px;
    border: 1px solid var(--ink-dim);
    border-radius: 999px;
    transition: all 0.25s ease;
    display: flex; align-items: center; gap: 8px;
  }
  .top-cta:hover {
    background: var(--accent);
    color: var(--bg);
    border-color: var(--accent);
  }
  .top-cta .dot {
    width: 6px; height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulseDot 2s infinite;
  }
  .top-cta:hover .dot { background: var(--bg); }
  @keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.7); }
  }

  /* ========== HERO ========== */
  .hero {
    min-height: 100vh;
    padding: 140px 40px 80px;
    display: flex; flex-direction: column; justify-content: center;
    position: relative;
    z-index: 2;
    overflow: hidden;
  }

  .hero-content {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 4;
  }

  .hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--mono);
    font-size: 12px;
    color: var(--ink-2);
    margin-bottom: 32px;
    padding: 6px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(235, 232, 223, 0.03);
    animation: slideUp 0.8s 0.1s both;
  }
  .hero-eyebrow .live-dot {
    width: 6px; height: 6px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent);
    animation: ping 2s infinite;
  }
  @keyframes ping {
    0% { box-shadow: 0 0 0 0 rgba(184, 227, 106, 0.6); }
    70% { box-shadow: 0 0 0 10px rgba(184, 227, 106, 0); }
    100% { box-shadow: 0 0 0 0 rgba(184, 227, 106, 0); }
  }

  .hero h1 {
    font-family: var(--display);
    font-size: clamp(2.8rem, 7.5vw, 6.5rem);
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: -0.025em;
    color: var(--ink);
    margin-bottom: 32px;
    max-width: 18ch;
  }
  .hero h1 .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    animation: wordReveal 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }
  .hero h1 .word.italic { font-style: italic; color: var(--accent); font-weight: 500; }
  .hero h1 .word:nth-child(1) { animation-delay: 0.2s; }
  .hero h1 .word:nth-child(2) { animation-delay: 0.32s; }
  .hero h1 .word:nth-child(3) { animation-delay: 0.44s; }
  .hero h1 .word:nth-child(4) { animation-delay: 0.56s; }
  .hero h1 .word:nth-child(5) { animation-delay: 0.68s; }
  .hero h1 .word:nth-child(6) { animation-delay: 0.8s; }

  @keyframes wordReveal { to { opacity: 1; transform: translateY(0); } }
  @keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .hero-sub {
    font-size: 1.2rem;
    color: var(--ink-2);
    max-width: 580px;
    line-height: 1.55;
    margin-bottom: 48px;
    animation: slideUp 0.8s 0.9s both;
  }
  .hero-sub strong { color: var(--ink); font-weight: 600; }

  .hero-cta {
    display: flex; gap: 16px; flex-wrap: wrap;
    align-items: center;
    animation: slideUp 0.8s 1.1s both;
  }

  .btn {
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 500;
    padding: 14px 26px;
    border-radius: 999px;
    border: 1px solid var(--ink-dim);
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.15s ease-out;
    display: inline-flex; align-items: center; gap: 10px;
    will-change: transform;
  }
  .btn-primary {
    background: var(--accent);
    color: var(--bg);
    border-color: var(--accent);
    font-weight: 600;
  }
  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(184, 227, 106, 0.3);
    background: var(--ink);
    border-color: var(--ink);
  }
  .btn:not(.btn-primary):hover {
    background: var(--ink);
    color: var(--bg);
    border-color: var(--ink);
    transform: translateY(-2px);
  }
  .btn .arrow { transition: transform 0.3s ease; }
  .btn:hover .arrow { transform: translateX(4px); }

  /* ========== EYECATCHER: Animated 3D-ish network ========== */
  .hero-visual {
    position: absolute;
    right: -8%;
    top: 50%;
    transform: translateY(-50%);
    width: 65%;
    height: 95%;
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    animation: visualFadeIn 1.5s 1.2s forwards;
  }
  @keyframes visualFadeIn { to { opacity: 1; } }

  .network-canvas {
    width: 100%; height: 100%;
    display: block;
  }

  /* Glow orb behind network */
  .hero-orb {
    position: absolute;
    right: 5%;
    top: 50%;
    width: 600px;
    height: 600px;
    transform: translateY(-50%);
    background: radial-gradient(circle at center,
      rgba(184, 227, 106, 0.12) 0%,
      rgba(109, 181, 255, 0.06) 30%,
      transparent 65%);
    pointer-events: none;
    z-index: 1;
    animation: orbPulse 8s ease-in-out infinite;
  }
  @keyframes orbPulse {
    0%, 100% { transform: translateY(-50%) scale(1); opacity: 0.8; }
    50% { transform: translateY(-50%) scale(1.1); opacity: 1; }
  }

  /* Brand text centered in sphere - dezent im Hintergrund */
  .brand-center {
    position: absolute;
    right: 5%;
    top: 50%;
    width: 600px;
    height: 600px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 4;
    pointer-events: none;
    text-align: center;
    opacity: 0;
    animation: brandFadeIn 1.5s 1.5s forwards;
    gap: 16px;
  }
  @keyframes brandFadeIn { to { opacity: 1; } }

  /* Subtle colored backdrop behind brand text (separates it from rest) */
  .brand-center::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 460px;
    height: 220px;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse,
      rgba(109, 181, 255, 0.08) 0%,
      rgba(34, 36, 30, 0.55) 35%,
      transparent 75%);
    filter: blur(24px);
    z-index: -1;
    pointer-events: none;
  }

  .brand-center .brand-mark {
    width: 44px;
    height: 44px;
    position: relative;
    animation: brandMarkRotate 15s linear infinite;
    opacity: 0.55;
  }
  .brand-center .brand-mark svg {
    width: 100%; height: 100%;
  }
  .brand-center .brand-mark .bm-outer {
    fill: none;
    stroke: var(--ink-dim);
    stroke-width: 1.5;
  }
  .brand-center .brand-mark .bm-inner {
    fill: var(--accent);
    opacity: 0.6;
  }
  @keyframes brandMarkRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
  }

  .brand-center .brand-name {
    font-family: var(--sans);
    font-weight: 500;
    font-size: clamp(2rem, 4.5vw, 4rem);
    color: var(--ink-dim);
    line-height: 1;
    letter-spacing: -0.03em;
    animation: brandPulse 5s ease-in-out infinite;
  }
  .brand-center .brand-sub {
    font-family: var(--mono);
    font-size: clamp(0.65rem, 0.8vw, 0.8rem);
    font-weight: 400;
    color: var(--ink-muted);
    letter-spacing: 0.5em;
    padding-left: 0.5em;
    text-transform: uppercase;
    animation: brandSubPulse 5s ease-in-out infinite;
  }
  @keyframes brandPulse {
    0%, 100% { opacity: 0.55; }
    50% { opacity: 0.75; }
  }
  @keyframes brandSubPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.65; }
  }

  /* Floating tech tags */
  .tech-tag {
    position: absolute;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--ink-2);
    background: rgba(26, 27, 22, 0.85);
    border: 1px solid var(--line);
    padding: 6px 12px;
    border-radius: 6px;
    backdrop-filter: blur(8px);
    z-index: 3;
    opacity: 0;
    pointer-events: none;
    animation: tagAppear 0.6s ease forwards;
  }
  .tech-tag::before {
    content: '';
    display: inline-block;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent);
    margin-right: 8px;
    vertical-align: middle;
  }
  .tech-tag.tg-2::before { background: var(--accent-2); }
  .tech-tag.tg-3::before { background: var(--accent-warm); }
  .tech-tag.tg-1 { top: 20%; right: 12%; animation-delay: 2.4s; }
  .tech-tag.tg-2 { top: 45%; right: 4%; animation-delay: 2.8s; }
  .tech-tag.tg-3 { bottom: 25%; right: 20%; animation-delay: 3.2s; }
  @keyframes tagAppear {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--mono);
    font-size: 11px;
    color: var(--ink-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    animation: slideUp 0.8s 1.4s both;
    z-index: 5;
  }
  .scroll-hint::after {
    content: '';
    width: 1px;
    height: 32px;
    background: var(--ink-muted);
    animation: scrollHint 2s ease-in-out infinite;
    transform-origin: top;
  }
  @keyframes scrollHint {
    0% { transform: scaleY(0); }
    50% { transform: scaleY(1); }
    100% { transform: scaleY(0); transform-origin: bottom; }
  }

  /* ========== LIVE STRIP (ruhige Stats nach Hero) ========== */
  .live-section {
    position: relative;
    z-index: 2;
    padding: 32px 40px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--bg-2);
  }
  .live-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-family: var(--mono);
    font-size: 12px;
    color: var(--ink-dim);
    flex-wrap: wrap;
  }
  .live-stat {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--bg);
  }
  .live-stat-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--accent);
    animation: livePulse 2s infinite;
  }
  .live-stat.blue .live-stat-dot { background: var(--accent-2); animation-delay: 0.5s; }
  .live-stat.warm .live-stat-dot { background: var(--accent-warm); animation-delay: 1s; }
  @keyframes livePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
  }
  .live-stat-value { color: var(--ink); font-weight: 500; }
  .live-stat-label { color: var(--ink-dim); }

  /* ========== OUTRO MARQUEE (vor dem Footer, dezent) ========== */
  .outro-marquee {
    position: relative;
    z-index: 2;
    overflow: hidden;
    padding: 24px 0;
    background: var(--bg);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
  }
  .outro-track {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: outroScroll 60s linear infinite;
    will-change: transform;
  }
  .outro-marquee:hover .outro-track { animation-play-state: paused; }
  @keyframes outroScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }
  .outro-item {
    font-family: var(--mono);
    font-size: 14px;
    color: var(--ink-dim);
    letter-spacing: 0.05em;
    transition: color 0.3s;
    flex-shrink: 0;
    padding: 0 12px;
  }
  .outro-item:hover { color: var(--accent); }
  .outro-sep {
    font-size: 8px;
    color: var(--accent);
    flex-shrink: 0;
    opacity: 0.5;
    padding: 0 6px;
  }

  /* ========== SCROLL PROGRESS BAR (oben) ========== */
  .scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    width: 0%;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    z-index: 200;
    transition: width 0.05s linear;
    box-shadow: 0 0 8px rgba(184, 227, 106, 0.4);
  }
  .scroll-progress::after {
    content: '';
    position: absolute;
    right: 0;
    top: -2px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-2);
    box-shadow: 0 0 12px var(--accent-2);
  }

  /* ========== CUSTOM SCROLLBAR ========== */
  /* WebKit (Chrome, Safari, Edge) */
  ::-webkit-scrollbar {
    width: 10px;
    height: 10px;
  }
  ::-webkit-scrollbar-track {
    background: var(--bg);
    border-left: 1px solid var(--line-soft);
  }
  ::-webkit-scrollbar-thumb {
    background: var(--bg-3);
    border: 2px solid var(--bg);
    border-radius: 999px;
    transition: background 0.2s;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
    border-color: var(--bg);
  }
  ::-webkit-scrollbar-thumb:active {
    background: var(--accent-2);
  }
  /* Firefox */
  html {
    scrollbar-width: thin;
    scrollbar-color: var(--bg-3) var(--bg);
  }

  /* ========== SECTIONS ========== */
  section {
    padding: 140px 40px;
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
  }

  .section-header {
    margin-bottom: 80px;
    max-width: 900px;
  }
  .section-tag {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 20px;
    display: flex; align-items: center; gap: 12px;
  }
  .section-tag::before {
    content: '';
    width: 24px; height: 1px;
    background: var(--accent);
  }
  .section-title {
    font-family: var(--display);
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--ink);
  }
  .section-title em { font-style: italic; color: var(--accent); font-weight: 500; }
  .section-intro {
    margin-top: 24px;
    font-size: 1.1rem;
    color: var(--ink-2);
    max-width: 640px;
    line-height: 1.6;
  }

  /* ========== SERVICES ========== */
  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 0;
    border-top: 1px solid var(--line);
  }
  .service {
    border-bottom: 1px solid var(--line);
    border-right: 1px solid var(--line);
    padding: 40px 32px;
    background: transparent;
    transition: background 0.3s ease;
    position: relative;
    overflow: hidden;
  }
  .service:nth-child(3n) { border-right: none; }
  .service::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
  }
  .service:hover::before { transform: scaleX(1); }
  .service:hover { background: var(--bg-2); }

  .service-num {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--ink-muted);
    letter-spacing: 0.1em;
    margin-bottom: 32px;
  }
  .service-icon {
    width: 44px; height: 44px;
    margin-bottom: 24px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(184, 227, 106, 0.1);
    border: 1px solid rgba(184, 227, 106, 0.2);
    border-radius: 10px;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  .service:hover .service-icon { transform: rotate(-8deg) scale(1.05); }
  .service-icon svg { width: 22px; height: 22px; stroke: var(--accent); }

  .service h3 {
    font-family: var(--display);
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 12px;
    color: var(--ink);
  }
  .service p {
    color: var(--ink-2);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
  }
  .service ul {
    list-style: none;
    font-size: 13px;
    font-family: var(--mono);
  }
  .service li {
    padding: 8px 0;
    color: var(--ink-dim);
    display: flex; gap: 10px;
    border-top: 1px solid var(--line-soft);
  }
  .service li::before {
    content: '+';
    color: var(--accent);
    flex-shrink: 0;
    font-weight: 500;
  }

  /* ========== APPROACH ========== */
  .approach {
    background: var(--bg-2);
    margin-left: -40px;
    margin-right: -40px;
    padding: 140px 40px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    position: relative;
    overflow: hidden;
  }
  .approach-inner {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
  }

  /* Section header: 2-column with diagram in fixed-width right column */
  .approach .section-header {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 100px;
    align-items: start;
    max-width: 100%;
    margin-bottom: 100px;
  }
  .approach .section-header > div:first-child {
    padding-top: 8px;
  }

  /* Wide viewports (≥2040px): diagram floats absolute at far right of viewport */
  @media (min-width: 2040px) {
    .approach .section-header {
      grid-template-columns: 1fr;
    }
    .approach .section-header > div:first-child {
      padding-top: 0;
    }
    .process-diagram {
      position: absolute;
      top: 0;
      /* right edge always at viewport - 60px, regardless of viewport width */
      right: calc(700px - 50vw);
      width: 320px;
      margin: 0;
      z-index: 3;
    }
  }

  /* Approach Visual: Sehr dezentes Hintergrund-Target */
  .approach-visual {
    position: absolute;
    top: 70%;
    right: -250px;
    width: 600px;
    height: 600px;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 1;
    opacity: 0.18;
  }
  .approach-visual svg {
    width: 100%;
    height: 100%;
    overflow: visible;
  }
  .target-bg-ring {
    fill: none;
    stroke: var(--line);
    stroke-width: 1;
    stroke-dasharray: 2 8;
  }
  .target-ring {
    fill: none;
    stroke: var(--accent);
    stroke-width: 1.2;
    opacity: 0;
  }
  .target-ring.r1 { animation: ringPulse 4s ease-out infinite; }
  .target-ring.r2 { animation: ringPulse 4s ease-out infinite 0.8s; stroke: var(--accent-2); }
  .target-ring.r3 { animation: ringPulse 4s ease-out infinite 1.6s; }
  .target-ring.r4 { animation: ringPulse 4s ease-out infinite 2.4s; stroke: var(--accent-2); }
  @keyframes ringPulse {
    0% { opacity: 0; r: 40; stroke-width: 2.5; }
    50% { opacity: 0.7; }
    100% { opacity: 0; r: 320; stroke-width: 0.3; }
  }
  .target-center {
    fill: var(--accent);
    filter: drop-shadow(0 0 12px var(--accent));
  }
  .target-center-glow {
    fill: var(--accent);
    opacity: 0.25;
    transform-origin: center;
    transform-box: fill-box;
    animation: centerGlowPulse 2s ease-in-out infinite;
  }
  @keyframes centerGlowPulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(2); opacity: 0.05; }
  }

  /* ========== PROCESS DIAGRAM (Architektur-Visual) ========== */
  .process-diagram {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 24px 28px;
    font-family: var(--mono);
    position: relative;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  }
  .process-diagram::before {
    content: '';
    position: absolute;
    top: -1px; left: 24px;
    width: 60px;
    height: 2px;
    background: var(--accent);
  }

  .process-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--line);
    font-size: 11px;
    color: var(--ink-dim);
    letter-spacing: 0.1em;
  }
  .process-header .ph-title {
    color: var(--accent);
    text-transform: uppercase;
  }
  .process-header .ph-version {
    font-size: 10px;
    color: var(--ink-muted);
  }

  .process-flow {
    position: relative;
    padding-left: 4px;
  }

  .process-stage {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 18px;
    align-items: start;
    position: relative;
    padding-bottom: 22px;
  }
  .process-stage:last-child { padding-bottom: 0; }

  /* Vertical connecting line */
  .process-stage:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 15px;
    top: 32px;
    bottom: -2px;
    width: 1px;
    background: var(--line);
  }

  .stage-marker {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-3);
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 500;
    color: var(--accent);
    position: relative;
    z-index: 2;
    transition: all 0.3s;
  }
  .process-stage:hover .stage-marker {
    background: var(--accent);
    color: var(--bg);
    border-color: var(--accent);
    transform: scale(1.1);
  }

  .stage-info {
    padding-top: 4px;
  }
  .stage-title {
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.3;
    margin-bottom: 4px;
  }
  .stage-meta {
    font-size: 11px;
    color: var(--ink-dim);
    letter-spacing: 0.02em;
  }
  .stage-meta .meta-sep {
    color: var(--accent);
    margin: 0 6px;
    opacity: 0.6;
  }

  /* Animated pulse traveling along the flow */
  .process-pulse {
    position: absolute;
    left: 14px;
    top: 16px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent);
    z-index: 1;
    animation: processPulse 5s linear infinite;
    pointer-events: none;
  }
  @keyframes processPulse {
    0%   { top: 16px; opacity: 0; }
    5%   { opacity: 1; }
    20%  { top: calc(20% + 16px); }
    40%  { top: calc(40% + 16px); }
    60%  { top: calc(60% + 16px); }
    80%  { top: calc(80% + 16px); }
    95%  { opacity: 1; }
    100% { top: calc(100% - 16px); opacity: 0; }
  }

  /* Footer status row */
  .process-footer {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 10px;
    color: var(--ink-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }
  .process-footer .pf-status {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--accent);
  }
  .process-footer .pf-dot {
    width: 6px; height: 6px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--accent);
    animation: livePulse 2s infinite;
  }

  .approach-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
  }
  .approach-text {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--ink-2);
  }
  .approach-text p { margin-bottom: 20px; }
  .approach-text .lead {
    font-family: var(--display);
    font-size: 1.6rem;
    line-height: 1.4;
    color: var(--ink);
    margin-bottom: 32px;
    font-style: italic;
  }
  .approach-text strong { color: var(--ink); }

  .principles { display: flex; flex-direction: column; }
  .principle {
    border-top: 1px solid var(--line);
    padding: 28px 0;
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 20px;
    align-items: start;
  }
  .principle:last-child { border-bottom: 1px solid var(--line); }
  .principle-num {
    font-family: var(--mono);
    font-size: 13px;
    color: var(--accent);
    padding-top: 4px;
  }
  .principle-content h4 {
    font-family: var(--display);
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 8px;
    color: var(--ink);
  }
  .principle-content p {
    font-size: 0.95rem;
    color: var(--ink-2);
    line-height: 1.6;
  }

  /* ========== CONTACT ========== */
  .contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
    align-items: start;
    margin-top: 40px;
  }

  .contact-info p {
    color: var(--ink-2);
    line-height: 1.7;
    margin-bottom: 32px;
    font-size: 1.05rem;
  }
  .contact-line {
    border-top: 1px solid var(--line);
    padding: 18px 0;
    display: flex; justify-content: space-between; gap: 20px;
    font-size: 14px;
  }
  .contact-line:last-child { border-bottom: 1px solid var(--line); }
  .contact-line .label {
    color: var(--ink-dim);
    font-family: var(--mono);
    font-size: 12px;
  }
  .contact-line .value { color: var(--ink); font-weight: 500; }
  .contact-line a.value:hover { color: var(--accent); }

  form {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 32px;
    display: flex; flex-direction: column;
  }

  .field { margin-bottom: 20px; position: relative; }
  .field label {
    display: block;
    font-size: 13px;
    color: var(--ink-2);
    margin-bottom: 8px;
    font-weight: 500;
  }
  .field input, .field textarea, .field select {
    width: 100%;
    background: var(--bg-3);
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--ink);
    font-family: var(--sans);
    font-size: 15px;
    padding: 12px 14px;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
  }
  .field input:focus, .field textarea:focus, .field select:focus {
    border-color: var(--accent);
    background: var(--bg);
  }
  .field input::placeholder, .field textarea::placeholder { color: var(--ink-muted); }
  .field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
  .field select {
    cursor: pointer;
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--ink-dim) 50%),
                      linear-gradient(135deg, var(--ink-dim) 50%, transparent 50%);
    background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
    background-size: 6px 6px;
    background-repeat: no-repeat;
  }
  .field select option { background: var(--bg-2); color: var(--ink); }

  .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

  .checkbox-field {
    display: flex; gap: 12px; align-items: flex-start;
    padding: 12px 0 24px;
    font-size: 13px;
    color: var(--ink-2);
    line-height: 1.5;
  }
  .checkbox-field input { width: 18px; height: 18px; accent-color: var(--accent); margin-top: 2px; flex-shrink: 0; }
  .checkbox-field a { color: var(--accent); text-decoration: underline; }

  form button { align-self: flex-start; margin-top: 8px; }

  .form-success {
    display: none;
    padding: 16px 20px;
    border: 1px solid var(--accent);
    background: rgba(184, 227, 106, 0.08);
    color: var(--accent);
    border-radius: 10px;
    font-size: 14px;
    margin-top: 20px;
    font-weight: 500;
  }
  .form-success.show { display: block; animation: slideUp 0.4s; }

  /* ========== FOOTER ========== */
  footer {
    background: #0c0d0a;
    color: var(--ink);
    padding: 80px 40px 40px;
    position: relative;
    z-index: 2;
    border-top: 1px solid var(--line);
  }
  .footer-inner { max-width: 1280px; margin: 0 auto; }
  .footer-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--line);
  }
  .footer-brand-text {
    font-family: var(--display);
    font-size: 2.4rem;
    line-height: 1.2;
    margin-bottom: 20px;
    font-style: italic;
    max-width: 380px;
    color: var(--ink);
  }
  .footer-brand-text em { color: var(--accent); font-style: italic; }
  .footer-tagline {
    color: var(--ink-dim);
    line-height: 1.6;
    max-width: 360px;
  }
  .footer-col h4 {
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 20px;
    color: var(--accent);
    font-weight: 500;
  }
  .footer-col ul { list-style: none; }
  .footer-col li { padding: 6px 0; }
  .footer-col a {
    color: var(--ink-2);
    font-size: 14px;
    transition: color 0.2s;
  }
  .footer-col a:hover { color: var(--accent); }

  .footer-bottom {
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
    font-size: 13px;
    color: var(--ink-muted);
  }

  /* ========== LEGAL ========== */
  .legal {
    background: var(--bg-2);
    padding: 100px 40px;
    border-top: 1px solid var(--line);
    position: relative;
    z-index: 2;
  }
  .legal-content {
    max-width: 760px;
    margin: 0 auto;
    font-size: 15px;
    line-height: 1.7;
    color: var(--ink-2);
  }
  .legal-content h1 {
    font-family: var(--display);
    font-size: 2.6rem;
    color: var(--ink);
    margin-bottom: 40px;
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.1;
  }
  .legal-content h2 {
    font-family: var(--display);
    font-size: 1.8rem;
    color: var(--ink);
    margin-top: 56px;
    margin-bottom: 18px;
    font-weight: 400;
    letter-spacing: -0.015em;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
  }
  .legal-content h3 {
    font-family: var(--sans);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ink);
    margin-top: 32px;
    margin-bottom: 10px;
  }
  .legal-content h4 {
    font-family: var(--sans);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--ink-2);
    margin-top: 20px;
    margin-bottom: 8px;
  }
  .legal-content p { margin-bottom: 14px; }
  .legal-content ul {
    margin: 0 0 16px 24px;
    padding: 0;
  }
  .legal-content li {
    margin-bottom: 6px;
    color: var(--ink-2);
  }
  .legal-content strong { color: var(--ink); }
  .legal-content a { color: var(--accent); text-decoration: underline; }
  .legal-note {
    margin-top: 32px;
    padding: 18px 22px;
    border: 1px dashed var(--accent-warm);
    border-radius: 10px;
    color: var(--accent-warm);
    font-size: 13px;
    font-family: var(--mono);
    line-height: 1.6;
    background: rgba(232, 162, 106, 0.05);
  }

  /* ========== EASTER EGG: Rubber Duck Button ========== */
  .duck-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 150;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--bg-2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    line-height: 1;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s, background 0.3s;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
    backdrop-filter: blur(8px);
    opacity: 0;
    animation: duckBtnAppear 0.6s 2s forwards;
  }
  @keyframes duckBtnAppear {
    from { opacity: 0; transform: scale(0) rotate(-180deg); }
    to { opacity: 1; transform: scale(1) rotate(0deg); }
  }
  .duck-btn:hover {
    transform: scale(1.15) rotate(-8deg);
    background: var(--accent);
    box-shadow: 0 8px 24px rgba(184, 227, 106, 0.4);
  }
  .duck-btn::before {
    content: 'Notfall-Knopf';
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-2);
    border: 1px solid var(--line);
    padding: 6px 12px;
    border-radius: 6px;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--ink);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
  }
  .duck-btn:hover::before { opacity: 1; }

  /* Flying duck instances (dynamically spawned) */
  .flying-duck {
    position: fixed;
    z-index: 1000;
    pointer-events: none;
    user-select: none;
    will-change: transform, left, bottom;
    line-height: 1;
  }
  .flying-duck.size-mini { font-size: 28px; }
  .flying-duck.size-normal { font-size: 56px; }
  .flying-duck.size-big { font-size: 140px; }
  .flying-duck.size-huge { font-size: 280px; filter: drop-shadow(0 8px 32px rgba(184, 227, 106, 0.5)); }
  .flying-duck.size-massive { font-size: 440px; filter: drop-shadow(0 16px 48px rgba(184, 227, 106, 0.6)); }

  /* Toast notification */
  .duck-toast {
    position: fixed;
    bottom: 100px;
    right: 24px;
    z-index: 200;
    background: var(--bg-2);
    border: 1px solid var(--accent);
    border-radius: 12px;
    padding: 14px 18px;
    max-width: 280px;
    font-family: var(--sans);
    font-size: 14px;
    color: var(--ink);
    line-height: 1.4;
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    transition: opacity 0.4s, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    pointer-events: none;
  }
  .duck-toast.show {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  .duck-toast .toast-label {
    display: block;
    font-family: var(--mono);
    font-size: 10px;
    color: var(--accent);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 6px;
  }

  @media (max-width: 900px) {
    .duck-btn { width: 48px; height: 48px; font-size: 22px; bottom: 16px; right: 16px; }
    .duck-toast { bottom: 80px; right: 16px; max-width: calc(100vw - 80px); }
    .duck-btn::before { display: none; }
  }

  /* ========== STATUS PILL (fixed bottom-left) ========== */
  .status-pill {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 150;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    background: rgba(26, 27, 22, 0.85);
    border: 1px solid var(--line);
    border-radius: 999px;
    backdrop-filter: blur(12px);
    font-family: var(--mono);
    font-size: 11px;
    color: var(--ink-2);
    letter-spacing: 0.03em;
    opacity: 0;
    animation: pillFadeIn 0.6s 2.5s forwards;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  }
  @keyframes pillFadeIn { to { opacity: 1; } }
  .status-pill .pulse-dot {
    position: relative;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
  }
  .status-pill .pulse-dot::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.4;
    animation: pulseRing 2s ease-out infinite;
  }
  @keyframes pulseRing {
    0% { transform: scale(0.5); opacity: 0.6; }
    100% { transform: scale(2.5); opacity: 0; }
  }
  .status-pill .pill-sep {
    width: 1px;
    height: 14px;
    background: var(--line);
  }
  .status-pill .uptime-value {
    color: var(--accent);
    font-weight: 500;
  }

  /* ========== FOOTER SYSTEM INFO (Dashboard-Style) ========== */
  .footer-system {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 32px;
  }
  .sys-item {
    background: var(--bg-2);
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: background 0.2s;
  }
  .sys-item:hover { background: var(--bg-3); }
  .sys-label {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--ink-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .sys-value {
    font-family: var(--mono);
    font-size: 14px;
    color: var(--ink);
    font-weight: 500;
  }
  .sys-value.accent { color: var(--accent); }
  .sys-dot {
    display: inline-block;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 6px var(--accent);
    animation: livePulse 2s infinite;
  }

  /* ========== SCROLL REVEAL ========== */
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  .reveal.visible { opacity: 1; transform: translateY(0); }

  /* ========== RESPONSIVE ========== */
  @media (max-width: 900px) {
    .topbar { padding: 14px 20px; }
    .topbar nav { display: none; }
    .top-cta { padding: 8px 14px; font-size: 12px; }
    .hero { padding: 120px 20px 80px; min-height: auto; }
    section { padding: 80px 20px; }
    .approach { padding: 80px 20px; margin-left: -20px; margin-right: -20px; }
    .hero-visual, .hero-orb, .tech-tag, .brand-center { display: none; }
    .approach-visual { width: 400px; height: 400px; right: -200px; opacity: 0.15; }
    .approach .section-header { grid-template-columns: 1fr; gap: 50px; margin-bottom: 60px; }
    .approach-grid, .contact-wrapper { grid-template-columns: 1fr; gap: 50px; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .row-2 { grid-template-columns: 1fr; }
    .service { border-right: none !important; }
    .scroll-hint { display: none; }
    footer { padding: 60px 20px 30px; }
    .legal { padding: 80px 20px; }
    .status-pill { bottom: 16px; left: 16px; padding: 7px 12px; font-size: 10px; gap: 8px; }
    .status-pill .pill-sep, .status-pill .uptime-text { display: none; }
    .footer-system { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 1100px) and (min-width: 901px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .service:nth-child(3n) { border-right: 1px solid var(--line); }
    .service:nth-child(2n) { border-right: none; }
    .hero-visual { width: 50%; opacity: 0.6 !important; }
    .brand-center { width: 480px; height: 480px; }
    .approach-visual { width: 540px; height: 540px; opacity: 0.25; }
  }