/* ─────────────────────────────────────────────────────
   SABESUS · NeoVision template adaptation
   Dark editorial, large display type, glass cards
───────────────────────────────────────────────────── */

:root {
  --bg: #080808;
  --bg-light: #efefef;
  --fg: #ffffff;
  --fg-dim: rgba(255, 255, 255, 0.63);
  --fg-faint: rgba(255, 255, 255, 0.3);
  --fg-dark: #000000;
  --fg-dark-dim: rgba(0, 0, 0, 0.63);
  --fg-dark-faint: rgba(0, 0, 0, 0.35);
  --glass: rgba(255, 255, 255, 0.05);
  --glass-stroke: rgba(255, 255, 255, 0.1);
  --glass-strong: rgba(255, 255, 255, 0.12);
  --btn-dark: #282828;
  --accent: #05806a;
  --accent-glow: rgba(5, 128, 106, 0.35);
  --accent-soft: rgba(5, 128, 106, 0.12);
  --radius-card: 30px;
  --radius-btn: 8px;
  --max-w: 1520px;
  --gutter: max(24px, calc(50vw - var(--max-w) / 2));
}

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

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body { min-height: 100vh; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img, svg { display: block; max-width: 100%; }

/* ── Type scale ────────────────────────────────────── */
.display-xl {
  font-weight: 300;
  font-size: clamp(56px, 7.5vw, 120px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.display-l {
  font-weight: 300;
  font-size: clamp(48px, 5.5vw, 96px);
  line-height: 1;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.display-m {
  font-weight: 300;
  font-size: clamp(32px, 3.5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.eyebrow {
  font-size: 14px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  font-weight: 400;
}
.body-dim { color: var(--fg-dim); font-weight: 300; line-height: 1.875; }
.body-dim.dark { color: var(--fg-dark-dim); }

/* italic emphasis used in display text — teal accent */
.display-xl em, .display-l em, .display-m em {
  font-style: normal;
  font-weight: 500;
  color: var(--accent);
}
/* On the light hero, keep the accent legible against cream */
.hero .display-xl em, .hero .display-l em, .hero .display-m em { color: var(--accent); }

/* ── Layout helpers ────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 max(24px, calc(50vw - var(--max-w) / 2 - 0px));
  padding-inline: clamp(24px, 5vw, 200px);
}

.section { padding-block: clamp(80px, 10vw, 160px); position: relative; }

/* ── Buttons ───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 30px;
  border-radius: var(--radius-btn);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  transition: transform .25s ease, background-color .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 8px 30px -10px var(--accent-glow); }
.btn--primary:hover { background: #066a58; transform: translateY(-2px); box-shadow: 0 14px 40px -10px var(--accent-glow); }
.btn--ghost-dark { background: transparent; color: #000; border: 1px solid rgba(0,0,0,0.2); }
.btn--ghost-dark:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn--ghost-light {
  background: rgba(255,255,255,0.14);
  color: #fff;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.18);
}
.btn--ghost-light:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 14px 40px -10px var(--accent-glow); }
.btn--text {
  padding: 0;
  background: none;
  font-weight: 500;
  position: relative;
}
.btn--text::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  height: 1px;
  width: 100%;
  background: var(--accent);
  transform: scaleX(0.4);
  transform-origin: left;
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.btn--text:hover { color: var(--accent); }
.btn--text:hover::after { transform: scaleX(1); }

.icon-circle {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(40px);
  border: 1px solid rgba(255,255,255,0.08);
  transition: background .25s ease;
}
.icon-circle:hover { background: rgba(255,255,255,0.14); }

/* ── Material Symbols ──────────────────────────────── */
.ms {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
}

/* ── Cursor blob (disabled) ────────────────────────── */
.cursor-blob { display: none !important; }

/* ── Nav ───────────────────────────────────────────── */
.nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  padding: 32px clamp(24px, 5vw, 200px);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(24px, 3vw, 56px);
  z-index: 50;
}
.nav.is-fixed {
  position: fixed;
  background: rgba(15,15,15,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding-block: 18px;
  animation: navIn .4s ease both;
}
.nav.is-fixed .nav__logo,
.nav.is-fixed .nav__menu a,
.nav.is-fixed .nav__search input { color: #fff; }
.nav.is-fixed .nav__logo-mark { background: var(--accent); color: #fff; }
.nav.is-fixed .nav__search { border-color: rgba(255,255,255,0.2); }
.nav.is-fixed .nav__search .ms { color: rgba(255,255,255,0.4); }
.nav__menu a.is-active { color: var(--accent) !important; }
.nav__menu a.is-active::after { background: var(--accent); transform: scaleX(1); }
@keyframes navIn { from { transform: translateY(-100%); } to { transform: translateY(0); } }

.nav__logo {
  display: flex; align-items: center; gap: 12px;
  color: #000;
  font-weight: 700;
  font-size: 24px;
  line-height: 1;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.nav__logo img {
  height: 78px;
  width: auto;
  display: block;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), filter .25s ease;
}
.nav__logo:hover img {
  transform: translateY(-2px) rotate(-3deg);
}
/* On the light hero, the teal logo reads fine. On dark nav, also fine. */
.footer__brand .nav__logo img { height: 64px; }
.nav.on-dark .nav__logo,
.nav.on-dark .nav__menu a { color: #fff; }
.nav.on-dark .nav__logo-mark { background: #fff; color: #000; }
.nav.on-dark .nav__search { border-color: rgba(255,255,255,0.2); }
.nav.on-dark .nav__search input { color: #fff; }
.nav.on-dark .nav__search input::placeholder { color: rgba(255,255,255,0.4); }
.nav.on-dark .nav__search .ms { color: rgba(255,255,255,0.4); }

.nav__logo-mark {
  width: 43px; height: 43px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  display: grid; place-items: center;
  font-family: 'DM Sans';
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  box-shadow: 0 4px 16px -4px var(--accent-glow);
}
.nav__menu {
  display: flex;
  gap: clamp(12px, 1.4vw, 26px);
  font-size: 16px;
  font-weight: 400;
}
.nav__menu a {
  color: #000;
  position: relative;
  padding: 6px 2px;
  transition: opacity .2s ease;
}
.nav__menu a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0; height: 1px;
  width: 100%;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s cubic-bezier(.2,.7,.2,1);
}
.nav__menu a:hover::after, .nav__menu a.is-active::after { transform: scaleX(1); }
.nav__toggle { display: none; }
.nav__backdrop { display: none; }

.nav__search {
  flex: 0 1 480px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  border: 1px solid rgba(0,0,0,0.4);
  border-radius: 100px;
  transition: border-color .25s ease;
}
.nav__search:focus-within { border-color: #000; }
.nav__search input {
  flex: 1;
  border: 0; outline: 0; background: none;
  font: italic 14px 'DM Sans';
  color: rgba(0,0,0,0.7);
}
.nav__search input::placeholder { color: rgba(0,0,0,0.5); }
.nav__search .ms { font-size: 22px; color: rgba(0,0,0,0.4); }

/* ── Hero ──────────────────────────────────────────── */
.hero {
  position: relative;
  background: var(--bg-light);
  color: #000;
  min-height: clamp(720px, 92vh, 1180px);
  isolation: isolate;
  overflow: hidden;
}
.hero__cutout {
  position: absolute; inset: 0;
  pointer-events: none;
}
/* The signature stepped cutout from the Figma — bottom-right curves up */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--bg-light);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1920 1172' preserveAspectRatio='none'><path d='M0,0 L1920,0 L1920,1172 L1040,1172 L830,1039 L0,1039 Z' fill='black'/></svg>") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1920 1172' preserveAspectRatio='none'><path d='M0,0 L1920,0 L1920,1172 L1040,1172 L830,1039 L0,1039 Z' fill='black'/></svg>") center / 100% 100% no-repeat;
  z-index: -1;
}

/* curved line decoration in hero */
.hero__line {
  position: absolute;
  left: 0; right: 0;
  top: 52%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.6;
}

.hero__inner {
  position: relative;
  z-index: 2;
  padding-top: 160px;
  padding-bottom: 80px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  min-height: inherit;
}

.hero__copy {
  max-width: 880px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.hero__eyebrow {
  display: flex; align-items: baseline; gap: 16px;
  color: #000;
}
.hero__eyebrow .num {
  font-size: 14px; letter-spacing: 0.42em;
  color: rgba(0,0,0,0.4);
  font-feature-settings: 'tnum';
}
.hero__title em { color: #000; }
.hero__cta {
  display: flex; gap: 14px;
  align-items: center;
  margin-top: 12px;
}

.hero__art {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: clamp(380px, 38vw, 740px);
  background: linear-gradient(135deg, #1a1a1a, #2d2d2d 50%, #0a0a0a);
  overflow: hidden;
  z-index: 1;
}
.hero__art::before {
  content: '';
  position: absolute; inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 70% 30%, rgba(255,255,255,0.10), transparent 50%),
    linear-gradient(160deg, rgba(15,15,15,0.10), rgba(15,15,15,0.45));
  pointer-events: none;
}
.hero__art-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero__art-label {
  position: absolute;
  bottom: 24px; left: 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
}

/* hero floating mini cards */
.hero__pill {
  position: absolute;
  bottom: clamp(180px, 22vh, 280px);
  display: flex;
  align-items: center;
  gap: 18px;
  z-index: 3;
}
.hero__pill .pill-icon {
  width: 87px; height: 87px;
  border-radius: 50%;
  border: 2px solid rgba(0,0,0,0.18);
  display: grid; place-items: center;
}
.hero__pill .pill-icon .ms { font-size: 30px; color: #000; }
.hero__pill .pill-text {
  font-size: 16px;
  line-height: 1.875;
  color: rgba(0,0,0,0.63);
  max-width: 330px;
}

.hero__stat {
  position: absolute;
  z-index: 3;
}
.hero__stat .num {
  font-size: 36px;
  line-height: 1;
  color: #000;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.hero__stat .label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  color: rgba(0,0,0,0.63);
  margin-top: 6px;
}

.hero__trust {
  position: absolute;
  bottom: clamp(60px, 8vh, 110px);
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px;
  z-index: 3;
}
.hero__trust .stack {
  display: flex; flex-direction: column; gap: 10px;
}
.hero__trust .label {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: rgba(0,0,0,0.5);
  text-transform: uppercase;
}
.hero__trust .avatars { display: flex; }
.hero__trust .avatars span {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid var(--bg-light);
  background: linear-gradient(135deg, #999, #555);
  margin-left: -10px;
}
.hero__trust .avatars span:first-child { margin-left: 0; }
.hero__trust .count {
  font-size: 36px;
  line-height: 1;
  color: #000;
  letter-spacing: -0.02em;
}

/* The hero__art image panel only shows ≥1181px. The stat + trust count sit on
   top of it there, so they need light text (they stay dark on the light hero
   at smaller widths, where the panel is hidden). */
@media (min-width: 1181px) {
  .hero__stat .num { color: #fff; }
  .hero__stat .label { color: rgba(255,255,255,0.72); }
  .hero__trust .count { color: #fff; }
  .hero__stat,
  .hero__trust .count { text-shadow: 0 1px 16px rgba(0,0,0,0.5); }
}

/* ── Hero marquee (spans full hero bottom) ─────────── */
.hero__marquee {
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  width: 100%;
  overflow: hidden;
  z-index: 4;
  padding-block: clamp(20px, 2.4vw, 40px);
  border-top: 1px solid rgba(0,0,0,0.08);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.4);
  backdrop-filter: blur(8px);
  -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.hero__marquee-track {
  display: inline-flex;
  align-items: center;
  gap: clamp(40px, 5vw, 90px);
  white-space: nowrap;
  animation: marquee 38s linear infinite;
  will-change: transform;
}
.hero__marquee:hover .hero__marquee-track { animation-play-state: paused; }
.hero__marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: clamp(28px, 2.6vw, 44px);
  color: #000;
  letter-spacing: -0.015em;
  flex-shrink: 0;
  transition: color .3s ease, transform .3s ease;
  cursor: default;
}
.hero__marquee-item:hover { color: var(--accent); transform: translateY(-2px); }
.hero__marquee-item .ms {
  font-size: clamp(26px, 2.4vw, 38px);
  color: var(--accent);
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}
.hero__marquee-dot {
  color: rgba(0,0,0,0.18);
  font-size: 18px;
  flex-shrink: 0;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Reposition hero__trust above the marquee */
.hero__trust { bottom: clamp(130px, 14vh, 200px) !important; }

/* ── Logo strip (legacy, hidden) ───────────────────── */
.logo-strip {
  background: var(--bg-light);
  position: relative;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.logo-strip__inner {
  display: flex;
  align-items: center;
  gap: clamp(40px, 6vw, 100px);
  padding-block: 32px;
  overflow: hidden;
  white-space: nowrap;
}
.logo-strip__track {
  display: flex;
  align-items: center;
  gap: clamp(40px, 6vw, 100px);
  animation: scroll 40s linear infinite;
}
.logo-strip__item {
  font-family: 'DM Sans';
  font-weight: 500;
  font-size: 22px;
  color: rgba(0,0,0,0.5);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.logo-strip__item .ms { font-size: 22px; }
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── About / split image+title ─────────────────────── */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 140px);
  align-items: start;
}
.about__media {
  position: relative;
  aspect-ratio: 794 / 954;
  background: linear-gradient(135deg, #1c1c1c, #404040 60%, #1a1a1a);
  overflow: hidden;
  border-radius: 0;
}
.about__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(8,8,8,0) 40%, var(--bg) 100%);
}
.about__media-label {
  position: absolute;
  bottom: 80px; left: 32px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  z-index: 1;
}
.about__title {
  padding-top: clamp(40px, 6vw, 140px);
  display: flex; flex-direction: column;
  gap: 28px;
  max-width: 660px;
}
.about__badges {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.badge {
  padding: 10px 22px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.04);
  font-size: 14px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.8);
}
.about__cta {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 16px;
}

/* ── About: Firmenstruktur-Baum (ersetzt das Bild) ─────────── */
.org-tree {
  display: flex;
  flex-direction: column;
  background: var(--glass);
  border: 1px solid var(--glass-stroke);
  border-radius: var(--radius-card);
  padding: clamp(22px, 3vw, 38px);
}
.org-tree__label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin-bottom: 22px;
}
.org-node__icon {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: 11px;
  background: var(--accent-soft);
  flex-shrink: 0;
}
.org-node__icon .ms { font-size: 22px; color: var(--accent); }
.org-node__icon img { width: 24px; height: 24px; object-fit: contain; }
.org-node__text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.org-node__text b { font-size: 17px; font-weight: 500; letter-spacing: -0.01em; }
.org-node__text small { font-size: 12.5px; color: var(--fg-dim); }
/* Wurzel (SABESUS) – volle Breite, Akzent */
.org-tree__root {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-glow);
}
.org-tree__root .org-node__icon { background: var(--accent); }
.org-tree__root .org-node__icon .ms { color: #fff; }
.org-tree__root .org-node__text b { font-size: 20px; }
.org-tree__root .org-node__text small { color: rgba(255, 255, 255, 0.75); }
/* Äste */
.org-tree__children { list-style: none; margin: 14px 0 0; padding: 0; }
.org-tree__children > li {
  position: relative;
  padding: 9px 0 9px 36px;
}
.org-tree__children > li::before {   /* senkrechte Leiste */
  content: ''; position: absolute;
  left: 19px; top: 0; bottom: 0;
  width: 2px; background: var(--glass-stroke);
}
.org-tree__children > li:first-child::before { top: -14px; }  /* hoch bis zur Wurzel */
.org-tree__children > li:last-child::before { bottom: 50%; }  /* endet am letzten Knoten */
.org-tree__children > li::after {    /* waagerechter Abzweig */
  content: ''; position: absolute;
  left: 19px; top: 50%;
  width: 17px; height: 2px;
  background: var(--glass-stroke);
}
.org-node {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid var(--glass-stroke);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color .25s ease, background .25s ease, transform .25s ease;
}
.org-node:hover {
  border-color: var(--accent-glow);
  background: var(--accent-soft);
  transform: translateX(2px);
}

/* ── Section heading row ───────────────────────────── */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: clamp(48px, 6vw, 100px);
}
.section-head__lede {
  max-width: 520px;
  color: var(--fg-dim);
  font-size: 16px;
  line-height: 1.875;
}
.section-head__nav {
  display: flex; gap: 16px;
}

/* ── Service / Asset cards ─────────────────────────── */
.assets {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}
.asset-card {
  background: var(--glass);
  backdrop-filter: blur(40px);
  border: 1px solid var(--glass-stroke);
  border-radius: var(--radius-card);
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 480px;
  position: relative;
  transition: transform .4s cubic-bezier(.2,.7,.2,1), background-color .3s ease, border-color .3s ease;
  overflow: hidden;
}
.asset-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-card);
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), var(--accent-soft), transparent 60%);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}
.asset-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.08);
  border-color: var(--accent);
}
.asset-card:hover::before { opacity: 1; }
.asset-card__icon {
  width: 82px; height: 82px;
  border-radius: 50%;
  background: var(--glass-strong);
  display: grid; place-items: center;
  margin-top: 34px;
  margin-left: auto;
  margin-right: auto;
  transition: transform .4s ease, background-color .3s ease;
}
.asset-card:hover .asset-card__icon {
  transform: rotate(-6deg) scale(1.08);
  background: var(--accent);
}
.asset-card__icon img { width: 46px; height: 46px; object-fit: contain; }
.asset-card__icon .ms { font-size: 36px; }
.asset-card__num {
  position: absolute;
  top: 32px; left: 32px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.35);
}
.asset-card__title {
  font-size: 28px;
  font-weight: 400;
  text-align: center;
  letter-spacing: -0.01em;
}
.asset-card__title em { font-weight: 500; font-style: normal; }
.asset-card__copy {
  text-align: center;
  font-size: 15px;
  line-height: 1.75;
  color: var(--fg-dim);
}
.asset-card__cta {
  margin-top: auto;
  text-align: center;
  padding-top: 16px;
}

/* span variants */
.col-span-4 { grid-column: span 4; }
.col-span-6 { grid-column: span 6; }
.col-span-8 { grid-column: span 8; }
.col-span-12 { grid-column: span 12; }
@media (max-width: 1024px) {
  .col-span-4, .col-span-6, .col-span-8 { grid-column: span 12; }
}

/* ── Blog / spotlight ──────────────────────────────── */
.spotlight {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) 2fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.spotlight__cats {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 12px;
}
.spotlight__cats button {
  text-align: left;
  font-size: 16px;
  color: var(--fg-dim);
  padding: 6px 0;
  position: relative;
  transition: color .2s ease;
}
.spotlight__cats button.is-active { color: var(--accent); }
.spotlight__cats button.is-active::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 50%;
  width: 12px; height: 1px;
  background: var(--accent);
  transform: translateY(-50%);
}
.spotlight__media {
  aspect-ratio: 818 / 480;
  background: linear-gradient(135deg, #2a2a2a, #404040, #1a1a1a);
  border-radius: var(--radius-card);
  position: relative;
  overflow: hidden;
}
.spotlight__media::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgba(8,8,8,0.6), rgba(8,8,8,0) 36%),
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.06), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.04), transparent 55%);
}
/* Foto-Ebenen: werden per JS eingesetzt und weich übergeblendet */
.spotlight__media-img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity .6s ease;
}
.spotlight__media-img.is-on { opacity: 1; }
.spotlight__media-label {
  position: absolute;
  bottom: 24px; left: 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  z-index: 1;
}
.spotlight__copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-top: 12px;
}
.spotlight__copy h3 {
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.spotlight__meta {
  display: flex; gap: 24px;
  font-size: 14px;
  color: var(--fg-dim);
  margin-top: auto;
  border-top: 1px solid var(--glass-stroke);
  padding-top: 24px;
}

/* ── Testimonials / Voices ─────────────────────────── */
.voices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 100px);
  align-items: start;
  position: relative;
}
.voices__line {
  position: absolute;
  left: -10%;
  right: -10%;
  top: 60%;
  pointer-events: none;
  opacity: 0.6;
  z-index: 0;
}
.voices__title {
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
  z-index: 1;
}
.voices__cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  z-index: 1;
}
.voice-card {
  background: linear-gradient(rgba(255,255,255,0.02), rgba(255,255,255,0.06));
  border: 1px solid var(--glass-stroke);
  backdrop-filter: blur(40px);
  border-radius: var(--radius-card);
  padding: 36px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  transition: transform .35s ease, border-color .25s ease;
}
.voice-card:hover {
  transform: translateX(8px);
  border-color: var(--accent);
  box-shadow: -8px 0 40px -20px var(--accent-glow);
}
.voice-card__quote {
  font-size: 18px;
  line-height: 1.65;
  color: var(--fg-dim);
  font-weight: 300;
}
.voice-card__name {
  font-size: 20px;
  font-weight: 500;
  margin-top: 18px;
  color: #fff;
}
.voice-card__role {
  font-size: 13px;
  color: var(--fg-faint);
  margin-top: 4px;
}
.voice-card__avatar {
  flex-shrink: 0;
  width: 100px; height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, #555, #2a2a2a);
}

