/* ============================================
   Grundklar — Shared Styles
   ============================================ */

/* ---- Tokens (Light theme) ---- */
:root {
  --bg: #FFFFFF;
  --bg-alt: #F4F5F5;
  --surface: #FFFFFF;
  --surface-2: #F4F5F5;
  --border: #E3E5E6;
  --border-soft: #E3E5E6;
  --text: #2B2F33;
  --text-muted: #4A5058;
  --text-dim: #6B7280;
  --accent: #F25C24;
  --accent-hover: #d94d18;
  --accent-soft: rgba(242, 92, 36, 0.10);
  --shadow-card: 0 1px 2px rgba(43, 47, 51, 0.04), 0 4px 14px -4px rgba(43, 47, 51, 0.06);
  --shadow-soft: 0 1px 3px rgba(43, 47, 51, 0.05), 0 14px 36px -10px rgba(43, 47, 51, 0.10);

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --maxw: 1180px;
  --maxw-narrow: 880px;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;

  --section-y: clamp(72px, 10vw, 140px);
  --section-y-tight: clamp(56px, 7vw, 96px);

  --header-h: 72px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

/* ---- Type ---- */
h1, h2, h3, h4 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 5.2vw, 3.75rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); letter-spacing: -0.015em; }
p  { margin: 0; text-wrap: pretty; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.eyebrow .dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
  transform: translateY(-1px);
}

.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--text-muted); line-height: 1.55; }

/* ---- Layout ---- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.container.narrow { max-width: var(--maxw-narrow); }

main { flex: 1; }

section { padding: var(--section-y) 0; }
section.tight { padding: var(--section-y-tight) 0; }

.section-head { margin-bottom: clamp(36px, 5vw, 56px); }
.section-head .eyebrow { margin-bottom: 18px; display: block; }
.section-head h2 { max-width: 22ch; }
.section-head p { margin-top: 18px; max-width: 62ch; color: var(--text-muted); }

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--border-soft);
}
.site-header .container {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: 17px;
}
.brand-mark {
  width: 28px; height: 28px;
  border-radius: 7px;
  background: var(--accent);
  display: inline-grid; place-items: center;
  color: #fff;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0;
}
.brand-logo-img {
  height: 30px;
  width: auto;
  display: block;
}
.brand-placeholder {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border: 1px dashed var(--text-dim);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-dim);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.nav-list {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-list a {
  font-size: 15px;
  color: var(--text-muted);
  transition: color .15s ease;
  position: relative;
  padding: 6px 0;
}
.nav-list a:hover { color: var(--text); }
.nav-list a.is-active { color: var(--text); }
.nav-list a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.nav-cta { white-space: nowrap; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 40px; height: 40px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
}
.nav-toggle:hover { background: var(--bg-alt); }
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 18px; height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before { transform: translateY(-6px); }
.nav-toggle span::after  { transform: translateY(4.5px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: rotate(-45deg) translateY(0); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1;
  border: 1px solid transparent;
  transition: background-color .15s ease, border-color .15s ease, transform .05s ease, color .15s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary {
  background: #FFFFFF;
  border-color: var(--border);
  color: var(--text);
}
.btn-secondary:hover { background: var(--bg-alt); border-color: var(--text-dim); }
.btn-arrow::after {
  content: "→";
  font-family: var(--font-mono);
  font-size: 14px;
  transform: translateX(0);
  transition: transform .15s ease;
}
.btn:hover .btn-arrow,
.btn-arrow:hover::after { transform: translateX(2px); }

/* ---- Hero ---- */
.hero {
  padding-top: clamp(64px, 9vw, 120px);
  padding-bottom: clamp(72px, 10vw, 140px);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 40% at 20% 0%, rgba(242, 92, 36, 0.045), transparent 70%),
    radial-gradient(50% 35% at 100% 100%, rgba(43, 47, 51, 0.025), transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; }

/* Two-column hero */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
}

