@charset "UTF-8";

/* ══════════════════════════════════════════════════════════════════════
   rbNext Systems GmbH — Unternehmensseite
   Selbst gehostete Schriften (SIL Open Font License), keine externen
   Ressourcen: kein CDN, kein Tracking, kein Cookie-Banner nötig.
   ══════════════════════════════════════════════════════════════════════ */

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

/* ── Farbwelt: Anthrazit #333 + Cyan #1A98CE aus dem Firmenlogo ──────── */
:root {
  --paper:        #ffffff;
  --paper-tint:   #f3f4f6;
  --ink:          #232326;
  --ink-soft:     #5a5d65;
  --ink-faint:    #8b8f98;
  --dark:         #232326;
  --dark-deep:    #191a1d;
  --line:         rgba(35, 35, 38, .13);
  --line-strong:  rgba(35, 35, 38, .28);
  --cyan:         #1a98ce;
  --cyan-text:    #0f6e93;   /* AA-tauglich auf hellem Grund */
  --cyan-light:   #3fb6e8;   /* AA-tauglich auf dunklem Grund */
  --shell:        1180px;
  --pad:          clamp(1.25rem, 5vw, 3.5rem);
  --radius:       3px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper:       #141417;
    --paper-tint:  #1b1c20;
    --ink:         #e9e9ec;
    --ink-soft:    #a6a9b1;
    --ink-faint:   #7b7f88;
    --dark:        #1b1c20;
    --dark-deep:   #101013;
    --line:        rgba(233, 233, 236, .14);
    --line-strong: rgba(233, 233, 236, .3);
    --cyan-text:   #4cbcec;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Outfit", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  font-weight: 350;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3 {
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -.022em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--cyan-text); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 2px;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--cyan);
  color: #fff;
  padding: .7rem 1.2rem;
  font-weight: 500;
}
.skip:focus { left: 0; }

/* ── Kopfzeile ───────────────────────────────────────────────────────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.topbar__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.25rem;
}

.topbar__brand img { width: 132px; }

@media (prefers-color-scheme: dark) {
  /* Anthrazitfarbenes Logo auf dunklem Grund aufhellen, Cyan erhalten */
  .topbar__brand img { filter: invert(1) hue-rotate(180deg) saturate(1.15); }
}

.topbar__nav {
  display: flex;
  gap: clamp(.85rem, 2vw, 1.9rem);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin-right: calc(var(--pad) * -1);
  padding-right: var(--pad);
}
.topbar__nav::-webkit-scrollbar { display: none; }

.topbar__nav a {
  position: relative;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: .875rem;
  font-weight: 400;
  letter-spacing: .01em;
  white-space: nowrap;
  padding: .35rem 0;
  transition: color .2s;
}
.topbar__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s cubic-bezier(.22, 1, .36, 1);
}
.topbar__nav a:hover { color: var(--ink); }
.topbar__nav a:hover::after { transform: scaleX(1); }

/* ── Auszeichner: technische Kleinschrift ────────────────────────────── */
.eyebrow {
  font-family: ui-monospace, "Cascadia Mono", "SF Mono", "Segoe UI Mono",
    Consolas, monospace;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cyan-text);
  margin: 0 0 1.4rem;
}
.eyebrow--light { color: var(--cyan-light); }

/* ── Hero ────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--dark-deep);
  color: #f2f2f4;
  padding-block: clamp(4.5rem, 12vw, 9rem) clamp(4rem, 9vw, 7rem);
  /* feines Konstruktionsraster */
  background-image:
    linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px);
  background-size: 68px 68px, 68px 68px;
}

/* Aufgreifen des Orbit-Bogens aus dem Firmenlogo */
.hero__orbit {
  position: absolute;
  right: -18%;
  top: 48%;
  width: 78%;
  aspect-ratio: 1 / .34;
  border: 1px solid rgba(26, 152, 206, .32);
  border-radius: 50%;
  transform: rotate(-11deg);
  pointer-events: none;
}
.hero__orbit::after {
  content: "";
  position: absolute;
  inset: 14% 9%;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 50%;
}

.hero__in { position: relative; }

.hero__title {
  font-size: clamp(2.15rem, 1.2rem + 4.2vw, 4.15rem);
  font-weight: 600;
  max-width: 17ch;
  margin-bottom: 1.6rem;
}
.hero__title em {
  font-style: normal;
  color: var(--cyan-light);
}

.hero__lead {
  max-width: 56ch;
  font-size: clamp(1.05rem, 1rem + .35vw, 1.24rem);
  line-height: 1.62;
  color: #c3c5cb;
}

/* Kennzahlenleiste */
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: clamp(2.75rem, 6vw, 4rem) 0 0;
  border-top: 1px solid rgba(255, 255, 255, .13);
}
.facts__item {
  flex: 1 1 9rem;
  padding: 1.5rem 1.75rem 0 0;
  position: relative;
}
.facts__item + .facts__item {
  padding-left: 1.75rem;
  border-left: 1px solid rgba(255, 255, 255, .13);
}
.facts dt {
  font-family: ui-monospace, "Cascadia Mono", "SF Mono", "Segoe UI Mono",
    Consolas, monospace;
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #8e929b;
  margin-bottom: .45rem;
}
.facts dd {
  margin: 0;
  font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.35rem);
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: 1;
}