/* ── Big CTA / Video ───────────────────────────────── */
.cta-frame {
  background: linear-gradient(135deg, #161616, #222222 55%, #080808);
  border-radius: var(--radius-card);
  padding: clamp(60px, 7vw, 140px) clamp(40px, 6vw, 120px);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.cta-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 30%, rgba(255,255,255,0.12), transparent 50%),
    radial-gradient(circle at 20% 100%, rgba(255,255,255,0.08), transparent 60%);
  z-index: -1;
}
.cta-frame__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: end;
}
/* Let each column size to its fr share instead of growing to fit a long
   unbreakable word (e.g. "Geschäftsführung"), which otherwise blows the
   grid out of the frame. Long words may then wrap/hyphenate. */
.cta-frame__grid > * { min-width: 0; }
/* Bewusst kleiner als .display-xl: lange Komposita („Geschäftsführung.")
   sollen ohne Trennung auf eine Zeile passen. */
.cta-frame__title { font-size: clamp(36px, 4.3vw, 62px); overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }
.cta-frame__title em { font-weight: 500; }
.cta-frame__copy {
  font-size: 16px;
  line-height: 1.875;
  color: rgba(255,255,255,0.8);
}
/* ── Footer ────────────────────────────────────────── */
.footer {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 80px;
  padding-bottom: 60px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 64px;
}
.footer__brand { display: flex; flex-direction: column; gap: 30px; }
.footer__brand p { color: var(--fg-dim); max-width: 380px; line-height: 1.875; }
.footer__col h4 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 24px;
}
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.footer__col a { color: var(--fg-dim); transition: color .2s ease; line-height: 1.4; }
.footer__col a:hover { color: #fff; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 80px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
  color: var(--fg-faint);
  font-size: 14px;
}
.footer__social {
  display: flex; gap: 12px;
}
.footer__social a {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  display: grid; place-items: center;
  color: #fff;
  transition: background .25s ease, transform .25s ease;
}
.footer__social a:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 6px 20px -6px var(--accent-glow); }

