/* ═══════════════════════════════════════════════════════════
   cmd-s GmbH — Global Styles
   Ästhetik: "Command-Line Noir" — tiefes Blauschwarz,
   leuchtendes Cyan/Teal, Terminal-Akzente in Monospace.
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg: #04080d;
  --bg-raised: #070d15;
  --bg-card: rgba(10, 20, 30, 0.55);
  --line: rgba(0, 229, 255, 0.12);
  --line-strong: rgba(0, 229, 255, 0.28);
  --text: #d7e5ee;
  --text-dim: #7d93a5;
  --cyan: #00e5ff;
  --teal: #2cf6c3;
  --cyan-soft: rgba(0, 229, 255, 0.55);
  --glow: 0 0 24px rgba(0, 229, 255, 0.35), 0 0 80px rgba(0, 229, 255, 0.12);
  --font-body: "Sora", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  --container: 1200px;
  --radius: 14px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Feines Grain-Overlay für Tiefe */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='128' height='128'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='128' height='128' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: rgba(0, 229, 255, 0.25); color: #fff; }

[hidden] { display: none !important; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--font-mono); }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 { font-weight: 600; line-height: 1.12; letter-spacing: -0.02em; }

.glow-text {
  color: var(--cyan);
  text-shadow: 0 0 18px rgba(0, 229, 255, 0.55), 0 0 60px rgba(0, 229, 255, 0.25);
}

/* ═══════════ Scrollbar ═══════════ */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #12222f; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #1b3546; }

/* ═══════════ Cursor-Glow ═══════════ */
.cursor-glow {
  position: fixed;
  width: 520px; height: 520px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.07) 0%, transparent 60%);
  transform: translate(-50%, -50%);
  transition: opacity 0.4s;
  opacity: 0;
}
body.has-mouse .cursor-glow { opacity: 1; }

/* ═══════════ Boot-Preloader ═══════════ */
.boot {
  position: fixed; inset: 0;
  z-index: 10000;
  background: #030609;
  display: grid;
  place-items: center;
  transition: opacity 0.7s var(--ease-out), visibility 0.7s;
}
.boot.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.boot__terminal {
  font-family: var(--font-mono);
  font-size: clamp(0.78rem, 1.6vw, 0.95rem);
  color: var(--text-dim);
  min-width: min(480px, 86vw);
}
.boot__line {
  opacity: 0;
  transform: translateY(6px);
  animation: bootLine 0.35s var(--ease-out) forwards;
  margin-bottom: 0.5em;
}
.boot__line[data-delay="1"] { animation-delay: 0.35s; }
.boot__line[data-delay="2"] { animation-delay: 0.7s; }
.boot__line[data-delay="3"] { animation-delay: 1.05s; }
@keyframes bootLine { to { opacity: 1; transform: none; } }
.boot__ok { color: var(--teal); }
.boot__bar {
  margin-top: 1.4em;
  height: 2px;
  background: rgba(0, 229, 255, 0.12);
  overflow: hidden;
  border-radius: 2px;
}
.boot__bar-fill {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--cyan), var(--teal));
  box-shadow: 0 0 12px var(--cyan);
  animation: bootBar 1.5s 0.15s var(--ease-out) forwards;
}
@keyframes bootBar { to { width: 100%; } }

/* ═══════════ Blink-Cursor ═══════════ */
.cursor-blink {
  color: var(--cyan);
  animation: blink 1s steps(1) infinite;
  text-shadow: 0 0 14px var(--cyan);
}
.cursor-blink--big { font-size: 0.8em; }
@keyframes blink { 50% { opacity: 0; } }

