/* ============ Bayerntoken – Design adapted from jenny.webagent.fun ============ */

:root {
  --bg: #08090c;
  --bg-2: #0c0d11;
  --ink: #f4f5f7;
  --muted: rgba(244, 245, 247, .58);
  --line: rgba(244, 245, 247, .10);
  --accent: #ff6a00;
  --accent-soft: rgba(255, 106, 0, .16);
  --bay: #3ea0ff;
  --bay-soft: rgba(62, 160, 255, .14);
  --radius: 20px;
  --pad: clamp(20px, 5vw, 44px);
  --maxw: 1180px;
  --font: 'Space Grotesk', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: clamp(15.5px, 1.05vw, 17px);
  line-height: 1.65;
  letter-spacing: .004em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ============ 3D-Bühne ============ */

#stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(1100px 620px at 72% -8%, rgba(255, 106, 0, .13), transparent 60%),
    radial-gradient(800px 500px at 8% 110%, rgba(62, 160, 255, .08), transparent 62%),
    var(--bg);
}

html.has-3d #stage { background: var(--bg); }

#bg-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  transition: opacity 1.4s linear;
}

html.has-3d #bg-canvas { opacity: 1; }
html.no-js #bg-canvas { display: none; }

.fallback-sky { display: none; }
body.no-3d .fallback-sky,
html.no-js .fallback-sky {
  display: block;
  position: absolute;
  inset: -20% -10%;
  background-image:
    radial-gradient(1.4px 1.4px at 12% 22%, rgba(255, 255, 255, .5), transparent),
    radial-gradient(1.2px 1.2px at 34% 68%, rgba(62, 160, 255, .45), transparent),
    radial-gradient(1.6px 1.6px at 58% 14%, rgba(255, 106, 0, .55), transparent),
    radial-gradient(1.2px 1.2px at 71% 52%, rgba(255, 255, 255, .4), transparent),
    radial-gradient(1.4px 1.4px at 88% 76%, rgba(255, 255, 255, .3), transparent),
    radial-gradient(1.2px 1.2px at 22% 88%, rgba(255, 106, 0, .4), transparent),
    radial-gradient(1.1px 1.1px at 46% 40%, rgba(62, 160, 255, .35), transparent);
  background-size: 42% 46%;
  animation: drift 90s linear infinite;
}

@keyframes drift { to { transform: translate3d(-42%, -46%, 0); } }

.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

.vignette {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(125% 95% at 50% 45%, transparent 55%, rgba(0, 0, 0, .45) 100%);
}

/* ============ Kopf ============ */

.top {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px var(--pad);
  border-bottom: 1px solid transparent;
  transition: background .5s var(--ease), border-color .5s, padding .5s var(--ease);
}

.top::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(8, 9, 12, 0);
  -webkit-backdrop-filter: blur(0) saturate(100%);
  backdrop-filter: blur(0) saturate(100%);
  border-bottom: 1px solid transparent;
  transition: background .5s var(--ease), border-color .5s, backdrop-filter .5s;
}

.top.is-stuck::before {
  background: rgba(8, 9, 12, .78);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
  border-bottom-color: var(--line);
}

.top.is-stuck { padding-top: 10px; padding-bottom: 10px; }

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -.02em;
  font-size: 1.02rem;
}

.brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background:
    conic-gradient(from 45deg, #d7e9ff 0 25%, #0b63b4 0 50%, #d7e9ff 0 75%, #0b63b4 0) ,
    linear-gradient(140deg, var(--accent), #ffb072 60%, #7a2e00);
  background-blend-mode: normal;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 6px 22px rgba(62, 160, 255, .35);
  position: relative;
  flex: none;
  overflow: hidden;
}

.brand-mark::after {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 3px;
  background:
    conic-gradient(from 0deg, #eaf4ff 0 25%, #2f8fe0 0 50%, #eaf4ff 0 75%, #2f8fe0 0);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.nav { display: flex; align-items: center; gap: 10px; }

.nav a {
  position: relative;
  display: inline-block;
  padding: 8px 13px;
  color: var(--muted);
  text-decoration: none;
  font-size: .92rem;
  font-weight: 500;
  border-radius: 999px;
  transition: color .3s;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 12px; right: 12px; bottom: 4px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}

.nav a:hover, .nav a.is-active { color: var(--ink); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }

.top-tools { display: flex; align-items: center; gap: 10px; position: relative; z-index: 45; }

.lang {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, .03);
}

.lang button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  padding: 8px 12px;
  cursor: pointer;
  transition: color .3s, background .3s;
}

.lang button[aria-pressed="true"] {
  color: #140800;
  background: linear-gradient(120deg, var(--accent), #ff9a4d);
}

.lang button:hover:not([aria-pressed="true"]) { color: var(--ink); }

.motion {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .03);
  color: var(--muted);
  font: inherit;
  font-size: .78rem;
  cursor: pointer;
  transition: color .3s, border-color .3s, background .3s;
}

.motion:hover { color: var(--ink); border-color: rgba(255, 106, 0, .5); }

.motion-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}