/* ── Über uns / Team page ──────────────────────────── */
.breadcrumb {
  font-size: 14px;
  color: var(--fg-faint);
  letter-spacing: 0.04em;
}
.breadcrumb a { color: var(--fg-dim); }
.breadcrumb a:hover { color: #fff; }

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: clamp(60px, 6vw, 100px);
}
.pillar {
  border: 1px solid var(--glass-stroke);
  background: var(--glass);
  border-radius: var(--radius-card);
  padding: 42px 38px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 320px;
  transition: transform .35s ease, background-color .25s ease;
}
.pillar:hover { transform: translateY(-6px); background: rgba(255,255,255,0.08); }
.pillar__icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
  margin-bottom: 12px;
  transition: background .3s ease, color .3s ease, transform .35s ease;
}
.pillar:hover .pillar__icon { background: var(--accent); color: #fff; transform: rotate(-6deg); }
.pillar__icon .ms { font-size: 30px; }
.pillar h3 { font-size: 24px; font-weight: 500; }
.pillar p { color: var(--fg-dim); line-height: 1.75; }

.team {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: clamp(48px, 5vw, 80px);
}
.team-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--glass-stroke);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--glass);
  transition: transform .35s ease;
}
.team-card:hover { transform: translateY(-4px); }
.team-card__media {
  aspect-ratio: 4/5;
  flex-shrink: 0;
  background: linear-gradient(135deg, #333, #1a1a1a);
  position: relative;
  overflow: hidden;
}
.team-card__media::after {
  content: attr(data-label);
  position: absolute;
  inset: auto 0 12px 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.team-card__body {
  margin-top: auto;
  padding: 24px 28px 28px;
}
.team-card__role {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--fg-faint);
  text-transform: uppercase;
}
.team-card__name {
  font-size: 24px;
  font-weight: 400;
  margin-top: 10px;
  letter-spacing: -0.01em;
}

/* ── Assets detail page ────────────────────────────── */
.subsidiary-anchors {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.subsidiary-anchors a {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: 100px;
  background: var(--glass);
  border: 1px solid var(--glass-stroke);
  font-size: 15px;
  color: var(--fg-dim);
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.subsidiary-anchors a:hover { color: #fff; background: var(--accent); border-color: var(--accent); box-shadow: 0 6px 24px -8px var(--accent-glow); }
.subsidiary-anchors .ms { font-size: 18px; }
.subsidiary-anchors a img { width: 18px; height: 18px; object-fit: contain; }
.orbit-item img { width: 24px; height: 24px; object-fit: contain; vertical-align: middle; }

.sub-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 120px);
  align-items: start;
  padding-block: clamp(80px, 8vw, 140px);
  border-top: 1px solid var(--glass-stroke);
}
.sub-block:nth-child(even) .sub-block__copy { order: 2; }
.sub-block:nth-child(even) .sub-block__media { order: 1; }
.sub-block__num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--fg-faint);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.sub-block__title { margin-bottom: 28px; }
.sub-block__copy p { color: var(--fg-dim); line-height: 1.875; max-width: 520px; }
.sub-block__features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 32px;
  margin: 32px 0;
}
.sub-block__features li {
  display: flex; align-items: center; gap: 12px;
  font-size: 15px;
  color: rgba(255,255,255,0.85);
}
.sub-block__features li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  box-shadow: 0 0 12px var(--accent-glow);
}
.sub-block__cta { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.sub-block__media {
  aspect-ratio: 4/5;
  background-color: var(--glass);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid var(--glass-stroke);
  border-radius: var(--radius-card);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: clamp(26px, 3.5vw, 52px);
}
.sub-block__logo {
  position: relative;
  z-index: 1;
  width: auto;
  max-width: min(78%, 340px);
  max-height: clamp(56px, 11vh, 132px);
  object-fit: contain;
  filter: drop-shadow(0 6px 26px rgba(0, 0, 0, 0.6));
}
.sub-block__media .ms {
  font-size: clamp(140px, 14vw, 280px);
  color: rgba(255,255,255,0.85);
  font-variation-settings: 'FILL' 0, 'wght' 200, 'GRAD' 0, 'opsz' 48;
}
.sub-block__media::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top,
    rgba(8, 8, 8, 0.88) 0%,
    rgba(8, 8, 8, 0.45) 26%,
    rgba(8, 8, 8, 0.10) 55%,
    rgba(8, 8, 8, 0.24) 100%);
}
.sub-block__media-label {
  position: absolute;
  bottom: 24px; left: 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ── Kontakt page ──────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(48px, 6vw, 120px);
  margin-top: clamp(48px, 5vw, 80px);
}
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.field { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.field--full { grid-column: span 2; }
.field label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-faint);
}
.field input, .field textarea, .field select {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--glass-stroke);
  border-radius: 12px;
  padding: 18px 22px;
  color: #fff;
  font: 16px 'DM Sans';
  outline: none;
  transition: border-color .25s ease, background .25s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--accent);
  background: rgba(255,255,255,0.07);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.field textarea { min-height: 160px; resize: vertical; }
