/* ===========================================================
   INNOVA TECH Solutions – Stylesheet
   Dark / "Automated Intelligence" Theme
   =========================================================== */

/* --- Design Tokens --- */
:root {
  /* Marken-Akzente */
  --color-accent: #5B8DEF;       /* Elektrik-Blau */
  --color-accent-2: #7C5CFC;     /* Violett (KI) */
  --color-cyan: #5CE1E6;         /* Marken-Cyan */

  /* Dunkle Grundflächen */
  --color-bg: #06080F;           /* Seiten-Hintergrund (fast schwarz, navy) */
  --color-bg-2: #0A0E1A;
  --color-surface: #0E1322;      /* Karten */
  --color-surface-2: #131A2E;    /* hellere Karten / Inputs */
  --color-elevated: #161D33;

  /* Text */
  --color-heading: #F4F7FF;
  --color-text: #D7DEF0;
  --color-muted: #8A93AD;

  /* Linien & Glow */
  --color-border: rgba(255, 255, 255, 0.09);
  --color-border-strong: rgba(255, 255, 255, 0.16);
  --glow-cyan: rgba(92, 225, 230, 0.35);
  --glow-violet: rgba(124, 92, 252, 0.35);

  --gradient-ai: linear-gradient(120deg, #5CE1E6 0%, #5B8DEF 48%, #7C5CFC 100%);
  --gradient-ai-soft: linear-gradient(135deg, rgba(92,225,230,0.14), rgba(124,92,252,0.14));

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 30px 70px rgba(0, 0, 0, 0.55);
  --shadow-glow: 0 0 0 1px rgba(124,92,252,0.25), 0 18px 50px rgba(124, 92, 252, 0.18);

  --container: 1140px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "SFMono-Regular", ui-monospace, "JetBrains Mono", Menlo, Consolas, monospace;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; color: var(--color-heading); }
h1 { font-size: clamp(2.2rem, 5vw, 3.7rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.2rem; }

p { color: var(--color-muted); }

::selection { background: rgba(124, 92, 252, 0.4); color: #fff; }

/* --- Globaler Automations-Hintergrund --- */
#bg-canvas {
  position: fixed; inset: 0; z-index: -3; width: 100%; height: 100%;
  pointer-events: none; opacity: 0.55;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(60% 55% at 78% -5%, rgba(124, 92, 252, 0.16), transparent 60%),
    radial-gradient(50% 50% at 8% 8%, rgba(91, 141, 239, 0.14), transparent 60%),
    radial-gradient(40% 40% at 50% 110%, rgba(92, 225, 230, 0.10), transparent 60%);
}
/* feines Tech-Raster über allem */
body::after {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none; opacity: 0.5;
  background-image:
    linear-gradient(rgba(124, 92, 252, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 141, 239, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 80%);
}

/* --- Layout helpers --- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; position: relative; }

.section { padding: 88px 0; position: relative; }
.section--tight { padding: 56px 0; }

.section__head { max-width: 660px; margin: 0 auto 48px; text-align: center; }
.section__head h2 { color: var(--color-heading); }
.section__head p { margin-top: 14px; font-size: 1.08rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-cyan);
  margin-bottom: 14px;
  font-family: var(--mono);
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--color-cyan); box-shadow: 0 0 10px var(--color-cyan);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.text-gradient {
  background: var(--gradient-ai);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- Buttons (Farbfehler behoben: kein transparenter Rand, native Reset) --- */
.btn {
  -webkit-appearance: none; appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1;
  cursor: pointer;
  border: 0;                       /* keine transparenten 1px-Ränder mehr */
  background-clip: padding-box;
  text-align: center;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 2px solid var(--color-cyan); outline-offset: 2px; }

.btn--primary {
  background: var(--gradient-ai);
  color: #05070E;                  /* dunkler Text auf hellem Verlauf = klarer Kontrast */
  box-shadow: 0 8px 24px rgba(124, 92, 252, 0.28);
}
.btn--primary:hover { box-shadow: 0 14px 36px rgba(124, 92, 252, 0.45); }

.btn--ghost {
  background: rgba(255, 255, 255, 0.03);
  color: var(--color-heading);
  box-shadow: inset 0 0 0 1px var(--color-border-strong);
}
.btn--ghost:hover {
  box-shadow: inset 0 0 0 1px var(--color-cyan);
  color: var(--color-cyan);
}

.btn--light { background: #F4F7FF; color: #0A0E1A; }
.btn--light:hover { box-shadow: 0 12px 30px rgba(0,0,0,0.4); }

.btn--sm { padding: 10px 18px; font-size: 0.9rem; }

/* --- Header --- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8, 11, 20, 0.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; color: var(--color-heading); letter-spacing: -0.01em; }
.brand__logo { display: block; }
.brand__name { display: flex; flex-direction: column; line-height: 1; }
.brand__name b { font-size: 1.02rem; letter-spacing: 0.02em; }
.brand__name small { font-size: 0.6rem; letter-spacing: 0.34em; color: var(--color-muted); font-weight: 600; margin-top: 3px; }

.nav__links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav__links a { font-weight: 500; color: var(--color-text); font-size: 0.96rem; transition: color .15s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--color-cyan); }
.nav__cta { margin-left: 6px; }

/* "bald"-Badge am Portal-Menüpunkt */
.nav__badge {
  display: inline-block; margin-left: 7px; vertical-align: middle;
  font-family: var(--mono); font-size: 0.58rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: #05070E; background: var(--gradient-ai);
  padding: 2px 7px; border-radius: 999px; line-height: 1.5;
  box-shadow: 0 0 12px rgba(124, 92, 252, 0.4);
  transform: translateY(-1px);
}

.nav__toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 44px; height: 44px; border-radius: var(--radius-sm);
}
.nav__toggle span {
  display: block; width: 22px; height: 2px; background: var(--color-heading);
  margin: 5px auto; transition: transform .25s, opacity .25s;
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Hero --- */
.hero { position: relative; overflow: hidden; padding: 100px 0 80px; }
.hero__inner { max-width: 760px; }
.hero__sub { margin-top: 20px; font-size: 1.2rem; max-width: 600px; color: var(--color-text); }
.hero__actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__badges { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 24px; }
.hero__badge { display: flex; align-items: center; gap: 8px; font-size: 0.92rem; color: var(--color-muted); font-weight: 500; }
.hero__badge svg { color: var(--color-cyan); flex-shrink: 0; }

/* --- Cards grid --- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(135deg, rgba(92,225,230,0.06), transparent 45%);
  opacity: 0; transition: opacity .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-glow); border-color: rgba(124,92,252,0.45); }
.card:hover::before { opacity: 1; }
.card__icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 18px; font-size: 1.4rem;
  background: rgba(91, 141, 239, 0.14); color: var(--color-cyan);
  border: 1px solid rgba(124, 92, 252, 0.25);
}
.card h3 { color: var(--color-heading); margin-bottom: 8px; }
.card p { font-size: 0.96rem; }
.card__link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 16px;
  font-size: 0.9rem; font-weight: 600; color: var(--color-cyan);
}
.card__link svg { transition: transform .18s ease; }
.card:hover .card__link svg { transform: translateX(4px); }

/* --- AI promise band --- */
.ai-band {
  background: linear-gradient(160deg, #0C1124, #0A0E1A);
  border: 1px solid var(--color-border);
  color: #fff; border-radius: var(--radius-lg); padding: 56px;
  box-shadow: var(--shadow);
}
.ai-band .section__head h2 { color: #fff; }
.ai-band .section__head p { color: rgba(255,255,255,0.7); }
.ai-band .card { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.10); }
.ai-band .card h3 { color: #fff; }
.ai-band .card p { color: rgba(255,255,255,0.72); }
.ai-band .card__icon { background: rgba(124, 92, 252, 0.22); color: #fff; }

/* --- Stats --- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 26px 18px;
}
.stat__num { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.03em; }
.stat__num span { background: var(--gradient-ai); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat__label { color: var(--color-muted); font-size: 0.95rem; margin-top: 6px; }

/* --- CTA band --- */
.cta {
  position: relative; overflow: hidden;
  text-align: center; color: #05070E; border-radius: var(--radius-lg);
  padding: 64px 32px; background: var(--gradient-ai);
}
.cta h2 { color: #05070E; }
.cta p { color: rgba(5,7,14,0.82); margin: 14px auto 28px; max-width: 520px; }

/* --- Footer --- */
.site-footer { background: #04060C; color: var(--color-muted); padding: 56px 0 28px; border-top: 1px solid var(--color-border); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.footer__brand { display: flex; align-items: center; gap: 10px; color: var(--color-heading); font-weight: 800; margin-bottom: 14px; }
.site-footer p { color: var(--color-muted); font-size: 0.92rem; max-width: 320px; }
.footer__col h4 { color: var(--color-heading); font-size: 0.95rem; margin-bottom: 14px; }
.footer__col ul { list-style: none; }
.footer__col li { margin-bottom: 9px; }
.footer__col a { color: var(--color-muted); font-size: 0.92rem; transition: color .15s; }
.footer__col a:hover { color: var(--color-cyan); }
.footer__bottom {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--color-border);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 0.85rem; color: var(--color-muted);
}

/* --- Reveal animation --- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ===========================================================
   "In drei Schritten" – überlappende Spalten-Deck (Sales)
   =========================================================== */
.process { position: relative; }
.process__head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.process__head h2 { color: var(--color-heading); }
.process__head p { margin-top: 14px; font-size: 1.08rem; }

.deck { display: flex; justify-content: center; align-items: stretch; }
.deck__card {
  position: relative;
  flex: 1 1 0; max-width: 380px;
  background: linear-gradient(180deg, var(--color-surface-2), var(--color-surface));
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  box-shadow: var(--shadow-lg);
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease, border-color .3s ease;
}
/* Karten legen sich überlappend übereinander */
.deck__card:nth-child(1) { transform: translateX(40px) rotate(-1.5deg); z-index: 1; }
.deck__card:nth-child(2) { transform: translateY(-18px); z-index: 3; border-color: rgba(124,92,252,0.5); }
.deck__card:nth-child(3) { transform: translateX(-40px) rotate(1.5deg); z-index: 2; }
.deck:hover .deck__card { transform: none; }
.deck__card:hover {
  z-index: 5 !important; transform: translateY(-14px) !important;
  border-color: var(--color-cyan); box-shadow: var(--shadow-glow);
}
.deck__num {
  font-family: var(--mono); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em;
  color: var(--color-cyan); text-transform: uppercase; margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.deck__num b {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: var(--gradient-ai-soft); border: 1px solid rgba(124,92,252,0.4);
  color: var(--color-heading); font-size: 0.95rem;
}
.deck__card h3 { font-size: 1.35rem; color: var(--color-heading); margin-bottom: 6px; }
.deck__lead { font-size: 0.95rem; color: var(--color-text); margin-bottom: 18px; }
.deck__list { list-style: none; }
.deck__list li {
  position: relative; padding-left: 26px; margin-bottom: 11px; font-size: 0.93rem; color: var(--color-text);
}
.deck__list li::before {
  content: ""; position: absolute; left: 0; top: 6px;
  width: 14px; height: 14px; border-radius: 4px;
  background: var(--gradient-ai); opacity: 0.9;
  box-shadow: 0 0 10px rgba(124,92,252,0.5);
}
.deck__result {
  margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--color-border);
  font-size: 0.88rem; color: var(--color-muted);
}
.deck__result b { color: var(--color-cyan); font-weight: 700; }

/* --- Responsive --- */
@media (max-width: 960px) {
  .deck { flex-direction: column; align-items: center; gap: 22px; }
  .deck__card, .deck__card:nth-child(1), .deck__card:nth-child(2), .deck__card:nth-child(3) {
    transform: none; max-width: 520px; width: 100%;
  }
}
@media (max-width: 900px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav__links {
    position: fixed; inset: 74px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--color-bg-2); border-bottom: 1px solid var(--color-border);
    padding: 12px 24px 24px; box-shadow: var(--shadow);
    transform: translateY(-120%); transition: transform .28s ease; visibility: hidden;
  }
  .nav__links.is-open { transform: translateY(0); visibility: visible; }
  .nav__links li { padding: 10px 0; border-bottom: 1px solid var(--color-border); }
  .nav__links .nav__cta { margin: 14px 0 0; }
  .nav__cta .btn { width: 100%; justify-content: center; }
  .nav__toggle { display: block; }
  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .ai-band { padding: 40px 24px; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .section { padding: 64px 0; }
}

/* ===========================================================
   3D-Grafiken & Scroll-Visuals (dunkel angepasst)
   =========================================================== */
@media (prefers-reduced-motion: reduce) {
  .obj3d { transform: rotateX(-18deg) rotateY(25deg) !important; }
  .orbit__spin { animation: none !important; }
  .eyebrow::before { animation: none !important; }
}

/* --- Parallaxe Gradient-Orbs --- */
.orbs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; }
.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.5; will-change: transform; }
.orb--violet { background: radial-gradient(circle at 35% 35%, #7C5CFC, transparent 70%); }
.orb--blue   { background: radial-gradient(circle at 35% 35%, #5B8DEF, transparent 70%); }
.orb--1 { width: 420px; height: 420px; top: -80px; right: -60px; }
.orb--2 { width: 340px; height: 340px; bottom: -120px; left: -80px; }
.orb--3 { width: 240px; height: 240px; top: 30%; left: 55%; opacity: 0.32; }

/* --- 3D-Szene --- */
.scene { perspective: 1200px; width: 100%; display: grid; place-items: center; }
.obj3d { transform-style: preserve-3d; will-change: transform; transition: transform .05s linear; }

.cube { position: relative; width: 210px; height: 210px; transform-style: preserve-3d; }
.cube__face {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  border-radius: 22px; border: 1px solid rgba(124, 92, 252, 0.45);
  background: linear-gradient(135deg, rgba(91, 141, 239, 0.22), rgba(124, 92, 252, 0.22));
  backdrop-filter: blur(8px);
  box-shadow: inset 0 0 40px rgba(124, 92, 252, 0.3), 0 0 1px rgba(255,255,255,0.4);
  color: #fff; text-align: center; padding: 18px;
}
.cube__face span { font-size: 1.6rem; font-weight: 700; }
.cube__face--front  { transform: rotateY(0deg)   translateZ(105px); }
.cube__face--back   { transform: rotateY(180deg) translateZ(105px); }
.cube__face--right  { transform: rotateY(90deg)  translateZ(105px); }
.cube__face--left   { transform: rotateY(-90deg) translateZ(105px); }
.cube__face--top    { transform: rotateX(90deg)  translateZ(105px); }
.cube__face--bottom { transform: rotateX(-90deg) translateZ(105px); }
.cube__glow {
  position: absolute; inset: -50px; z-index: -1; border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 92, 252, 0.5), transparent 70%);
  filter: blur(36px);
}

/* --- Hero zweispaltig mit 3D --- */
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 48px; }
.hero-grid .hero__inner { max-width: none; }
.hero__visual { position: relative; min-height: 380px; display: grid; place-items: center; }

/* --- Hero AI-Orbit / Gyroskop --- */
.orbit { position: relative; width: 300px; height: 300px; transform-style: preserve-3d; }
.orbit__core {
  position: absolute; top: 50%; left: 50%; width: 90px; height: 90px; margin: -45px 0 0 -45px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #ffffff 0%, #5CE1E6 40%, #7C5CFC 92%);
  box-shadow: 0 0 55px rgba(92, 225, 230, 0.6), 0 0 120px rgba(124, 92, 252, 0.45);
}
.orbit__core::after { content: ""; position: absolute; inset: -12px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.25); }
.orbit__ring { position: absolute; top: 50%; left: 50%; border-radius: 50%; transform-style: preserve-3d; }
.orbit__ring::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid currentColor; }
.orbit__ring--1 { width: 300px; height: 300px; margin: -150px 0 0 -150px; transform: rotateX(72deg);                 color: rgba(92, 225, 230, 0.6); }
.orbit__ring--2 { width: 240px; height: 240px; margin: -120px 0 0 -120px; transform: rotateX(72deg) rotateY(62deg);  color: rgba(124, 92, 252, 0.6); }
.orbit__ring--3 { width: 268px; height: 268px; margin: -134px 0 0 -134px; transform: rotateX(24deg) rotateY(-52deg); color: rgba(91, 141, 239, 0.55); }
.orbit__spin { position: absolute; inset: 0; transform-style: preserve-3d; animation: orbitSpin 7s linear infinite; }
.orbit__spin--rev  { animation-duration: 9s;  animation-direction: reverse; }
.orbit__spin--slow { animation-duration: 12s; }
.orbit__node { position: absolute; top: -7px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: #5CE1E6; box-shadow: 0 0 16px #5CE1E6; }
.orbit__node--v { background: #7C5CFC; box-shadow: 0 0 16px #7C5CFC; }
.orbit__node--b { background: #5B8DEF; box-shadow: 0 0 16px #5B8DEF; }
@keyframes orbitSpin { to { transform: rotateZ(360deg); } }

/* --- Dekorativer 3D-Akzent in Unterseiten-Heros --- */
.float3d { position: absolute; top: 50%; right: -30px; width: 150px; height: 150px; transform: translateY(-50%); z-index: -1; opacity: 0.85; }
.float3d .cube { width: 150px; height: 150px; }
.float3d .cube__face { border-radius: 18px; }
.float3d .cube__face--front  { transform: rotateY(0deg)   translateZ(75px); }
.float3d .cube__face--back   { transform: rotateY(180deg) translateZ(75px); }
.float3d .cube__face--right  { transform: rotateY(90deg)  translateZ(75px); }
.float3d .cube__face--left   { transform: rotateY(-90deg) translateZ(75px); }
.float3d .cube__face--top    { transform: rotateX(90deg)  translateZ(75px); }
.float3d .cube__face--bottom { transform: rotateX(-90deg) translateZ(75px); }

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero__visual { min-height: 300px; margin-top: 24px; }
  .float3d { display: none; }
}

/* ===========================================================
   Mobile-Feinschliff (Touch, Abstände, Lesbarkeit)
   =========================================================== */
@media (max-width: 600px) {
  /* Engere, aber luftige Ränder */
  .container { padding: 0 18px; }
  .section { padding: 56px 0; }
  .section--tight { padding: 40px 0; }
  .section__head { margin-bottom: 32px; }
  .section__head p { font-size: 1rem; }

  /* Header: vollflächiges, gut tappbares Menü */
  .nav { height: 64px; }
  .nav__links { inset: 64px 0 auto 0; padding: 8px 18px 22px; }
  .nav__links li { padding: 14px 2px; }
  .nav__links a { font-size: 1.05rem; display: block; }

  /* Hero kompakter, Buttons als volle Blöcke */
  .hero { padding: 56px 0 48px; }
  .hero__sub { font-size: 1.06rem; margin-top: 16px; }
  .hero__actions { margin-top: 28px; gap: 10px; }
  .hero__actions .btn { width: 100%; }
  .hero__badges { margin-top: 28px; gap: 12px 20px; }
  .hero__visual { min-height: 260px; }
  .orbit { transform: scale(0.8); }
  .scene .cube { width: 170px; height: 170px; }

  /* Karten & Sektionen */
  .card { padding: 22px; }
  .ai-band { padding: 32px 20px; }
  .stat { padding: 22px 14px; }
  .stat__num { font-size: 2rem; }

  /* CTA-Band */
  .cta { padding: 44px 22px; }
  .cta p { font-size: 0.98rem; }

  /* Touch-Targets: alle Buttons mind. 48px hoch */
  .btn { padding: 14px 24px; min-height: 48px; }
  .btn--sm { padding: 11px 18px; min-height: 42px; }

  /* Footer */
  .site-footer { padding: 44px 0 24px; }
  .footer__bottom { flex-direction: column; gap: 8px; }
}

@media (max-width: 400px) {
  h1 { font-size: 2rem; }
  .container { padding: 0 15px; }
  .orbit { transform: scale(0.68); }
  .hero__visual { min-height: 220px; }
  .eyebrow { font-size: 0.72rem; }
}
