/* =========================================================
   danleywatson.de — Engineering Precision Theme
   ========================================================= */

/* ---------------------------------------------------------
   1. Design Tokens
   --------------------------------------------------------- */
:root {
  --bg:             oklch(15% 0.02 250);
  --bg-surface:     oklch(18% 0.022 250);
  --bg-elevated:    oklch(22% 0.025 250);
  --bg-hover:       oklch(26% 0.025 250);

  --text-primary:   oklch(94% 0.008 250);
  --text-secondary: oklch(65% 0.015 250);
  --text-muted:     oklch(45% 0.012 250);

  --cyan:           oklch(82% 0.18 200);
  --cyan-dim:       oklch(55% 0.10 200);
  --cyan-glow:      oklch(82% 0.18 200 / 0.12);
  --cyan-border:    oklch(82% 0.18 200 / 0.3);

  --border:         oklch(28% 0.02 250);
  --border-subtle:  oklch(22% 0.018 250);

  --grid-color:     oklch(28% 0.018 250 / 0.55);
  --grid-size:      40px;

  --font-sans:      'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:      'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;

  --section-sm:     5rem;
  --section-md:     8rem;
  --section-lg:     11rem;

  --radius-sm:      6px;
  --radius-md:      10px;
  --radius-lg:      16px;

  --ease-out:       cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:    cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast:       120ms;
  --dur-mid:        220ms;
  --dur-slow:       400ms;

  --max-w: 1160px;
}

/* ---------------------------------------------------------
   2. Reset & Base
   --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

/* ---------------------------------------------------------
   3. Grid Background
   --------------------------------------------------------- */
.dw-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: var(--grid-size) var(--grid-size);
  pointer-events: none;
  z-index: 0;
}

/* ---------------------------------------------------------
   4. Layout
   --------------------------------------------------------- */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
  position: relative;
  z-index: 1;
}

/* ---------------------------------------------------------
   5. Header / Nav
   --------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  background: oklch(15% 0.02 250 / 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.site-logo {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  transition: color var(--dur-fast) var(--ease-out);
}
.site-logo:hover { color: var(--cyan); }
.site-logo span { color: var(--cyan); }

.site-nav { display: flex; align-items: center; gap: 2rem; }

.site-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--dur-fast) var(--ease-out);
}
.site-nav a:hover { color: var(--text-primary); }

.site-nav .nav-cta {
  padding: 0.45rem 1.1rem;
  border: 1px solid var(--cyan-border);
  border-radius: var(--radius-sm);
  color: var(--cyan);
  font-size: 0.825rem;
  font-weight: 600;
  transition: background var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
}
.site-nav .nav-cta:hover {
  background: var(--cyan-glow);
  box-shadow: 0 0 16px var(--cyan-glow);
  color: var(--cyan);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--dur-mid) var(--ease-out), opacity var(--dur-mid) var(--ease-out);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 60px; left: 0; right: 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem clamp(1.25rem, 5vw, 2.5rem);
  z-index: 899;
  flex-direction: column;
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a {
  padding: 0.75rem 0;
  font-weight: 500;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  transition: color var(--dur-fast) var(--ease-out);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover, .mobile-nav .nav-cta { color: var(--cyan); }

@media (max-width: 768px) {
  .site-nav { display: none; }
  .nav-toggle { display: flex; }
}

/* ---------------------------------------------------------
   6. Hero
   --------------------------------------------------------- */
main { padding-top: 60px; }
.dw-hero { padding-top: 0; margin-top: -60px; }

.dw-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
}

.dw-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-block: var(--section-md);
  width: 100%;
}