.hero h1 { max-width: 22ch; margin-bottom: 24px; }
.hero h1 .hl {
  color: var(--accent);
  white-space: nowrap;
}
.hero .lead { max-width: 50ch; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-fineprint {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.hero-meta {
  margin-top: 56px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero-meta .rule {
  height: 1px; flex: 0 0 48px;
  background: var(--border);
}

/* ============================================
   CHAOS STAGE (hero right column)
   ============================================ */
.chaos-stage {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 560px;
  margin-left: auto;
  min-height: 460px;
  /* subtle radial spotlight behind the pile */
  isolation: isolate;
}
.chaos-stage::before {
  content: "";
  position: absolute;
  inset: -6%;
  background: radial-gradient(60% 60% at 60% 40%, rgba(242, 92, 36, 0.06), transparent 70%);
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}
@media (max-width: 960px) {
  .chaos-stage { margin: 0 auto; max-width: 480px; min-height: 420px; }
}
@media (max-width: 560px) {
  .chaos-stage { min-height: 360px; }
}

/* Common chaos card */
.cz {
  position: absolute;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow:
    0 1px 2px rgba(43, 47, 51, 0.05),
    0 18px 36px -14px rgba(43, 47, 51, 0.18),
    0 6px 14px -6px rgba(43, 47, 51, 0.10);
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--text);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.cz:hover {
  transform: var(--cz-tx, none) translateY(-3px) !important;
  z-index: 20 !important;
}
.cz-head {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  text-transform: uppercase;
}
.cz-head .ic {
  width: 16px; height: 16px;
  border-radius: 4px;
  display: grid; place-items: center;
  flex: 0 0 auto;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
}
.cz-body { padding: 12px 14px; line-height: 1.4; }
.cz .red-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #E5484D;
  box-shadow: 0 0 0 3px rgba(229, 72, 77, 0.18);
}

/* === Email inbox card (large, back) === */
.cz-mail {
  top: 4%; left: 0;
  width: 64%;
  transform: rotate(-3deg);
  --cz-tx: rotate(-3deg);
  z-index: 1;
}
.cz-mail .cz-head .ic { background: #3D6FE5; }
.cz-mail .badge-big {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 12px;
  background: #FDECEC;
  color: #C92A30;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  width: 100%;
}
.cz-mail .badge-big .num { font-size: 22px; }
.cz-mail .badge-big .lbl { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: #C92A30; }
.cz-mail .row {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 8px 0;
  border-top: 1px solid var(--border);
  font-size: 11.5px;
}
.cz-mail .row .av {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #E3E5E6;
  flex: 0 0 auto;
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-muted);
}
.cz-mail .row .av.unread { background: var(--accent); color: #fff; }
.cz-mail .row .col-text { min-width: 0; flex: 1; }
.cz-mail .row .col-text .from { font-weight: 600; color: var(--text); }
.cz-mail .row .col-text .sub {
  color: var(--text-muted);
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cz-mail .row .time {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-dim);
  flex: 0 0 auto;
}
.cz-mail .row.unread .from::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #3D6FE5;
  margin-right: 6px;
  vertical-align: middle;
}

/* === Chat notification (Slack-ish, top) === */
.cz-chat {
  top: 0; right: 4%;
  width: 56%;
  transform: rotate(2.5deg);
  --cz-tx: rotate(2.5deg);
  z-index: 3;
}
.cz-chat .cz-head .ic { background: #4A154B; }
.cz-chat .cz-head .red-dot { margin-left: auto; }
.cz-chat .msg {
  display: flex; gap: 10px;
  align-items: flex-start;
}
.cz-chat .msg .av {
  width: 28px; height: 28px;
  border-radius: 6px;
  background: linear-gradient(135deg, #6B7280, #4A5058);
  display: grid; place-items: center;
  color: #fff;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 11px;
  flex: 0 0 auto;
}
.cz-chat .msg .body { min-width: 0; flex: 1; }
.cz-chat .msg .name {
  font-weight: 600;
  font-size: 12px;
  display: flex; align-items: center; gap: 6px;
}
.cz-chat .msg .name .t {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-dim);
  font-weight: 400;
  letter-spacing: 0.04em;
}
.cz-chat .msg .text {
  color: var(--text-muted);
  font-size: 12px;
  margin-top: 4px;
  line-height: 1.4;
}

/* === WhatsApp (bottom-left) === */
.cz-wa {
  bottom: 6%; left: 2%;
  width: 58%;
  transform: rotate(-2deg);
  --cz-tx: rotate(-2deg);
  z-index: 4;
}
.cz-wa .cz-head { background: #075E54; color: #C9F0E0; border-bottom-color: rgba(0,0,0,0.1); }
.cz-wa .cz-head .ic { background: #25D366; color: #075E54; }
.cz-wa .cz-head .name { color: #fff; text-transform: none; letter-spacing: 0; font-family: var(--font-sans); font-weight: 600; font-size: 11px; }
.cz-wa .cz-head .name .small { display:block; font-size: 9px; color: #9FD9C9; font-weight: 400; letter-spacing: 0.04em; font-family: var(--font-mono); margin-top: 1px; }
.cz-wa .cz-head .red-dot { margin-left: auto; }
.cz-wa .cz-body {
  background:
    repeating-linear-gradient(135deg, rgba(0,0,0,0.012) 0 12px, transparent 12px 24px),
    #E7DFCF;
  padding: 14px 12px;
}
.cz-wa .bubble {
  background: #DCF8C6;
  padding: 8px 10px 6px;
  border-radius: 8px 8px 8px 2px;
  max-width: 90%;
  position: relative;
  font-size: 12px;
  color: #1A1D20;
  box-shadow: 0 1px 1px rgba(0,0,0,0.06);
}
.cz-wa .bubble .meta {
  display: flex; gap: 4px; justify-content: flex-end; align-items: center;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 9px;
  color: #6B7280;
  letter-spacing: 0.04em;
}
.cz-wa .bubble .checks { color: #34B7F1; letter-spacing: -2px; font-size: 11px; }

/* === Sticky note (right-mid, most rotated) === */
.cz-sticky {
  top: 36%; right: 0;
  width: 40%;
  transform: rotate(5.5deg);
  --cz-tx: rotate(5.5deg);
  z-index: 5;
  background: #FFE96A;
  border-color: #E6CF45;
  box-shadow:
    0 1px 2px rgba(43, 47, 51, 0.05),
    0 22px 40px -16px rgba(43, 47, 51, 0.22),
    0 8px 14px -6px rgba(43, 47, 51, 0.10);
  border-radius: 4px 12px 6px 8px;
}
.cz-sticky .cz-body {
  padding: 14px 14px 16px;
  color: #2B2F33;
}
.cz-sticky .tag {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: #8A7615;
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}
.cz-sticky .note {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: #2B2F33;
}
.cz-sticky .since {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 9px;
  color: #C92A30;
  letter-spacing: 0.06em;
}

/* === Calendar (mid, peeking) === */
.cz-cal {
  top: 22%; left: 28%;
  width: 42%;
  transform: rotate(-1.5deg);
  --cz-tx: rotate(-1.5deg);
  z-index: 2;
}
.cz-cal .cz-head .ic { background: #E5484D; }
.cz-cal .cz-body { padding: 0; }
.cz-cal .day {
  display: grid;
  grid-template-columns: 28px 1fr;
  font-size: 10px;
  line-height: 1.2;
}
.cz-cal .hour {
  border-top: 1px solid var(--border);
  padding: 4px 6px;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}
.cz-cal .slot {
  border-top: 1px solid var(--border);
  position: relative;
  height: 22px;
}
.cz-cal .slot:first-child { border-top: none; }
.cz-cal .hour:first-child { border-top: none; }
.cz-cal .ev {
  position: absolute;
  left: 4px; right: 4px;
  border-radius: 4px;
  padding: 3px 6px;
  font-size: 9.5px;
  color: #fff;
  font-weight: 500;
  letter-spacing: -0.005em;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.cz-cal .ev.a { background: #3D6FE5; top: 2px; height: 26px; left: 4px; right: 38%; z-index: 2; }
.cz-cal .ev.b { background: var(--accent); top: 10px; height: 26px; left: 35%; right: 4px; z-index: 3; box-shadow: 0 0 0 2px #fff; }
.cz-cal .ev.c { background: #8A9099; top: 36px; height: 18px; left: 4px; right: 30%; z-index: 1; }

/* === Spreadsheet (bottom-right, small) === */
.cz-sheet {
  bottom: 0; right: 6%;
  width: 36%;
  transform: rotate(3deg);
  --cz-tx: rotate(3deg);
  z-index: 6;
}
.cz-sheet .cz-head .ic { background: #2C8A4A; }
.cz-sheet .grid {
  display: grid;
  grid-template-columns: 24px repeat(3, 1fr);
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-muted);
}
.cz-sheet .grid > div {
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 4px 6px;
  min-height: 18px;
  display: flex; align-items: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cz-sheet .grid > div:nth-child(4n) { border-right: none; }
.cz-sheet .grid .rh { background: #F4F5F5; color: var(--text-dim); justify-content: center; }
.cz-sheet .grid .ch { background: #F4F5F5; color: var(--text-dim); font-weight: 600; }
.cz-sheet .grid .err { background: #FDECEC; color: #C92A30; }
.cz-sheet .grid .warn { background: #FFF6E5; color: #B97A0E; }

/* === Responsive chaos scaling === */
@media (max-width: 560px) {
  .cz { font-size: 11px; }
  .cz-mail .badge-big .num { font-size: 18px; }
  .cz-mail .row { font-size: 10.5px; }
  .cz-mail .row .col-text .sub { font-size: 10px; }
  .cz-chat .msg .text { font-size: 11px; }
  .cz-sticky .note { font-size: 12px; }
}


/* ---- Cards ---- */
.cards {
  display: grid;
  gap: 16px;
}
.cards.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cards.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .cards.cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .cards.cols-2,
  .cards.cols-4 { grid-template-columns: 1fr; }
}
.card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-card);
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.card:hover { border-color: #D5D8DA; box-shadow: var(--shadow-soft); }
.card .card-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text-dim);
}
.card h3 { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.35; }
.card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.55; }

/* === Card mini-graphic (problem section) === */
.card-graphic {
  margin-top: auto;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  height: 156px;
  position: relative;
  overflow: hidden;
  font-family: var(--font-sans);
}
.card { min-height: 304px; }
.card-graphic .mono-lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* G1 — inbox rows */
.cg-inbox { display: flex; flex-direction: column; gap: 7px; }
.cg-inbox .row {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px;
}
.cg-inbox .row .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #3D6FE5;
  flex: 0 0 auto;
}
.cg-inbox .row.read .dot { background: var(--border); }
.cg-inbox .row .from {
  font-weight: 600;
  color: var(--text);
  font-size: 11px;
  flex: 0 0 auto;
}
.cg-inbox .row .bar {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #D7D9DB, transparent);
}
.cg-inbox .row.read .bar { opacity: 0.5; }
.cg-inbox .row .t {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  flex: 0 0 auto;
}
.cg-inbox .pill {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 6px;
  align-self: flex-start;
  padding: 4px 8px;
  background: #FDECEC;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: #C92A30;
  text-transform: uppercase;
}
.cg-inbox .pill .red-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #E5484D;
}

/* G2 — downward chart */
.cg-chart { display: flex; flex-direction: column; gap: 8px; height: 100%; }
.cg-chart .head {
  display: flex; align-items: center; justify-content: space-between;
}
.cg-chart .head .pct {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: #C92A30;
  letter-spacing: -0.005em;
}
.cg-chart .chart {
  flex: 1;
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  align-items: end;
  padding-bottom: 2px;
}
.cg-chart .chart .bar {
  background: linear-gradient(to top, #D7D9DB, #C2C6C9);
  border-radius: 2px 2px 0 0;
}
.cg-chart .chart .bar.last { background: linear-gradient(to top, #E5484D, #F47A7E); }
.cg-chart .chart svg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}

/* G3 — checklist with ?? */
.cg-check { display: flex; flex-direction: column; gap: 8px; }
.cg-check .row {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px;
  color: var(--text);
}
.cg-check .row .box {
  width: 14px; height: 14px;
  border: 1.5px solid #C7CACD;
  border-radius: 3px;
  flex: 0 0 auto;
  background: #FFFFFF;
}
.cg-check .row .label {
  flex: 1;
  display: flex; align-items: center; gap: 6px;
  min-width: 0;
}
.cg-check .row .label .nm {
  font-weight: 500;
  font-size: 12px;
}
.cg-check .row .label .q {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  font-weight: 600;
}
.cg-check .row .label .why {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-dim);
  font-style: normal;
  letter-spacing: 0.02em;
}

/* G4 — scattered sticky notes */
.cg-scatter { position: relative; height: 100%; }
.cg-scatter .note {
  position: absolute;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 10.5px;
  color: var(--text);
  box-shadow: 0 2px 6px -2px rgba(43,47,51,0.10);
  display: flex; flex-direction: column; gap: 2px;
  min-width: 76px;
}
.cg-scatter .note .nm {
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: -0.005em;
}
.cg-scatter .note .meta {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}
.cg-scatter .note.a { top: 0; left: 0; transform: rotate(-4deg); background: #FFE96A; border-color: #E6CF45; }
.cg-scatter .note.a .meta { color: #8A7615; }
.cg-scatter .note.b { top: 14%; right: 6%; transform: rotate(3deg); }
.cg-scatter .note.b .meta { color: var(--accent); }
.cg-scatter .note.c { bottom: 4%; left: 18%; transform: rotate(-2deg); }
.cg-scatter .note.d { bottom: 14%; right: 0; transform: rotate(5deg); }
.cg-scatter .note.d .nm { color: var(--text-muted); font-style: italic; }

/* ============================================
   SOLUTION mini-graphics (calm / resolved state)
   ============================================ */

/* S1 — Tidy KPI dashboard */
.sg-kpi { display: flex; flex-direction: column; gap: 8px; height: 100%; }
.sg-kpi .head {
  display: flex; justify-content: space-between; align-items: center;
}
.sg-kpi .head .ok {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: #2C8A4A;
  letter-spacing: 0.04em;
  display: inline-flex; align-items: center; gap: 6px;
}
.sg-kpi .head .ok::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #2C8A4A;
  box-shadow: 0 0 0 3px rgba(44, 138, 74, 0.18);
}
.sg-kpi .tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.sg-kpi .tile {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 7px 8px 8px;
  display: flex; flex-direction: column; gap: 2px;
  min-width: 0;
}
.sg-kpi .tile .lbl {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  text-transform: uppercase;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sg-kpi .tile .val {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}
.sg-kpi .chart {
  flex: 1;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 6px;
  position: relative;
  padding: 4px;
  min-height: 24px;
}
.sg-kpi .chart svg { width: 100%; height: 100%; display: block; }

/* S2 — Checklist all checked */
.sg-check { display: flex; flex-direction: column; gap: 7px; }
.sg-check .row {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px;
  color: var(--text);
}
.sg-check .row .chk {
  width: 15px; height: 15px;
  border-radius: 4px;
  background: #2C8A4A;
  flex: 0 0 auto;
  display: grid; place-items: center;
  position: relative;
}
.sg-check .row .chk::after {
  content: "";
  width: 7px; height: 4px;
  border-left: 1.6px solid #fff;
  border-bottom: 1.6px solid #fff;
  transform: rotate(-45deg) translate(0.5px, -1.5px);
}
.sg-check .row .label {
  flex: 1;
  font-weight: 500;
  font-size: 12px;
  color: var(--text);
}
.sg-check .row .meta {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

/* S3 — Team structure */
.sg-team { display: flex; flex-direction: column; gap: 4px; }
.sg-team .row {
  display: flex; align-items: center; gap: 10px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 11px;
  min-width: 0;
}
.sg-team .row .av {
  width: 20px; height: 20px;
  border-radius: 50%;
  flex: 0 0 auto;
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
}
.sg-team .row .av.a { background: #6E747C; }
.sg-team .row .av.b { background: var(--accent); }
.sg-team .row .av.c { background: #4A5058; }
.sg-team .row .av.d { background: #2C8A4A; }
.sg-team .row .nm {
  font-weight: 600;
  font-size: 11.5px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  flex: 0 1 auto;
}
.sg-team .row .task {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-dim);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  flex: 0 0 auto;
}

/* S4 — Tidy folders */
.sg-folders { display: flex; flex-direction: column; gap: 3px; }
.sg-folders .row {
  display: flex; align-items: center; gap: 10px;
  padding: 5px 8px;
  border-radius: 5px;
  font-size: 12px;
  border: 1px solid transparent;
  min-width: 0;
  white-space: nowrap;
}
.sg-folders .row .ico {
  width: 14px; height: 12px;
  flex: 0 0 auto;
  background: #F1B656;
  border-radius: 1px 3px 3px 3px;
  position: relative;
}
.sg-folders .row .ico::before {
  content: "";
  position: absolute;
  top: -3px; left: 0;
  width: 6px; height: 4px;
  background: #F1B656;
  border-radius: 2px 2px 0 0;
}
.sg-folders .row .nm {
  font-weight: 500;
  font-size: 12px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  flex: 0 1 auto;
}
.sg-folders .row .meta {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  white-space: nowrap;
  flex: 0 0 auto;
}
.sg-folders .row.is-active {
  background: #FFFFFF;
  border-color: var(--border);
}
.sg-folders .row.is-active .meta {
  color: #2C8A4A;
}

/* ============================================
   SOLUTION SECTION (two-column)
   ============================================ */
.solution-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
@media (max-width: 960px) {
  .solution-grid { grid-template-columns: 1fr; gap: 56px; }
}

.solution-text h2 {
  margin-bottom: 18px;
  max-width: 18ch;
}
.solution-text h2 .hl { color: var(--accent); }
.solution-text > .lead {
  max-width: 48ch;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.solution-text .eyebrow {
  display: block;
  margin-bottom: 20px;
}
.solution-text .actions { margin-top: 28px; }

.benefit-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.benefit-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.benefit-list .check {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-top: 2px;
}
.benefit-list .check svg { width: 12px; height: 12px; }
.benefit-list .body { min-width: 0; flex: 1; }
.benefit-list .title {
  display: block;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.35;
}
.benefit-list .sub {
  display: block;
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ============================================
   ORDER STAGE — calm visual of structure
   ============================================ */
.order-stage {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin-left: auto;
  padding: 28px;
  background:
    /* subtle aligned dot grid */
    radial-gradient(circle at 1px 1px, rgba(43, 47, 51, 0.05) 1px, transparent 0) 0 0 / 14px 14px,
    #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 12px;
  isolation: isolate;
}
@media (max-width: 960px) {
  .order-stage { margin: 0 auto; }
}
.order-stage::before {
  content: "";
  position: absolute;
  inset: -10%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(242, 92, 36, 0.05), transparent 70%);
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
}
.order-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px 12px;
  border-bottom: 1px solid var(--border);
}
.order-head .label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.order-head .status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #2C8A4A;
}
.order-head .status::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #2C8A4A;
  box-shadow: 0 0 0 4px rgba(44, 138, 74, 0.16);
}

.order-modules {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.om {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 10px;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.om::before {
  content: "";
  position: absolute;
  left: 0; top: 12px; bottom: 12px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: transparent;
}
.om.is-active {
  border-color: rgba(242, 92, 36, 0.45);
  box-shadow:
    0 1px 2px rgba(43, 47, 51, 0.04),
    0 8px 22px -10px rgba(242, 92, 36, 0.30);
}
.om.is-active::before { background: var(--accent); }
.om .icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--bg-alt);
  display: grid; place-items: center;
  color: var(--text-muted);
}
.om.is-active .icon { background: var(--accent-soft); color: var(--accent); }
.om .icon svg { width: 18px; height: 18px; }
.om .meta { min-width: 0; }
.om .meta .name {
  display: block;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
  color: var(--text);
}
.om .meta .sub {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  margin-top: 2px;
}
.om .check {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  display: grid; place-items: center;
  color: var(--text-dim);
}
.om .check.ok {
  background: #E8F4ED;
  border-color: #BFE0CD;
  color: #2C8A4A;
}
.om .check svg { width: 11px; height: 11px; }

.order-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  text-transform: uppercase;
}
.order-footer .integrity {
  display: inline-flex; align-items: center; gap: 8px;
}
.order-footer .bar {
  width: 80px; height: 4px;
  border-radius: 2px;
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
}
.order-footer .bar i {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #2C8A4A, #54B57A);
  width: 100%;
}
.order-footer .ts { color: var(--text-muted); }

/* faint connecting line between modules */
.order-modules { position: relative; }
.order-modules::after {
  content: "";
  position: absolute;
  left: 33px; top: 18px; bottom: 18px;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--border) 12%, var(--border) 88%, transparent);
  z-index: 0;
  pointer-events: none;
}
.om { position: relative; z-index: 1; }

/* ============================================
   SECTION: Slim CTA band
   ============================================ */
.cta-slim {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: clamp(40px, 5vw, 64px) 0;
  background: var(--bg-alt);
}
.cta-slim .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}
.cta-slim h3 {
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  max-width: 34ch;
  line-height: 1.25;
}
.cta-slim .fine {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ============================================
   SECTION: Drei Probleme (problems-2)
   ============================================ */
.problems-2 .grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
@media (max-width: 880px) {
  .problems-2 .grid { grid-template-columns: 1fr; gap: 40px; }
}
.problem-points {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 36px;
}
.problem-point {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.problem-point:first-child { padding-top: 0; border-top: none; }
.problem-point .marker {
  flex: 0 0 auto;
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--accent-soft);
  display: grid; place-items: center;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.problem-point .body { min-width: 0; flex: 1; }
.problem-point h4 {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 4px 0 8px;
  line-height: 1.3;
}
.problem-point p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.55;
}

/* ============================================
   SECTION: Testimonials
   ============================================ */
.testimonials .grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 880px;
  margin: 0 auto;
}
@media (max-width: 720px) { .testimonials .grid { grid-template-columns: 1fr; } }
.testi {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  min-height: 260px;
}
.testi .qm {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 56px;
  line-height: 0.5;
  color: var(--accent);
  font-weight: 700;
  margin: 4px 0 -2px;
  user-select: none;
}
.testi .quote {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
  flex: 1;
  font-style: italic;
}
.testi .author {
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 14px;
}
.testi .author .avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  overflow: hidden;
  flex: 0 0 auto;
}
.testi .author .avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.testi .author .meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.testi .author .name { font-weight: 600; font-size: 14px; }
.testi .author .role {
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.testi .placeholder-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  text-transform: uppercase;
  border: 1px dashed var(--border);
  padding: 4px 8px;
  border-radius: 6px;
  align-self: flex-start;
}

/* ============================================
   SECTION: Dein Ansprechpartner
   ============================================ */
.about-block .grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 880px) {
  .about-block .grid { grid-template-columns: 1fr; gap: 40px; }
}
.about-block h2 { margin-bottom: 20px; max-width: 18ch; }
.about-block .prose p { font-size: 1.08rem; color: var(--text-muted); line-height: 1.65; }
.about-block .prose p + p { margin-top: 16px; }
.about-block .actions { margin-top: 28px; }

/* ============================================
   SECTION: Process — Wie die Zusammenarbeit abläuft
   ============================================ */
.process .steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  counter-reset: step;
  position: relative;
}
@media (max-width: 880px) {
  .process .steps { grid-template-columns: 1fr; }
}
.process-step {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-card);
  position: relative;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.process-step:hover {
  border-color: #D5D8DA;
  box-shadow: var(--shadow-soft);
}
.process-step .num-line {
  display: flex;
  align-items: center;
  gap: 10px;
}
.process-step .num {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--accent);
  line-height: 1;
}
.process-step .num-rule {
  flex: 1;
  height: 1px;
  background: var(--border);
}
.process-step h4 {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 4px 0 0;
}
.process-step p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

/* ============================================
   ROADMAP — connected step path
   ============================================ */
.roadmap {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-top: 8px;
}
/* Grey base track */
.roadmap::before {
  content: "";
  position: absolute;
  top: 44px;
  left: 16.67%;
  right: 16.67%;
  height: 2px;
  background: var(--border);
  border-radius: 1px;
  z-index: 0;
}
/* Orange filled segment (node 1 → node 2) */
.roadmap::after {
  content: "";
  position: absolute;
  top: 44px;
  left: 16.67%;
  width: 33.33%;
  height: 2px;
  border-radius: 1px;
  background: linear-gradient(to right, var(--accent), rgba(242, 92, 36, 0.35));
  z-index: 1;
}

.rm-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 18px;
  position: relative;
  z-index: 2;
  min-width: 0;
}
.rm-node {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid var(--accent);
  display: grid;
  place-items: center;
  color: var(--accent);
  /* white ring masks the line passing behind */
  box-shadow:
    0 0 0 6px #FFFFFF,
    0 1px 2px rgba(43, 47, 51, 0.06),
    0 12px 24px -10px rgba(242, 92, 36, 0.25);
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.rm-step:hover .rm-node {
  transform: translateY(-2px);
}
.rm-node.is-done {
  border-color: #2C8A4A;
  color: #2C8A4A;
  box-shadow:
    0 0 0 6px #FFFFFF,
    0 1px 2px rgba(43, 47, 51, 0.06),
    0 12px 24px -10px rgba(44, 138, 74, 0.30);
}
.rm-node svg { width: 28px; height: 28px; }

.rm-content {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  max-width: 34ch;
}
.rm-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--text-dim);
  text-transform: uppercase;
}
.rm-title {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text);
  margin: 0;
  line-height: 1.2;
}
.rm-text {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
  margin: 0;
}

/* Mobile: vertical timeline */
@media (max-width: 720px) {
  .roadmap {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 0;
  }
  /* Grey base — vertical, from first node center to last node center */
  .roadmap::before {
    top: 36px;
    bottom: 36px;
    left: 35px;
    right: auto;
    width: 2px;
    height: auto;
  }
  /* Orange fill — vertical, top to ~middle (node 1 → node 2) */
  .roadmap::after {
    top: 36px;
    left: 35px;
    width: 2px;
    height: calc((100% - 72px) / 2);
    background: linear-gradient(to bottom, var(--accent), rgba(242, 92, 36, 0.35));
  }
  .rm-step {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    padding: 0;
    gap: 22px;
  }
  .rm-node {
    width: 72px; height: 72px;
    flex: 0 0 72px;
  }
  .rm-content {
    margin-top: 8px;
    align-items: flex-start;
    text-align: left;
    max-width: none;
    flex: 1;
    min-width: 0;
  }
}

/* ============================================
   SECTION: FAQ
   ============================================ */
.faq .container { max-width: var(--maxw-narrow); }
.faq-list { border-top: 1px solid var(--border); }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 0;
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 500;
  font-size: 1.08rem;
  letter-spacing: -0.01em;
  color: var(--text);
  transition: color .15s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ""; }
.faq-item summary:hover { color: var(--accent); }
.faq-item summary .num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  flex: 0 0 auto;
}
.faq-item summary .q { flex: 1; min-width: 0; }
.faq-item .chev {
  margin-left: auto;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: grid; place-items: center;
  color: var(--text-dim);
  transition: transform .25s ease, color .15s ease, background-color .15s ease;
  flex: 0 0 auto;
  position: relative;
}
.faq-item .chev::before,
.faq-item .chev::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 1px;
  transition: transform .25s ease;
}
.faq-item .chev::before { width: 10px; height: 1.5px; }
.faq-item .chev::after  { width: 1.5px; height: 10px; }
.faq-item[open] .chev {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.faq-item[open] .chev::after { transform: scaleY(0); }
.faq-item .answer {
  padding: 0 56px 28px 0;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 70ch;
}

/* Slightly tighter heading on section heads for narrow sub-sections */
.section-head.center {
  text-align: center;
  margin-left: auto; margin-right: auto;
}
.section-head.center h2,
.section-head.center p { margin-left: auto; margin-right: auto; }

/* ============================================
   ABLAUF — Phase detail cards
   ============================================ */
.phase-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}
/* Vertical connecting line linking the three step nodes */
.phase-stack::before {
  content: "";
  position: absolute;
  left: calc(clamp(28px, 4vw, 44px) + 28px); /* = phase-detail padding-left + half of 56px node */
  top: 28px;     /* start at first node's center area */
  bottom: 28px;
  width: 2px;
  background: var(--border);
  border-radius: 1px;
  z-index: 0;
}
@media (max-width: 720px) {
  .phase-stack::before {
    left: calc(clamp(28px, 4vw, 44px) + 24px);
  }
}

.phase-detail {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-card);
  position: relative;
  z-index: 1;
  transition: box-shadow .2s ease, transform .2s ease;
}
.phase-detail:hover {
  box-shadow: var(--shadow-soft);
  transform: translateY(-1px);
}
.phase-detail > header {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 22px;
  align-items: start;
  margin-bottom: 32px;
}
@media (max-width: 720px) {
  .phase-detail > header { grid-template-columns: 48px 1fr; gap: 18px; }
}

.phase-node {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid var(--accent);
  color: var(--accent);
  display: grid;
  place-items: center;
  /* halo masks the connecting line passing behind */
  box-shadow:
    0 0 0 6px #FFFFFF,
    0 1px 2px rgba(43, 47, 51, 0.06),
    0 10px 22px -10px rgba(242, 92, 36, 0.25);
  flex: 0 0 auto;
}
.phase-node svg { width: 22px; height: 22px; }
.phase-node.is-done {
  border-color: #2C8A4A;
  color: #2C8A4A;
  box-shadow:
    0 0 0 6px #FFFFFF,
    0 1px 2px rgba(43, 47, 51, 0.06),
    0 10px 22px -10px rgba(44, 138, 74, 0.30);
}
@media (max-width: 720px) {
  .phase-node { width: 48px; height: 48px; box-shadow: 0 0 0 5px #FFFFFF, 0 1px 2px rgba(43,47,51,0.06), 0 8px 18px -8px rgba(242,92,36,0.25); }
  .phase-node.is-done { box-shadow: 0 0 0 5px #FFFFFF, 0 1px 2px rgba(43,47,51,0.06), 0 8px 18px -8px rgba(44,138,74,0.30); }
  .phase-node svg { width: 20px; height: 20px; }
}

.phase-detail header .text { min-width: 0; padding-top: 4px; }
.phase-detail .phase-step {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 8px;
}
.phase-detail header .text h3 {
  font-size: clamp(1.45rem, 2.6vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  line-height: 1.15;
}

/* === Inner sub-column cards === */
.phase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
@media (max-width: 720px) {
  .phase-grid { grid-template-columns: 1fr; gap: 12px; padding-top: 24px; }
}
.phase-col {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.phase-col p {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.6;
  margin: 0;
}
.phase-col .phase-lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* Sub-column icons — larger, prominent */
.phase-col-ic {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: var(--accent-soft);
  border: 1px solid rgba(242, 92, 36, 0.18);
  color: var(--accent);
  display: inline-grid;
  place-items: center;
  margin-bottom: 4px;
}
.phase-col-ic svg { width: 17px; height: 17px; }

/* ============================================
   ZIEL — Finish line / goal section
   ============================================ */
.goal {
  position: relative;
  padding-top: 0;
  padding-bottom: clamp(72px, 9vw, 120px);
  overflow: hidden;
}
/* connector line flowing in from the phase stack above */
.goal-connector {
  position: relative;
  height: clamp(48px, 7vw, 80px);
  display: flex;
  justify-content: center;
}
.goal-connector::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: linear-gradient(to bottom, var(--border), var(--accent));
  border-radius: 1px;
}

.goal-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* finish-line checkered band behind the node */
.goal-finishline {
  position: absolute;
  top: 64px;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 720px);
  height: 56px;
  z-index: 0;
  opacity: 0.5;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 18%, #000 82%, transparent);
  background-image:
    repeating-linear-gradient(
      45deg,
      var(--border) 0,
      var(--border) 9px,
      transparent 9px,
      transparent 18px
    );
}
@media (max-width: 560px) {
  .goal-finishline { top: 52px; height: 44px; }
}

.goal-node {
  position: relative;
  z-index: 2;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 3px solid var(--accent);
  display: grid;
  place-items: center;
  color: var(--accent);
  box-shadow:
    0 0 0 10px #FFFFFF,
    0 1px 2px rgba(43, 47, 51, 0.06),
    0 24px 50px -18px rgba(242, 92, 36, 0.35);
}
@media (max-width: 560px) {
  .goal-node { width: 104px; height: 104px; box-shadow: 0 0 0 8px #FFFFFF, 0 1px 2px rgba(43,47,51,0.06), 0 18px 38px -16px rgba(242,92,36,0.35); }
}
.goal-node .flag { width: 52px; height: 52px; }
@media (max-width: 560px) { .goal-node .flag { width: 42px; height: 42px; } }
/* small green "erreicht" check badge */
.goal-node .done-badge {
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: #2C8A4A;
  border: 3px solid #FFFFFF;
  display: grid;
  place-items: center;
  color: #FFFFFF;
  box-shadow: 0 6px 16px -6px rgba(44, 138, 74, 0.5);
}
.goal-node .done-badge svg { width: 18px; height: 18px; }
@media (max-width: 560px) {
  .goal-node .done-badge { width: 34px; height: 34px; }
  .goal-node .done-badge svg { width: 15px; height: 15px; }
}

.goal-eyebrow {
  margin-top: 32px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #2C8A4A;
}
.goal-eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #2C8A4A;
  box-shadow: 0 0 0 4px rgba(44, 138, 74, 0.16);
}
.goal-stage h2 {
  margin-top: 18px;
  max-width: 20ch;
}
.goal-stage .goal-sub {
  margin-top: 16px;
  max-width: 56ch;
  color: var(--text-muted);
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  line-height: 1.55;
}

/* result cards */
.goal-results {
  margin-top: clamp(48px, 6vw, 72px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 880px) { .goal-results { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .goal-results { grid-template-columns: 1fr; } }
.goal-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.goal-card:hover {
  border-color: #D5D8DA;
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}
.goal-card .gc-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.goal-card .gc-num::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex: 0 0 auto;
}
.goal-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0;
  line-height: 1.25;
}
.goal-card p {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.55;
  margin: 0;
}
.phase-detail .phase-lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 54ch;
  margin: 0;
}

/* ============================================
   LEISTUNGEN — Building blocks
   ============================================ */
.cards.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .cards.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cards.cols-3 { grid-template-columns: 1fr; } }

.bblock {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-card);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
  min-height: 220px;
}
.bblock:hover {
  border-color: #D5D8DA;
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}
.bblock .lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.bblock .lbl .lbl-ic {
  color: var(--accent);
  display: inline-flex;
  flex: 0 0 auto;
}
.bblock .lbl .lbl-ic svg { width: 15px; height: 15px; display: block; }
.bblock h3 {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0;
  line-height: 1.3;
}
.bblock p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
  margin: 0;
}