/* Select-Dropdown: dunkles natives Panel + explizit eingefärbte Options
   (sonst erben sie weiße Schrift auf dem weißen Standard-Panel) */
.field select { color-scheme: dark; }
.field select option { color: #fff; background-color: #161616; }
/* Kontaktformular: Honeypot (versteckt) + Einwilligung + Status */
.contact-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-consent { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.55; color: var(--fg-dim); cursor: pointer; }
.contact-consent input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; accent-color: var(--accent); }
.contact-consent a { color: #fff; }
.contact-status { font-size: 14px; line-height: 1.5; color: var(--fg-dim); min-height: 1em; margin-top: 6px; }
.contact-status.is-ok { color: var(--accent); }
.contact-status.is-error { color: #ff6b6b; }
/* Cloudflare-Turnstile-Widget (Spam-Schutz in den Formularen) */
.ts-slot { min-height: 0; }
.ts-slot iframe { max-width: 100%; }
.contact-info {
  display: flex; flex-direction: column;
  gap: 28px;
  padding-top: 12px;
}
.contact-info__row {
  display: flex; align-items: center; gap: 18px;
  padding: 24px 28px;
  border: 1px solid var(--glass-stroke);
  background: var(--glass);
  border-radius: 18px;
  transition: background .25s ease;
}
.contact-info__row:hover { background: rgba(255,255,255,0.08); }
.contact-info__row .ms { font-size: 22px; }
.contact-info__row .label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-faint);
}
.contact-info__row .value { font-size: 18px; color: #fff; margin-top: 4px; }

/* ── Investor page · stat blocks ───────────────────── */
.invest-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: clamp(40px, 4vw, 64px);
}
.invest-tile {
  position: relative;
  border-radius: var(--radius-card);
  padding: 48px;
  background: var(--glass);
  border: 1px solid var(--glass-stroke);
  backdrop-filter: blur(40px);
  min-height: 380px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow: hidden;
  transition: transform .35s ease, background .25s ease, border-color .25s ease;
}
.invest-tile--accent {
  background: linear-gradient(160deg, rgba(5,128,106,0.18), rgba(5,128,106,0.02) 60%);
  border-color: rgba(5,128,106,0.35);
}
.invest-tile:hover { transform: translateY(-4px); border-color: var(--accent); }
.invest-tile__eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--fg-faint);
  text-transform: uppercase;
}
.invest-tile__title {
  font-size: clamp(36px, 3.5vw, 56px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.invest-tile__title em { font-style: normal; font-weight: 500; color: var(--accent); }
.invest-tile__body { color: var(--fg-dim); line-height: 1.875; }
.invest-tile__icon {
  position: absolute;
  bottom: 32px; right: 32px;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--accent-soft);
  display: grid; place-items: center;
  color: var(--accent);
}
.invest-tile__icon .ms { font-size: 38px; }

/* Big stat row */
.bigstats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: clamp(40px, 4vw, 64px);
  padding-block: clamp(40px, 4vw, 60px);
  border-block: 1px solid var(--glass-stroke);
}
.bigstat__num {
  font-size: clamp(64px, 6vw, 96px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #fff;
}
.bigstat__num em { font-style: normal; color: var(--accent); font-weight: 400; }
.bigstat__label {
  margin-top: 14px;
  font-size: 14px;
  color: var(--fg-dim);
  letter-spacing: 0.02em;
  line-height: 1.5;
}

/* Reasons / 3-up */
.reasons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .reasons { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .bigstats { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; } }
.reason {
  border: 1px solid var(--glass-stroke);
  background: var(--glass);
  backdrop-filter: blur(40px);
  border-radius: var(--radius-card);
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform .35s ease, border-color .25s ease, background .25s ease;
}
.reason:hover { transform: translateY(-6px); border-color: var(--accent); }
.reason__icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
  transition: background .25s ease, color .25s ease;
}
.reason:hover .reason__icon { background: var(--accent); color: #fff; }
.reason h3 { font-size: 22px; font-weight: 500; letter-spacing: -0.01em; }
.reason p { color: var(--fg-dim); line-height: 1.75; font-size: 15px; }

/* Allocation bars */
.alloc {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: clamp(40px, 4vw, 64px);
}
.alloc__row {
  display: grid;
  grid-template-columns: 280px 1fr 80px;
  align-items: center;
  gap: 24px;
}
.alloc__label { font-size: 18px; color: #fff; font-weight: 400; }
.alloc__bar {
  height: 12px;
  background: rgba(255,255,255,0.06);
  border-radius: 100px;
  overflow: hidden;
  position: relative;
}
.alloc__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #0aa686);
  border-radius: 100px;
  width: 0;
  transition: width 1.4s cubic-bezier(.2,.7,.2,1);
  box-shadow: 0 0 24px var(--accent-glow);
}
.alloc.is-in .alloc__fill { width: var(--w, 50%); }
.alloc__pct {
  font-size: 24px;
  font-weight: 400;
  color: var(--accent);
  text-align: right;
  font-feature-settings: 'tnum';
}
@media (max-width: 720px) {
  .alloc__row { grid-template-columns: 1fr; gap: 8px; }
  .alloc__pct { text-align: left; }
}

/* Roadmap */
.roadmap {
  position: relative;
  margin-top: clamp(48px, 5vw, 80px);
}
.roadmap::before {
  content: '';
  position: absolute;
  top: 28px; bottom: 28px;
  left: 60px;
  width: 1px;
  background: linear-gradient(var(--accent), rgba(5,128,106,0.05));
}
.roadmap__item {
  position: relative;
  padding-left: 140px;
  padding-block: 28px;
  border-top: 1px solid var(--glass-stroke);
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 32px;
  align-items: start;
}
.roadmap__item:last-child { border-bottom: 1px solid var(--glass-stroke); }
.roadmap__item::before {
  content: '';
  position: absolute;
  left: 54px; top: 38px;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
  transition: transform .3s ease, background .3s ease;
}
.roadmap__item.is-current::before { background: var(--accent); box-shadow: 0 0 0 6px var(--accent-soft); }
.roadmap__item:hover::before { transform: scale(1.3); }
.roadmap__phase {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-faint);
}
.roadmap__phase strong { color: var(--accent); font-weight: 500; display: block; margin-top: 6px; letter-spacing: 0.18em; font-size: 11px; }
.roadmap__title {
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.roadmap__copy { color: var(--fg-dim); line-height: 1.75; }
@media (max-width: 900px) {
  .roadmap::before { left: 12px; }
  .roadmap__item { grid-template-columns: 1fr; padding-left: 50px; gap: 12px; }
  .roadmap__item::before { left: 6px; top: 34px; }
}

/* Legal document (Impressum / Datenschutz) layout */
.legal-shell {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
  padding-top: clamp(120px, 12vw, 200px);
  padding-bottom: clamp(60px, 6vw, 100px);
}
.legal-toc {
  position: sticky;
  top: 100px;
  padding: 28px;
  background: var(--glass);
  border: 1px solid var(--glass-stroke);
  border-radius: 18px;
}
.legal-toc__label {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin-bottom: 20px;
}
.legal-toc ol {
  list-style: none;
  counter-reset: toc;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.legal-toc li { counter-increment: toc; }
.legal-toc a {
  display: flex;
  gap: 12px;
  align-items: baseline;
  color: var(--fg-dim);
  font-size: 14px;
  line-height: 1.4;
  transition: color .2s ease, transform .25s ease;
}
.legal-toc a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--fg-faint);
  flex-shrink: 0;
}
.legal-toc a:hover { color: var(--accent); transform: translateX(3px); }
.legal-toc a.is-active { color: var(--accent); }

