/* ==========================================================================
   winkler-ki.com — base tokens
   ========================================================================== */

:root {
  /* DSGVO: keine Drittanbieter-Schriftarten. System-Font-Stack. */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --font-display: Georgia, "Times New Roman", "Iowan Old Style", serif;

  --maxw: 1280px;
  --gutter: clamp(16px, 4vw, 40px);

  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 16px;

  --dur: 160ms;
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---- Theme: DARK (default) ----------------------------------------------- */
:root[data-theme="dark"] {
  --bg: #0a0e14;
  --bg-elev: #0f1520;
  --bg-soft: #131a26;
  --line: #1d2838;
  --line-strong: #2a3a54;
  --ink: #e8eef8;
  --ink-muted: #8a99b3;
  --ink-dim: #56657f;
  --accent: #3b82f6;      /* signal blue */
  --accent-soft: #1e3a8a;
  --warn: #f59e0b;
  --crit: #ef4444;
  --ok: #22c55e;
  --shadow: 0 1px 0 rgba(255,255,255,.03) inset, 0 20px 40px -20px rgba(0,0,0,.6);
  color-scheme: dark;
}
:root[data-theme="dark"][data-accent="green"]  { --accent: #22c55e; --accent-soft:#064e3b; }
:root[data-theme="dark"][data-accent="amber"]  { --accent: #f59e0b; --accent-soft:#78350f; }

/* ---- Theme: LIGHT (editorial) ------------------------------------------- */
:root[data-theme="light"] {
  --bg: #f6f4ef;
  --bg-elev: #ffffff;
  --bg-soft: #ecebe5;
  --line: #d9d6cc;
  --line-strong: #0a0a0a;
  --ink: #0a0a0a;
  --ink-muted: #5a5a55;
  --ink-dim: #8a8a82;
  --accent: #c2410c;      /* burnt red */
  --accent-soft: #fee2c8;
  --warn: #a16207;
  --crit: #991b1b;
  --ok: #166534;
  --shadow: 0 1px 0 rgba(0,0,0,.03) inset, 0 1px 2px rgba(0,0,0,.04);
  color-scheme: light;
}
:root[data-theme="light"][data-accent="green"]  { --accent: #166534; --accent-soft:#dcfce7; }
:root[data-theme="light"][data-accent="amber"]  { --accent: #a16207; --accent-soft:#fef3c7; }

/* ---- Reset --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img, svg { display: block; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 600; letter-spacing: -0.02em; }
p { margin: 0; text-wrap: pretty; }

/* ---- Layout primitives --------------------------------------------------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

.mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.02em; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-muted);
  display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 20%, transparent);
}

.rule {
  border: 0; height: 1px; background: var(--line); margin: 0;
}

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-radius: 4px;
  font-weight: 500; font-size: 14px;
  border: 1px solid transparent;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.btn-primary {
  background: var(--ink); color: var(--bg);
}
.btn-primary:hover { background: var(--accent); color: white; }
.btn-ghost {
  background: transparent; color: var(--ink); border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--ink); }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 100px;
  font-family: var(--font-mono); font-size: 11px;
  border: 1px solid var(--line); color: var(--ink-muted);
  background: var(--bg-elev);
}

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--bg) 80%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; letter-spacing: -0.01em;
}
.nav-logo .logo-mark {
  width: 28px; height: 28px; display: grid; place-items: center;
}
.nav-logo .logo-text { font-size: 15px; }
.nav-logo .logo-text .tld { color: var(--ink-muted); font-weight: 400; }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-size: 14px; color: var(--ink-muted);
  transition: color var(--dur) var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-status {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px; color: var(--ink-muted);
}
.nav-status .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px color-mix(in oklab, var(--ok) 20%, transparent); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  padding: 96px 0 112px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 70% 30%, black 20%, transparent 75%);
  opacity: .55;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 80px; align-items: start;
}
.hero-meta {
  display: flex; gap: 16px; align-items: center;
  margin-bottom: 28px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: 88px;
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 400;
  margin-bottom: 28px;
}
.hero h1 em {
  font-style: italic; color: var(--accent);
}
.hero-lede {
  font-size: 19px; line-height: 1.5;
  color: var(--ink-muted);
  max-width: 56ch;
  margin-bottom: 36px;
}
.hero-lede strong { color: var(--ink); font-weight: 500; }
.hero-ctas { display: flex; gap: 12px; align-items: center; }

/* right side: console-style card */
.hero-console {
  font-family: var(--font-mono);
  font-size: 12.5px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-console-head {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 11px;
}
.hero-console-head .dots { display: flex; gap: 5px; }
.hero-console-head .dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.hero-console-body { padding: 18px 20px; line-height: 1.7; }
.hero-console-body .l { display: block; }
.hero-console-body .k { color: var(--ink-muted); }
.hero-console-body .v { color: var(--ink); }
.hero-console-body .a { color: var(--accent); }
.hero-console-body .ok { color: var(--ok); }
.hero-console-body .hr { height: 1px; background: var(--line); margin: 8px 0; }

.hero-strip {
  margin-top: 64px; padding-top: 24px;
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.hero-strip-item .k { font-family: var(--font-mono); font-size: 11px; color: var(--ink-muted); text-transform: uppercase; letter-spacing: .14em; margin-bottom: 8px; }
.hero-strip-item .v { font-family: var(--font-display); font-size: 32px; line-height: 1; letter-spacing: -0.02em; }
.hero-strip-item .s { font-size: 13px; color: var(--ink-muted); margin-top: 6px; }

/* Hero variant: editorial */
:root[data-hero="editorial"] .hero-grid-bg { display: none; }
:root[data-hero="editorial"] .hero { padding: 120px 0 140px; }
:root[data-hero="editorial"] .hero-inner { grid-template-columns: 1fr; gap: 64px; }
:root[data-hero="editorial"] .hero h1 { font-size: 128px; line-height: .92; max-width: 16ch; }
:root[data-hero="editorial"] .hero-console { max-width: 520px; justify-self: end; }

/* Hero variant: terminal */
:root[data-hero="terminal"] .hero-inner { grid-template-columns: 1fr; }
:root[data-hero="terminal"] .hero-console { display: none; }
:root[data-hero="terminal"] .hero h1 { font-family: var(--font-mono); font-size: 56px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; max-width: 22ch; }
:root[data-hero="terminal"] .hero h1 em { font-style: normal; color: var(--accent); }

/* ==========================================================================
   SECTIONS
   ========================================================================== */
section { padding: 112px 0; border-bottom: 1px solid var(--line); }
.section-head {
  display: grid; grid-template-columns: 1fr 2fr; gap: 80px;
  margin-bottom: 64px; align-items: end;
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 56px; line-height: 1;
  letter-spacing: -0.03em;
}
.section-head .lede { font-size: 17px; color: var(--ink-muted); max-width: 56ch; }
.section-num { font-family: var(--font-mono); font-size: 11px; color: var(--ink-dim); text-transform: uppercase; letter-spacing: .14em; margin-bottom: 16px; }

/* ---- Services ----------------------------------------------------------- */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.service {
  padding: 36px 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  transition: background var(--dur) var(--ease);
  position: relative;
  min-height: 240px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.service:hover { background: var(--bg-elev); }
.service-head { display: flex; justify-content: space-between; align-items: start; gap: 12px; margin-bottom: 28px; }
.service-num { font-family: var(--font-mono); font-size: 11px; color: var(--ink-dim); }
.service-icon { color: var(--accent); }
.service h3 { font-size: 20px; letter-spacing: -0.01em; margin-bottom: 10px; }
.service p { font-size: 14px; color: var(--ink-muted); line-height: 1.55; }
.service-tag {
  position: absolute; top: 16px; right: 16px;
  font-family: var(--font-mono); font-size: 10px;
  color: var(--accent);
  opacity: 0; transition: opacity var(--dur) var(--ease);
}
.service:hover .service-tag { opacity: 1; }

/* ---- NemoClaw USP ------------------------------------------------------- */
.nemo {
  padding: 140px 0;
  background: var(--bg-elev);
  position: relative;
  overflow: hidden;
}
.nemo-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.nemo-label {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 12px;
  padding: 6px 12px; border-radius: 100px;
  background: color-mix(in oklab, var(--accent) 12%, transparent);
  color: var(--accent);
  margin-bottom: 28px;
}
.nemo h2 {
  font-family: var(--font-display);
  font-weight: 400; font-size: 72px; line-height: 1;
  letter-spacing: -0.035em;
  margin-bottom: 28px;
}
.nemo h2 em { font-style: italic; color: var(--accent); }
.nemo p.lede { font-size: 18px; color: var(--ink-muted); margin-bottom: 32px; max-width: 52ch; }
.nemo-bullets { display: grid; gap: 18px; margin-bottom: 36px; }
.nemo-bullet { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: 15px; }
.nemo-bullet .m { font-family: var(--font-mono); color: var(--accent); font-size: 13px; padding-top: 2px; }
.nemo-bullet .t strong { font-weight: 500; color: var(--ink); }
.nemo-bullet .t span { color: var(--ink-muted); }

.nemo-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  font-family: var(--font-mono); font-size: 12px;
  box-shadow: var(--shadow);
  position: relative;
}
.nemo-card-head { display: flex; justify-content: space-between; color: var(--ink-muted); font-size: 11px; margin-bottom: 20px; text-transform: uppercase; letter-spacing: .12em; }
.nemo-card-title { font-family: var(--font-sans); font-size: 24px; letter-spacing: -0.02em; margin-bottom: 4px; color: var(--ink); font-weight: 500; }
.nemo-card-sub { color: var(--ink-muted); margin-bottom: 24px; font-size: 13px; }
.nemo-card-metric { display: flex; justify-content: space-between; padding: 14px 0; border-top: 1px solid var(--line); font-size: 12px; }
.nemo-card-metric .k { color: var(--ink-muted); }
.nemo-card-metric .v { color: var(--ink); font-family: var(--font-mono); }
.nemo-card-metric .v.ok { color: var(--ok); }
.nemo-card-metric .v.warn { color: var(--warn); }
.nemo-card-metric .v.crit { color: var(--crit); }

/* ---- Industries --------------------------------------------------------- */
.ind-list {
  border-top: 1px solid var(--line);
}
.ind-row {
  display: grid; grid-template-columns: 80px 1fr 2fr 1fr;
  gap: 40px; padding: 32px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
  transition: padding var(--dur) var(--ease);
}
.ind-row:hover { background: linear-gradient(to right, transparent, var(--bg-elev), transparent); }
.ind-row .n { font-family: var(--font-mono); font-size: 12px; color: var(--ink-dim); }
.ind-row .t { font-family: var(--font-display); font-size: 32px; letter-spacing: -0.02em; line-height: 1; }
.ind-row .d { font-size: 14px; color: var(--ink-muted); max-width: 52ch; }
.ind-row .tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: end; }

/* ---- Process ------------------------------------------------------------ */
.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.process-step {
  padding: 28px 28px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  position: relative;
}
.process-step .n {
  font-family: var(--font-mono); font-size: 11px; color: var(--accent);
  margin-bottom: 40px; display: flex; justify-content: space-between;
}
.process-step h3 { font-size: 18px; margin-bottom: 10px; letter-spacing: -0.01em; }
.process-step p { font-size: 13.5px; color: var(--ink-muted); line-height: 1.55; }

/* ---- Certs -------------------------------------------------------------- */
.certs {
  padding: 80px 0;
  background: var(--bg-soft);
}
.certs-inner {
  display: grid; grid-template-columns: 1fr 3fr; gap: 80px; align-items: center;
}
.certs h3 { font-family: var(--font-display); font-weight: 400; font-size: 32px; letter-spacing: -0.02em; line-height: 1.1; }
.certs p { color: var(--ink-muted); font-size: 14px; margin-top: 8px; }
.certs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cert {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  background: var(--bg);
  display: flex; flex-direction: column; gap: 8px; justify-content: space-between;
  min-height: 140px;
}
.cert-name { font-size: 14px; font-weight: 500; letter-spacing: -0.005em; }
.cert-desc { font-size: 12px; color: var(--ink-muted); line-height: 1.45; }
.cert-tag { font-family: var(--font-mono); font-size: 10px; color: var(--accent); text-transform: uppercase; letter-spacing: .14em; }

/* ---- Team / About ------------------------------------------------------- */
.team-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start;
}
.team-quote {
  font-family: var(--font-display);
  font-size: 40px; line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}
.team-quote em { color: var(--accent); font-style: italic; }
.team-attribution {
  display: flex; align-items: center; gap: 16px;
  padding-top: 20px; border-top: 1px solid var(--line);
}
.team-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--line-strong));
  display: grid; place-items: center;
  font-family: var(--font-mono); color: white; font-size: 14px; font-weight: 600;
}
.team-meta .n { font-size: 15px; font-weight: 500; }
.team-meta .r { font-size: 13px; color: var(--ink-muted); }

.team-facts { display: grid; gap: 0; }
.team-fact {
  display: grid; grid-template-columns: 180px 1fr;
  gap: 24px; padding: 20px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.team-fact:last-child { border-bottom: 1px solid var(--line); }
.team-fact .k { font-family: var(--font-mono); font-size: 12px; color: var(--ink-muted); text-transform: uppercase; letter-spacing: .1em; }
.team-fact .v { color: var(--ink); }

/* ---- Contact ------------------------------------------------------------ */
.contact { background: var(--bg-elev); padding: 120px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.contact h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: 64px; line-height: 1; letter-spacing: -0.03em; margin-bottom: 24px;
}
.contact-lede { font-size: 17px; color: var(--ink-muted); margin-bottom: 40px; max-width: 44ch; }
.contact-channels { display: grid; gap: 2px; }
.contact-channel {
  display: grid; grid-template-columns: 130px 1fr auto;
  gap: 20px; padding: 18px 0;
  border-top: 1px solid var(--line);
  align-items: center;
}
.contact-channel:last-child { border-bottom: 1px solid var(--line); }
.contact-channel .k { font-family: var(--font-mono); font-size: 11px; color: var(--ink-muted); text-transform: uppercase; letter-spacing: .12em; }
.contact-channel .v { font-size: 15px; }
.contact-channel .v strong { font-weight: 500; }
.contact-channel .arrow { color: var(--ink-muted); transition: transform var(--dur) var(--ease), color var(--dur) var(--ease); }
.contact-channel:hover .arrow { transform: translateX(4px); color: var(--accent); }

.form {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
.form-row { display: grid; gap: 8px; margin-bottom: 20px; }
.form-row label { font-family: var(--font-mono); font-size: 11px; color: var(--ink-muted); text-transform: uppercase; letter-spacing: .12em; display: flex; justify-content: space-between; }
.form-row label .req { color: var(--accent); }
.form-row input, .form-row textarea, .form-row select {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 12px 14px;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 14px;
  transition: border-color var(--dur) var(--ease);
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  outline: none; border-color: var(--accent);
}
.form-row textarea { resize: vertical; min-height: 120px; }
.form-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.topic-row { display: flex; flex-wrap: wrap; gap: 6px; }
.topic {
  padding: 6px 12px; border-radius: 100px;
  border: 1px solid var(--line);
  font-size: 12px; color: var(--ink-muted);
  background: var(--bg-elev);
  cursor: pointer;
  transition: all var(--dur) var(--ease);
}
.topic.active {
  border-color: var(--accent);
  color: var(--accent);
  background: color-mix(in oklab, var(--accent) 10%, transparent);
}
.topic:hover { color: var(--ink); }
.topic.active:hover { color: var(--accent); }

.form-submit { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.form-note { font-family: var(--font-mono); font-size: 11px; color: var(--ink-muted); }

/* ---- Footer ------------------------------------------------------------- */
footer { padding: 48px 0 40px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer-col h4 { font-family: var(--font-mono); font-size: 11px; color: var(--ink-muted); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; font-weight: 500; }
.footer-col a { display: block; font-size: 13.5px; color: var(--ink-muted); padding: 4px 0; transition: color var(--dur) var(--ease); }
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 11px; color: var(--ink-muted);
}
.footer-logo-wrap { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-tag { font-size: 13.5px; color: var(--ink-muted); max-width: 36ch; }

/* ==========================================================================
   Message (NIS-2 Kernbotschaft)
   ========================================================================== */
.message {
  padding: 140px 0;
  background: var(--bg);
  position: relative;
  border-bottom: 1px solid var(--line);
}
.message::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: .25;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 50%, black 20%, transparent 80%);
  pointer-events: none;
}
.message-inner { position: relative; max-width: 1100px; }
.message-label { margin-bottom: 28px; }
.message-headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 64px;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  max-width: 22ch;
}
.message-headline em { font-style: italic; color: var(--accent); }
.message-lede {
  font-size: 19px;
  color: var(--ink-muted);
  max-width: 60ch;
  margin-bottom: 64px;
}
.message-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.message-pillar {
  padding: 32px 28px 36px;
  border-right: 1px solid var(--line);
}
.message-pillar:last-child { border-right: 0; }
.message-pillar .n {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  margin-bottom: 32px;
  letter-spacing: 0.1em;
}
.message-pillar h3 {
  font-size: 18px;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.message-pillar p {
  font-size: 13.5px;
  color: var(--ink-muted);
  line-height: 1.6;
}
.message-cta {
  margin-top: 48px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.message-note { color: var(--ink-muted); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; }

@media (max-width: 1024px) {
  .message-headline { font-size: 44px; }
  .message-pillars { grid-template-columns: repeat(2, 1fr); }
  .message-pillar:nth-child(2) { border-right: 0; }
  .message-pillar:nth-child(1), .message-pillar:nth-child(2) { border-bottom: 1px solid var(--line); }
}

/* ==========================================================================
   NIS-2 page
   ========================================================================== */
.nis2-hero {
  padding: 180px 0 120px;
  border-bottom: 1px solid var(--line);
  position: relative;
  background: var(--bg);
}
.nis2-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(to right, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: .2;
  mask-image: radial-gradient(ellipse 80% 60% at 30% 50%, black 10%, transparent 80%);
  pointer-events: none;
}
.nis2-hero-inner { position: relative; max-width: 880px; }
.nis2-hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 88px;
  line-height: 1.0;
  letter-spacing: -0.035em;
  margin: 24px 0 28px;
}
.nis2-hero-title em { font-style: italic; color: var(--accent); }
.nis2-hero-lede {
  font-size: 20px;
  color: var(--ink-muted);
  line-height: 1.5;
  max-width: 64ch;
  margin-bottom: 40px;
}
.nis2-hero-cta {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}

.nis2-scope {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.nis2-scope-grid {
  display: grid;
  border-top: 1px solid var(--line);
}
.nis2-scope-row {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.nis2-scope-k {
  font-size: 11px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding-top: 4px;
}
.nis2-scope-v {
  font-size: 17px;
  color: var(--ink);
  line-height: 1.55;
  max-width: 70ch;
}

.nis2-timeline {
  margin-top: 32px;
  border-top: 1px solid var(--line);
}
.nis2-tl-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 48px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.nis2-tl-date {
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.06em;
}
.nis2-tl-t { font-size: 20px; font-weight: 500; margin-bottom: 6px; letter-spacing: -0.01em; }
.nis2-tl-s { font-size: 14px; color: var(--ink-muted); line-height: 1.5; }

.nis2-measures { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.nis2-measures-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  background: var(--bg);
}
.nis2-measure {
  display: flex; align-items: center; gap: 20px;
  padding: 22px 28px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  letter-spacing: -0.005em;
}
.nis2-measure:nth-child(odd)  { border-right: 1px solid var(--line); }
.nis2-measure:nth-last-child(-n+2) { border-bottom: 0; }
.nis2-measure-n { font-size: 11px; color: var(--ink-muted); letter-spacing: 0.1em; }

.nis2-faq-list {
  margin-top: 32px;
  border-top: 1px solid var(--line);
}
.nis2-faq-item {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}
.nis2-faq-item > summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  display: grid;
  grid-template-columns: 60px 1fr 24px;
  gap: 24px;
  align-items: center;
  font-size: 19px;
  letter-spacing: -0.01em;
  transition: color var(--dur) var(--ease);
}
.nis2-faq-item > summary::-webkit-details-marker { display: none; }
.nis2-faq-item > summary::after {
  content: "+";
  grid-column: 3;
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--ink-muted);
  text-align: right;
  transition: transform var(--dur) var(--ease);
}
.nis2-faq-item[open] > summary::after { content: "−"; }
.nis2-faq-item > summary:hover { color: var(--accent); }
.nis2-faq-n { color: var(--accent); letter-spacing: 0.1em; font-size: 11px; }
.nis2-faq-a {
  padding: 0 0 28px 84px;
  color: var(--ink-muted);
  font-size: 15.5px;
  line-height: 1.6;
  max-width: 80ch;
}

.nis2-cta-section { padding-bottom: 120px; }
.nis2-chef { border-top: 1px solid var(--line); }
.nis2-chef-body { max-width: 72ch; margin: 0 0 56px; font-size: 17px; line-height: 1.6; color: var(--ink-muted); }
.nis2-chef-body strong { color: var(--ink); font-weight: 600; }

.nis2-roadmap { margin-top: 32px; border-top: 1px solid var(--line); }
.nis2-roadmap-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 48px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.nis2-roadmap-n { font-size: 13px; color: var(--accent); letter-spacing: 0.06em; }
.nis2-roadmap-t { font-size: 22px; font-weight: 500; letter-spacing: -0.015em; margin-bottom: 8px; }
.nis2-roadmap-d { font-size: 15.5px; color: var(--ink-muted); line-height: 1.6; max-width: 80ch; }

.nis2-advantage {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 120px 0;
}
.nis2-advantage-inner { max-width: 900px; }
.nis2-advantage-h {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 64px;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 24px 0 28px;
}
.nis2-advantage-h em { font-style: italic; color: var(--accent); }
.nis2-advantage-p {
  font-size: 18px;
  color: var(--ink-muted);
  line-height: 1.6;
  max-width: 70ch;
}
.nis2-cta-card {
  background: var(--bg-soft);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  padding: 64px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
}
.nis2-cta-actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }

@media (max-width: 1024px) {
  .nis2-hero-title { font-size: 56px; }
  .nis2-scope-row, .nis2-tl-row { grid-template-columns: 1fr; gap: 8px; }
  .nis2-measures-grid { grid-template-columns: 1fr; }
  .nis2-measure:nth-child(odd) { border-right: 0; }
  .nis2-measure:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .nis2-cta-card { grid-template-columns: 1fr; padding: 40px; }
  .nis2-faq-item > summary { grid-template-columns: 40px 1fr 20px; font-size: 17px; }
  .nis2-faq-a { padding-left: 64px; }
}

/* ==========================================================================
   Projects (Kundenprojekte)
   ========================================================================== */
.projects-section { padding: 80px 0 120px; }
.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
.project-card {
  border-bottom: 1px solid var(--line);
  padding: 64px 0;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: start;
}
.project-head {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 24px;
}
.project-num {
  font-size: 56px;
  font-weight: 400;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1;
}
.project-tag {
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.project-body { display: flex; flex-direction: column; gap: 28px; }
.project-meta {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.project-client {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.project-size {
  font-size: 11px;
  color: var(--ink-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.project-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 40px;
  line-height: 1.08;
  letter-spacing: -0.025em;
  max-width: 22ch;
}
.project-lede {
  font-size: 17px;
  color: var(--ink-muted);
  line-height: 1.55;
  max-width: 70ch;
}
.project-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}
.project-bullets li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.55;
}
.project-bullet-n {
  font-size: 11px;
  color: var(--ink-muted);
  letter-spacing: 0.1em;
  padding-top: 4px;
}
.project-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
}
.project-metric {
  padding: 20px 24px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.project-metric:last-child { border-right: 0; }
.project-metric-v {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 28px;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}
.project-metric-k {
  font-size: 10px;
  color: var(--ink-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 1024px) {
  .project-card { grid-template-columns: 1fr; gap: 32px; padding: 48px 0; }
  .project-head { position: static; flex-direction: row; align-items: baseline; gap: 20px; }
  .project-num { font-size: 40px; }
  .project-title { font-size: 30px; }
  .project-metrics { grid-template-columns: repeat(2, 1fr); }
  .project-metric:nth-child(odd) { border-right: 1px solid var(--line); }
  .project-metric:nth-child(2) { border-right: 0; }
  .project-metric:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

   ========================================================================== */
.tweaks {
  position: fixed; bottom: 20px; right: 20px; z-index: 100;
  background: var(--bg-elev);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 20px 50px -10px rgba(0,0,0,.5);
  display: none;
  min-width: 240px;
}
body[data-tweaks-on="true"] .tweaks { display: block; }
.tweaks-title { font-family: var(--font-mono); font-size: 10px; color: var(--ink-muted); text-transform: uppercase; letter-spacing: .14em; margin-bottom: 12px; display: flex; justify-content: space-between; }
.tweaks-row { display: grid; gap: 6px; margin-bottom: 12px; }
.tweaks-row:last-child { margin-bottom: 0; }
.tweaks-label { font-size: 11px; color: var(--ink-muted); font-family: var(--font-mono); }
.tweaks-options { display: flex; gap: 4px; background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 3px; }
.tweaks-option {
  flex: 1; padding: 6px 10px; border-radius: 4px;
  background: transparent; border: 0; color: var(--ink-muted);
  font-size: 11px; font-family: var(--font-mono);
  transition: all var(--dur) var(--ease);
  text-transform: capitalize;
}
.tweaks-option:hover { color: var(--ink); }
.tweaks-option.active { background: var(--ink); color: var(--bg); }

/* responsive safety (desktop-first, but collapse on narrow) */
@media (max-width: 1024px) {
  .hero-inner, .section-head, .nemo-grid, .team-grid, .contact-grid, .certs-inner { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 64px; }
  :root[data-hero="editorial"] .hero h1 { font-size: 80px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-strip { grid-template-columns: repeat(2, 1fr); }
  .ind-row { grid-template-columns: 60px 1fr 1fr; }
  .ind-row .tags { display: none; }
}

/* Tablet */
@media (max-width: 860px) {
  :root { --gutter: 24px; }
  .nav-inner { flex-wrap: wrap; gap: 12px; }
  .nav-links { display: none; }
  .services-grid, .process-grid { grid-template-columns: 1fr; }
  .hero h1, :root[data-hero="editorial"] .hero h1, :root[data-hero="terminal"] .hero h1 { font-size: 44px; max-width: 100%; }
  .form-duo { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .legal-grid { grid-template-columns: 1fr; }
}

/* Mobile */
@media (max-width: 520px) {
  :root { --gutter: 16px; }
  .hero h1, :root[data-hero="editorial"] .hero h1, :root[data-hero="terminal"] .hero h1 { font-size: 32px; line-height: 1.15; }
  h2 { font-size: 28px !important; }
  .hero-strip { grid-template-columns: 1fr; }
  .hero-strip-item .v { font-size: 24px; }
  .ind-row { grid-template-columns: 40px 1fr; grid-template-rows: auto auto; gap: 4px 12px; }
  .topic-row { gap: 6px; }
  .topic { font-size: 12px; padding: 6px 10px; }
  .nav-cta .btn { padding: 7px 10px !important; font-size: 12px !important; }
  .footer-bottom { flex-direction: column; gap: 8px; align-items: flex-start; }
}

/* Touch-targets, accessibility, form feedback */
button, a.btn, .btn, .nav-cta a, input, select, textarea { min-height: 44px; }
.topic { min-height: 36px; }
input, textarea, select { font-size: 16px; /* prevents iOS auto-zoom */ }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
button:disabled { opacity: .5; cursor: not-allowed; }

.form-alert {
  margin: 12px 0 0; padding: 10px 14px; border-radius: var(--radius);
  font-size: 13px; font-family: var(--font-sans); line-height: 1.4;
  border: 1px solid var(--line-strong);
}
.form-alert-err { background: rgba(220, 38, 38, .08); border-color: rgba(220, 38, 38, .4); color: #fca5a5; }
.form-alert-ok  { background: rgba(16, 185, 129, .08); border-color: rgba(16, 185, 129, .4); color: #6ee7b7; }
:root[data-theme="light"] .form-alert-err { color: #991b1b; }
:root[data-theme="light"] .form-alert-ok  { color: #065f46; }

/* Print */
@media print {
  .nav, footer, .form, .tweaks-panel { display: none !important; }
  body { background: #fff !important; color: #000 !important; }
  .wrap { max-width: 100% !important; padding: 0 !important; }
}

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