.scope-note {
  margin-top: 32px;
  padding: 24px 28px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.scope-note .ic {
  flex: 0 0 auto;
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
}
.scope-note .ic svg { width: 16px; height: 16px; }
.scope-note .body { flex: 1; min-width: 0; }
.scope-note .body strong {
  display: block;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.scope-note .body p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* === LEGAL (Impressum) === */
.legal { padding-top: clamp(72px, 10vw, 120px); padding-bottom: clamp(80px, 10vw, 140px); }
.legal .eyebrow { display: block; margin-bottom: 20px; }
.legal-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 48px;
}
.legal-h2 {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 48px 0 12px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.legal-h2:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }
.legal p {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.7;
  margin: 0 0 12px;
  max-width: 60ch;
}
.legal-address { color: var(--text) !important; }
.legal-mono {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--text) !important;
  margin-top: 4px;
}
.legal a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal a:hover { color: var(--accent-hover); }
.legal-list { margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.legal-list > div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  align-items: baseline;
}
@media (max-width: 560px) { .legal-list > div { grid-template-columns: 1fr; gap: 4px; } }
.legal-list dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.legal-list dd { margin: 0; font-size: 1.02rem; color: var(--text); }
.legal-h3 {
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--text);
  margin: 28px 0 10px;
}
.legal-h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin: 20px 0 8px;
}
.legal-ul {
  margin: 0 0 16px;
  padding: 0 0 0 20px;
  max-width: 60ch;
}
.legal-ul li {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.7;
  margin: 6px 0;
}
.legal-source {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-dim) !important;
}
.legal-callout {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-muted);
  background: var(--surface, rgba(0,0,0,0.03));
  border-left: 3px solid var(--border);
  padding: 14px 18px;
  margin: 16px 0;
  max-width: 60ch;
  letter-spacing: 0.01em;
}