.motion.is-off .motion-dot { background: rgba(255, 255, 255, .3); box-shadow: none; animation: none; }

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .35; transform: scale(.7); }
}

.burger {
  display: none;
  width: 42px; height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .03);
  cursor: pointer;
  position: relative;
}

.burger span, .burger::before, .burger::after {
  content: '';
  position: absolute;
  left: 11px;
  width: 18px; height: 1.5px;
  background: var(--ink);
  transition: transform .4s var(--ease), opacity .3s;
}

.burger::before { top: 13px; }
.burger span { top: 18px; }
.burger::after { top: 23px; }

body.menu-open .burger::before { transform: translateY(5px) rotate(45deg); }
body.menu-open .burger::after { transform: translateY(-5px) rotate(-45deg); }
body.menu-open .burger span { opacity: 0; }

.progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  z-index: 45;
  width: var(--p, 0%);
  background: linear-gradient(90deg, var(--accent), var(--bay));
  box-shadow: 0 0 14px rgba(255, 106, 0, .8);
}

/* ============ Hero ============ */

main { position: relative; z-index: 5; }

section { padding: clamp(76px, 11vh, 132px) var(--pad); }

.wrap { max-width: var(--maxw); margin: 0 auto; width: 100%; }

.hero {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding-top: clamp(96px, 16vh, 160px);
  padding-bottom: clamp(60px, 10vh, 110px);
  perspective: 1400px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(28px, 5vw, 66px);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(244, 245, 247, .74);
  margin: 0 0 22px;
}

.eyebrow i { width: 26px; height: 1px; background: var(--accent); display: inline-block; }

h1 {
  margin: 0;
  font-size: clamp(2.6rem, 9.6vw, 7.4rem);
  line-height: .9;
  font-weight: 700;
  letter-spacing: -.045em;
}

h1 .accent { color: var(--accent); }

.split { display: inline-block; }
.split .ch {
  display: inline-block;
  animation: letterIn 1s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 55ms);
}

@keyframes letterIn {
  from { opacity: 0; transform: translateY(1.05em) rotate(6deg); }
  to { opacity: 1; transform: none; }
}

.slogan {
  margin: 26px 0 0;
  max-width: 48ch;
  font-size: clamp(1.02rem, 1.5vw, 1.3rem);
  color: var(--muted);
  line-height: 1.6;
}

.slogan b { color: var(--ink); font-weight: 600; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.btn {
  --bg-btn: var(--accent);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 26px;
  border: 0;
  border-radius: 999px;
  background: var(--bg-btn);
  color: #140800;
  font: inherit;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform .4s var(--ease), box-shadow .4s;
  box-shadow: 0 10px 30px -12px rgba(255, 106, 0, .8);
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, .55) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform .8s var(--ease);
}

.btn:hover { transform: translateY(-3px); box-shadow: 0 20px 44px -14px rgba(255, 106, 0, .9); }
.btn:hover::before { transform: translateX(120%); }
.btn:active { transform: translateY(-1px); }
.btn svg { width: 17px; height: 17px; flex: none; }

.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.btn-ghost:hover { border-color: rgba(255, 106, 0, .6); box-shadow: none; }
.btn-ghost::before { display: none; }

.portrait { position: relative; transform-style: preserve-3d; will-change: transform; }

.portrait-frame {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 90% at 30% 10%, rgba(62, 160, 255, .10), transparent 55%),
    linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .01));
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 106, 0, .07);
  aspect-ratio: 4 / 4.4;
}

#gem { position: absolute; inset: 0; }

.portrait-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(8, 9, 12, .82) 100%);
  pointer-events: none;
}