/* ── Abschnitte ──────────────────────────────────────────────────────── */
.band {
  padding-block: clamp(3.75rem, 9vw, 6.5rem);
  background: var(--paper);
}
.band--tint {
  background: var(--paper-tint);
  border-block: 1px solid var(--line);
}

.secthead {
  display: flex;
  align-items: baseline;
  gap: 1.15rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--line-strong);
  margin-bottom: 2.4rem;
}
.secthead__no {
  font-family: ui-monospace, "Cascadia Mono", "SF Mono", "Segoe UI Mono",
    Consolas, monospace;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--cyan-text);
}
.secthead__title {
  font-size: clamp(1.5rem, 1.15rem + 1.5vw, 2.15rem);
  font-weight: 550;
}
.secthead--light { border-bottom-color: rgba(255, 255, 255, .2); }
.secthead--light .secthead__no { color: var(--cyan-light); }

.secthead__lead {
  max-width: 62ch;
  color: var(--ink-soft);
  margin: -1.1rem 0 2.6rem;
  font-size: 1.06rem;
}

/* ── 01 Plattform ────────────────────────────────────────────────────── */
.platform {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.platform__logo {
  width: 190px;
  margin-bottom: 1.85rem;
}
.platform__body p {
  max-width: 60ch;
  color: var(--ink-soft);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-top: .7rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--cyan-text);
}
.link-arrow::after {
  content: "→";
  transition: transform .25s cubic-bezier(.22, 1, .36, 1);
}
.link-arrow:hover { text-decoration: underline; text-underline-offset: .25em; }
.link-arrow:hover::after { transform: translateX(5px); }

.platform__facts { display: grid; gap: 1px; background: var(--line-strong); }
.bigfact {
  background: var(--paper);
  padding: 1.7rem 1.6rem;
}
.band--tint .bigfact { background: var(--paper-tint); }
.bigfact__value {
  display: block;
  font-size: clamp(2.1rem, 1.6rem + 2vw, 3rem);
  font-weight: 550;
  letter-spacing: -.035em;
  line-height: 1;
  color: var(--cyan-text);
  margin-bottom: .5rem;
}
.bigfact__label {
  display: block;
  font-size: .93rem;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 26ch;
}

/* ── 02 Entwicklung: Kachelraster ────────────────────────────────────── */
.cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  /* fest zwei Spalten: mit auto-fit ergaben sich je nach Breite drei Spalten
     plus eine einzelne in Reihe zwei, und bei vier Spalten sank die
     Zeilenlänge unter 30 Zeichen */
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-strong);
  border: 1px solid var(--line-strong);
}
.card {
  position: relative;
  overflow: hidden;
  background: var(--paper-tint);
  padding: 2rem 1.85rem 2.1rem;
  transition: background .25s;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .38s cubic-bezier(.22, 1, .36, 1);
}
.card:hover { background: var(--paper); }
.card:hover::before { transform: scaleX(1); }

.card__no {
  position: absolute;
  right: .55rem;
  bottom: -1.1rem;
  font-family: ui-monospace, "Cascadia Mono", "SF Mono", "Segoe UI Mono",
    Consolas, monospace;
  font-size: 5.2rem;
  font-weight: 600;
  line-height: 1;
  color: var(--ink);
  opacity: .045;
  pointer-events: none;
}
.card h3 {
  font-size: 1.22rem;
  font-weight: 550;
  margin-bottom: .8rem;
}
.card p {
  position: relative;
  font-size: .965rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ── Statement ───────────────────────────────────────────────────────── */
.statement {
  background: var(--dark);
  color: #f2f2f4;
  padding-block: clamp(3.25rem, 8vw, 5.5rem);
  border-block: 1px solid var(--line);
}
.statement blockquote {
  margin: 0;
  max-width: 24ch;
  font-family: "Lora", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.5rem, 1.1rem + 2.1vw, 2.6rem);
  line-height: 1.32;
  letter-spacing: -.015em;
  position: relative;
  padding-left: clamp(1.1rem, 3vw, 2rem);
  border-left: 2px solid var(--cyan);
}