/* Result list */
.result-list {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.result-list li {
  background: #FFFFFF;
  padding: 22px 24px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  font-size: 1rem;
  line-height: 1.5;
}
.result-list li .idx {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  flex: 0 0 auto;
  padding-top: 3px;
  letter-spacing: 0.05em;
}
.result-list li .tech {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 6px;
  letter-spacing: 0.04em;
}

/* Phase card (Angebot) */
.phases {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 800px) { .phases { grid-template-columns: 1fr; } }
.phase {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  box-shadow: var(--shadow-card);
}
.phase-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.1em;
}
.phase h3 { font-size: 1.5rem; letter-spacing: -0.02em; }
.phase p { color: var(--text-muted); font-size: 1rem; line-height: 1.6; }

/* ---- CTA Band ---- */
.cta-band {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: clamp(60px, 8vw, 96px) 0;
  background:
    radial-gradient(60% 90% at 50% 0%, rgba(242, 92, 36, 0.06), transparent 70%),
    var(--bg-alt);
}
.cta-band .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}
.cta-band h2 { max-width: 20ch; }
.cta-band p { color: var(--text-muted); max-width: 50ch; }

/* ---- Footer ---- */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--border-soft);
  padding: 56px 0 32px;
  color: var(--text-muted);
  font-size: 14px;
}
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px 32px;
  align-items: start;
}
@media (max-width: 720px) {
  .site-footer .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
.footer-tagline {
  color: var(--text-muted);
  margin-top: 14px;
  max-width: 30ch;
  font-size: 14px;
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 500;
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  text-transform: uppercase;
}
.footer-bottom a { color: var(--text-dim); }
.footer-bottom a:hover { color: var(--text); }

/* ---- Forms ---- */
.form {
  display: grid;
  gap: 18px;
}
.form-row { display: grid; gap: 8px; }
.form label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.form input,
.form textarea {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 16px;
  color: var(--text);
  width: 100%;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
  font-family: inherit;
  box-shadow: 0 1px 2px rgba(43, 47, 51, 0.03);
}
.form input::placeholder,
.form textarea::placeholder { color: #9CA3AF; }
.form input:focus,
.form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(242, 92, 36, 0.15);
}
.form textarea { min-height: 140px; resize: vertical; line-height: 1.5; }

.form-success {
  background: var(--accent-soft);
  border: 1px solid rgba(242,92,36,0.4);
  color: var(--text);
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 14px;
  display: flex; gap: 12px; align-items: center;
}
.form-success::before {
  content: "✓";
  font-family: var(--font-mono);
  color: var(--accent);
  font-weight: 600;
}

/* ---- Two-col (Über mich) ---- */
.two-col {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 880px) {
  .two-col { grid-template-columns: 1fr; gap: 40px; }
}
.portrait {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  position: relative;
  filter: grayscale(1);
  box-shadow: var(--shadow-card);
}
.portrait .placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  background:
    repeating-linear-gradient(135deg, rgba(43, 47, 51, 0.025) 0 12px, transparent 12px 24px),
    var(--bg-alt);
  padding: 24px;
}
.portrait .placeholder span { display: block; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; filter: grayscale(1) contrast(1.05); }