.portrait-tag {
  position: absolute;
  left: 14px; right: 14px; bottom: 14px;
  z-index: 2;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(8, 9, 12, .55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  font-size: .8rem;
  color: var(--muted);
}

.portrait-tag b { color: var(--ink); font-weight: 600; letter-spacing: -.01em; }
.portrait-tag em { color: var(--accent); font-style: normal; font-variant-numeric: tabular-nums; }

.chip {
  position: absolute;
  z-index: 3;
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid rgba(255, 106, 0, .35);
  background: rgba(8, 9, 12, .72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--ink);
  font-size: .78rem;
  letter-spacing: .04em;
  white-space: nowrap;
  box-shadow: 0 12px 34px -14px rgba(0, 0, 0, .9);
  animation: float 7s ease-in-out infinite;
}

.chip-1 { top: 16px; left: 16px; }
.chip-2 { top: 40%; right: 14px; animation-delay: -2.4s; }
.chip-3 { bottom: 86px; left: 16px; animation-delay: -4.1s; }

@keyframes float {
  0%, 100% { translate: 0 -6px; }
  50% { translate: 0 10px; }
}

.hero-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: clamp(40px, 7vh, 72px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.facts { display: flex; gap: clamp(22px, 4vw, 46px); flex-wrap: wrap; margin: 0; }
.facts div { min-width: 90px; }

.facts dt {
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.facts dd { margin: 0; font-size: 1.5rem; font-weight: 700; letter-spacing: -.03em; }
.facts dd small { font-size: .8rem; color: var(--accent); font-weight: 500; }

.scroll-cue { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.scroll-cue i { display: block; width: 1px; height: 40px; background: linear-gradient(var(--accent), transparent); animation: cue 2.6s ease-in-out infinite; transform-origin: top; }

@keyframes cue { 0%, 100% { transform: scaleY(.4); opacity: .5; } 50% { transform: scaleY(1); opacity: 1; } }

/* ============ Abschnitte ============ */

.sec-head { display: grid; gap: 14px; margin-bottom: clamp(34px, 5vh, 56px); }

.sec-head h2 {
  margin: 0;
  font-size: clamp(1.95rem, 5.6vw, 3.9rem);
  line-height: 1.02;
  letter-spacing: -.035em;
  font-weight: 700;
  max-width: 22ch;
}

.sec-head p { margin: 0; max-width: 66ch; color: var(--muted); }

.num { font-size: .76rem; letter-spacing: .2em; color: var(--accent); font-variant-numeric: tabular-nums; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ============ Karten ============ */

.cards { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }

.card {
  position: relative;
  grid-column: span 2;
  padding: 30px 26px 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012));
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  overflow: hidden;
  transition: transform .6s var(--ease), border-color .5s, background .5s;
  transform-style: preserve-3d;
}

.card:nth-child(1), .card:nth-child(2) { grid-column: span 3; }

.card::before {
  content: '';
  position: absolute;
  width: 340px; height: 340px;
  left: var(--gx, 50%); top: var(--gy, 0);
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 106, 0, .22), transparent 62%);
  opacity: 0;
  transition: opacity .5s;
  pointer-events: none;
}

.card:hover { transform: translateY(-6px); border-color: rgba(255, 106, 0, .4); }
.card:hover::before { opacity: 1; }

.card-ico {
  position: relative;
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  margin-bottom: 20px;
  border-radius: 15px;
  border: 1px solid rgba(255, 106, 0, .28);
  background: rgba(255, 106, 0, .08);
  color: var(--accent);
}

.card-ico svg { width: 26px; height: 26px; }
.card:hover .card-ico svg .dash { animation: dash 1.4s var(--ease) forwards; }
.dash { stroke-dasharray: 90; stroke-dashoffset: 0; }
@keyframes dash { from { stroke-dashoffset: 90; } to { stroke-dashoffset: 0; } }

.card h3 { margin: 0 0 8px; font-size: 1.14rem; letter-spacing: -.02em; font-weight: 600; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }

.card-index {
  position: absolute;
  top: 22px; right: 24px;
  font-size: .74rem;
  letter-spacing: .14em;
  color: rgba(244, 245, 247, .28);
  font-variant-numeric: tabular-nums;
}

/* ============ Live-Stats ============ */

.live {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .012));
  padding: clamp(20px, 3.4vw, 36px);
  display: grid;
  gap: 26px;
}

.live-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.live-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .3);
  animation: pulse 2s ease-in-out infinite;
}

