:root {
  --bg: #fafbfc;
  --surface: #ffffff;
  --text: #0f172a;
  --text-muted: #475569;
  --text-soft: #64748b;
  --accent: #c41e3a;
  --accent-dark: #9a1830;
  --navy: #0b1f3a;
  --navy-light: #132d52;
  --border: #e2e8f0;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 3px rgb(15 23 42 / 6%), 0 8px 24px rgb(15 23 42 / 6%);
  --max: 1200px;
  --header-h: 72px;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 12px 20px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: #fff;
  border-bottom: 1px solid var(--border);
  overflow: visible;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 42px;
  width: auto;
}

.logo-img--footer {
  height: 36px;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-desktop a {
  padding: 8px 12px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.nav-desktop a:hover,
.nav-desktop a[aria-current="page"] {
  color: var(--text);
  background: #f1f5f9;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover { background: var(--accent-dark); }

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgb(255 255 255 / 35%);
}

.btn-secondary:hover { background: rgb(255 255 255 / 10%); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn-outline:hover { border-color: var(--text-soft); }

.menu-toggle {
  display: none;
  padding: 11px 12px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: 0 1px 3px rgb(15 23 42 / 10%);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--navy);
  margin: 5px 0;
  border-radius: 1px;
}

.menu-toggle[aria-expanded="true"] {
  background: #f1f5f9;
  border-color: var(--text-soft);
}

.nav-mobile {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 24px;
  left: auto;
  width: min(280px, calc(100vw - 32px));
  height: auto;
  max-height: min(70vh, 480px);
  background: #fff;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgb(15 23 42 / 14%);
  z-index: 110;
  overflow-y: auto;
}

.nav-mobile.open { display: block; }

.nav-mobile[hidden] { display: none !important; }

.nav-mobile ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-mobile a {
  display: block;
  padding: 12px 14px;
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 600;
  color: var(--text);
  border-radius: var(--radius-sm);
}

.nav-mobile a:hover,
.nav-mobile a[aria-current="page"] {
  background: #f1f5f9;
  color: var(--navy);
}

.hero {
  position: relative;
  padding: 96px 0 112px;
  background:
    linear-gradient(135deg, rgb(11 31 58 / 92%) 0%, rgb(19 45 82 / 86%) 50%, rgb(11 31 58 / 94%) 100%),
    url("/images/og-ueber-uns.jpeg.avif") center / cover;
  color: #fff;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 20%, rgb(196 30 58 / 18%), transparent 60%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  margin-bottom: 24px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgb(255 255 255 / 10%);
  border: 1px solid rgb(255 255 255 / 15%);
  border-radius: 999px;
}

.hero-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
}

.hero h1 {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.hero-lead {
  margin: 0 0 32px;
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgb(255 255 255 / 82%);
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.stat-card {
  padding: 24px;
  background: rgb(255 255 255 / 8%);
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
}

.stat-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.875rem;
  color: rgb(255 255 255 / 70%);
}

.section {
  padding: 96px 0;
}

.section-header {
  max-width: 640px;
  margin-bottom: 56px;
}

.section-label {
  display: block;
  margin-bottom: 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-header h2 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.0625rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.about-text {
  padding-top: 4px;
}

.about-text p {
  margin: 0 0 1.25em;
  color: var(--text-muted);
}

.about-text p:last-child { margin-bottom: 0; }

.about-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgb(11 31 58 / 35%) 100%);
  pointer-events: none;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.career-highlights {
  margin-top: 32px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

@media (min-width: 960px) {
  .career-highlights {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.section-career-intro .prose {
  max-width: none;
}

.career-highlights .industry-chip {
  align-items: center;
  gap: 16px;
  height: 100%;
  padding: 20px;
}

.career-highlights .industry-chip-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
}

.career-highlights .industry-chip-icon svg {
  width: 24px;
  height: 24px;
}

.industry-chip-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1;
}

.career-highlights .industry-chip-name {
  font-size: 0.9375rem;
  line-height: 1.3;
}

.career-highlights .industry-chip-clients {
  margin-top: 0;
  font-size: 0.8125rem;
  line-height: 1.45;
}

.industry-chip {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}

.industry-chip-icon {
  flex: none;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef2f8;
  color: var(--accent);
  border-radius: 10px;
}

.industry-chip-icon svg {
  width: 20px;
  height: 20px;
}

.industry-chip-name {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.3;
}

.industry-chip-clients {
  display: block;
  margin-top: 4px;
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--text-soft);
  line-height: 1.4;
}

.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.bento-card {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.bento-card.featured {
  grid-column: span 2;
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #fff;
  border: none;
}

.bento-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  background: #eef2f8;
  color: var(--accent);
  border-radius: 12px;
}

.bento-icon svg {
  width: 24px;
  height: 24px;
}

.bento-card.featured .bento-icon {
  background: rgb(255 255 255 / 12%);
  color: #fff;
}

.bento-card h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
  font-weight: 600;
}

.bento-card p {
  margin: 0 0 20px;
  flex: 1;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.bento-card.featured p { color: rgb(255 255 255 / 75%); }

.link-arrow {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
}

.bento-card.featured .link-arrow { color: #fca5a5; }

.bento--solutions {
  grid-template-columns: 1.2fr 0.85fr;
  gap: 14px;
}

.bento--solutions .bento-card.featured {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.bento--solutions .bento-card:not(.featured) {
  padding: 22px 24px;
}

.bento--solutions .bento-card:not(.featured) .bento-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  border-radius: 10px;
}

.bento--solutions .bento-card:not(.featured) .bento-icon svg {
  width: 20px;
  height: 20px;
}

.bento--solutions .bento-card:not(.featured) h3 {
  margin-bottom: 8px;
  font-size: 1.0625rem;
}

.bento--solutions .bento-card:not(.featured) p {
  margin-bottom: 12px;
  font-size: 0.875rem;
}

.bento-card .link-arrow {
  margin-top: auto;
}

.bento--four {
  grid-template-columns: repeat(4, 1fr);
}

.bento--four .bento-card {
  padding: 26px 24px;
}

.bento--four .bento-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 10px;
}

.bento--four .bento-icon svg {
  width: 21px;
  height: 21px;
}

.bento--four .bento-card h3 {
  margin-bottom: 8px;
  font-size: 1.0625rem;
}

.bento--four .bento-card p {
  margin-bottom: 14px;
  font-size: 0.875rem;
}

@media (max-width: 1100px) {
  .bento--four {
    grid-template-columns: repeat(2, 1fr);
  }
}

.tools {
  background: linear-gradient(180deg, #f1f5f9 0%, var(--bg) 100%);
}

.tool-feature {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  box-shadow: 0 4px 6px rgb(15 23 42 / 4%), 0 20px 48px rgb(15 23 42 / 8%);
}

.tool-feature-media {
  position: relative;
  background: var(--navy);
  min-height: 320px;
}

.tool-feature-media--navy {
  background:
    linear-gradient(rgb(255 255 255 / 6%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 6%) 1px, transparent 1px),
    linear-gradient(150deg, var(--navy) 0%, var(--navy-light) 100%);
  background-size: 36px 36px, 36px 36px, auto;
}

.tool-migration-visual .pipe-stage {
  fill: rgb(19 45 82 / 88%);
  stroke: rgb(255 255 255 / 28%);
  stroke-width: 1.2;
}

.tool-migration-visual .pipe-stage--accent {
  fill: rgb(196 30 58 / 18%);
  stroke: #fca5a5;
  stroke-width: 1.5;
}

.tool-migration-visual .pipe-path {
  stroke: rgb(255 255 255 / 22%);
}

.tool-migration-visual .pipe-step {
  fill: rgb(255 255 255 / 40%);
}

.tool-migration-visual .pipe-step--accent {
  fill: #fca5a5;
}

.tool-migration-visual .pipe-label {
  fill: rgb(255 255 255 / 92%);
}

.tool-migration-visual .pipe-sublabel {
  fill: rgb(255 255 255 / 58%);
}

.tool-migration-visual .pipe-dot {
  fill: #fca5a5;
}

.tool-migration-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 320px;
  padding: 40px 28px;
}

.tool-migration-visual svg {
  display: block;
  width: 100%;
  max-width: 480px;
  height: auto;
}

.tool-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.tool-feature-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  border-radius: 999px;
}

.tool-feature-body {
  padding: 40px 40px 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tool-feature-body h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  line-height: 1.15;
}

.tool-feature-body > p {
  margin: 0 0 24px;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.tool-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.tool-tag {
  padding: 7px 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy);
  background: #e8eef5;
  border-radius: 999px;
}

.tool-tag--accent {
  color: var(--accent-dark);
  background: #fde8ec;
}

.tool-feature-list {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.tool-feature-list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.tool-feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.n8n-feature .tool-feature-media {
  display: flex;
  flex-direction: column;
}

.n8n-process-visual {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  padding: 40px 28px;
}

.n8n-process-visual svg {
  display: block;
  width: 100%;
  height: auto;
}

.n8n-feature .tool-feature-badge--n8n {
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.8125rem;
}

.n8n-process-visual .n8n-stage--trigger {
  fill: rgb(147 197 253 / 16%);
  stroke: rgb(147 197 253 / 42%);
}

.n8n-process-visual .n8n-stage--ingest {
  fill: rgb(147 197 253 / 12%);
  stroke: rgb(147 197 253 / 35%);
}

.n8n-process-visual .n8n-stage--process {
  fill: rgb(253 224 71 / 12%);
  stroke: rgb(253 224 71 / 35%);
}

.n8n-process-visual .n8n-stage--ai {
  fill: rgb(196 30 58 / 28%);
  stroke: #fca5a5;
}

.n8n-process-visual .n8n-stage--rank {
  fill: rgb(134 239 172 / 12%);
  stroke: rgb(134 239 172 / 35%);
}

.n8n-process-visual .n8n-stage--dispatch {
  fill: rgb(253 186 116 / 14%);
  stroke: rgb(253 186 116 / 38%);
}

.n8n-process-visual .n8n-stage--email {
  fill: rgb(255 255 255 / 10%);
  stroke: rgb(252 165 165 / 55%);
}

.n8n-feature .tool-feature-body h3 {
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
}

.partners {
  background: var(--surface);
  border-block: 1px solid var(--border);
}

.partners-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

.partners-visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.partners-visual--single {
  grid-template-columns: 1fr;
  max-width: 640px;
}

.partner-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.partner-badge {
  padding: 14px 24px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.partners-cta {
  margin-top: 32px;
}

.contact {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.contact-info .section-label { color: #fca5a5; }

.contact-info h2 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.12;
}

.contact-info > p {
  margin: 0 0 32px;
  max-width: 44ch;
  color: rgb(255 255 255 / 78%);
  font-size: 1.0625rem;
}

.contact-methods {
  display: grid;
  gap: 14px;
  margin-bottom: 32px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.9375rem;
  line-height: 1.35;
  color: rgb(255 255 255 / 90%);
}

.contact-method-icon {
  flex: none;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fca5a5;
  background: rgb(255 255 255 / 10%);
  border: 1px solid rgb(255 255 255 / 15%);
  border-radius: 10px;
}

.contact-method-icon svg { width: 18px; height: 18px; }

.contact-method > span {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-method small {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 45%);
  margin-bottom: 2px;
}

.booking-card {
  background: var(--surface);
  color: var(--text);
  border-radius: var(--radius);
  box-shadow: 0 20px 48px rgb(0 0 0 / 30%);
  overflow: hidden;
}

.booking-card-head {
  padding: 22px 28px;
  border-bottom: 1px solid var(--border);
}

.booking-card-head h3 {
  margin: 0 0 4px;
  font-size: 1.125rem;
  font-weight: 600;
}

.booking-card-head p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-soft);
}

.calendly-inline-widget {
  min-width: 320px;
  height: 640px;
}

/* Sub-page hero */
.page-hero {
  position: relative;
  padding: 88px 0 80px;
  background:
    linear-gradient(150deg, rgb(11 31 58 / 96%) 0%, rgb(19 45 82 / 92%) 100%),
    url("/images/og-ueber-uns.jpeg.avif") center / cover;
  color: #fff;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 70% at 88% 8%, rgb(196 30 58 / 22%), transparent 60%);
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.page-hero .hero-eyebrow {
  margin-bottom: 20px;
}

.page-hero h1 {
  margin: 18px 0 18px;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.page-hero p {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgb(255 255 255 / 82%);
  max-width: 62ch;
}

.breadcrumb {
  font-size: 0.8125rem;
  color: rgb(255 255 255 / 65%);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumb li::after {
  content: "/";
  margin-left: 8px;
  color: rgb(255 255 255 / 35%);
}

.breadcrumb li:last-child::after { content: ""; }

.breadcrumb a:hover { color: #fff; }

.breadcrumb [aria-current="page"] { color: rgb(255 255 255 / 90%); }

/* Long-form prose */
.prose {
  max-width: 760px;
  color: var(--text-muted);
  font-size: 1.0625rem;
}

.prose > p { margin: 0 0 1.35em; }

.prose h2 {
  margin: 2em 0 0.6em;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
}

.prose h3 {
  margin: 1.8em 0 0.5em;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text);
}

.prose h3:first-of-type,
.prose h2:first-child { margin-top: 0; }

.prose ul {
  margin: 0 0 1.35em;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.prose ul li {
  position: relative;
  padding-left: 22px;
}

.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.prose a {
  color: var(--accent);
  font-weight: 600;
}

.prose a.btn {
  color: inherit;
  font-weight: 600;
}

.prose a.btn-primary {
  color: #fff;
}

.prose a:hover { color: var(--accent-dark); }

.prose a.btn:hover {
  color: inherit;
}

.prose a.btn-primary:hover {
  color: #fff;
}

.prose--centered {
  width: 100%;
  max-width: 720px;
  margin-inline: auto;
}

.prose--centered h2 {
  text-align: center;
}

.prose--intro {
  max-width: 760px;
}

.prose--intro > p:last-child {
  margin-bottom: 0;
}

.prose-action {
  text-align: center;
  margin-top: 2.5em;
}

.prose-action .btn {
  min-width: 280px;
}

.section-media--centered {
  width: 100%;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: 40px;
}

.section-media--centered .section-header {
  margin-bottom: 32px;
}

.section-header--centered {
  width: 100%;
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.section-media--centered .section-header--centered {
  max-width: none;
  margin-inline: 0;
}

.section-figure--centered {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 0;
}

.person-card--centered {
  max-width: 720px;
  margin-inline: auto;
}

/* Solution / service cards on sub-pages */
.feature-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.feature-card {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-card h3 {
  margin: 0 0 6px;
  font-size: 1.2rem;
  font-weight: 600;
}

.feature-card .feature-card-tag {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.feature-card ul {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.feature-card ul li {
  position: relative;
  padding-left: 20px;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.feature-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.feature-card--featured {
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-light) 100%);
  border-color: rgb(255 255 255 / 14%);
  box-shadow: 0 12px 40px rgb(15 23 42 / 18%);
}

.feature-card--featured h3 {
  color: #fff;
}

.feature-card--featured p {
  color: rgb(255 255 255 / 74%);
}

.feature-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.feature-card--featured .feature-card-tag {
  margin-bottom: 0;
}

.feature-card-tag--wip {
  color: #0f172a;
  background: #fca5a5;
  padding: 4px 10px;
  border-radius: 999px;
}

.feature-card-tag--bot {
  color: rgb(255 255 255 / 90%);
  background: rgb(255 255 255 / 12%);
  padding: 4px 10px;
  border-radius: 999px;
}

.sailly-flow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}

.sailly-pill {
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgb(255 255 255 / 90%);
  background: rgb(255 255 255 / 10%);
  border: 1px solid rgb(255 255 255 / 18%);
}

.sailly-pill--core {
  color: #fff;
  background: rgb(252 165 165 / 22%);
  border-color: rgb(252 165 165 / 45%);
}

.sailly-arrow {
  font-size: 0.75rem;
  color: #fca5a5;
  line-height: 1;
}

/* Person / contact card */
.person-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 28px;
  align-items: center;
  padding: 32px;
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.person-avatar {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  color: #fff;
  background: rgb(255 255 255 / 10%);
  border: 1px solid rgb(255 255 255 / 15%);
  border-radius: 50%;
}

.section-figure {
  margin: 0 0 40px;
}

.section-figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.section-figure--centered img {
  width: auto;
  max-width: 100%;
  margin-inline: auto;
}

.section-figure--banner {
  margin-top: 40px;
}

.section-figure--banner img {
  width: 100%;
  max-width: 720px;
}

.person-avatar--photo {
  display: block;
  object-fit: cover;
  padding: 0;
  background: transparent;
}

.person-card h3 {
  margin: 0 0 2px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
}

.person-role {
  display: block;
  margin-bottom: 12px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fca5a5;
}

.person-card p {
  margin: 0;
  color: rgb(255 255 255 / 82%);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.person-card .btn {
  margin-top: 18px;
}

.person-card--light {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  box-shadow: var(--shadow);
}

.person-card--light h3 {
  color: var(--text);
}

.person-card--light .person-role {
  color: var(--text-muted);
}

.person-card--light p {
  color: var(--text-muted);
}

.person-card--light .person-avatar--photo {
  border: 3px solid var(--border);
  box-shadow: var(--shadow);
}

.cta-band {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #fff;
  text-align: center;
}

.cta-band h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 600;
  line-height: 1.15;
}

.cta-band p {
  margin: 0 auto 28px;
  max-width: 52ch;
  color: rgb(255 255 255 / 80%);
  font-size: 1.0625rem;
}

.cta-band .hero-actions {
  justify-content: center;
}

.cta-band a:not(.btn) {
  color: #fca5a5;
  font-weight: 600;
}

.cta-band a:not(.btn):hover {
  color: #fff;
}

.site-footer {
  padding: 64px 0 32px;
  background: #060f1c;
  color: rgb(255 255 255 / 80%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo {
  display: inline-flex;
  padding: 12px 16px;
  background: #fff;
  border-radius: var(--radius-sm);
}

.footer-brand p {
  margin: 20px 0 0;
  font-size: 0.9375rem;
  color: rgb(255 255 255 / 60%);
  max-width: 28ch;
}

.footer-col h4 {
  margin: 0 0 16px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 45%);
}

.footer-col address,
.footer-col p {
  font-style: normal;
  margin: 0 0 8px;
  font-size: 0.9375rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.footer-col ul a { font-size: 0.9375rem; }

.footer-col a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding-top: 32px;
  border-top: 1px solid rgb(255 255 255 / 10%);
  font-size: 0.875rem;
  color: rgb(255 255 255 / 45%);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a:hover { color: rgb(255 255 255 / 80%); }

.footer-cookie-settings {
  color: rgb(255 255 255 / 45%);
}

.footer-cookie-settings:hover {
  color: rgb(255 255 255 / 80%);
}

@media (max-width: 960px) {
  .hero-grid,
  .about-grid,
  .bento,
  .bento--four,
  .bento--solutions,
  .tool-feature,
  .partners-visual,
  .contact-grid { grid-template-columns: 1fr; }

  .bento-card.featured,
  .bento--solutions .bento-card.featured { grid-column: auto; grid-row: auto; }

  .tool-feature-body { padding: 32px 28px; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 940px) {
  .nav-desktop,
  .header-inner > .btn { display: none; }

  .menu-toggle { display: block; }
}

@media (max-width: 720px) {
  .hero { padding: 64px 0 80px; }

  .page-hero { padding: 64px 0 56px; }

  .hero-stats { grid-template-columns: 1fr; }

  .section { padding: 64px 0; }

  .person-card { grid-template-columns: 1fr; text-align: center; justify-items: center; }

  .footer-grid { grid-template-columns: 1fr; }
}

.about-visual--prinzip {
  aspect-ratio: auto;
  overflow: visible;
  box-shadow: none;
  background: transparent;
}

.about-visual--prinzip::after {
  content: none;
}

.prinzip-karte {
  background:
    linear-gradient(rgb(255 255 255 / 6%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 6%) 1px, transparent 1px),
    linear-gradient(150deg, var(--navy) 0%, var(--navy-light) 100%);
  background-size: 36px 36px, 36px 36px, auto;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: var(--radius);
  padding: 20px 22px 18px;
  box-shadow: var(--shadow);
  color: #fff;
}

.prinzip-karte-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 55%);
}

.prinzip-karte-abb {
  color: #fca5a5;
}

.prinzip-karte-claim {
  margin: 12px 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.35;
  color: rgb(255 255 255 / 92%);
}

.prinzip-karte-claim strong {
  font-style: italic;
  font-weight: 600;
  color: #fff;
}

.prinzip-schematic {
  position: relative;
  aspect-ratio: 1000 / 240;
  border-top: 1px solid rgb(255 255 255 / 12%);
  border-bottom: 1px solid rgb(255 255 255 / 12%);
  background: rgb(0 0 0 / 15%);
  touch-action: manipulation;
}

.prinzip-schematic svg,
.prinzip-schematic canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.prinzip-schematic canvas {
  pointer-events: none;
  z-index: 1;
}

.prinzip-endpoints {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.prinzip-axis {
  stroke: rgb(255 255 255 / 18%);
  stroke-width: 1;
  stroke-dasharray: 2 6;
}

.prinzip-axis-label {
  fill: rgb(255 255 255 / 45%);
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.prinzip-axis-label--end {
  fill: #fca5a5;
  text-anchor: end;
}

.prinzip-path {
  fill: none;
  stroke: rgb(255 255 255 / 22%);
  stroke-width: 1.5;
  stroke-dasharray: 5 7;
}

.prinzip-path-node {
  fill: rgb(255 255 255 / 55%);
}

.prinzip-path-node--end {
  fill: #fca5a5;
}

.prinzip-karte[data-prinzip-variant="kunden"] .prinzip-schematic {
  aspect-ratio: 920 / 252;
}

.prinzip-karte[data-prinzip-variant="kunden"] .prinzip-endpoints .prinzip-axis-label {
  font-size: 13px;
}

.prinzip-karte[data-prinzip-variant="home"] .prinzip-schematic {
  aspect-ratio: 1000 / 252;
}

.prinzip-karte[data-prinzip-variant="home"] .prinzip-endpoints .prinzip-axis-label {
  font-size: 13px;
}

.prinzip-karte[data-prinzip-variant="home"] .prinzip-st-num {
  font-size: 24px;
  fill: rgb(255 255 255 / 96%);
}

.prinzip-karte[data-prinzip-variant="home"] .prinzip-st-label {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  fill: rgb(255 255 255 / 88%);
}

.prinzip-karte[data-prinzip-variant="home"] .prinzip-station.hot .prinzip-st-label {
  fill: #fff;
}

.prinzip-karte[data-prinzip-variant="kunden"] .prinzip-st-frame {
  stroke-dasharray: none;
}

.prinzip-karte[data-prinzip-variant="kunden"] .prinzip-st-num {
  font-size: 24px;
  fill: rgb(255 255 255 / 96%);
}

.prinzip-karte[data-prinzip-variant="kunden"] .prinzip-st-label {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
  fill: rgb(255 255 255 / 88%);
}

.prinzip-karte[data-prinzip-variant="kunden"] .prinzip-station.hot .prinzip-st-label {
  fill: #fff;
}

.prinzip-station {
  cursor: pointer;
}

.prinzip-st-hit {
  fill: transparent;
  stroke: none;
}

.prinzip-st-frame {
  fill: rgb(19 45 82 / 85%);
  stroke: rgb(255 255 255 / 35%);
  stroke-width: 1.2;
  stroke-dasharray: 5 4;
  transition: stroke 0.22s ease, fill 0.22s ease;
}

.prinzip-st-num {
  fill: rgb(255 255 255 / 90%);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  text-anchor: middle;
  transition: fill 0.22s ease;
}

.prinzip-st-label {
  fill: rgb(255 255 255 / 55%);
  font-family: var(--font-body);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-anchor: middle;
  transition: fill 0.22s ease;
}

.prinzip-station.hot .prinzip-st-frame {
  stroke: #fca5a5;
  stroke-dasharray: none;
  fill: rgb(196 30 58 / 18%);
}

.prinzip-station.hot .prinzip-st-num,
.prinzip-station.hot .prinzip-st-label {
  fill: #fff;
}

.prinzip-panel {
  min-height: 78px;
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.prinzip-panel-tag {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fca5a5;
}

.prinzip-panel-satz {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: rgb(255 255 255 / 72%);
  max-width: 56ch;
}

.prinzip-panel-satz strong {
  font-weight: 600;
  color: #fff;
}

.prinzip-panel.is-changing .prinzip-panel-tag,
.prinzip-panel.is-changing .prinzip-panel-satz {
  animation: prinzip-fade-in 0.35s ease;
}

@keyframes prinzip-fade-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
}

.about-visual--live {
  aspect-ratio: auto;
}

.about-visual--live::after {
  content: none;
}

.live-dash {
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: 100%;
  padding: 22px 24px 26px;
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius);
}

.live-dash-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 60%);
}

.live-dash-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6fcf6f;
  animation: live-blink 2s ease-in-out infinite;
}

@keyframes live-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.live-dash-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.live-kpi {
  padding: 12px 14px;
  border-radius: 10px;
  background: rgb(255 255 255 / 7%);
  border: 1px solid rgb(255 255 255 / 12%);
}

.live-kpi strong {
  display: block;
  font-size: 1.375rem;
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.live-kpi span {
  font-size: 0.6875rem;
  color: rgb(255 255 255 / 55%);
}

.live-dash svg {
  display: block;
  width: 100%;
  height: auto;
  margin-top: auto;
}

.dash-bar {
  fill: rgb(255 255 255 / 22%);
  transform-origin: bottom;
  transform-box: fill-box;
  animation: dash-bar-breathe 3.6s ease-in-out infinite;
}

.dash-bar--accent {
  fill: rgb(252 165 165 / 75%);
}

@keyframes dash-bar-breathe {
  0%, 100% { transform: scaleY(0.88); }
  50% { transform: scaleY(1.04); }
}

.dash-line {
  fill: none;
  stroke: #fca5a5;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 520;
  stroke-dashoffset: 520;
  animation: dash-line-draw 5s ease-in-out infinite;
}

@keyframes dash-line-draw {
  0% { stroke-dashoffset: 520; }
  45%, 80% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -520; }
}

.dash-grid-line {
  stroke: rgb(255 255 255 / 8%);
  stroke-width: 1;
}

.live-dash-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
  margin-top: auto;
}

.live-dash .live-donut {
  width: 118px;
  height: 118px;
  margin-top: 0;
}

.donut-track {
  fill: none;
  stroke: rgb(255 255 255 / 12%);
  stroke-width: 10;
}

.donut-value {
  fill: none;
  stroke: #fca5a5;
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 282.7;
  stroke-dashoffset: 282.7;
  transform: rotate(-90deg);
  transform-origin: center;
  animation: donut-fill 1.8s ease-out 0.3s forwards;
}

@keyframes donut-fill {
  to { stroke-dashoffset: 2.8; }
}

.donut-text {
  fill: #fff;
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 700;
  text-anchor: middle;
  dominant-baseline: middle;
}

.donut-sub {
  fill: rgb(255 255 255 / 55%);
  font-family: var(--font-body);
  font-size: 10px;
  text-anchor: middle;
}

.live-hbars {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.live-hbar {
  position: relative;
}

.live-hbar::after {
  content: attr(data-value);
  position: absolute;
  top: -4px;
  right: 0;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgb(255 255 255 / 14%);
  font-size: 0.6875rem;
  font-weight: 600;
  color: #fff;
  opacity: 0;
  pointer-events: none;
}

.live-hbar:hover::after {
  opacity: 1;
}

.live-hbar span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.6875rem;
  color: rgb(255 255 255 / 60%);
}

.live-hbar-track {
  height: 8px;
  border-radius: 999px;
  background: rgb(255 255 255 / 10%);
  overflow: hidden;
}

.live-hbar-fill {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), #fca5a5);
  animation: hbar-grow 1.6s ease-out 0.4s forwards;
}

@keyframes hbar-grow {
  to { width: var(--w); }
}

.partners-visual--live {
  align-items: stretch;
}

.viz-figure {
  width: 100%;
  max-width: 760px;
}

.viz-figure .ai-scene-visual {
  overflow: visible;
  padding: 44px 36px;
}

.viz-figure .ai-scene-visual svg {
  overflow: visible;
}

.viz-figure .kg-node--core {
  animation: kg-pulse-soft 3s ease-in-out infinite;
}

.viz-figure .kg-label--core {
  font-size: 10px;
}

@keyframes kg-pulse-soft {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.partners-visual--live .ai-scene-visual {
  padding: 28px 24px;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.page-hero--interactive {
  cursor: crosshair;
}

.ai-scene {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.ai-scene-visual {
  position: relative;
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius);
  padding: 36px 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.ai-scene-visual svg {
  display: block;
  width: 100%;
  height: auto;
}

.kg-edge {
  stroke: rgb(255 255 255 / 30%);
  stroke-width: 1.5;
  stroke-dasharray: 6 6;
  animation: kg-dash 26s linear infinite;
}

.kg-edge--accent {
  stroke: #fca5a5;
  stroke-dasharray: 4 8;
  animation-duration: 14s;
}

@keyframes kg-dash {
  to { stroke-dashoffset: -600; }
}

.kg-node {
  fill: #132d52;
  stroke: rgb(255 255 255 / 55%);
  stroke-width: 1.5;
}

.kg-node--core {
  fill: var(--accent);
  stroke: #fca5a5;
  animation: kg-pulse 3s ease-in-out infinite;
  transform-origin: center;
  transform-box: fill-box;
}

@keyframes kg-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}

.kg-label {
  fill: rgb(255 255 255 / 88%);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  text-anchor: middle;
}

.kg-sublabel {
  fill: rgb(255 255 255 / 55%);
  font-family: var(--font-body);
  font-size: 9px;
  text-anchor: middle;
}

.ft-layers {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.ft-layer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  border-radius: 10px;
  background: rgb(255 255 255 / 8%);
  border: 1px solid rgb(255 255 255 / 14%);
  color: rgb(255 255 255 / 85%);
  font-size: 0.8125rem;
  font-weight: 600;
  overflow: hidden;
}

.ft-layer::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -40%;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgb(252 165 165 / 25%), transparent);
  animation: ft-sweep 3.2s ease-in-out infinite;
}

.ft-layer:nth-child(2)::after { animation-delay: 0.5s; }
.ft-layer:nth-child(3)::after { animation-delay: 1s; }

@keyframes ft-sweep {
  0% { left: -40%; }
  60%, 100% { left: 110%; }
}

.ft-layer small {
  font-weight: 400;
  color: rgb(255 255 255 / 55%);
}

.pipeline {
  margin-top: 8px;
}

.pipeline svg {
  display: block;
  width: 100%;
  height: auto;
}

.pipe-stage {
  fill: rgb(255 255 255 / 7%);
  stroke: rgb(255 255 255 / 25%);
  stroke-width: 1.2;
  rx: 12;
}

.pipe-stage--accent {
  fill: rgb(196 30 58 / 30%);
  stroke: #fca5a5;
}

.pipe-label {
  fill: rgb(255 255 255 / 90%);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  text-anchor: middle;
}

.pipe-sublabel {
  fill: rgb(255 255 255 / 55%);
  font-family: var(--font-body);
  font-size: 9px;
  text-anchor: middle;
}

.pipe-step {
  fill: rgb(255 255 255 / 35%);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  text-anchor: middle;
}

.pipe-step--accent {
  fill: rgb(252 165 165 / 70%);
}

.pipe-path {
  stroke: rgb(255 255 255 / 30%);
  stroke-width: 1.5;
  fill: none;
}

.pipe-dot {
  fill: #fca5a5;
}

.mx-cell {
  fill: rgb(255 255 255 / 7%);
  stroke: rgb(255 255 255 / 22%);
  stroke-width: 1;
  rx: 4;
}

.mx-cell--on {
  fill: rgb(196 30 58 / 45%);
  stroke: #fca5a5;
  animation: mx-pulse 2.4s ease-in-out infinite;
}

@keyframes mx-pulse {
  0%, 100% { fill-opacity: 1; }
  50% { fill-opacity: 0.45; }
}

.terminal {
  background: #0a1526;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: var(--radius-sm);
  overflow: hidden;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8125rem;
  box-shadow: var(--shadow);
}

.terminal-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgb(255 255 255 / 5%);
  border-bottom: 1px solid rgb(255 255 255 / 8%);
}

.terminal-head span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgb(255 255 255 / 18%);
}

.terminal-head span:first-child { background: #e0605e; }
.terminal-head span:nth-child(2) { background: #e8c05e; }
.terminal-head span:nth-child(3) { background: #6fcf6f; }

.terminal-title {
  margin-left: 8px;
  color: rgb(255 255 255 / 55%);
  font-size: 0.75rem;
}

.terminal-body {
  padding: 16px 18px;
  min-height: 168px;
  color: rgb(255 255 255 / 82%);
  line-height: 1.8;
}

.terminal-line.ok { color: #7fdc9a; }
.terminal-line.warn { color: #e8c05e; }
.terminal-line.cmd { color: #9cc4ff; }

.terminal-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
  margin-top: 48px;
}

.terminal-duo-caption {
  text-align: center;
  margin: 0 0 16px;
  font-weight: 600;
}

.terminal-duo .terminal-body {
  min-height: 230px;
}

@media (max-width: 960px) {
  .terminal-duo { grid-template-columns: 1fr; }
  .terminal-duo .terminal-body { min-height: 168px; }
}

.embedding-panel {
  background: linear-gradient(135deg, #0d1b33, #16244a);
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}

.embedding-panel canvas {
  display: block;
  width: 100%;
  height: 300px;
}

.embedding-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  margin-top: 12px;
  color: rgb(255 255 255 / 70%);
  font-size: 0.8125rem;
}

.embedding-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.embedding-legend i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

@media (max-width: 700px) {
  .embedding-panel canvas { height: 220px; }
}

.terminal-duo .embedding-panel canvas {
  height: 240px;
}

.terminal-duo--stretch {
  align-items: stretch;
}

.terminal-duo--stretch > div {
  display: flex;
  flex-direction: column;
}

.terminal-duo--stretch .terminal-duo-caption {
  min-height: 3.25em;
}

.terminal-duo--stretch .embedding-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 320px;
}

.terminal-duo--stretch .embedding-panel canvas {
  flex: 1;
  min-height: 200px;
  height: auto;
}

.terminal-duo--stretch .eval-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  justify-content: space-between;
  gap: 18px;
}

.eval-panel {
  gap: 22px;
  text-align: center;
}

.benchmark-chart {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
}

.benchmark-chart-heading {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
}

.benchmark-chart-sub {
  margin: -4px 0 0;
  font-size: 0.75rem;
  color: rgb(255 255 255 / 55%);
}

.benchmark-plot {
  flex: 1;
  display: flex;
  align-items: flex-end;
  min-height: 200px;
  padding: 8px 4px 0;
  border-radius: 8px;
  background-image: repeating-linear-gradient(
    to top,
    rgb(255 255 255 / 7%) 0,
    rgb(255 255 255 / 7%) 1px,
    transparent 1px,
    transparent 25%
  );
}

.benchmark-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2px;
  width: 100%;
  height: 100%;
}

.benchmark-bar {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  gap: 4px;
  cursor: default;
}

.benchmark-bar::before {
  content: attr(data-tip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 4px);
  transform: translateX(-50%);
  padding: 5px 9px;
  border-radius: 6px;
  background: rgb(8 16 32 / 96%);
  border: 1px solid rgb(255 255 255 / 18%);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 3;
}

.benchmark-bar:hover::before,
.benchmark-bar:focus-visible::before {
  opacity: 1;
  visibility: visible;
}

.benchmark-bar:focus {
  outline: none;
}

.benchmark-bar:focus-visible {
  outline: 2px solid rgb(252 165 165 / 55%);
  outline-offset: 2px;
  border-radius: 4px;
}

.benchmark-pct {
  font-size: 0.625rem;
  font-weight: 700;
  color: rgb(255 255 255 / 92%);
  line-height: 1;
  white-space: nowrap;
}

.benchmark-fill {
  width: 100%;
  max-width: 22px;
  height: calc(var(--pct) * 1.55px);
  min-height: 2px;
  border-radius: 3px 3px 0 0;
  background: var(--bar);
  box-shadow: 0 -2px 8px rgb(0 0 0 / 15%);
}

.benchmark-bar:hover .benchmark-fill,
.benchmark-bar:focus-visible .benchmark-fill {
  filter: brightness(1.12);
  box-shadow: 0 -2px 12px rgb(252 165 165 / 35%);
}

.benchmark-name {
  font-size: 0.5rem;
  line-height: 1.1;
  color: rgb(255 255 255 / 72%);
  text-align: center;
  max-width: 100%;
  white-space: nowrap;
  letter-spacing: -0.02em;
}

.partner-logos--models {
  flex-wrap: nowrap;
  justify-content: center;
  gap: 7px;
}

.partner-logos--models .partner-badge {
  padding: 9px 13px;
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: -0.01em;
}

@media (max-width: 900px) {
  .partner-logos--models {
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }
}

.eval-panel .viz-footnote {
  margin-top: 0;
  text-align: left;
}

.viz-footnote {
  margin: 16px 0 0;
  font-size: 0.75rem;
  color: rgb(255 255 255 / 55%);
}

.token-stream {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  min-height: 64px;
  align-content: flex-start;
}

.token-note {
  width: 100%;
  font-size: 0.75rem;
  color: rgb(255 255 255 / 55%);
}

.token-chip {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8125rem;
  padding: 3px 10px;
  border-radius: 7px;
  border: 1px solid;
  white-space: pre;
  animation: token-pop 0.25s ease;
}

.token-chip--1 { background: rgb(156 196 255 / 14%); border-color: rgb(156 196 255 / 45%); color: #9cc4ff; }
.token-chip--2 { background: rgb(127 220 154 / 12%); border-color: rgb(127 220 154 / 45%); color: #7fdc9a; }
.token-chip--3 { background: rgb(232 192 94 / 12%); border-color: rgb(232 192 94 / 45%); color: #e8c05e; }
.token-chip--4 { background: rgb(252 165 165 / 12%); border-color: rgb(252 165 165 / 45%); color: #fca5a5; }

@keyframes token-pop {
  from {
    opacity: 0;
    transform: translateY(5px) scale(0.9);
  }
}

.dedup-viz {
  display: block;
  width: 100%;
  max-width: 240px;
  margin-top: 16px;
}

.dedup-doc rect {
  fill: #eef2f7;
  stroke: #cbd5e1;
  stroke-width: 1.5;
}

.dedup-doc line {
  stroke: #cbd5e1;
  stroke-width: 2;
  stroke-linecap: round;
}

.dedup-dup rect {
  fill: #fdecec;
  stroke: var(--accent);
}

.dedup-dup line {
  stroke: var(--accent);
  opacity: 0.5;
}

.dedup-dup {
  animation: dedup-fade 5.5s ease-in-out infinite;
}

@keyframes dedup-fade {
  0%, 32% { opacity: 1; }
  48%, 82% { opacity: 0; }
  100% { opacity: 1; }
}

.glossary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0;
}

.glossary-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
}

.glossary-item dt {
  font-weight: 650;
  margin-bottom: 8px;
}

.glossary-item dd {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-soft);
}

@media (max-width: 960px) {
  .glossary-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .glossary-grid { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .ai-scene { grid-template-columns: 1fr; }
}

.faq-list {
  max-width: 780px;
  margin-inline: auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.375rem;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item .faq-answer {
  padding: 0 22px 20px;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.faq-answer p {
  margin: 0 0 10px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.cookie-consent {
  position: fixed;
  inset: auto 0 0;
  z-index: 1000;
  padding: 16px;
  background: rgb(255 255 255 / 96%);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 32px rgb(15 23 42 / 10%);
  backdrop-filter: blur(12px);
}

.cookie-consent-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.cookie-consent-content h2 {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 600;
}

.cookie-consent-content p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 62ch;
}

.cookie-consent-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-consent-actions {
  display: flex;
  flex-shrink: 0;
  gap: 10px;
}

.cookie-consent-btn {
  white-space: nowrap;
}

.calendly-consent-block {
  position: relative;
}

.calendly-consent-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 420px;
  padding: 32px 28px;
  text-align: center;
  background: var(--bg);
}

.calendly-consent-placeholder[hidden] {
  display: none;
}

.calendly-consent-placeholder p {
  margin: 0;
  max-width: 42ch;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.calendly-consent-note {
  font-size: 0.8125rem !important;
  color: var(--text-soft) !important;
}

.calendly-consent-note a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-cookie-settings {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 768px) {
  .cookie-consent-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-consent-actions {
    flex-direction: column;
  }

  .cookie-consent-btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .prinzip-panel.is-changing .prinzip-panel-tag,
  .prinzip-panel.is-changing .prinzip-panel-satz { animation: none; }

  .live-dash-dot,
  .dash-bar,
  .dash-line,
  .kg-edge,
  .kg-node--core,
  .donut-value,
  .live-hbar-fill,
  .ft-layer::after,
  .dedup-dup,
  .mx-cell--on,
  .token-chip { animation: none; }

  .dedup-dup { opacity: 0.35; }

  .dash-line { stroke-dashoffset: 0; }
  .donut-value { stroke-dashoffset: 2.8; }
  .live-hbar-fill { width: var(--w); }
}