/* ---- Prose ---- */
.prose p + p { margin-top: 18px; }
.prose p { color: var(--text-muted); font-size: 1.05rem; line-height: 1.65; }
.prose .pull {
  margin-top: 28px;
  padding-left: 18px;
  border-left: 2px solid var(--accent);
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1.5;
  font-weight: 500;
}
.prose .prose-label {
  margin-top: 28px;
  font-weight: 600;
  color: var(--text);
  font-size: 1.05rem;
}
.prose .prose-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.prose .prose-list li {
  position: relative;
  padding-left: 26px;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}
.prose .prose-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--accent);
}

/* ---- Contact alt ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }
.contact-aside {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-card);
}
.contact-aside h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 500;
  margin: 0;
}
.contact-aside .ig {
  font-size: 1.15rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.contact-aside .ig:hover { color: var(--accent); }
.contact-aside .note { color: var(--text-muted); font-size: 0.95rem; line-height: 1.55; }

/* ---- Mobile nav drawer ---- */
@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 20px 24px 28px;
    transform: translateY(-110%);
    transition: transform .25s ease;
    margin-left: 0;
  }
  .nav.is-open { transform: translateY(0); }
  .nav-list {
    flex-direction: column;
    gap: 4px;
    width: 100%;
  }
  .nav-list a {
    display: block;
    padding: 14px 0;
    font-size: 18px;
    border-bottom: 1px solid var(--border);
  }
  .nav-list a.is-active::after { display: none; }
  .nav-list a.is-active { color: var(--accent); }
  .nav-cta {
    margin-top: 18px;
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
  }
}