/* ═══════════ Header ═══════════ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(4, 8, 13, 0.75);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}
.header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
}
.logo__bracket { color: var(--cyan); text-shadow: 0 0 12px rgba(0, 229, 255, 0.6); }
.logo__cmd { color: #fff; letter-spacing: -0.03em; }
.logo__gmbh { color: var(--text-dim); font-weight: 400; font-size: 0.85em; }
.logo__cursor {
  display: inline-block;
  width: 0.55em; height: 1.05em;
  margin-left: 0.3em;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: blink 1.1s steps(1) infinite;
  align-self: center;
}

.nav { display: flex; align-items: center; gap: 30px; }
.nav__link {
  font-size: 0.86rem;
  font-weight: 400;
  color: var(--text-dim);
  text-decoration: none;
  position: relative;
  transition: color 0.25s;
}
.nav__index {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--cyan);
  opacity: 0.55;
  margin-right: 0.45em;
  vertical-align: super;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -5px;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}
.nav__link:hover { color: #fff; }
.nav__link:hover::after { transform: scaleX(1); }

.burger {
  display: none;
  background: none; border: 0;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
}
.burger span {
  width: 24px; height: 2px;
  background: var(--cyan);
  transition: transform 0.3s, opacity 0.3s;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════ Buttons ═══════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 10px;
  padding: 15px 30px;
  cursor: pointer;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--ease-out), box-shadow 0.3s, background 0.3s, border-color 0.3s;
}
.btn--large { padding: 17px 34px; font-size: 1rem; }
.btn--small { padding: 10px 20px; font-size: 0.82rem; }
.btn--primary {
  background: linear-gradient(135deg, var(--cyan), var(--teal));
  color: #032028;
  font-weight: 600;
  box-shadow: 0 0 22px rgba(0, 229, 255, 0.35);
}
.btn--primary:hover {
  transform: translateY(-2px) scale(1.015);
  box-shadow: 0 0 34px rgba(0, 229, 255, 0.55), 0 8px 30px rgba(0, 0, 0, 0.4);
}
.btn--ghost {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(0, 229, 255, 0.04);
}
.btn--ghost:hover {
  border-color: var(--cyan);
  background: rgba(0, 229, 255, 0.09);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.18);
  transform: translateY(-2px);
}
.btn__arrow { transition: transform 0.25s var(--ease-out); }
.btn--ghost:hover .btn__arrow { transform: translateX(4px); }
.btn__shine {
  position: absolute;
  top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  animation: shine 4.2s 1.2s infinite;
}
@keyframes shine {
  0% { left: -80%; } 18% { left: 130%; } 100% { left: 130%; }
}

/* ═══════════ Hero ═══════════ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
}
.hero__grid-overlay {
  position: absolute; inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, black 25%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, black 25%, transparent 75%);
  pointer-events: none;
}
.hero__vignette {
  position: absolute; inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse 90% 70% at 50% 110%, rgba(4, 8, 13, 0.95) 0%, transparent 55%),
    linear-gradient(to bottom, rgba(4, 8, 13, 0.35), transparent 30%);
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 3;
  padding-top: 120px;
  padding-bottom: 100px;
}
.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.tag-line {
  display: inline-block;
  width: 48px; height: 1px;
  background: linear-gradient(90deg, var(--teal), transparent);
  box-shadow: 0 0 8px var(--teal);
}
.hero__headline {
  font-size: clamp(2.4rem, 6.4vw, 4.9rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 30px;
}
.hero__line { display: block; }
.hero__sub {
  font-size: clamp(1.02rem, 1.8vw, 1.25rem);
  color: var(--text-dim);
  max-width: 640px;
  margin-bottom: 42px;
}
.hero__sub strong { color: var(--text); font-weight: 500; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 64px; }

.hero__stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
  max-width: 720px;
}
.hero__stat { display: flex; flex-direction: column; gap: 2px; }
.hero__stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cyan);
  text-shadow: 0 0 16px rgba(0, 229, 255, 0.45);
}
.hero__stat-label { font-size: 0.78rem; color: var(--text-dim); }
.hero__stat-divider { width: 1px; height: 42px; background: var(--line-strong); }

.hero__scroll-hint {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.3s;
}
.hero__scroll-hint:hover { color: var(--cyan); }
.hero__scroll-line {
  width: 1px; height: 44px;
  background: var(--line-strong);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: "";
  position: absolute;
  top: -50%; left: 0;
  width: 100%; height: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: scrollDrop 1.8s ease-in-out infinite;
}
@keyframes scrollDrop { to { top: 110%; } }

/* ═══════════ Marquee ═══════════ */
.marquee {
  border-block: 1px solid var(--line);
  padding: 18px 0;
  overflow: hidden;
  background: rgba(0, 229, 255, 0.02);
  position: relative;
  z-index: 4;
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 42px;
  width: max-content;
  animation: marquee 36s linear infinite;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
}
.marquee__track i { color: var(--cyan); font-style: normal; font-size: 0.6rem; opacity: 0.7; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ═══════════ Sections ═══════════ */
.section { padding: 130px 0; position: relative; }
.section--alt {
  background:
    radial-gradient(ellipse 60% 45% at 85% 8%, rgba(0, 229, 255, 0.05), transparent 65%),
    var(--bg-raised);
  border-block: 1px solid rgba(0, 229, 255, 0.06);
}
.section__head { max-width: 720px; margin-bottom: 70px; }
.section__eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--teal);
  margin-bottom: 16px;
}
.section__num {
  display: inline-block;
  color: var(--cyan);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 2px 9px;
  margin-right: 10px;
  box-shadow: 0 0 14px rgba(0, 229, 255, 0.12) inset;
}
.section__title { font-size: clamp(1.9rem, 4.5vw, 3.1rem); color: #fff; margin-bottom: 18px; }
.section__lead { color: var(--text-dim); font-size: 1.08rem; }

/* ═══════════ Filter-Tabs (Portfolio) ═══════════ */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 42px;
}
.filters__btn {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  background: rgba(0, 229, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 9px 20px;
  cursor: pointer;
  transition: color 0.25s, border-color 0.25s, background 0.25s, box-shadow 0.25s, transform 0.25s var(--ease-out);
}
.filters__btn:hover {
  color: #fff;
  border-color: var(--line-strong);
  transform: translateY(-1px);
}
.filters__btn.is-active {
  color: #032028;
  font-weight: 700;
  background: linear-gradient(135deg, var(--cyan), var(--teal));
  border-color: transparent;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.35);
}