/* Node graph */
.dw-hero-graph {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dw-node-svg {
  width: min(420px, 100%);
  height: auto;
  overflow: visible;
}

.dw-edge {
  stroke: var(--border);
  stroke-width: 1;
  stroke-dasharray: 4 4;
}
.dw-edge-1 { animation: dw-dash 3s linear infinite; }
.dw-edge-2 { animation: dw-dash 3.5s linear infinite reverse; }
.dw-edge-3 { animation: dw-dash 4s linear infinite; }
.dw-edge-4 { animation: dw-dash 2.8s linear infinite reverse; }
.dw-edge-5 { stroke: var(--cyan-border); stroke-dasharray: 3 3; animation: dw-dash 2s linear infinite; }
.dw-edge-6, .dw-edge-7, .dw-edge-8, .dw-edge-9 {
  stroke: oklch(28% 0.02 250 / 0.4);
  stroke-dasharray: 2 6;
  animation: dw-dash 6s linear infinite;
}

@keyframes dw-dash { to { stroke-dashoffset: -24; } }

.dw-orbit-ring {
  stroke: var(--cyan-border);
  stroke-width: 0.5;
  fill: none;
  animation: dw-orbit-spin 20s linear infinite;
  transform-origin: 250px 250px;
  stroke-dasharray: 3 9;
}
@keyframes dw-orbit-spin { to { transform: rotate(360deg); } }

.dw-node { fill: var(--bg-elevated); stroke: var(--border); stroke-width: 1.5; }
.dw-node-core {
  fill: var(--bg-elevated);
  stroke: var(--cyan);
  stroke-width: 2;
  filter: drop-shadow(0 0 8px var(--cyan-glow));
}

.dw-node-pulse {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 1.5;
  opacity: 0;
  animation: dw-pulse 2.5s ease-out infinite;
  transform-origin: 250px 250px;
}
@keyframes dw-pulse {
  0%   { transform: scale(1);   opacity: 0.6; }
  100% { transform: scale(2.2); opacity: 0;   }
}

.dw-particle {
  fill: var(--cyan);
  filter: drop-shadow(0 0 4px var(--cyan));
  offset-path: path('M250,250 L120,140 L380,140 L380,360 L120,360 L250,250');
  animation: dw-travel 6s linear infinite;
}
@keyframes dw-travel {
  0%  { offset-distance: 0%;   opacity: 1; }
  45% { opacity: 1; }
  50% { opacity: 0; }
  60% { opacity: 1; }
  100%{ offset-distance: 100%; opacity: 1; }
}

.dw-node-label {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  pointer-events: none;
}
.dw-label-1 { top: 18%; left: 4%;  }
.dw-label-2 { top: 18%; right: 6%; }
.dw-label-3 { bottom: 20%; right: 4%; }
.dw-label-4 { bottom: 20%; left: 4%; }

/* Hero copy */
.dw-hero-copy { max-width: 560px; }

.dw-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--cyan-border);
  border-radius: var(--radius-sm);
  background: var(--cyan-glow);
}

.dw-hero-copy h1 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.dw-hero-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 52ch;
  margin-bottom: 2rem;
}

.dw-hero-formula {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  margin-bottom: 2.25rem;
  flex-wrap: wrap;
}
.dw-formula-part {
  color: var(--text-muted);
  padding: 0.3rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
}
.dw-formula-arrow { color: var(--text-muted); font-size: 1rem; }
.dw-formula-core {
  color: var(--cyan);
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--cyan-border);
  border-radius: var(--radius-sm);
  background: var(--cyan-glow);
  font-weight: 600;
}

.dw-hero-actions { display: flex; gap: 0.875rem; flex-wrap: wrap; }

.btn-primary-dw {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.75rem;
  background: var(--cyan);
  color: oklch(12% 0.02 250);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  transition: transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
  letter-spacing: -0.01em;
}
.btn-primary-dw:hover {
  transform: scale(1.025);
  box-shadow: 0 0 28px var(--cyan-glow), 0 4px 16px oklch(0% 0 0 / 0.35);
}

.btn-ghost-dw {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.75rem;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  transition: border-color var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
}
.btn-ghost-dw:hover {
  border-color: var(--cyan-border);
  color: var(--cyan);
  transform: scale(1.02);
}

@media (max-width: 900px) {
  .dw-hero-inner { grid-template-columns: 1fr; padding-block: var(--section-sm); }
  .dw-hero-graph { order: -1; }
  .dw-node-svg { width: min(280px, 75vw); }
}

/* ---------------------------------------------------------
   7. Section shared
   --------------------------------------------------------- */
.dw-section-eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.65rem;
}

.dw-section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.65rem;
}