.legal-body { max-width: 820px; }
.legal-body h1 {
  font-size: clamp(56px, 6vw, 96px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-top: 32px;
}
.legal-body h1 em { font-style: normal; color: var(--accent); font-weight: 500; }
.legal-body .legal-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--fg-faint);
  text-transform: uppercase;
  margin-top: 24px;
  display: flex;
  gap: 18px;
}
.legal-body h2 {
  font-size: clamp(28px, 2.4vw, 36px);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-top: 80px;
  margin-bottom: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--glass-stroke);
  scroll-margin-top: 120px;
}
.legal-body h3 {
  font-size: 18px;
  font-weight: 500;
  margin-top: 28px;
  margin-bottom: 8px;
}
.legal-body p { color: var(--fg-dim); line-height: 1.875; margin-bottom: 18px; }
.legal-body strong { color: #fff; font-weight: 500; }
.legal-body a { color: var(--accent); border-bottom: 1px solid rgba(5,128,106,0.3); transition: border-color .25s ease; }
.legal-body a:hover { border-bottom-color: var(--accent); }

.legal-data {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 12px 28px;
  padding: 28px 32px;
  background: var(--glass);
  border: 1px solid var(--glass-stroke);
  border-radius: 18px;
  margin-block: 24px;
  align-items: baseline;
}
.legal-data dt {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-faint);
}
.legal-data dd { color: #fff; font-size: 16px; line-height: 1.6; }
.legal-data dd a { color: var(--accent); border-bottom: 1px solid rgba(5,128,106,0.3); }

.legal-icon-row {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-block: 12px;
  color: #fff;
}
.legal-icon-row .ms {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
  font-size: 18px;
  flex-shrink: 0;
}
.legal-icon-row a { color: #fff; border: 0; }
.legal-icon-row a:hover { color: var(--accent); }
@media (max-width: 900px) {
  .legal-shell { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
  .legal-data { grid-template-columns: 1fr; gap: 4px; padding: 20px 22px; }
  .legal-data dd { margin-bottom: 14px; }
  .legal-toc, .legal-body, .legal-shell > * { min-width: 0; }
  .legal-toc a, .legal-body, .legal-data dd { overflow-wrap: anywhere; }
}

/* ── Reveal animation on scroll ────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1);
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}
.reveal--delay-1 { transition-delay: .08s; }
.reveal--delay-2 { transition-delay: .16s; }
.reveal--delay-3 { transition-delay: .24s; }
.reveal--delay-4 { transition-delay: .32s; }
.reveal--delay-5 { transition-delay: .40s; }

/* Subtle text appear */
.fade-up-words .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(60%);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1);
}
.fade-up-words.is-in .word {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 1180px) {
  .hero__art { width: 0; opacity: 0; }
  .hero::after { display: none; }
  .hero { background: linear-gradient(135deg, #efefef, #d6d6d6); }
  .about { grid-template-columns: 1fr; }
  .spotlight { grid-template-columns: 1fr; }
  .voices { grid-template-columns: 1fr; }
  .cta-frame__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .team { grid-template-columns: 1fr 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .sub-block { grid-template-columns: 1fr; }
  .sub-block:nth-child(even) .sub-block__copy { order: 1; }
  .sub-block:nth-child(even) .sub-block__media { order: 2; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .field--full { grid-column: span 1; }
}
@media (max-width: 720px) {
  .nav { padding: 20px; gap: 12px; }
  .nav__search { display: none; }
  .nav__menu { gap: 16px; font-size: 14px; }
  .hero__inner { padding-top: 110px; }
  .hero__pill, .hero__stat, .hero__trust { position: static; margin-top: 24px; }
  .hero__trust { flex-direction: column; align-items: flex-start; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .voice-card { flex-direction: column; text-align: left; }
  .voice-card__avatar { width: 64px; height: 64px; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom { flex-direction: column; gap: 16px; }
  .team { grid-template-columns: 1fr; }
}

/* ── Mobile-Navigation: Hamburger + Off-canvas-Menü (≤860px) ───── */
@media (max-width: 860px) {
  .nav__logo img { height: 44px; }
  .nav.is-open { z-index: 9600; }

  .nav__toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 46px; height: 40px; margin-left: auto; padding: 8px 10px;
    background: none; border: 0; cursor: pointer; color: #fff;
    position: relative; z-index: 3;
  }
  .nav__toggle span {
    display: block; width: 100%; height: 2px; background: currentColor;
    border-radius: 2px; transition: transform .3s ease, opacity .2s ease;
  }
  .nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav__menu {
    position: fixed; top: 0; right: 0;
    width: min(86vw, 320px); height: 100vh; height: 100dvh;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 2px;
    margin: 0; padding: 96px 28px 32px;
    background: #0b0b0b; border-left: 1px solid var(--glass-stroke);
    box-shadow: -24px 0 70px rgba(0,0,0,.55);
    transform: translateX(105%); transition: transform .38s cubic-bezier(.16,1,.3,1);
    overflow-y: auto; z-index: 2;
  }
  .nav.is-open .nav__menu { transform: translateX(0); }
  .nav__menu a {
    width: 100%; padding: 16px 2px; font-size: 18px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav__menu a::after { display: none; }

  .nav__backdrop {
    display: block; position: fixed; inset: 0;
    background: rgba(0,0,0,.55); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
    opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease; z-index: 1;
  }
  .nav.is-open .nav__backdrop { opacity: 1; visibility: visible; }
}

/* ── Karriere / Jobs ───────────────────────────────── */
.careers-jump { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.careers-jump a {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 20px;
  border-radius: 100px;
  border: 1px solid var(--glass-stroke);
  background: var(--glass);
  font-size: 14px;
  color: var(--fg-dim);
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.careers-jump a:hover { color: #fff; background: var(--accent); border-color: var(--accent); }
.careers-jump a img { width: 17px; height: 17px; object-fit: contain; }

.careers-group { padding-block: clamp(40px, 5vw, 72px); scroll-margin-top: 100px; }
.careers-group + .careers-group { border-top: 1px solid var(--glass-stroke); }
.careers-group__head { display: flex; align-items: flex-start; gap: 24px; margin-bottom: clamp(28px, 3vw, 44px); }
.careers-group__icon {
  flex-shrink: 0;
  width: 64px; height: 64px;
  border-radius: 18px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
}
.careers-group__icon .ms { font-size: 32px; }
.careers-group__icon img { width: 38px; height: 38px; object-fit: contain; }
.careers-group__title { margin-top: 8px; }
.careers-group__lede { margin-top: 12px; max-width: 640px; }

.jobs { display: flex; flex-direction: column; gap: 16px; }
.job {
  border: 1px solid var(--glass-stroke);
  background: var(--glass);
  border-radius: 20px;
  overflow: hidden;
  transition: border-color .25s ease, background .25s ease;
}
.job:hover { border-color: var(--accent); }
.job[open] { border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.06); }
.job__summary {
  list-style: none;
  cursor: pointer;
  display: flex; align-items: center; gap: 20px;
  padding: 24px clamp(20px, 3vw, 36px);
}
.job__summary::-webkit-details-marker { display: none; }
.job__title {
  flex: 1 1 auto; min-width: 200px;
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 500; color: #fff; letter-spacing: -0.01em;
}
.job__mwd { color: var(--fg-faint); font-weight: 400; }
.job__tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.job-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 100px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--glass-stroke);
  font-size: 12.5px; color: var(--fg-dim); white-space: nowrap;
}
.job-tag .ms { font-size: 15px; }
.job-tag--accent { background: var(--accent-soft); border-color: rgba(5,128,106,0.4); color: var(--accent); }
.job__chev { flex-shrink: 0; font-size: 26px; color: var(--fg-faint); transition: transform .3s ease, color .25s ease; }
.job[open] .job__chev { transform: rotate(180deg); color: var(--accent); }

.job__body { padding: 0 clamp(20px, 3vw, 36px) clamp(28px, 3vw, 36px); border-top: 1px solid var(--glass-stroke); }
.job__lede { color: rgba(255,255,255,0.85); font-size: 17px; line-height: 1.7; margin: 24px 0 8px; max-width: 820px; }
.job__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 48px; margin-top: 16px; }
.job__block h4 {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); font-weight: 500; margin-bottom: 14px;
}
.job__block h4 .ms { font-size: 18px; }
.job__block ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.job__block li { position: relative; padding-left: 20px; color: var(--fg-dim); line-height: 1.55; font-size: 15px; }
.job__block li::before { content: ''; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.job__block--perks { margin-top: 28px; }
.job__apply { margin-top: 32px; }

/* ── Bewerbungs-Modal ──────────────────────────────── */
.apply { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 20px; }
.apply[hidden] { display: none; }
.apply__overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(6px); }
.apply__dialog {
  position: relative;
  width: min(680px, 100%);
  max-height: 92vh; overflow-y: auto;
  background: #161616;
  border: 1px solid var(--glass-stroke);
  border-radius: var(--radius-card);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: 0 40px 120px -30px rgba(0,0,0,0.8);
  animation: applyIn .35s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes applyIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.apply__close {
  position: absolute; top: 18px; right: 18px;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,0.05); border: 1px solid var(--glass-stroke);
  display: grid; place-items: center; color: #fff;
  transition: background .25s ease, transform .25s ease;
}
.apply__close:hover { background: var(--accent); transform: rotate(90deg); }
.apply__eyebrow { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.apply__title { font-size: clamp(24px, 2.4vw, 32px); font-weight: 500; margin-top: 10px; letter-spacing: -0.01em; line-height: 1.15; padding-right: 44px; }
.apply__intro { color: var(--fg-dim); margin-top: 12px; font-size: 15px; line-height: 1.6; }
.apply__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.apply__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.apply__fields .field--full { grid-column: span 2; }
.apply__fields input[type="file"] { padding: 14px 16px; font-size: 14px; color: var(--fg-dim); cursor: pointer; }
.apply__fields input[type="file"]::file-selector-button {
  margin-right: 14px; padding: 8px 16px; border-radius: 8px;
  border: 1px solid var(--glass-stroke); background: rgba(255,255,255,0.06);
  color: #fff; cursor: pointer; font: inherit;
}
.apply__consent {
  grid-column: span 2;
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 14px; color: var(--fg-dim); line-height: 1.5;
}
.apply__consent input { margin-top: 2px; flex-shrink: 0; width: 18px; height: 18px; accent-color: var(--accent); }
.apply__consent a { color: var(--accent); border-bottom: 1px solid rgba(5,128,106,0.3); }
.apply__actions { display: flex; align-items: center; gap: 20px; margin-top: 28px; flex-wrap: wrap; }
.apply__submit[disabled] { opacity: 0.6; pointer-events: none; }
.apply__status { font-size: 14px; line-height: 1.5; }
.apply__status.is-error { color: #ff8a8a; }
.apply__status.is-ok { color: var(--accent); }
.apply__success { text-align: center; padding: 28px 0 8px; }
.apply__success .ms { font-size: 64px; color: var(--accent); }
.apply__success h4 { font-size: 24px; font-weight: 500; margin: 16px 0 8px; color: #fff; }
.apply__success p { color: var(--fg-dim); line-height: 1.65; max-width: 420px; margin: 0 auto; }
body.apply-open { overflow: hidden; }

@media (max-width: 720px) {
  .careers-group__head { flex-direction: column; gap: 16px; }
  .job__summary { flex-wrap: wrap; gap: 12px 16px; }
  .job__tags { justify-content: flex-start; width: 100%; }
  .job__chev { position: absolute; top: 26px; right: 20px; }
  .job { position: relative; }
  .job__grid { grid-template-columns: 1fr; gap: 24px; }
  .apply__fields { grid-template-columns: 1fr; }
  .apply__fields .field--full, .apply__consent { grid-column: span 1; }
}

/* ════ Veredelung / Polish ════════════════════════════ */

/* Sanftes Scrollen + Anker-Versatz unter der fixierten Nav */
html { scroll-behavior: smooth; }
section[id], .careers-group[id] { scroll-margin-top: 100px; }

/* Film-Körnung / Noise (global, per JS eingefügt) */
.fx-noise {
  position: fixed; inset: 0; z-index: 9000;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* Scroll-Fortschrittsbalken */
.fx-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--accent), #16d0ab);
  box-shadow: 0 0 14px var(--accent-glow);
  z-index: 9500;
  transition: width .1s linear;
}

/* Seiten-Intro (1×/Session, per JS eingefügt) */
.fx-intro {
  position: fixed; inset: 0; z-index: 10000;
  background: #080808;
  display: grid; place-items: center;
  transition: opacity .6s ease, visibility .6s ease;
}
.fx-intro img {
  width: clamp(110px, 16vw, 168px); height: auto;
  animation: introLogo 1s cubic-bezier(.2,.7,.2,1) both;
}
.fx-intro::after {
  content: ''; position: absolute; left: 50%; bottom: 32%;
  width: 0; height: 2px; background: var(--accent);
  box-shadow: 0 0 14px var(--accent-glow);
  transform: translateX(-50%);
  animation: introLine 1.1s ease forwards;
}
.fx-intro.is-done { opacity: 0; visibility: hidden; }
@keyframes introLogo {
  0%   { opacity: 0; transform: translateY(18px) scale(.94); filter: blur(6px); }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
@keyframes introLine { 0% { width: 0; opacity: 0; } 60% { opacity: 1; } 100% { width: 160px; opacity: .9; } }

/* Hero-Glow im Art-Panel (Index) */
.hero__glow {
  position: absolute;
  width: 130%; height: 65%;
  left: -15%; top: 16%;
  background: radial-gradient(circle, var(--accent-glow), transparent 60%);
  filter: blur(46px);
  opacity: 0.9;
  pointer-events: none;
  animation: heroGlowDrift 9s ease-in-out infinite alternate;
  will-change: transform, translate;
}
@keyframes heroGlowDrift {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-6%, 7%) scale(1.16); }
}

/* Zähler: Breite stabil halten während des Hochzählens */
.is-counting { font-variant-numeric: tabular-nums; }

/* Sektionen seitlich einsliden (Richtung wird per JS nach Position vergeben) */
.reveal--left  { transform: translateX(-70px); }
.reveal--right { transform: translateX(70px); }
.reveal--left.is-in, .reveal--right.is-in { transform: none; }

/* Hinweis: Die Animationen sind auf ausdrücklichen Wunsch IMMER aktiv —
   "prefers-reduced-motion" wird hier bewusst NICHT erzwungen (nur das sanfte
   Scrollen wird für diese Nutzer abgeschaltet). Bei Bedarf lässt sich die volle
   Bewegungs-Reduzierung jederzeit wieder ergänzen. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ── WebGL-Hero (eingebettet via iframe) ───────────────────── */
.hero-webgl {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background: #080808;
  overflow: hidden;
}
.hero-webgl__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}
@media (max-width: 720px) {
  .hero-webgl { height: 88vh; min-height: 520px; }
}

/* ── Karriere: Firmen-Infoblock (pro careers-group) ─────────── */
.company-intro {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: clamp(24px, 4vw, 60px);
  margin: 0 0 clamp(34px, 4vw, 52px);
  padding: clamp(24px, 3vw, 40px);
  background: var(--glass);
  border: 1px solid var(--glass-stroke);
  border-radius: var(--radius-card);
}
.company-intro__desc {
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.75;
  color: var(--fg-dim);
}
.company-intro__desc strong { color: var(--fg); font-weight: 500; }
.company-intro__focus { margin-top: 26px; }
.company-intro__focus-label {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin-bottom: 14px;
}
.company-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.company-tag {
  font-size: 13px;
  line-height: 1.2;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-stroke);
  color: var(--fg-dim);
}
.company-tag--accent {
  background: var(--accent-soft);
  border-color: var(--accent-glow);
  color: #fff;
}
.company-intro__aside {
  display: flex;
  flex-direction: column;
  gap: 22px;
  border-left: 1px solid var(--glass-stroke);
  padding-left: clamp(20px, 2.5vw, 40px);
}
.company-intro__logo {
  align-self: flex-end;
  max-height: clamp(30px, 3.4vw, 44px);
  max-width: min(60%, 180px);
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.95;
}
.company-facts { display: grid; gap: 16px; }
.company-fact { display: flex; flex-direction: column; gap: 3px; }
.company-fact b {
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 500;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.company-fact span { font-size: 13px; color: var(--fg-dim); }
.company-intro__note {
  font-size: 14px;
  font-style: italic;
  line-height: 1.6;
  color: var(--fg-dim);
  padding-left: 14px;
  border-left: 2px solid var(--accent);
}
.company-intro__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  transition: color .2s ease;
}
.company-intro__link .ms { font-size: 18px; color: var(--accent); transition: color .2s ease; }
.company-intro__link:hover { color: var(--accent); }
.company-intro__link:hover .ms { color: #fff; }
.company-intro__arr { transition: transform .2s ease; }
.company-intro__link:hover .company-intro__arr { transform: translate(2px, -2px); }
.company-intro__link--soon { color: var(--fg-faint); cursor: default; }
.company-intro__link--soon .ms,
.company-intro__link--soon:hover,
.company-intro__link--soon:hover .ms { color: var(--fg-faint); }

@media (max-width: 860px) {
  .company-intro { grid-template-columns: 1fr; gap: 26px; padding: 22px; }
  .company-intro__aside {
    border-left: 0; padding-left: 0;
    border-top: 1px solid var(--glass-stroke); padding-top: 24px;
  }
  .company-facts { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .company-facts { grid-template-columns: repeat(2, 1fr); }
}
/* Sehr kleine Screens: Struktur-Baum enger, damit er auch bei 320px passt */
@media (max-width: 400px) {
  .org-tree { padding: 16px; }
  .org-tree__children > li { padding-left: 26px; }
  .org-tree__children > li::before { left: 13px; }
  .org-tree__children > li::after { left: 13px; width: 13px; }
  .org-node { padding: 10px 11px; gap: 10px; }
  .org-node__icon { width: 36px; height: 36px; }
  .org-node__icon img { width: 20px; height: 20px; }
  .org-tree__root { padding: 13px 14px; }
  .org-node__text b { font-size: 16px; }
  .org-tree__root .org-node__text b { font-size: 18px; }
  .org-node__text small { font-size: 11.5px; }
  .org-node__text { overflow-wrap: anywhere; }
  .about > * { min-width: 0; }
  .display-xl, .display-l, .display-m { overflow-wrap: anywhere; }
}
@media (max-width: 600px) {
  .cta-frame { padding: clamp(36px, 8vw, 56px) clamp(22px, 5vw, 32px); }
  .btn, .btn--primary, .btn--ghost-light, .btn--ghost { white-space: normal; }
  .invest-split { grid-template-columns: 1fr; }
  .invest-tile { padding: 28px 22px; }
  .invest-tile__title { font-size: clamp(22px, 6.5vw, 30px); overflow-wrap: anywhere; }
}
@media (max-width: 480px) {
  .sub-block__features { grid-template-columns: 1fr; }
  .sub-block__copy, .sub-block__media { min-width: 0; }
  .display-xl, .display-l, .display-m { overflow-wrap: anywhere; }
}
@media (max-width: 720px) {
  /* Auf Mobil keine horizontalen Slide-Reveals → verhindert Rand-Überlauf + ruckelt nicht */
  .reveal--left, .reveal--right { transform: translateY(36px) !important; }
  .reveal--left.is-in, .reveal--right.is-in, .reveal.is-in { transform: none !important; }
}

/* ════ Spektakel-Layer ════════════════════════════════
   Additive Effekt-Schicht: Ambient-Licht, Seitenübergänge,
   Gradient-Titel, Baum-Choreografie, Button-Shine, Cursor.
   Nur transform/opacity → GPU-billig. Schweres ist desktop-gated. */

/* Seitenübergänge (MPA View Transitions — Chromium/Safari, sonst wirkungslos) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation-duration: .28s; animation-timing-function: ease; }
::view-transition-new(root) { animation-duration: .38s; animation-timing-function: ease; }

/* Ambient-Aurora: zwei träge driftende Lichtflächen als additives Licht
   ÜBER dem Inhalt (screen-Blend, minimale Deckkraft → Text bleibt klar).
   Liegt unter Nav (50) und Körnung (9000). */
.fx-aurora {
  position: fixed; inset: -20%;
  z-index: 40;
  pointer-events: none;
  mix-blend-mode: screen;
}
.fx-aurora span {
  position: absolute;
  width: 58vmax; height: 58vmax;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(5,128,106,.5), transparent 65%);
  filter: blur(70px);
  opacity: .11;
  will-change: transform;
}
.fx-aurora span:nth-child(1) { top: -12%; left: -14%; animation: auroraA 26s ease-in-out infinite alternate; }
.fx-aurora span:nth-child(2) { bottom: -18%; right: -12%; width: 48vmax; height: 48vmax; opacity: .09; animation: auroraB 32s ease-in-out infinite alternate; }
@keyframes auroraA { from { transform: translate(0,0) scale(1); } to { transform: translate(12vw, 14vh) scale(1.18); } }
@keyframes auroraB { from { transform: translate(0,0) scale(1.1); } to { transform: translate(-10vw, -12vh) scale(0.92); } }
@media (max-width: 720px) { .fx-aurora { display: none; } }

/* Akzent-Wörter in Display-Titeln: lebendige Gradient-Tinte statt Flachfarbe */
@supports (-webkit-background-clip: text) or (background-clip: text) {
  .display-xl em, .display-l em, .display-m em {
    background: linear-gradient(100deg, #05806a 10%, #16d0ab 38%, #0aa686 52%, #05806a 90%);
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: inkPan 7s ease-in-out infinite alternate;
  }
}
@keyframes inkPan { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

/* Wort-für-Wort-Titel: zusätzlich Blur-Stagger (Kino-Look). --wi wird per JS gesetzt. */
.fade-up-words .word {
  filter: blur(7px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1), filter .7s ease;
  transition-delay: calc(var(--wi, 0) * 55ms);
}
.fade-up-words.is-in .word { filter: blur(0); }

/* Struktur-Baum: zeichnet sich beim Erscheinen selbst (Wurzel → Leisten → Äste) */
.org-tree .org-tree__root {
  opacity: 0; transform: translateY(14px) scale(.96);
  transition: opacity .55s ease, transform .55s cubic-bezier(.2,.7,.2,1);
}
.org-tree .org-tree__children > li {
  opacity: 0; transform: translateX(-16px);
  transition: opacity .5s ease, transform .5s cubic-bezier(.2,.7,.2,1);
}
.org-tree .org-tree__children > li::before { transform: scaleY(0); transform-origin: top; transition: transform .45s ease; }
.org-tree .org-tree__children > li::after  { transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.org-tree.is-in .org-tree__root { opacity: 1; transform: none; }
.org-tree.is-in .org-tree__children > li { opacity: 1; transform: none; }
.org-tree.is-in .org-tree__children > li::before { transform: scaleY(1); }
.org-tree.is-in .org-tree__children > li::after  { transform: scaleX(1); }
.org-tree.is-in .org-tree__children > li:nth-child(1) { transition-delay: .25s; }
.org-tree.is-in .org-tree__children > li:nth-child(2) { transition-delay: .37s; }
.org-tree.is-in .org-tree__children > li:nth-child(3) { transition-delay: .49s; }
.org-tree.is-in .org-tree__children > li:nth-child(4) { transition-delay: .61s; }
.org-tree.is-in .org-tree__children > li:nth-child(5) { transition-delay: .73s; }
.org-tree.is-in .org-tree__children > li:nth-child(1)::before { transition-delay: .22s; }
.org-tree.is-in .org-tree__children > li:nth-child(2)::before { transition-delay: .34s; }
.org-tree.is-in .org-tree__children > li:nth-child(3)::before { transition-delay: .46s; }
.org-tree.is-in .org-tree__children > li:nth-child(4)::before { transition-delay: .58s; }
.org-tree.is-in .org-tree__children > li:nth-child(5)::before { transition-delay: .70s; }
.org-tree.is-in .org-tree__children > li:nth-child(1)::after { transition-delay: .32s; }
.org-tree.is-in .org-tree__children > li:nth-child(2)::after { transition-delay: .44s; }
.org-tree.is-in .org-tree__children > li:nth-child(3)::after { transition-delay: .56s; }
.org-tree.is-in .org-tree__children > li:nth-child(4)::after { transition-delay: .68s; }
.org-tree.is-in .org-tree__children > li:nth-child(5)::after { transition-delay: .80s; }

/* Button-Shine: Lichtkante wischt beim Hover über Primär-/Ghost-Buttons */
.btn--primary, .btn--ghost-light, .btn--ghost-dark { position: relative; overflow: hidden; }
.btn--primary::after, .btn--ghost-light::after, .btn--ghost-dark::after {
  content: '';
  position: absolute; top: 0; left: -70%;
  width: 45%; height: 100%;
  transform: skewX(-22deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.34), transparent);
  transition: left .55s ease;
  pointer-events: none;
}
.btn--primary:hover::after, .btn--ghost-light:hover::after, .btn--ghost-dark:hover::after { left: 135%; }

/* Sanfter Übergang vom WebGL-Hero in den Seiteninhalt */
.hero-webgl::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 90px;
  background: linear-gradient(180deg, rgba(8,8,8,0), var(--bg));
  pointer-events: none;
  z-index: 5;
}

/* Tastatur-Fokus: klarer Akzent-Ring (a11y-Feinschliff) */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* „Coming soon"-Vermerke (AlphaBulle-Website, Imagefilm) */
.soon-pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 18px;
  border-radius: 100px;
  border: 1px dashed rgba(255, 255, 255, 0.25);
  color: var(--fg-dim);
  font-size: 14px;
  cursor: default;
}
.soon-pill .ms { font-size: 17px; color: var(--accent); }
.soon-pill img { width: 17px; height: 17px; object-fit: contain; opacity: .75; }
.footer__soon { color: var(--fg-faint); cursor: default; }
.footer__soon small { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); opacity: .85; }