/* ═══════════ Cards (KI-Lösungen) ═══════════ */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card.is-hidden { display: none; }
.card--featured {
  background:
    radial-gradient(ellipse 90% 90% at 10% 0%, rgba(0, 229, 255, 0.08), transparent 60%),
    var(--bg-card);
  border-color: var(--line-strong);
}
.card__cat {
  position: absolute;
  top: 26px; right: 26px;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  border: 1px solid rgba(44, 246, 195, 0.28);
  border-radius: 100px;
  padding: 3px 10px;
  background: rgba(44, 246, 195, 0.05);
}
@keyframes cardIn {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.card.is-filtered-in { animation: cardIn 0.45s var(--ease-out); }
.card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px 28px;
  backdrop-filter: blur(10px);
  overflow: hidden;
  transition: border-color 0.35s, transform 0.35s var(--ease-out), box-shadow 0.35s;
  transform-style: preserve-3d;
  will-change: transform;
}
.card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45), 0 0 40px rgba(0, 229, 255, 0.07);
}
/* Spotlight, folgt der Maus (per JS: --mx / --my) */
.card__glow {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 0.4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(0, 229, 255, 0.11), transparent 45%);
  pointer-events: none;
}
.card:hover .card__glow { opacity: 1; }
.card__icon {
  width: 52px; height: 52px;
  color: var(--cyan);
  margin-bottom: 26px;
  filter: drop-shadow(0 0 12px rgba(0, 229, 255, 0.5));
  transition: transform 0.4s var(--ease-out);
}
.card:hover .card__icon { transform: translateY(-3px) scale(1.06); }
.card__icon-accent { stroke: var(--teal); }
.card__index {
  position: absolute;
  top: 26px; right: 26px;
  font-size: 0.72rem;
  color: var(--text-dim);
  opacity: 0.6;
}
.card__title { font-size: 1.22rem; color: #fff; margin-bottom: 12px; }
.card__title-sub { color: var(--text-dim); font-weight: 400; font-size: 0.85em; }
.card__text { font-size: 0.92rem; color: var(--text-dim); margin-bottom: 22px; }
.card__meta {
  font-size: 0.72rem;
  color: var(--teal);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s, transform 0.35s var(--ease-out);
  border-top: 1px dashed var(--line);
  padding-top: 14px;
}
.card:hover .card__meta { opacity: 0.9; transform: none; }

/* ═══════════ Beratung ═══════════ */
.consult {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}
.consult--four { grid-template-columns: repeat(2, 1fr); }
.consult__card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 44px 40px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: border-color 0.35s, box-shadow 0.35s, transform 0.35s var(--ease-out);
}
.consult__card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45), 0 0 40px rgba(0, 229, 255, 0.07);
}
.consult__card:hover .card__glow { opacity: 1; }
.consult__badge {
  display: inline-block;
  font-size: 0.72rem;
  color: var(--teal);
  border: 1px solid rgba(44, 246, 195, 0.3);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 24px;
  background: rgba(44, 246, 195, 0.05);
}
.consult__title { font-size: 1.5rem; color: #fff; margin-bottom: 14px; }
.consult__text { color: var(--text-dim); margin-bottom: 26px; }
.consult__list { list-style: none; display: grid; gap: 12px; }
.consult__list li {
  position: relative;
  padding-left: 28px;
  font-size: 0.94rem;
}
.consult__list li::before {
  content: ">";
  position: absolute;
  left: 0;
  font-family: var(--font-mono);
  color: var(--cyan);
  text-shadow: 0 0 8px var(--cyan);
}

/* ═══════════ Warum wir (Trust) ═══════════ */
.trust {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 22px;
  align-items: stretch;
}
.trust__card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 34px;
  backdrop-filter: blur(10px);
  transition: border-color 0.35s, box-shadow 0.35s;
  position: relative;
  overflow: hidden;
}
.trust__card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 0 45px rgba(0, 229, 255, 0.08);
}
.trust__card--hero {
  border-color: var(--line-strong);
  background:
    radial-gradient(ellipse 90% 90% at 10% 0%, rgba(0, 229, 255, 0.09), transparent 60%),
    var(--bg-card);
}
.trust__card--hero::after {
  content: "";
  position: absolute; inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(0, 229, 255, 0.55), transparent 35%, transparent 70%, rgba(44, 246, 195, 0.4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.trust__big {
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--cyan);
  text-shadow: 0 0 26px rgba(0, 229, 255, 0.5);
  margin-bottom: 18px;
  line-height: 1;
  display: flex;
  align-items: baseline;
}
.trust__unit { font-size: 0.42em; color: var(--text-dim); text-shadow: none; margin-left: 0.2em; }
.trust__shield { width: 64px; height: 64px; display: block; filter: drop-shadow(0 0 16px rgba(0, 229, 255, 0.5)); }
.trust__title { font-size: 1.25rem; color: #fff; margin-bottom: 12px; }
.trust__text { color: var(--text-dim); font-size: 0.95rem; }
.trust__text strong { color: var(--text); font-weight: 600; }
.trust__meta {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
  font-size: 0.74rem;
  color: var(--teal);
  opacity: 0.85;
}

/* ═══════════ Prozess (Steps) ═══════════ */
.steps {
  list-style: none;
  position: relative;
  display: grid;
  gap: 0;
  max-width: 780px;
  margin: 0 auto;
}
.steps__line {
  position: absolute;
  left: 31px; top: 10px; bottom: 10px;
  width: 2px;
  background: rgba(0, 229, 255, 0.1);
  border-radius: 2px;
}
.steps__line-fill {
  display: block;
  width: 100%; height: 0%;
  background: linear-gradient(180deg, var(--cyan), var(--teal));
  box-shadow: 0 0 12px var(--cyan);
  border-radius: 2px;
  transition: height 0.1s linear;
}
.step {
  display: flex;
  gap: 34px;
  padding: 30px 0;
  position: relative;
}
.step__num {
  flex-shrink: 0;
  width: 64px; height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--cyan);
  background: var(--bg-raised);
  border: 1px solid var(--line-strong);
  box-shadow: 0 0 22px rgba(0, 229, 255, 0.15), inset 0 0 18px rgba(0, 229, 255, 0.06);
  position: relative;
  z-index: 1;
  transition: box-shadow 0.35s, border-color 0.35s, color 0.35s, background 0.35s;
}
.step:hover .step__num {
  border-color: var(--cyan);
  color: #032028;
  background: linear-gradient(135deg, var(--cyan), var(--teal));
  box-shadow: 0 0 34px rgba(0, 229, 255, 0.5);
}
.step__body { padding-top: 6px; }
.step__title { font-size: 1.3rem; color: #fff; margin-bottom: 8px; }
.step__text { color: var(--text-dim); font-size: 0.96rem; max-width: 520px; }

/* ═══════════ Kontakt ═══════════ */
.contact { overflow: hidden; }
.contact__glow {
  position: absolute;
  top: -20%; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 500px;
  background: radial-gradient(ellipse, rgba(0, 229, 255, 0.08), transparent 65%);
  pointer-events: none;
}
.contact__inner {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.contact__title { font-size: clamp(2rem, 4.8vw, 3.3rem); color: #fff; margin-bottom: 18px; }
.contact__lead { color: var(--text-dim); font-size: 1.1rem; max-width: 560px; margin: 0 auto 52px; }

.contact__form {
  text-align: left;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  backdrop-filter: blur(10px);
  display: grid;
  gap: 22px;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form__field { display: grid; gap: 8px; }
.form__label { font-size: 0.7rem; letter-spacing: 0.14em; color: var(--teal); }
.form__field input,
.form__field textarea {
  background: rgba(4, 8, 13, 0.6);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  resize: vertical;
}
.form__field input:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.12), 0 0 18px rgba(0, 229, 255, 0.1);
}
.form__field ::placeholder { color: #45596a; }
.form__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.form__consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.8rem;
  color: var(--text-dim);
  max-width: 420px;
  cursor: pointer;
}
.form__consent input { accent-color: var(--cyan); margin-top: 3px; }
.form__consent a { color: var(--cyan); }
.form__success { color: var(--teal); font-size: 0.88rem; }

/* ═══════════ Footer ═══════════ */
.footer {
  border-top: 1px solid var(--line);
  background: #030609;
  padding: 70px 0 34px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 60px;
  margin-bottom: 56px;
}
.logo--footer { font-size: 1.1rem; margin-bottom: 18px; }
.footer__tagline { color: var(--text-dim); font-size: 0.88rem; line-height: 1.8; }
.footer__nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer__col { display: grid; gap: 12px; align-content: start; }
.footer__col-title {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--teal);
  margin-bottom: 6px;
}
.footer__col a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.9rem;
  width: fit-content;
  transition: color 0.25s, text-shadow 0.25s;
}
.footer__col a:hover { color: var(--cyan); text-shadow: 0 0 12px rgba(0, 229, 255, 0.5); }
.footer__address { font-style: normal; color: var(--text-dim); font-size: 0.9rem; line-height: 1.8; }
.footer__bottom {
  border-top: 1px solid rgba(0, 229, 255, 0.07);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.72rem;
  color: #4d6274;
}
.footer__credit { color: #3b505f; }

/* ═══════════ Cookie-Banner ═══════════ */
.cookie {
  position: fixed;
  bottom: 24px; left: 24px;
  z-index: 9000;
  max-width: 460px;
  animation: cookieIn 0.6s var(--ease-out);
}
@keyframes cookieIn { from { opacity: 0; transform: translateY(24px); } }
.cookie__inner {
  background: rgba(6, 12, 19, 0.92);
  backdrop-filter: blur(18px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 40px rgba(0, 229, 255, 0.08);
}
.cookie__title { color: var(--cyan); font-size: 0.82rem; margin-bottom: 10px; }
.cookie__text { font-size: 0.82rem; color: var(--text-dim); margin-bottom: 18px; }
.cookie__text a { color: var(--cyan); }
.cookie__options { display: grid; gap: 10px; margin-bottom: 18px; }
.cookie__option {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.84rem;
  cursor: pointer;
}
.cookie__option input { accent-color: var(--cyan); }
.cookie__option .mono { font-size: 0.68rem; color: var(--text-dim); }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ═══════════ Reveal-Animationen (JS setzt .is-visible) ═══════════ */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }

.reveal-hero { opacity: 0; }

/* ═══════════ Rechtsseiten ═══════════ */
.legal {
  padding: 160px 0 100px;
  max-width: 800px;
  margin: 0 auto;
}
.legal h1 { font-size: clamp(2rem, 5vw, 2.9rem); color: #fff; margin-bottom: 14px; }
.legal__updated { font-family: var(--font-mono); font-size: 0.75rem; color: var(--teal); margin-bottom: 48px; }
.legal h2 {
  font-size: 1.35rem; color: #fff;
  margin: 46px 0 14px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.legal h3 { font-size: 1.05rem; color: var(--text); margin: 26px 0 10px; }
.legal p, .legal li { color: var(--text-dim); font-size: 0.95rem; margin-bottom: 12px; }
.legal ul { padding-left: 22px; margin-bottom: 16px; }
.legal a { color: var(--cyan); }
.legal strong { color: var(--text); font-weight: 600; }
.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 0.88rem;
}
.legal th, .legal td {
  text-align: left;
  padding: 12px 14px;
  border: 1px solid var(--line);
  color: var(--text-dim);
}
.legal th { color: var(--text); font-weight: 600; background: rgba(0, 229, 255, 0.04); }
.legal__back {
  display: inline-flex;
  margin-bottom: 40px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-decoration: none;
  color: var(--teal) !important;
}

/* ═══════════ Responsive ═══════════ */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .trust { grid-template-columns: 1fr 1fr; }
  .trust__card--hero { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .section { padding: 90px 0; }
  .burger { display: flex; }
  .nav {
    position: fixed;
    inset: 0;
    background: rgba(3, 6, 9, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 34px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
    z-index: -1;
  }
  .nav.is-open { opacity: 1; visibility: visible; z-index: 999; }
  .nav__link { font-size: 1.3rem; }
  .cards, .consult, .trust, .form__row { grid-template-columns: 1fr; }
  .hero__stats { gap: 20px; }
  .hero__stat-divider { display: none; }
  .footer__top { grid-template-columns: 1fr; gap: 40px; }
  .footer__nav { grid-template-columns: 1fr 1fr; }
  .contact__form { padding: 26px; }
  .cookie { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .steps__line { left: 23px; }
  .step { gap: 22px; }
  .step__num { width: 48px; height: 48px; font-size: 0.9rem; }
}

/* ═══════════ Reduced Motion ═══════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal, .reveal-hero { opacity: 1 !important; transform: none !important; }
}