.dw-section-sub {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 58ch;
  line-height: 1.7;
  margin-bottom: 3.5rem;
}

/* ---------------------------------------------------------
   8. Stacked Layers
   --------------------------------------------------------- */
.dw-stack { position: relative; overflow: hidden; }

.dw-stack > .container {
  padding-top: var(--section-md);
  padding-bottom: 2.5rem;
}

.dw-layer {
  position: relative;
  border-top: 1px solid var(--border);
  padding-block: var(--section-sm);
  overflow: hidden;
}

.dw-layer-inner {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 3rem;
  align-items: start;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}

.dw-layer-meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-top: 0.3rem;
  position: sticky;
  top: 80px;
}

.dw-layer-num {
  font-family: var(--font-mono);
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--border);
}

.dw-layer-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.dw-layer-content h3 {
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  letter-spacing: -0.025em;
}

.dw-layer-content > p {
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 60ch;
  margin-bottom: 2rem;
}

.dw-layer-strategy { background: var(--bg); }
.dw-layer-engine   { background: var(--bg-surface); }
.dw-layer-intelligence { background: var(--bg); border-bottom: 1px solid var(--border); }

/* Strategy proof */
.dw-layer-proof { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.dw-proof-item  { display: flex; flex-direction: column; gap: 0.2rem; }
.dw-proof-num {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--cyan);
  font-family: var(--font-mono);
}
.dw-proof-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  max-width: 16ch;
  line-height: 1.4;
}

/* Engine workflow */
.dw-workflow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 1rem;
}

.dw-wf-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-secondary);
  min-width: 76px;
  transition: border-color var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
}
.dw-wf-node svg { width: 18px; height: 18px; }
.dw-wf-node:hover { border-color: var(--cyan-border); transform: translateY(-2px); }
.dw-wf-ai { border-color: var(--cyan-border); color: var(--cyan); background: var(--cyan-glow); }

.dw-wf-edge {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 20px;
  max-width: 56px;
}
.dw-wf-line { flex: 1; height: 1px; background: var(--border); }
.dw-wf-dot  { width: 4px; height: 4px; border-radius: 50%; background: var(--border); flex-shrink: 0; }

/* Intelligence code deco */
.dw-code-deco {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.9;
  max-width: 400px;
  position: relative;
  overflow: hidden;
}
.dw-code-deco::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--cyan);
  opacity: 0.55;
}
.dw-code-line  { white-space: nowrap; }
.dw-code-indent { padding-left: 1.5rem; }
.dw-code-gap   { margin-top: 0.5rem; }

.dw-tok-key     { color: oklch(72% 0.15 280); }
.dw-tok-var     { color: var(--text-primary); }
.dw-tok-op      { color: var(--text-muted); }
.dw-tok-fn      { color: oklch(80% 0.14 180); }
.dw-tok-str     { color: oklch(78% 0.13 145); }
.dw-tok-punct   { color: var(--text-secondary); }
.dw-tok-comment { color: var(--text-muted); font-style: italic; }

@media (max-width: 768px) {
  .dw-layer-inner { grid-template-columns: 1fr; gap: 1rem; }
  .dw-layer-meta  { position: static; flex-direction: row; align-items: baseline; gap: 0.75rem; }
  .dw-layer-num   { font-size: 1.8rem; }
}

/* ---------------------------------------------------------
   9. Tool Showcase
   --------------------------------------------------------- */
.dw-tools-section {
  position: relative;
  overflow: hidden;
  padding-block: var(--section-md);
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.dw-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.dw-tool-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
}
.dw-tool-card:hover {
  border-color: var(--cyan-border);
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 8px 32px oklch(0% 0 0 / 0.3);
}

.dw-tool-widget {
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem;
}

.dw-widget-header {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 0.75rem;
}
.dw-widget-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
}
.dw-widget-dot:first-child  { background: oklch(55% 0.2 30); }
.dw-widget-dot:nth-child(2) { background: oklch(65% 0.2 80); }
.dw-widget-dot:nth-child(3) { background: oklch(65% 0.2 145); }
.dw-widget-title {
  font-family: var(--font-mono);
  font-size: 0.63rem;
  color: var(--text-muted);
  margin-left: 0.25rem;
  letter-spacing: 0.04em;
}

