:root {
  --bg: #01091c;
  --card: #0b1424;
  --card-border: rgba(126, 150, 184, 0.28);
  --text-primary: #fffffe;
  --text-secondary: #c2dae8;
  --muted: #8fafc5;
  --check: #2fc4b8;
  --owly: #3d9bff;
  --owly-light: #6bb6ff;
  --rim: #067aff;
  --pim: #ff5e5b;
  --lieferanten: #fdc921;
  --site: #988afd;
  --epro: #00c48c;
  --rail-border: #37536a;
  --rail-panel: #243547;
  --gutter: clamp(24px, 4vw, 72px);
  --accent: var(--owly-light);
}

body.pim { --accent: var(--pim); }
body.lieferanten { --accent: var(--lieferanten); }
body.site { --accent: var(--site); }
body.epro { --accent: var(--epro); }
body.platform,
body.ai { --accent: var(--owly-light); }

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  background: var(--bg);
  font-family: Inter, system-ui, sans-serif;
  color: var(--text-primary);
  overflow-x: hidden;
  hyphens: none;
  -webkit-hyphens: none;
}

[hidden] { display: none !important; }

a { color: inherit; }

.stars {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.wrap {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px var(--gutter);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}

.topbar.is-stuck { border-bottom-color: rgba(55, 83, 106, 0.55); }

.back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.back:hover { color: var(--text-primary); }

.toc {
  display: flex;
  gap: 6px;
  margin-right: 8px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid rgba(55, 83, 106, 0.7);
  background: rgba(11, 26, 46, 0.7);
}

.toc a {
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.toc a:hover,
.toc a.is-on {
  color: #050d18;
  background: #6bb6ff;
}

.topbar .demo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--rim);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.topbar .demo:hover { background: #004fb0; }

.lang-switch {
  display: flex;
  gap: 0.35rem;
  padding: 0.25rem;
  border-radius: 999px;
  border: 1px solid rgba(55, 83, 106, 0.9);
  background: rgba(11, 26, 46, 0.85);
}

.lang-switch button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  font: 600 0.75rem/1 Inter, system-ui, sans-serif;
  letter-spacing: 0.04em;
  color: #8fafc5;
  background: transparent;
  cursor: pointer;
}

.lang-switch button[aria-pressed="true"] { color: #050d18; background: #6bb6ff; }

.hero {
  position: relative;
  padding: 56px 0 28px;
}

.hero::before {
  content: "";
  position: absolute;
  left: 18%;
  top: 8%;
  width: 640px;
  height: 320px;
  background: radial-gradient(ellipse at center, color-mix(in srgb, var(--accent) 16%, transparent) 0%, transparent 70%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  margin: 0;
  font-size: clamp(40px, 5.4vw, 64px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.lede {
  margin: 18px 0 0;
  max-width: 34em;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--muted);
}

.lede strong { color: var(--text-primary); font-weight: 600; }

.hero__cover {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--rail-border);
  background: var(--rail-panel);
  transform: rotate(1.4deg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

body.platform .hero__cover,
body.ai .hero__cover,
body.epro .hero__cover {
  transform: rotate(-1.4deg);
}

.hero__cover img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero__cover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--accent);
}

section {
  padding: 72px 0;
  scroll-margin-top: 84px;
}

h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

h2 em { font-style: normal; color: var(--accent); }

.sec-lead {
  margin: 14px 0 0;
  max-width: 38em;
  font-size: 18px;
  line-height: 1.5;
  color: var(--muted);
}

.sec-lead a {
  color: var(--owly-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 40px;
}

.pane {
  padding: 28px 28px 30px;
  border-radius: 16px;
  border: 1px solid var(--rail-border);
  background: var(--rail-panel);
}

.pane .dir {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pane h3 {
  margin: 0 0 10px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.pane > p {
  margin: 0 0 22px;
  color: var(--text-secondary);
  font-size: 15.5px;
  line-height: 1.5;
}

.checks {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.checks li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.4;
}

.checks .mark {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--check);
}

.facts {
  margin: 0;
  display: grid;
  gap: 14px;
}

.facts div {
  display: grid;
  gap: 2px;
  padding-top: 12px;
  border-top: 1px solid rgba(55, 83, 106, 0.55);
}

.facts dt {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.facts dd {
  margin: 0;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.4;
}

.cargo {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.tile {
  padding: 22px 20px 24px;
  border-radius: 16px;
  border: 1px solid var(--rail-border);
  background: var(--rail-panel);
}

.tile svg {
  display: block;
  margin-bottom: 14px;
  color: var(--accent);
}

.tile h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 750;
  letter-spacing: -0.01em;
}

.tile p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.45;
}

.dest {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.dest a,
.dest span.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--rail-border);
  background: #0b1a2e;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
}

.dest a:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 30%, transparent);
}

.dest .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

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

.fcard {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--rail-border);
  background: var(--rail-panel);
  color: inherit;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fcard:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 0 1px var(--accent), 0 16px 48px color-mix(in srgb, var(--accent) 25%, transparent);
}

.fcard .img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-bottom: 3px solid var(--accent); }
.fcard .img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fcard .body { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 20px 22px 24px; }
.fcard .tag {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
}
.fcard h3 { margin: 0; font-size: 18px; font-weight: 750; letter-spacing: -0.01em; }
.fcard p { margin: 0; color: var(--text-secondary); font-size: 14px; line-height: 1.45; }
.fcard.pim { --accent: var(--pim); }
.fcard.platform { --accent: var(--owly); }
.fcard.lieferanten { --accent: var(--lieferanten); }
.fcard.site { --accent: var(--site); }
.fcard.epro { --accent: var(--epro); }

.cta {
  text-align: center;
  padding: 28px 0 120px;
}

.cta h2 { max-width: 16em; margin-left: auto; margin-right: auto; }

.cta .demo-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding: 16px 30px;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  text-decoration: none;
  background: #067aff;
}

.cta .demo-btn:hover { background: #004fb0; }

@media (max-width: 1280px) {
  .toc { display: none; }
}

@media (max-width: 860px) {
  .hero__grid,
  .cargo,
  .related { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .hero { padding-top: 32px; }
}

@media (max-width: 560px) {
  .hero__grid,
  .split,
  .cargo,
  .related { grid-template-columns: 1fr; }
  .topbar .demo span { display: none; }
  .lede { font-size: 17px; }
}

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