.live[data-state="ok"] .live-dot { background: #35d07f; box-shadow: 0 0 12px rgba(53, 208, 127, .8); }
.live[data-state="stale"] .live-dot { background: var(--accent); }

.live-label { font-size: .84rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.live[data-state="ok"] .live-label { color: var(--ink); }
.live-ts { margin-left: auto; font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; }

.live-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }

.stat {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
  background: rgba(8, 9, 12, .45);
  display: grid;
  gap: 2px;
}

.stat-k { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.stat-v { font-size: clamp(1.5rem, 2.6vw, 2.2rem); font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat-v.small { font-size: 1.02rem; line-height: 1.3; padding-top: 10px; }
.stat-sub { font-size: .78rem; color: var(--bay); font-variant-numeric: tabular-nums; }

.bars-wrap { display: grid; gap: 10px; }
.bars-title { margin: 0; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

.bars { display: flex; align-items: flex-end; gap: 6px; height: 130px; }

.bars .bar {
  flex: 1;
  display: grid;
  justify-items: center;
  gap: 6px;
  align-content: end;
  height: 100%;
  min-width: 0;
}

.bars .bar i {
  display: block;
  width: 100%;
  max-width: 44px;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--accent), #8a3a00);
  box-shadow: 0 0 16px rgba(255, 106, 0, .25);
  height: var(--h, 4%);
  transition: height 1s var(--ease);
}

.bars .bar:last-child i { background: linear-gradient(180deg, #ffd0ae, var(--accent)); }
.bars .bar em { font-style: normal; font-size: .62rem; color: var(--muted); white-space: nowrap; }
.bars .bar:hover i { filter: brightness(1.25); }

.nodes { width: 100%; border-collapse: collapse; font-size: .92rem; }
.nodes caption { text-align: left; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding-bottom: 10px; }
.nodes th { text-align: left; font-weight: 500; color: var(--muted); font-size: .78rem; letter-spacing: .08em; padding: 8px 10px; border-bottom: 1px solid var(--line); text-transform: uppercase; }
.nodes td { padding: 10px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.nodes td:first-child { color: var(--bay); font-weight: 600; letter-spacing: .06em; }
.nodes tbody tr { transition: background .3s; }
.nodes tbody tr:hover { background: rgba(62, 160, 255, .05); }

.live-note { margin: 0; font-size: .8rem; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 16px; }

/* ============ Agenten ============ */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 60px);
  align-items: start;
}

.contact-side { display: grid; gap: 22px; align-content: start; }
.contact-side p { margin: 0; color: var(--muted); }

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

.meta-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: .95rem;
}

.meta-list svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
.meta-list a { color: var(--ink); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .3s, color .3s; }
.meta-list a:hover { border-bottom-color: var(--accent); color: var(--accent); }
.meta-list span { color: var(--muted); }

.code {
  font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace;
  font-size: .8rem;
  line-height: 1.7;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(4, 5, 7, .8);
  overflow-x: auto;
  color: var(--ink);
  white-space: pre;
}

.code .c-g { color: rgba(244, 245, 247, .38); }
.code .c-y { color: #ffd27a; }
.code .c-o { color: #ff9d5c; }

.terminal-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .012));
  overflow: hidden;
}

.term-head {
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.term-dot { width: 8px; height: 8px; border-radius: 50%; background: #35d07f; box-shadow: 0 0 10px rgba(53, 208, 127, .8); animation: pulse 2.2s ease-in-out infinite; }

.term-log { list-style: none; margin: 0; padding: 8px 0; font-size: .9rem; }

.term-log li {
  padding: 10px 20px;
  display: flex;
  gap: 12px;
  align-items: baseline;
  color: var(--muted);
  border-left: 2px solid transparent;
  transition: background .6s, border-color .6s, color .6s;
}

.term-log li.flash { background: rgba(255, 106, 0, .07); border-left-color: var(--accent); color: var(--ink); }
.term-log i { font-style: normal; font-weight: 700; }
.term-log .t-ok { color: #35d07f; }
.term-log .t-info { color: var(--bay); }

/* ============ Investoren ============ */

.track { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }

.track li {
  position: relative;
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 10px clamp(18px, 3vw, 40px);
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.track li:last-child { border-bottom: 1px solid var(--line); }
.track-when { font-size: .82rem; letter-spacing: .1em; color: var(--accent); padding-top: 5px; }
.track-body h3 { margin: 0 0 6px; font-size: 1.16rem; letter-spacing: -.02em; }
.track-body p { margin: 0; color: var(--muted); max-width: 66ch; }

.track li::after {
  content: '';
  position: absolute;
  top: -1px; left: 0;
  height: 1px;
  width: 0;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent);
  transition: width 1.1s var(--ease);
}

.track li.is-in::after { width: 100%; }

.invest-cta { margin: clamp(28px, 5vh, 48px) 0 0; }

.person {
  display: block;
  max-width: 66ch;
  margin: 0;
  padding: 20px 24px;
  border: 1px dashed rgba(255, 106, 0, .5);
  border-radius: 16px;
  background: var(--accent-soft);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.55;
}

/* ============ Kontakt / Disclaimer ============ */

.disclaimer {
  border: 1px solid var(--line);
  border-left: 3px solid var(--bay);
  border-radius: 16px;
  padding: 22px 24px;
  background: rgba(62, 160, 255, .05);
}

.disclaimer p { margin: 0; color: var(--muted); font-size: .92rem; }
.disclaimer b { color: var(--ink); letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; }

/* ============ Fuss ============ */

.foot {
  position: relative;
  z-index: 5;
  padding: 40px var(--pad) 46px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: .84rem;
  color: var(--muted);
  background: rgba(8, 9, 12, .6);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.foot a { color: var(--muted); text-decoration: none; border-bottom: 1px solid transparent; transition: color .3s, border-color .3s; }
.foot a:hover { color: var(--accent); border-bottom-color: var(--accent); }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }

.to-top {
  position: fixed;
  right: 18px; bottom: 18px;
  z-index: 30;
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(8, 9, 12, .8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--ink);
  cursor: pointer;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity .5s, transform .5s var(--ease), border-color .3s;
}

.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { border-color: rgba(255, 106, 0, .6); }
.to-top svg { width: 18px; height: 18px; }

/* ============ Responsive ============ */

@media (max-width: 1040px) {
  .cards { grid-template-columns: repeat(4, 1fr); }
  .card, .card:nth-child(1), .card:nth-child(2) { grid-column: span 2; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav {
    position: fixed;
    inset: 0;
    z-index: 35;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 6px;
    padding: 0 var(--pad);
    background: rgba(8, 9, 12, .96);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    transform: translateY(-100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform .7s var(--ease), visibility .7s;
  }
  body.menu-open .nav { transform: none; visibility: visible; pointer-events: auto; }
  .nav a { font-size: clamp(1.7rem, 7vw, 2.6rem); font-weight: 600; letter-spacing: -.03em; padding: 8px 0; color: var(--ink); opacity: .35; }
  .nav a::after { left: 0; right: 40%; }
  .burger { display: block; }
  .hero { min-height: auto; padding-top: clamp(92px, 15vh, 120px); }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .portrait { order: 0; max-width: 420px; margin: 0 auto; width: 100%; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
  .portrait-frame { width: 100%; }
  .chip { position: static; animation: none; }
  .track li { grid-template-columns: 1fr; }
  .track-when { padding-top: 0; }
  .lang button { padding: 8px 9px; font-size: .66rem; }
}

@media (max-width: 620px) {
  .cards { grid-template-columns: 1fr; }
  .card, .card:nth-child(1), .card:nth-child(2) { grid-column: span 1; }
  .facts dd { font-size: 1.25rem; }
  section { padding-left: 18px; padding-right: 18px; }
  .bars { height: 96px; }
  .bars .bar em { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .split .ch { opacity: 1; transform: none; }
}

/* ============ Boarisch-Filter ============ */

/* Feld (Boarisch-Filter) */

.field { display: grid; gap: 9px; margin: 0; }

.field label {
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(4, 5, 7, .55);
  color: var(--ink);
  font: inherit;
  font-size: 1.02rem;
  line-height: 1.4;
  transition: border-color .3s, background .3s, box-shadow .3s;
}

.field input::placeholder { color: rgba(244, 245, 247, .3); }

.field input:focus {
  outline: none;
  border-color: rgba(255, 106, 0, .8);
  background: rgba(255, 106, 0, .06);
  box-shadow: 0 0 0 4px rgba(255, 106, 0, .12), 0 14px 40px -22px rgba(255, 106, 0, .6);
}

.filter-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: end;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 3.4vw, 34px);
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .012));
}

.filter-out {
  grid-column: 1 / -1;
  border-top: 1px dashed var(--line);
  padding-top: 18px;
  display: grid;
  gap: 10px;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

.filter-chip .motion-dot { width: 7px; height: 7px; }

#g-out {
  margin: 0;
  min-height: 2.6em;
  font-size: clamp(1.2rem, 2.6vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.35;
  color: var(--ink);
}

.caret {
  display: inline-block;
  width: .55ch;
  height: 1.1em;
  margin-left: 3px;
  vertical-align: text-bottom;
  background: var(--accent);
  animation: blink .9s steps(1) infinite;
}

@keyframes blink { 50% { opacity: 0; } }

@media (max-width: 860px) {
  .filter-card { grid-template-columns: 1fr; }
}

.nodes th:last-child, .nodes td:last-child { text-align: right; }
.nodes td.usd { color: var(--accent); font-weight: 600; }