/* ---- Misc ---- */
.divider {
  height: 1px;
  background: var(--border-soft);
  margin: 0 auto;
  max-width: var(--maxw);
}

::selection { background: var(--accent); color: #fff; }

/* ============================================
   CAROUSEL — "So sieht Struktur bei dir aus"
   ============================================ */
.showcase { padding: var(--section-y) 0; }
.showcase .section-head { margin-bottom: clamp(36px, 5vw, 56px); }

.carousel {
  position: relative;
}
.carousel-viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.carousel-track {
  display: flex;
  transition: transform .5s cubic-bezier(.22,.61,.36,1);
  will-change: transform;
}
.carousel-slide {
  flex: 0 0 100%;
  min-width: 0;
  padding: 0;
}
.slide-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: stretch;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 4vw, 56px);
  min-height: 520px;
}
@media (max-width: 880px) {
  .slide-inner { grid-template-columns: 1fr; min-height: 0; }
}
.slide-text { display: flex; flex-direction: column; gap: 20px; padding-top: 8px; }
.slide-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.slide-label .accent { color: var(--accent); }
.slide-title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-wrap: balance;
}
.slide-sub { color: var(--text-muted); font-size: 1rem; line-height: 1.55; max-width: 36ch; }
.slide-stage {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Carousel controls --- */
.carousel-controls {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.carousel-counter {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  min-width: 64px;
}
.carousel-counter b { color: var(--text); font-weight: 500; }
.carousel-dots {
  display: flex;
  gap: 8px;
  flex: 1;
  justify-content: center;
}
.carousel-dot {
  width: 24px;
  height: 4px;
  border-radius: 2px;
  background: var(--border);
  transition: background-color .2s ease, width .2s ease;
  cursor: pointer;
  padding: 0;
}
.carousel-dot[aria-current="true"] {
  background: var(--accent);
  width: 40px;
}
.carousel-arrows { display: flex; gap: 8px; }
.carousel-arrow {
  width: 44px; height: 44px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #FFFFFF;
  display: inline-grid;
  place-items: center;
  color: var(--text);
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
  box-shadow: 0 1px 2px rgba(43, 47, 51, 0.04);
}
.carousel-arrow:hover { background: var(--bg-alt); border-color: var(--text-dim); }
.carousel-arrow:disabled { opacity: 0.35; cursor: not-allowed; }
.carousel-arrow svg { width: 16px; height: 16px; }

/* ============================================
   MOCKUPS (light panels — concept visuals)
   ============================================ */
.mock {
  --m-bg: #FFFFFF;
  --m-panel: #FAFAF9;
  --m-ink: #1A1D20;
  --m-ink-2: #4A5058;
  --m-ink-3: #8A9099;
  --m-line: #E7E6E2;
  --m-line-2: #EFEEEA;
  --m-accent: #F25C24;

  background: var(--m-bg);
  color: var(--m-ink);
  width: 100%;
  max-width: 560px;
  border-radius: 14px;
  padding: 18px;
  box-shadow:
    0 1px 2px rgba(43, 47, 51, 0.05),
    0 18px 40px -16px rgba(43, 47, 51, 0.12),
    0 6px 18px -8px rgba(43, 47, 51, 0.08);
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.4;
  position: relative;
  border: 1px solid var(--border);
}

.mock-chrome {
  display: flex; align-items: center; gap: 8px;
  padding: 0 4px 12px;
  border-bottom: 1px solid var(--m-line);
  margin-bottom: 14px;
}
.mock-chrome .dots { display: flex; gap: 5px; }
.mock-chrome .dots span {
  width: 9px; height: 9px; border-radius: 50%;
  background: #E2E1DD;
}
.mock-chrome .crumb {
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--m-ink-3);
  letter-spacing: 0.04em;
}
.mock-chrome .badge {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--m-ink-3);
  text-transform: uppercase;
  border: 1px solid var(--m-line);
  padding: 4px 8px;
  border-radius: 6px;
  background: #fff;
}