.dw-widget-body { padding: 0.4rem 0.2rem; }

.dw-widget-bar-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.45rem;
  font-size: 0.63rem;
}
.dw-widget-label { color: var(--text-muted); width: 68px; flex-shrink: 0; font-family: var(--font-mono); }
.dw-widget-bar {
  flex: 1;
  height: 4px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
}
.dw-widget-fill      { height: 100%; background: var(--cyan-dim); border-radius: 999px; }
.dw-fill-ok          { background: var(--cyan); }
.dw-widget-val       { font-family: var(--font-mono); font-size: 0.63rem; color: var(--text-secondary); width: 26px; }
.dw-val-ok           { color: var(--cyan); }

.dw-widget-pipeline  { display: flex; gap: 0.35rem; }
.dw-pipeline-col     { flex: 1; display: flex; flex-direction: column; gap: 0.25rem; }
.dw-pipeline-label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.15rem;
}
.dw-pipeline-item {
  font-size: 0.63rem;
  color: var(--text-secondary);
  background: var(--bg-surface);
  padding: 0.25rem 0.35rem;
  border-radius: 3px;
  border: 1px solid var(--border-subtle);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dw-pipeline-active  { border-color: oklch(75% 0.15 60 / 0.5); color: oklch(80% 0.12 60); }
.dw-pipeline-won     { border-color: var(--cyan-border); color: var(--cyan); }

.dw-consolidate-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.63rem;
  color: var(--text-secondary);
  margin-bottom: 0.35rem;
}
.dw-consolidate-item svg { width: 11px; height: 11px; flex-shrink: 0; }
.dw-consolidate-dup svg  { color: oklch(65% 0.2 30); }
.dw-consolidate-ok  svg  { color: var(--cyan); }
.dw-badge-dup, .dw-badge-ok {
  margin-left: auto;
  font-size: 0.58rem;
  padding: 0.1rem 0.3rem;
  border-radius: 999px;
}
.dw-badge-dup { background: oklch(25% 0.08 30); color: oklch(75% 0.15 30); }
.dw-badge-ok  { background: var(--cyan-glow); color: var(--cyan); border: 1px solid var(--cyan-border); }
.dw-consolidate-progress {
  height: 3px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 0.4rem;
}
.dw-consolidate-bar { height: 100%; background: var(--cyan); border-radius: 999px; }

.dw-tool-info { padding: 1rem 1.125rem 1.125rem; }
.dw-tool-info h4 {
  font-size: 0.925rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  letter-spacing: -0.02em;
}
.dw-tool-info p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 0.65rem;
}
.dw-tool-saving {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  padding: 0.22rem 0.55rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 999px;
}
.dw-tool-saving strong { color: var(--cyan); }

.dw-tools-cta { display: flex; justify-content: center; }

@media (max-width: 960px) { .dw-tools-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .dw-tools-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------
   10. Process
   --------------------------------------------------------- */
.dw-process-section {
  padding-block: var(--section-md);
  background: var(--bg);
}

.dw-prozess-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  flex-wrap: wrap;
  row-gap: 2.5rem;
}

.dw-prozess-step {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.dw-prozess-num-wrap {
  width: 46px; height: 46px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface);
  transition: border-color var(--dur-fast) var(--ease-out);
}
.dw-prozess-step:hover .dw-prozess-num-wrap { border-color: var(--cyan-border); }

.dw-prozess-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.04em;
}

.dw-prozess-body h3 {
  font-size: 0.975rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}
.dw-prozess-body p {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 24ch;
}

.dw-prozess-connector {
  display: flex;
  align-items: center;
  padding: 0 0.5rem;
  flex-shrink: 0;
  opacity: 0.35;
  padding-top: 22px;
}
.dw-prozess-line  { flex: 1; height: 1px; background: var(--border); min-width: 16px; }
.dw-prozess-arrow { font-family: var(--font-mono); color: var(--text-muted); font-size: 0.75rem; padding-inline: 0.2rem; }

