/* latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/IBMPlexMono-400-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/IBMPlexMono-400-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/IBMPlexMono-500-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/IBMPlexMono-500-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url("/assets/fonts/IBMPlexSans-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url("/assets/fonts/IBMPlexSans-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url("/assets/fonts/IBMPlexSans-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url("/assets/fonts/IBMPlexSans-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url("/assets/fonts/IBMPlexSans-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url("/assets/fonts/IBMPlexSans-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url("/assets/fonts/IBMPlexSans-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url("/assets/fonts/IBMPlexSans-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


  /* ============ THEME PALETTES ============ */
  :root[data-theme="petrol"] {
    --bg: oklch(98.5% 0.004 200);
    --bg-elevated: #ffffff;
    --bg-deep: oklch(22% 0.03 200);
    --ink: oklch(20% 0.015 220);
    --ink-2: oklch(38% 0.015 220);
    --ink-3: oklch(55% 0.012 220);
    --line: oklch(92% 0.006 220);
    --line-2: oklch(88% 0.008 220);
    --primary: oklch(38% 0.065 200);
    --primary-2: oklch(46% 0.075 200);
    --primary-soft: oklch(96% 0.018 200);
  }
  :root[data-theme="marine"] {
    --bg: oklch(98.5% 0.004 250);
    --bg-elevated: #ffffff;
    --bg-deep: oklch(22% 0.05 250);
    --ink: oklch(20% 0.02 250);
    --ink-2: oklch(38% 0.02 250);
    --ink-3: oklch(55% 0.015 250);
    --line: oklch(92% 0.008 250);
    --line-2: oklch(88% 0.010 250);
    --primary: oklch(35% 0.095 250);
    --primary-2: oklch(43% 0.105 250);
    --primary-soft: oklch(96% 0.020 250);
  }
  :root[data-theme="graphit"] {
    --bg: oklch(98.5% 0.003 80);
    --bg-elevated: #ffffff;
    --bg-deep: oklch(20% 0.008 60);
    --ink: oklch(20% 0.008 60);
    --ink-2: oklch(38% 0.008 60);
    --ink-3: oklch(55% 0.006 60);
    --line: oklch(92% 0.005 60);
    --line-2: oklch(88% 0.007 60);
    --primary: oklch(30% 0.012 60);
    --primary-2: oklch(40% 0.015 60);
    --primary-soft: oklch(96% 0.010 60);
    --accent: oklch(62% 0.135 55);
    /* #af5a21, Kontrast 4,67 auf --bg. Das hellere --accent kaeme nur auf
       3,64 und faellt damit unter die Grenze fuer kleinen Text. */
    --accent-ink: oklch(56% 0.13 50);
  }
  :root[data-theme="wald"] {
    --bg: oklch(98.5% 0.005 130);
    --bg-elevated: #ffffff;
    --bg-deep: oklch(22% 0.035 155);
    --ink: oklch(20% 0.015 155);
    --ink-2: oklch(38% 0.015 155);
    --ink-3: oklch(55% 0.012 155);
    --line: oklch(92% 0.008 130);
    --line-2: oklch(88% 0.010 130);
    --primary: oklch(36% 0.075 155);
    --primary-2: oklch(44% 0.085 155);
    --primary-soft: oklch(96% 0.020 145);
  }
  :root[data-theme="kanzlei"] {
    --bg: #F7F5F1;
    --bg-elevated: #FFFFFF;
    --bg-deep: oklch(22% 0.020 195);
    --ink: #1C2B2D;
    --ink-2: oklch(38% 0.012 200);
    --ink-3: oklch(55% 0.010 200);
    --line: oklch(91% 0.008 80);
    --line-2: oklch(86% 0.012 80);
    --primary: #114E52;
    --primary-2: oklch(38% 0.060 195);
    --primary-soft: oklch(96% 0.018 195);
    --accent: #C8842B;
  }
  :root[data-theme="saas"] {
    --bg: #FFFFFF;
    --bg-elevated: #FFFFFF;
    --bg-deep: oklch(22% 0.060 195);
    --ink: #0F172A;
    --ink-2: oklch(38% 0.020 250);
    --ink-3: oklch(55% 0.015 250);
    --line: oklch(93% 0.005 250);
    --line-2: oklch(88% 0.008 250);
    --primary: #0E7C7B;
    --primary-2: oklch(48% 0.075 190);
    --primary-soft: oklch(97% 0.020 190);
    --accent: #16A34A;
  }
  :root[data-theme="editorial"] {
    --bg: #FFFFFF;
    --bg-elevated: #F3F4F6;
    --bg-deep: #1F2933;
    --ink: #1F2933;
    --ink-2: oklch(38% 0.008 230);
    --ink-3: oklch(55% 0.006 230);
    --line: oklch(91% 0.004 230);
    --line-2: oklch(86% 0.006 230);
    --primary: #1F2933;
    --primary-2: oklch(32% 0.010 230);
    --primary-soft: #F3F4F6;
    --accent: #0F766E;
  }

  /* SaaS-Variante: leichte Schatten auf Karten (additiv, nur in diesem Theme aktiv) */
  [data-theme="saas"] .service,
  [data-theme="saas"] .software-card {
    box-shadow: 0 1px 2px rgba(15,23,42,0.04), 0 4px 18px -10px rgba(15,23,42,0.10);
  }

  :root {
    --accent: oklch(68% 0.135 55);
    /* Farbe fuer kleine typografische Akzente. Standard ist die Primaerfarbe,
       Graphit ueberschreibt sie weiter unten. */
    --accent-ink: var(--primary);
    --radius: 6px;
    --radius-lg: 12px;
    --maxw: 1180px;
    --pad: clamp(20px, 4vw, 56px);
    --font-sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;
  }

  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; scroll-padding-top: 76px; }
  body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: 16.5px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    transition: background-color .25s ease, color .25s ease;
  }
  a { color: inherit; }
  img, svg { display: block; max-width: 100%; }

  /* ============ HEADER ============ */
  header.site {
    position: sticky;
    top: 0;
    z-index: 50;
    background: color-mix(in oklab, var(--bg) 88%, transparent);
    backdrop-filter: saturate(140%) blur(12px);
    -webkit-backdrop-filter: saturate(140%) blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease, background .2s ease;
    padding: 0 var(--pad);
  }
  header.site.is-scrolled { border-bottom-color: var(--line); }
  .header-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 16px 0;
    display: flex;
    align-items: center;
    gap: 32px;
  }
  .brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: -0.01em;
    font-size: 20px;
    color: var(--ink);
  }
  .brand-mark { width: 38px; height: 38px; display: grid; place-items: center; }
  .brand-mark svg { width: 100%; height: 100%; }
  .brand-name .peak { color: var(--ink); }
  .brand-name .flow { color: var(--accent-ink); }
  .brand-name .solutions { color: var(--ink-3); font-weight: 500; }

  nav.primary { display: flex; gap: 28px; margin-left: auto; }
  nav.primary a {
    text-decoration: none;
    color: var(--ink-2);
    font-size: 14.5px;
    font-weight: 500;
    transition: color .15s ease;
  }
  nav.primary a:hover { color: var(--ink); }
  .nav-cta {
    display: inline-flex;
    align-items: center;
    padding: 9px 16px;
    background: var(--primary);
    color: #fff !important;
    border-radius: var(--radius);
    font-size: 14.5px;
    font-weight: 500;
    text-decoration: none;
    transition: background .15s ease;
  }
  .nav-cta:hover { background: var(--primary-2); }
  .menu-toggle {
    display: none;
    background: none;
    border: 1px solid var(--line-2);
    border-radius: var(--radius);
    padding: 8px 10px;
    margin-left: auto;
    cursor: pointer;
    color: var(--ink);
  }
  @media (max-width: 820px) {
    nav.primary { display: none; }
    .menu-toggle { display: inline-flex; align-items: center; }
    nav.primary.open {
      display: flex;
      position: absolute;
      top: 100%; left: 0; right: 0;
      background: var(--bg-elevated);
      flex-direction: column;
      padding: 16px var(--pad) 24px;
      gap: 18px;
      border-bottom: 1px solid var(--line);
      box-shadow: 0 12px 24px -16px rgba(0,0,0,0.12);
    }
    nav.primary.open .nav-cta { align-self: flex-start; }
  }

  /* ============ HERO ============ */
  .hero {
    position: relative;
    padding: clamp(72px, 11vw, 140px) var(--pad) clamp(80px, 10vw, 120px);
    overflow: hidden;
    border-bottom: 1px solid var(--line);
  }
  .hero-inner { position: relative; max-width: var(--maxw); margin: 0 auto; z-index: 2; }
  .eyebrow {
    font-family: var(--font-mono);
    font-size: 12.5px;
    color: var(--accent-ink);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
  }
  .eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--accent-ink); }

  .hero h1 {
    /* Die Untergrenze muss "Prozessautomatisierung" auf 320px Breite noch
       in eine Zeile lassen, sonst bricht das Wort mitten im Wort um. */
    font-size: clamp(24px, 7.4vw, 64px);
    line-height: 1.05;
    letter-spacing: -0.025em;
    font-weight: 600;
    margin: 0 0 28px;
    max-width: 18ch;
    text-wrap: balance;
  }
  .hero .subline {
    font-size: clamp(17px, 1.4vw, 20px);
    line-height: 1.55;
    color: var(--ink-2);
    max-width: 58ch;
    margin: 0 0 40px;
    text-wrap: pretty;
  }

  .cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
  .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: var(--radius);
    font-size: 15.5px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform .12s ease, background .15s ease, border-color .15s ease, color .15s ease;
    cursor: pointer;
  }
  .btn-primary { background: var(--primary); color: #fff; }
  .btn-primary:hover { background: var(--primary-2); }
  .btn-secondary { background: transparent; color: var(--ink); border-color: var(--line-2); }
  .btn-secondary:hover { border-color: var(--ink-3); }
  .btn .arrow { transition: transform .15s ease; }
  .btn:hover .arrow { transform: translateX(3px); }

  .hero-flow { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
  .hero-flow svg {
    position: absolute;
    right: -2%; bottom: -5%;
    width: clamp(640px, 70vw, 1100px);
    height: auto;
    opacity: 0.55;
  }
  .hero-flow .flow-line { fill: none; stroke: var(--primary); stroke-width: 1; opacity: 0.18; }
  .hero-flow .flow-line.b { opacity: 0.10; }
  .hero-flow .flow-line.c { opacity: 0.06; }

  .hero-meta {
    margin-top: 56px;
    display: flex;
    gap: 36px;
    flex-wrap: wrap;
    font-family: var(--font-mono);
    font-size: 12.5px;
    color: var(--ink-3);
    letter-spacing: 0.02em;
  }
  .hero-meta span::before { content: "→ "; color: var(--accent-ink); }

  /* ============ SECTIONS ============ */
  section.block {
    padding: clamp(72px, 9vw, 120px) var(--pad);
    border-bottom: 1px solid var(--line);
  }
  .block-inner { max-width: var(--maxw); margin: 0 auto; }
  .section-head {
    margin-bottom: 56px;
    /* Entspricht der Breite, die die Ueberschrift vorher als rechte Spalte des
       1180er Rasters hatte. Keine ch-Einheit, die haengt an der Schriftgroesse
       des Elternelements und nicht an der der Ueberschrift. */
    max-width: 730px;
  }
  .section-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 12.5px;
    color: var(--accent-ink);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 16px;
  }
  .section-head h2 {
    margin: 0;
    font-size: clamp(28px, 3.6vw, 42px);
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-weight: 600;
    text-wrap: balance;
  }
  @media (max-width: 760px) {
    .section-head { margin-bottom: 40px; }
  }

  /* ============ LEISTUNGEN (Hauptangebot) ============ */
  .services {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
  }
  .service {
    padding: 40px 36px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: var(--bg-elevated);
    transition: background .2s ease;
    position: relative;
  }
  .service:hover { background: color-mix(in oklab, var(--primary-soft) 60%, var(--bg-elevated)); }
  .service-num {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--accent-ink);
    letter-spacing: 0.06em;
  }
  .service h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.2;
  }
  .service p {
    margin: 0;
    color: var(--ink-2);
    font-size: 15.5px;
    line-height: 1.6;
  }
  .service ul {
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .service li {
    font-size: 14px;
    color: var(--ink-3);
    display: flex;
    gap: 10px;
    align-items: flex-start;
    line-height: 1.5;
  }
  .service li::before {
    content: "";
    width: 5px; height: 5px;
    background: var(--primary);
    border-radius: 50%;
    margin-top: 8px;
    flex-shrink: 0;
    opacity: 0.7;
  }
  @media (max-width: 760px) {
    .services { grid-template-columns: 1fr; }
  }

  /* ============ ANSATZ ============ */
  .ansatz {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    counter-reset: step;
  }
  .step {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 24px;
    border-top: 2px solid var(--accent-ink);
  }
  .step-num {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--accent-ink);
    letter-spacing: 0.06em;
  }
  .step h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.2;
  }
  .step p {
    margin: 0;
    color: var(--ink-2);
    font-size: 15px;
    line-height: 1.6;
  }
  @media (max-width: 760px) {
    .ansatz { grid-template-columns: 1fr; gap: 24px; }
  }

  /* ============ ÜBER ============ */
  .about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.4fr;
    gap: 64px;
    align-items: start;
  }
  .about-portrait {
    aspect-ratio: 4 / 5;
    background: var(--primary-soft);
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    position: relative;
    overflow: hidden;
  }
  .about-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 22%;
    display: block;
    filter: saturate(0.95);
  }
  .about-portrait .portrait-caption {
    position: absolute;
    bottom: 16px; left: 16px;
    font-family: var(--font-mono);
    font-size: 11.5px;
    color: var(--ink);
    background: color-mix(in oklab, var(--bg-elevated) 88%, transparent);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 6px 10px;
    border-radius: 4px;
    letter-spacing: 0.04em;
    border: 1px solid var(--line);
  }
  .about-body p {
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink-2);
    margin: 0 0 20px;
    text-wrap: pretty;
  }
  .about-body p strong { color: var(--ink); font-weight: 600; }
  .about-facts {
    margin-top: 36px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    border-top: 1px solid var(--line);
  }
  .about-facts dl {
    margin: 0;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
  }
  .about-facts dl:nth-child(odd) { padding-right: 24px; }
  .about-facts dl:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
  .about-facts dt {
    font-family: var(--font-mono);
    font-size: 11.5px;
    color: var(--ink-3);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
  }
  .about-facts dd { margin: 0; font-size: 15px; color: var(--ink); line-height: 1.45; }
  @media (max-width: 820px) {
    .about-grid { grid-template-columns: 1fr; gap: 32px; }
    .about-portrait { max-width: 320px; }
  }

  /* ============ SOFTWARE (dezent) ============ */
  .software-block {
    background: var(--bg);
  }
  .software-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--bg-elevated);
    padding: 36px;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    align-items: center;
  }
  .software-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .software-eyebrow {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--accent-ink);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .software-eyebrow .dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: oklch(70% 0.16 145);
    box-shadow: 0 0 0 3px color-mix(in oklab, oklch(70% 0.16 145) 30%, transparent);
  }
  .software-card h3 {
    margin: 0;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.1;
  }
  .software-card p {
    margin: 0;
    color: var(--ink-2);
    font-size: 15.5px;
    line-height: 1.6;
    max-width: 50ch;
  }
  .software-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 4px;
  }
  .software-tag {
    font-family: var(--font-mono);
    font-size: 11.5px;
    padding: 4px 10px;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: 4px;
    letter-spacing: 0.02em;
  }
  .software-cta {
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
  }
  .software-visual {
    aspect-ratio: 4/3;
    border-radius: var(--radius);
    background: linear-gradient(155deg, var(--primary) 0%, var(--bg-deep) 100%);
    color: #fff;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
  }
  .software-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse at 110% 0%, rgba(255,255,255,0.20), transparent 55%),
      repeating-linear-gradient(135deg, transparent 0 30px, rgba(255,255,255,0.04) 30px 31px);
    pointer-events: none;
  }
  .software-visual .v-name {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.015em;
    position: relative;
    z-index: 1;
  }
  .software-visual .v-meta {
    font-family: var(--font-mono);
    font-size: 11.5px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.75;
    position: relative;
    z-index: 1;
  }
  @media (max-width: 820px) {
    .software-card { grid-template-columns: 1fr; padding: 28px; }
  }

  .software-also {
    margin-top: 28px;
    font-size: 14px;
    color: var(--ink-3);
    text-align: center;
  }

  /* ============ KONTAKT ============ */
  .contact-wrap {
    background: var(--bg-deep);
    color: oklch(92% 0.01 200);
    border-radius: var(--radius-lg);
    padding: clamp(40px, 6vw, 64px);
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 56px;
    align-items: start;
    position: relative;
    overflow: hidden;
  }
  .contact-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 110% 0%, color-mix(in oklab, var(--primary) 45%, transparent), transparent 55%);
    pointer-events: none;
  }
  .contact-info { position: relative; z-index: 1; }
  .contact-info h2 {
    font-size: clamp(26px, 3.2vw, 36px);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 20px;
    color: #fff;
    font-weight: 600;
  }
  .contact-info p {
    color: oklch(80% 0.015 200);
    line-height: 1.6;
    margin: 0 0 28px;
    max-width: 38ch;
  }
  .contact-list {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .contact-list li { display: flex; flex-direction: column; gap: 4px; }
  .contact-list .label {
    font-family: var(--font-mono);
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: oklch(70% 0.025 200);
  }
  .contact-list .value { font-size: 16px; color: #fff; text-decoration: none; }
  .contact-list .value:hover { color: oklch(82% 0.08 200); }

  form.contact-form {
    position: relative;
    z-index: 1;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: var(--radius);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .form-row { display: flex; flex-direction: column; gap: 8px; }
  .form-row label {
    font-family: var(--font-mono);
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: oklch(75% 0.025 200);
  }
  .form-row input, .form-row textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.20);
    color: #fff;
    font: inherit;
    font-size: 15px;
    padding: 8px 0;
    outline: none;
    transition: border-color .15s ease;
    resize: vertical;
    font-family: var(--font-sans);
  }
  .form-row textarea { min-height: 90px; }
  .form-row input:focus, .form-row textarea:focus { border-bottom-color: oklch(75% 0.10 200); }
  .form-row input::placeholder, .form-row textarea::placeholder { color: oklch(55% 0.015 200); }
  .checkbox-row {
    display: flex; gap: 12px; align-items: flex-start;
    font-size: 13.5px; color: oklch(78% 0.015 200); line-height: 1.5;
  }
  .checkbox-row input { margin-top: 3px; accent-color: var(--accent); }
  .checkbox-row a {
    color: oklch(85% 0.08 200);
    text-decoration: underline;
    text-underline-offset: 2px;
  }
  .form-submit {
    align-self: flex-start;
    background: #fff;
    color: var(--bg-deep);
    padding: 12px 20px;
    border: none;
    border-radius: var(--radius);
    font-family: inherit;
    font-weight: 500;
    font-size: 14.5px;
    cursor: pointer;
    margin-top: 6px;
    transition: background .15s ease;
  }
  .form-submit:hover { background: oklch(94% 0.02 200); }
  .form-submit:disabled { opacity: 0.6; cursor: progress; }

  /* Honeypot, visuell und für Screenreader versteckt, aber für Bots ausfüllbar */
  .hp-field {
    position: absolute;
    left: -9999px;
    width: 1px; height: 1px;
    overflow: hidden;
  }

  /* Status-Meldung (Erfolg / Fehler) */
  .form-status {
    border-radius: var(--radius);
    padding: 12px 14px;
    font-size: 14px;
    line-height: 1.5;
    border: 1px solid transparent;
  }
  .form-status.is-success {
    background: color-mix(in oklab, oklch(70% 0.14 145) 18%, transparent);
    border-color: color-mix(in oklab, oklch(70% 0.14 145) 45%, transparent);
    color: oklch(90% 0.05 145);
  }
  .form-status.is-error {
    background: color-mix(in oklab, oklch(65% 0.16 30) 18%, transparent);
    border-color: color-mix(in oklab, oklch(65% 0.16 30) 45%, transparent);
    color: oklch(88% 0.06 30);
  }
  @media (max-width: 820px) {
    .contact-wrap { grid-template-columns: 1fr; gap: 40px; padding: 32px; }
  }

  /* ============ FOOTER ============ */
  footer.site {
    padding: 56px var(--pad) 40px;
    background: var(--bg);
  }
  .footer-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--line);
  }
  .footer-brand .brand { margin-bottom: 14px; }
  .footer-brand p {
    font-size: 14px;
    color: var(--ink-3);
    line-height: 1.55;
    margin: 0;
    max-width: 32ch;
  }
  .footer-col h4 {
    font-family: var(--font-mono);
    font-size: 11.5px;
    color: var(--ink-3);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 14px;
    font-weight: 500;
  }
  .footer-col ul {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 10px;
  }
  .footer-col a { font-size: 14.5px; color: var(--ink-2); text-decoration: none; }
  .footer-col a:hover { color: var(--accent-ink); }
  .footer-bottom {
    max-width: var(--maxw);
    margin: 0 auto;
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--ink-3);
    flex-wrap: wrap;
  }
  @media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; gap: 32px; } }

  /* Lange deutsche Komposita wie "Prozessautomatisierung" passen auf schmalen
     Displays nicht in eine Zeile und wurden vorher an der Kante abgeschnitten.
     Silbentrennung greift, weil das Dokument lang="de" gesetzt hat. */
  @media (max-width: 760px) {
    h1, h2, h3 {
      hyphens: auto;
      overflow-wrap: break-word;
    }
  }

  /* ============ LEGAL ============ */
  .legal {
    padding: clamp(72px, 9vw, 110px) var(--pad);
    border-top: 1px solid var(--line);
    background: var(--bg);
  }
  .legal-inner { max-width: 780px; margin: 0 auto; }
  .legal h2 {
    font-size: clamp(26px, 3vw, 36px);
    letter-spacing: -0.02em;
    margin: 0 0 12px;
    font-weight: 600;
  }
  .legal .section-label { margin-bottom: 8px; display: block; }
  .legal h3 { font-size: 17px; margin: 32px 0 8px; font-weight: 600; }
  .legal p, .legal li { color: var(--ink-2); line-height: 1.65; font-size: 15.5px; }
  .legal ul { padding-left: 20px; }
  .legal .placeholder {
    display: inline-block;
    padding: 1px 6px;
    background: var(--primary-soft);
    color: var(--primary);
    font-family: var(--font-mono);
    font-size: 13px;
    border-radius: 3px;
  }