.mock h5 {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--m-ink);
}
.mock .muted { color: var(--m-ink-3); font-size: 11px; }
.mock .row { display: flex; align-items: center; gap: 10px; }

/* === Mockup 1: KPI Dashboard === */
.mock-kpi .tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}
.mock-kpi .tile {
  background: var(--m-panel);
  border: 1px solid var(--m-line);
  border-radius: 10px;
  padding: 12px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.mock-kpi .tile .lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--m-ink-3);
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mock-kpi .tile .val {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--m-ink);
}
.mock-kpi .tile .delta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
}
.mock-kpi .tile .delta.up { color: #2C8A4A; }
.mock-kpi .tile .delta.down { color: var(--m-accent); }

.mock-kpi .chart {
  background: var(--m-panel);
  border: 1px solid var(--m-line);
  border-radius: 10px;
  padding: 14px;
}
.mock-kpi .chart-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 12px;
}
.mock-kpi .chart-head .ttl { font-size: 12px; font-weight: 500; color: var(--m-ink-2); }
.mock-kpi .chart-head .leg {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--m-ink-3);
  letter-spacing: 0.06em;
}
.mock-kpi .bars {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: end;
  gap: 8px;
  height: 92px;
}
.mock-kpi .bar {
  background: linear-gradient(to top, #E2E1DD, #C7C6C0);
  border-radius: 4px 4px 0 0;
  position: relative;
}
.mock-kpi .bar.peak { background: linear-gradient(to top, var(--m-accent), #FF8855); }
.mock-kpi .axis {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--m-ink-3);
  text-align: center;
  letter-spacing: 0.05em;
}

/* === Mockup 2: SOP Checklist === */
.mock-sop .head {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  background: var(--m-panel);
  border: 1px solid var(--m-line);
  border-radius: 10px;
  margin-bottom: 10px;
}
.mock-sop .head .ic {
  width: 28px; height: 28px; border-radius: 7px;
  background: var(--accent-soft);
  color: var(--m-accent);
  display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
}
.mock-sop .head .meta { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.06em; color: var(--m-ink-3); }
.mock-sop .progress {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--m-ink-3);
  display: flex; align-items: center; gap: 8px;
}
.mock-sop .progress .bar {
  width: 60px; height: 4px;
  background: var(--m-line);
  border-radius: 2px;
  overflow: hidden;
}
.mock-sop .progress .bar i {
  display: block; height: 100%;
  background: var(--m-accent);
  width: 60%;
}

.mock-sop ul {
  list-style: none; margin: 0; padding: 0;
  background: var(--m-panel);
  border: 1px solid var(--m-line);
  border-radius: 10px;
  overflow: hidden;
}
.mock-sop li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 14px;
  border-top: 1px solid var(--m-line-2);
  font-size: 13px;
  color: var(--m-ink);
  line-height: 1.4;
}
.mock-sop li:first-child { border-top: none; }
.mock-sop li .chk {
  flex: 0 0 auto;
  width: 16px; height: 16px;
  border: 1.5px solid #C7C6C0;
  border-radius: 4px;
  margin-top: 2px;
  display: grid; place-items: center;
}
.mock-sop li.done .chk {
  background: var(--m-accent);
  border-color: var(--m-accent);
}
.mock-sop li.done .chk::after {
  content: "";
  width: 8px; height: 4px;
  border-left: 1.5px solid #fff;
  border-bottom: 1.5px solid #fff;
  transform: rotate(-45deg) translate(1px, -1px);
}
.mock-sop li.done .txt { color: var(--m-ink-3); text-decoration: line-through; text-decoration-color: var(--m-line); }
.mock-sop li .who {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--m-ink-3);
  letter-spacing: 0.06em;
  flex: 0 0 auto;
}