@media (max-width: 768px) {
  .dw-prozess-steps    { flex-direction: column; }
  .dw-prozess-connector { display: none; }
  .dw-prozess-body p   { max-width: none; }
}

/* ---------------------------------------------------------
   11. Themen
   --------------------------------------------------------- */
.dw-themen-section {
  padding-block: var(--section-md);
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
}

.themen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.thema-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
}
.thema-card:hover {
  border-color: var(--cyan-border);
  transform: translateY(-2px) scale(1.01);
}

.thema-card-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  margin-bottom: 0.7rem;
  align-self: flex-start;
}
.badge-seo       { background: oklch(22% 0.06 280); color: oklch(75% 0.15 280); border: 1px solid oklch(40% 0.1 280 / 0.35); }
.badge-ki        { background: var(--cyan-glow);    color: var(--cyan);          border: 1px solid var(--cyan-border); }
.badge-marketing { background: oklch(22% 0.08 160); color: oklch(75% 0.15 160); border: 1px solid oklch(40% 0.12 160 / 0.35); }

.thema-card h3 {
  font-size: 0.975rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}
.thema-card p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 0.875rem;
}
.thema-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.7rem;
  border-top: 1px solid var(--border-subtle);
}
.thema-card-label {
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--cyan);
}
.thema-card-arrow {
  font-size: 0.85rem;
  color: var(--cyan);
  transition: transform var(--dur-fast) var(--ease-out);
}
.thema-card:hover .thema-card-arrow { transform: translateX(3px); }

/* ---------------------------------------------------------
   12. CTA / Contact
   --------------------------------------------------------- */
.dw-cta-section {
  position: relative;
  overflow: hidden;
  padding-block: var(--section-md);
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.dw-cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.dw-cta-copy h2 {
  font-size: clamp(1.55rem, 3.5vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.7rem;
}
.dw-cta-copy p {
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 44ch;
  margin-bottom: 1.5rem;
}

.dw-cta-formula {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.73rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.dw-formula-arrow-sm  { color: var(--border); }
.dw-formula-core-sm   {
  color: var(--cyan);
  padding: 0.18rem 0.5rem;
  border: 1px solid var(--cyan-border);
  border-radius: 4px;
  background: var(--cyan-glow);
}

.dw-contact-form { display: flex; flex-direction: column; gap: 0.7rem; }

.form-field { display: flex; flex-direction: column; gap: 0.3rem; }
.form-field label {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
}
.form-field input,
.form-field select,
.form-field textarea {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  padding: 0.6rem 0.8rem;
  width: 100%;
  outline: none;
  transition: border-color var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--text-muted); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--cyan-border);
  box-shadow: 0 0 0 3px var(--cyan-glow);
}
.form-field textarea  { resize: vertical; min-height: 110px; }
.form-field select    { cursor: pointer; }
.form-field select option { background: var(--bg-elevated); }

.form-submit {
  padding: 0.75rem 1.75rem;
  background: var(--cyan);
  color: oklch(12% 0.02 250);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  width: 100%;
  border: none;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
  margin-top: 0.2rem;
  font-family: var(--font-sans);
}
.form-submit:hover {
  transform: scale(1.02);
  box-shadow: 0 0 24px var(--cyan-glow);
}

@media (max-width: 820px) {
  .dw-cta-inner { grid-template-columns: 1fr; gap: 2rem; }
  .dw-cta-copy p { max-width: none; }
}

/* ---------------------------------------------------------
   13. Footer
   --------------------------------------------------------- */
.site-footer {
  background: oklch(12% 0.018 250);
  border-top: 1px solid var(--border);
  padding-block: 3.5rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer-brand {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.7rem;
}
.footer-brand span { color: var(--cyan); }

.footer-col > p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 34ch;
}
.footer-col h5 {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.9rem;
  font-family: var(--font-mono);
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.45rem; }
.footer-col ul a {
  font-size: 0.86rem;
  color: var(--text-secondary);
  transition: color var(--dur-fast) var(--ease-out);
}
.footer-col ul a:hover { color: var(--cyan); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.78rem;
  color: var(--text-muted);
}
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a:hover { color: var(--text-secondary); }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.65rem; text-align: center; }
}