/* ── 03 Technologie ──────────────────────────────────────────────────── */
.tech {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.tech__text p {
  max-width: 58ch;
  color: var(--ink-soft);
}
.chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.chips li {
  font-family: ui-monospace, "Cascadia Mono", "SF Mono", "Segoe UI Mono",
    Consolas, monospace;
  font-size: .795rem;
  letter-spacing: .01em;
  color: var(--ink-soft);
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  padding: .38rem .9rem;
  transition: border-color .22s, color .22s;
}
.chips li:hover { border-color: var(--cyan); color: var(--cyan-text); }

/* ── 04 Historie ─────────────────────────────────────────────────────── */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: clamp(1.75rem, 3.5vw, 2.75rem);
}
.timeline__step {
  position: relative;
  padding-top: 1.9rem;
  border-top: 1px solid var(--line-strong);
}
/* Markierungspunkt auf der Zeitachse */
.timeline__step::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
}
.timeline__year {
  display: block;
  font-family: ui-monospace, "Cascadia Mono", "SF Mono", "Segoe UI Mono",
    Consolas, monospace;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--cyan-text);
  margin-bottom: .7rem;
}
.timeline__step h3 {
  font-size: 1.06rem;
  font-weight: 550;
  margin-bottom: .55rem;
}
.timeline__step p {
  font-size: .93rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ── 05 Geschäftsführung ─────────────────────────────────────────────── */
.people {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: clamp(1.5rem, 3.5vw, 2.75rem);
}
.person { padding-top: 1.3rem; border-top: 2px solid var(--ink); }
.person__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 50%;
  background: var(--cyan);
  color: #fff;
  font-size: .84rem;
  font-weight: 600;
  letter-spacing: .04em;
  margin-bottom: 1.1rem;
}
.person h3 { font-size: 1.16rem; font-weight: 550; }
.person__role {
  font-family: ui-monospace, "Cascadia Mono", "SF Mono", "Segoe UI Mono",
    Consolas, monospace;
  font-size: .74rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--cyan-text);
  margin: .4rem 0 .85rem;
}
.person p:last-child {
  font-size: .95rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ── 05 Kontakt / Fußbereich ─────────────────────────────────────────── */
.foot {
  background: var(--dark-deep);
  color: #dcdde1;
  padding-block: clamp(3.5rem, 8vw, 5.5rem) 2.25rem;
}
.foot .secthead__title { color: #f2f2f4; }

.foot__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: clamp(1.75rem, 4vw, 3.5rem);
}
.foot__block h3 {
  font-family: ui-monospace, "Cascadia Mono", "SF Mono", "Segoe UI Mono",
    Consolas, monospace;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #8e929b;
  margin-bottom: .85rem;
}
.foot__block p { line-height: 1.75; }
.foot a { color: var(--cyan-light); text-decoration: none; }
.foot a:hover { text-decoration: underline; text-underline-offset: .22em; }

.foot__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: clamp(3rem, 7vw, 4.5rem);
  padding-top: 1.85rem;
  border-top: 1px solid rgba(255, 255, 255, .13);
}

/* Fußbereich der Inhaltsseiten: nur Logo und Rechtslinks */
.foot--slim { padding-block: 2.25rem; }
.foot__bar--top { margin-top: 0; padding-top: 0; border-top: 0; }
.foot__logo { width: 108px; opacity: .82; }
.foot__legal { font-size: .875rem; color: #8e929b; }
.foot__legal span { margin-inline: .55rem; }

.foot__marks {
  margin: 1.35rem 0 0;
  font-size: .78rem;
  line-height: 1.6;
  color: #74777f;
}
.foot__marks sup {
  font-size: .62em;
  vertical-align: super;
  line-height: 0;
}

/* ── Einblenden beim Laden ───────────────────────────────────────────── */
.reveal {
  animation: rise .75s cubic-bezier(.22, 1, .36, 1) both;
}
.reveal--1 { animation-delay: .08s; }
.reveal--2 { animation-delay: .16s; }
.reveal--3 { animation-delay: .24s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

/* ── Inhaltsseiten (Impressum, Datenschutz) ──────────────────────────── */
.legal { padding-block: clamp(2.75rem, 7vw, 4.5rem) clamp(3.5rem, 8vw, 5.5rem); }
.legal h1 {
  font-size: clamp(1.9rem, 1.4rem + 2vw, 2.75rem);
  margin-bottom: 2.25rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--line-strong);
}
.legal h2 {
  font-size: 1.16rem;
  font-weight: 550;
  margin: 2.4rem 0 .8rem;
  color: var(--ink);
}
.legal h3 { font-size: 1rem; font-weight: 550; margin: 1.6rem 0 .6rem; }
.legal p, .legal li {
  max-width: 72ch;
  color: var(--ink-soft);
  font-size: .985rem;
  line-height: 1.72;
}
.legal ul { padding-left: 1.15rem; }
.legal li { margin-bottom: .35rem; }
.legal strong { color: var(--ink); font-weight: 550; }
.legal a { word-break: break-word; }

/* ── Schmale Darstellungen ───────────────────────────────────────────── */
@media (max-width: 860px) {
  .platform, .tech { grid-template-columns: 1fr; }
  .platform__facts { grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); }
}

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

@media (max-width: 560px) {
  .topbar__in { min-height: 3.75rem; }
  .topbar__brand img { width: 108px; }
  .facts { border-top: 0; }
  .facts__item {
    flex: 1 1 100%;
    padding: 1.15rem 0;
    border-top: 1px solid rgba(255, 255, 255, .13);
  }
  .facts__item + .facts__item { padding-left: 0; border-left: 0; }
  .hero__orbit { right: -45%; width: 130%; }
}

/* ── Bewegung reduzieren ─────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* ── Druck ───────────────────────────────────────────────────────────── */
@media print {
  .topbar, .hero__orbit, .skip { display: none; }
  body { color: #000; background: #fff; }
  .hero, .statement, .foot { background: #fff; color: #000; }
}