/* === Mockup 3: Kanban Pipeline === */
.mock-pipe {
  padding-bottom: 22px;
}
.mock-pipe .board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.mock-pipe .col {
  background: var(--m-panel);
  border: 1px solid var(--m-line);
  border-radius: 10px;
  padding: 10px 10px 12px;
  min-height: 200px;
  display: flex; flex-direction: column; gap: 8px;
}
.mock-pipe .col-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--m-line-2);
  margin-bottom: 4px;
}
.mock-pipe .col-head .name {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--m-ink-2);
}
.mock-pipe .col-head .ct {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--m-ink-3);
  background: #F1F0EC;
  border-radius: 4px;
  padding: 2px 6px;
}
.mock-pipe .ticket {
  background: #FFFFFF;
  border: 1px solid var(--m-line-2);
  border-radius: 8px;
  padding: 9px 10px;
  display: flex; flex-direction: column; gap: 6px;
}
.mock-pipe .ticket .ttl { font-size: 12px; font-weight: 500; color: var(--m-ink); letter-spacing: -0.005em; }
.mock-pipe .ticket .tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  padding: 2px 6px;
  border-radius: 4px;
  background: #EFEEEA;
  color: var(--m-ink-3);
  width: max-content;
}
.mock-pipe .ticket.hot .tag { background: var(--accent-soft); color: var(--m-accent); }
.mock-pipe .ticket .foot {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--m-ink-3);
}
.mock-pipe .ticket .avs { display: flex; gap: -2px; }
.mock-pipe .ticket .av {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #C7C6C0;
  border: 1.5px solid #fff;
  margin-left: -4px;
  font-size: 8px;
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-mono);
}
.mock-pipe .ticket .av:first-child { margin-left: 0; }
.mock-pipe .ticket .av.a { background: #6E747C; }
.mock-pipe .ticket .av.b { background: var(--m-accent); }
.mock-pipe .ticket .av.c { background: #9AA0A6; }

/* === Mockup 4: Drive Tree === */
.mock-drive .tree {
  background: var(--m-panel);
  border: 1px solid var(--m-line);
  border-radius: 10px;
  padding: 8px 0;
  font-size: 13px;
}
.mock-drive .node {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  color: var(--m-ink);
  position: relative;
}
.mock-drive .node.indent-1 { padding-left: 30px; }
.mock-drive .node.indent-2 { padding-left: 50px; color: var(--m-ink-2); }
.mock-drive .node.is-active { background: #F6F6F4; }
.mock-drive .node .chev {
  width: 10px; height: 10px;
  flex: 0 0 auto;
  color: var(--m-ink-3);
}
.mock-drive .node .ico {
  width: 16px; height: 14px;
  flex: 0 0 auto;
  background: #F1B656;
  border-radius: 1px 3px 3px 3px;
  position: relative;
}
.mock-drive .node .ico::before {
  content: "";
  position: absolute;
  top: -3px; left: 0;
  width: 7px; height: 4px;
  background: #F1B656;
  border-radius: 2px 2px 0 0;
}
.mock-drive .node .ico.file {
  background: #fff;
  border: 1px solid var(--m-line);
  border-radius: 2px;
  width: 13px; height: 16px;
}
.mock-drive .node .ico.file::before { display: none; }
.mock-drive .node .ico.file::after {
  content: "";
  position: absolute;
  top: 1px; right: -1px;
  width: 5px; height: 5px;
  background: var(--m-bg);
  border-bottom: 1px solid var(--m-line);
  border-left: 1px solid var(--m-line);
}
.mock-drive .node .name { font-size: 13px; }
.mock-drive .node .meta {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--m-ink-3);
  letter-spacing: 0.04em;
}
.mock-drive .node.is-active .meta { color: var(--m-accent); }

/* === Mockup 5: Notion-style workspace === */
.mock-notion {
  padding: 0;
  overflow: hidden;
}
.mock-notion .chrome {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--m-line);
}
.mock-notion .chrome .dots { display: flex; gap: 5px; }
.mock-notion .chrome .dots span { width: 9px; height: 9px; border-radius: 50%; background: #E2E1DD; }
.mock-notion .chrome .crumb {
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--m-ink-3);
}
.mock-notion .grid {
  display: grid;
  grid-template-columns: 180px 1fr;
}
.mock-notion .side {
  background: #FAFAF9;
  border-right: 1px solid var(--m-line);
  padding: 12px 8px;
  display: flex; flex-direction: column; gap: 2px;
  font-size: 12px;
}
.mock-notion .side .grp {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--m-ink-3);
  padding: 6px 8px 4px;
}
.mock-notion .side .item {
  display: flex; align-items: center; gap: 8px;
  padding: 5px 8px;
  border-radius: 5px;
  color: var(--m-ink-2);
  line-height: 1.2;
}
.mock-notion .side .item .em { width: 14px; text-align: center; opacity: 0.85; }
.mock-notion .side .item.active { background: #EFEEEA; color: var(--m-ink); font-weight: 500; }
.mock-notion .side .item.active .em { color: var(--m-accent); opacity: 1; }
.mock-notion .main {
  padding: 18px 18px 22px;
  display: flex; flex-direction: column; gap: 12px;
  background: #fff;
}
.mock-notion .main .title {
  font-size: 18px; font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--m-ink);
}
.mock-notion .main .sub {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--m-ink-3);
  letter-spacing: 0.06em;
}
.mock-notion .blocks { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.mock-notion .block {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px;
  background: #FAFAF9;
  border: 1px solid var(--m-line-2);
  border-radius: 7px;
  font-size: 12px;
  color: var(--m-ink-2);
}
.mock-notion .block .em { width: 18px; text-align: center; }
.mock-notion .block.highlight { border-color: var(--m-accent); background: var(--accent-soft); color: var(--m-ink); }
.mock-notion .block .meta {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--m-ink-3);
  letter-spacing: 0.06em;
}

/* Responsive mockups */
@media (max-width: 560px) {
  .mock { max-width: 100%; padding: 14px; }
  .mock-kpi .tiles { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .mock-kpi .tile { padding: 10px 8px; }
  .mock-kpi .tile .val { font-size: 15px; }
  .mock-pipe .board { grid-template-columns: repeat(2, 1fr); }
  .mock-notion .grid { grid-template-columns: 130px 1fr; }
  .mock-notion .side { font-size: 11px; padding: 10px 6px; }
}