/* ---------------------------------------------------------
   14. Service / Content pages
   --------------------------------------------------------- */
.page-hero {
  padding-top: calc(60px + var(--section-sm));
  padding-bottom: var(--section-sm);
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.page-hero .dw-grid-bg { opacity: 0.5; }
.page-hero h1 {
  font-size: clamp(1.9rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-bottom: 0.9rem;
  max-width: 18ch;
}
.page-hero .page-intro {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 58ch;
  margin-bottom: 2rem;
}

.page-section {
  padding-block: var(--section-sm);
  border-top: 1px solid var(--border);
}
.page-section:nth-child(even) { background: var(--bg-surface); }
.page-section h2 {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 700;
  margin-bottom: 1.2rem;
  letter-spacing: -0.03em;
}
.page-section > .container > p {
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 65ch;
  margin-bottom: 1rem;
}

.vorteile-list { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.5rem; }
.vorteile-item {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  padding: 0.7rem 0.9rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
  transition: border-color var(--dur-fast) var(--ease-out);
}
.vorteile-item:hover { border-color: var(--cyan-border); }
.vorteile-item::before {
  content: '→';
  font-family: var(--font-mono);
  color: var(--cyan);
  font-size: 0.78rem;
  flex-shrink: 0;
}

.prozess-list { display: flex; flex-direction: column; gap: 0; }
.prozess-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 1.1rem;
  padding-block: 1.1rem;
  border-bottom: 1px solid var(--border-subtle);
}
.prozess-item:last-child { border-bottom: none; }
.prozess-item-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--cyan);
  padding-top: 0.15rem;
  letter-spacing: 0.04em;
}
.prozess-item-body h4 {
  font-size: 0.925rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  letter-spacing: -0.02em;
}
.prozess-item-body p {
  font-size: 0.86rem;
  color: var(--text-secondary);
  margin-bottom: 0;
  max-width: none;
}

.faq-list    { display: flex; flex-direction: column; }
.faq-item    { border-bottom: 1px solid var(--border-subtle); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  text-align: left;
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  gap: 1rem;
  transition: color var(--dur-fast) var(--ease-out);
  background: none;
  border: none;
  font-family: var(--font-sans);
}
.faq-question:hover { color: var(--cyan); }
.faq-icon {
  flex-shrink: 0;
  width: 19px; height: 19px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: transform var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out);
}
.faq-item.is-open .faq-icon { transform: rotate(45deg); border-color: var(--cyan-border); color: var(--cyan); }
.faq-answer {
  display: none;
  padding-bottom: 0.9rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 65ch;
}
.faq-item.is-open .faq-answer { display: block; }

.page-cta {
  padding-block: var(--section-sm);
  background: var(--bg);
  border-top: 1px solid var(--border);
  text-align: center;
}
.page-cta h2 { font-size: clamp(1.35rem, 3vw, 1.9rem); font-weight: 800; margin-bottom: 0.7rem; letter-spacing: -0.03em; }
.page-cta p  { color: var(--text-secondary); max-width: 50ch; margin-inline: auto; margin-bottom: 1.5rem; line-height: 1.7; }

/* ---------------------------------------------------------
   15. Static pages (Impressum, Datenschutz)
   --------------------------------------------------------- */
.static-page {
  padding-top: calc(60px + var(--section-sm));
  padding-bottom: var(--section-md);
  min-height: 80vh;
}
.static-page h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 2rem;
  letter-spacing: -0.03em;
}
.static-page h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 0.7rem;
  letter-spacing: -0.02em;
}
.static-page p,
.static-page li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 0.5rem;
  max-width: 70ch;
}
.static-page a { color: var(--cyan); }
.static-page a:hover { text-decoration: underline; }

/* ---------------------------------------------------------
   16. Utilities & Accessibility
   --------------------------------------------------------- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

@keyframes dw-fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.dw-animate    { animation: dw-fade-up var(--dur-slow) var(--ease-out) both; }
.dw-animate-d1 { animation-delay: 80ms; }
.dw-animate-d2 { animation-delay: 160ms; }
.dw-animate-d3 { animation-delay: 240ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
