/* ============================================================
   Quantory Solutions GmbH — Design System
   Dark Premium / High-Tech
   ============================================================ */

/* ---------- Self-hosted Fonts (DSGVO-konform, kein Google-CDN) ---------- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/inter-400.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/inter-500.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/inter-600.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/inter-700.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/spacegrotesk-500.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/spacegrotesk-600.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/spacegrotesk-700.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
  --bg-900: #060a18;
  --bg-800: #0a1226;
  --bg-700: #0e1830;
  --bg-card: rgba(255, 255, 255, 0.035);
  --bg-card-hover: rgba(255, 255, 255, 0.06);

  --accent: #1e6bff;
  --accent-bright: #3b8cff;
  --accent-soft: #6ea8ff;
  --accent-glow: rgba(30, 107, 255, 0.45);

  --text: #e8ecf5;
  --text-muted: #9aa6bf;
  --text-dim: #6b7691;

  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);

  --radius: 18px;
  --radius-lg: 26px;
  --radius-pill: 100px;

  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 48px);

  --font-head: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --shadow-glow: 0 0 60px -12px var(--accent-glow);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-body);
  background: var(--bg-900);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}
ul {
  list-style: none;
  padding: 0;
}
:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section {
  position: relative;
  padding-block: clamp(72px, 11vw, 140px);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent));
}
.eyebrow.center::before {
  background: var(--accent);
}
h1,
h2,
h3 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.h-section {
  font-size: clamp(2rem, 4.4vw, 3.3rem);
  max-width: 18ch;
}
.lead {
  color: var(--text-muted);
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  max-width: 60ch;
  margin-top: 18px;
}
.text-grad {
  background: linear-gradient(120deg, #fff 10%, var(--accent-bright) 60%, var(--accent-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    background 0.3s var(--ease), border-color 0.3s var(--ease);
  will-change: transform;
}
.btn svg {
  width: 17px;
  height: 17px;
  transition: transform 0.3s var(--ease);
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  color: #fff;
  box-shadow: 0 10px 30px -10px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -10px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.btn-primary:hover svg {
  transform: translateX(4px);
}
.btn-ghost {
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover {
  border-color: var(--accent);
  background: rgba(30, 107, 255, 0.08);
  transform: translateY(-2px);
}

/* ---------- Scroll-Fortschritt ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  z-index: 200;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
  box-shadow: 0 0 12px var(--accent-glow);
  will-change: transform;
}

/* ---------- Zurück nach oben ---------- */
.to-top {
  position: fixed;
  right: 26px;
  bottom: 92px;
  z-index: 150;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  color: #fff;
  box-shadow: 0 12px 30px -8px var(--accent-glow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.9);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
}
.to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.to-top:hover {
  transform: translateY(-3px) scale(1.05);
}
.to-top svg {
  width: 20px;
  height: 20px;
}

/* ---------- Tilt ---------- */
[data-tilt] {
  transform-style: preserve-3d;
  will-change: transform;
}

/* ---------- Navbar ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease),
    backdrop-filter 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(8, 13, 28, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}
.brand span {
  font-size: 17px;
}
.brand small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--accent-soft);
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 500;
  position: relative;
  transition: color 0.25s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.3s var(--ease);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}
.lang-btn:hover {
  color: var(--text);
  border-color: var(--accent);
  background: rgba(30, 107, 255, 0.07);
}
.lang-btn svg {
  width: 17px;
  height: 17px;
}
.burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.burger span {
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger.open span:nth-child(2) {
  opacity: 0;
}
.burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(120% 90% at 70% 0%, rgba(18, 38, 92, 0.55) 0%, transparent 55%),
    radial-gradient(100% 80% at 15% 100%, rgba(30, 107, 255, 0.16) 0%, transparent 55%),
    var(--bg-900);
}
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(80% 70% at 60% 20%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(80% 70% at 60% 20%, #000 0%, transparent 75%);
  opacity: 0.5;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  z-index: 0;
  pointer-events: none;
}
.hero-orb.a {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(30, 107, 255, 0.4), transparent 70%);
  top: -120px;
  right: -80px;
  animation: float 14s ease-in-out infinite;
}
.hero-orb.b {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(59, 140, 255, 0.28), transparent 70%);
  bottom: -100px;
  left: -60px;
  animation: float 18s ease-in-out infinite reverse;
}
#hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.6;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px 7px 9px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.hero-badge b {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: rgba(30, 107, 255, 0.15);
  color: var(--accent-soft);
  font-weight: 600;
  font-size: 12px;
}
.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 0 0 var(--accent-glow);
  animation: pulse 2s infinite;
}
.hero h1 {
  font-size: clamp(2.6rem, 6.2vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.hero h1 .claim {
  display: block;
}
.hero p.sub {
  margin-top: 24px;
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  color: var(--text-muted);
  max-width: 52ch;
}
/* Rotierendes Entwickler-Keyword */
.rotator {
  margin-top: 26px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(8px);
  font-size: 15px;
}
.rotator .rot-label {
  color: var(--text-dim);
}
.rotator .rot-prompt {
  color: var(--accent-soft);
  font-family: var(--font-head);
  font-weight: 600;
}
.rotator .rot-word {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--text);
  min-width: 7.5em;
  display: inline-block;
  position: relative;
}
.rotator .rot-word > span {
  display: inline-block;
  transition: opacity 0.32s var(--ease), transform 0.32s var(--ease);
}
.rotator .rot-word.swap > span {
  opacity: 0;
  transform: translateY(-8px);
}
.rotator .caret {
  display: inline-block;
  width: 2px;
  height: 1.05em;
  background: var(--accent-bright);
  margin-left: 1px;
  vertical-align: -2px;
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink {
  50% { opacity: 0; }
}

.hero-cta {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero-meta {
  margin-top: 42px;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  color: var(--text-dim);
  font-size: 14px;
}
.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-meta svg {
  width: 16px;
  height: 16px;
  color: var(--accent-soft);
}

/* Hero visual — logo medallion */
.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
}
.medallion {
  position: relative;
  width: min(380px, 80%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.medallion .ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
}
.medallion .ring.r2 {
  inset: 34px;
  border-color: var(--line);
  animation: spin 28s linear infinite;
  border-top-color: var(--accent);
}
.medallion .ring.r3 {
  inset: 64px;
  border-color: var(--line);
  animation: spin 20s linear infinite reverse;
  border-bottom-color: var(--accent-bright);
}
.medallion .logo-card {
  position: relative;
  z-index: 2;
  width: 62%;
  border-radius: 28px;
  padding: 22px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-glow), 0 30px 60px -20px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  animation: float 8s ease-in-out infinite;
}
.medallion .logo-card img {
  border-radius: 14px;
}
.medallion .dot {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 16px var(--accent-bright);
  z-index: 3;
}
.medallion .dot.d1 {
  top: 6%;
  left: 50%;
}
.medallion .dot.d2 {
  bottom: 12%;
  right: 8%;
  background: var(--accent-soft);
}

/* ---------- Marquee / logos strip ---------- */
.strip {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.012);
  padding-block: 26px;
}
.strip-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  color: var(--text-dim);
  font-size: 14px;
  letter-spacing: 0.02em;
}
.strip-inner b {
  color: var(--text-muted);
  font-weight: 600;
}
.strip-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.tag {
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.02);
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat {
  background: var(--bg-800);
  padding: 36px 28px;
  text-align: center;
}
.stat .num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, #fff, var(--accent-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat .num small {
  font-size: 0.55em;
  color: var(--accent-soft);
  -webkit-text-fill-color: var(--accent-soft);
}
.stat .label {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 14px;
  letter-spacing: 0.02em;
}

/* ---------- Section head ---------- */
.sec-head {
  margin-bottom: 56px;
}
.sec-head.center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.sec-head.center .lead {
  margin-inline: auto;
}

/* ---------- Service cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.cards-3 {
  grid-template-columns: repeat(3, 1fr);
}

/* Featured (Entwicklung = Schwerpunkt) */
.featured-card {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(30, 107, 255, 0.35);
  background: linear-gradient(135deg, rgba(30, 107, 255, 0.14), rgba(255, 255, 255, 0.015));
  overflow: hidden;
  margin-bottom: 22px;
  box-shadow: 0 30px 70px -30px var(--accent-glow);
}
.featured-card::before {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  top: -220px;
  right: -120px;
  filter: blur(40px);
  pointer-events: none;
}
.featured-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 0;
  align-items: stretch;
}
.featured-main {
  padding: clamp(32px, 4.5vw, 56px);
}
.featured-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(30, 107, 255, 0.18);
  border: 1px solid rgba(30, 107, 255, 0.3);
  color: var(--accent-soft);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.featured-main h3 {
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  margin-bottom: 14px;
}
.featured-main > p {
  color: var(--text-muted);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  max-width: 52ch;
}
.featured-feats {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 28px;
}
.featured-feats li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 15px;
  color: var(--text-muted);
}
.featured-feats li svg {
  width: 17px;
  height: 17px;
  margin-top: 3px;
  color: var(--accent-bright);
  flex-shrink: 0;
}
.featured-feats li b {
  color: var(--text);
  font-weight: 600;
}
.featured-side {
  border-left: 1px solid var(--line);
  background: radial-gradient(120% 100% at 100% 0%, rgba(30, 107, 255, 0.16), transparent 60%);
  padding: clamp(28px, 3.5vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.featured-side .fs-label {
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 4px;
}
.stack-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.stack-tags span {
  padding: 8px 14px;
  border-radius: 11px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
}
.stack-tags span:hover {
  border-color: var(--accent);
  background: rgba(30, 107, 255, 0.08);
  transform: translateY(-2px);
}
.card {
  position: relative;
  padding: 34px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease),
    background 0.4s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%),
      rgba(30, 107, 255, 0.13), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  background: var(--bg-card-hover);
}
.card:hover::before {
  opacity: 1;
}
.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, rgba(30, 107, 255, 0.2), rgba(30, 107, 255, 0.05));
  border: 1px solid rgba(30, 107, 255, 0.25);
  margin-bottom: 22px;
  color: var(--accent-soft);
}
.card-icon svg {
  width: 26px;
  height: 26px;
}
.card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}
.card p {
  color: var(--text-muted);
  font-size: 15.5px;
}
.card ul.feats {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card ul.feats li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text-muted);
}
.card ul.feats li svg {
  width: 16px;
  height: 16px;
  margin-top: 4px;
  color: var(--accent-bright);
  flex-shrink: 0;
}
.card .idx {
  position: absolute;
  top: 28px;
  right: 30px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  color: var(--text-dim);
}

/* ---------- Process ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 30px 26px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--line);
  transition: border-color 0.35s, transform 0.35s, background 0.35s;
}
.step:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
  background: var(--bg-card-hover);
}
.step .step-no {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  color: var(--accent-soft);
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(30, 107, 255, 0.3);
  background: rgba(30, 107, 255, 0.08);
  margin-bottom: 20px;
}
.step h3 {
  font-size: 1.18rem;
  margin-bottom: 10px;
}
.step p {
  color: var(--text-muted);
  font-size: 14.5px;
}
.step::after {
  content: "";
  position: absolute;
  top: 50px;
  right: -13px;
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.step:last-child::after {
  display: none;
}

/* ---------- AI feature (split) ---------- */
.ai {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(30, 107, 255, 0.1), rgba(255, 255, 255, 0.015));
  overflow: hidden;
}
.ai-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  align-items: stretch;
}
.ai-text {
  padding: clamp(36px, 5vw, 64px);
}
.ai-text h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
}
.ai-list {
  margin-top: 28px;
  display: grid;
  gap: 16px;
}
.ai-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.ai-list .ai-ic {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(30, 107, 255, 0.14);
  border: 1px solid rgba(30, 107, 255, 0.28);
  color: var(--accent-soft);
}
.ai-list .ai-ic svg {
  width: 19px;
  height: 19px;
}
.ai-list strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 2px;
}
.ai-list span {
  color: var(--text-muted);
  font-size: 14.5px;
}
.ai-visual {
  position: relative;
  min-height: 340px;
  border-left: 1px solid var(--line);
  background: radial-gradient(120% 100% at 100% 0%, rgba(30, 107, 255, 0.18), transparent 60%);
  display: grid;
  place-items: center;
  padding: 40px;
}
.ai-node {
  position: relative;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1;
}
.ai-core {
  position: absolute;
  inset: 38%;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  box-shadow: 0 0 40px var(--accent-glow);
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  color: #fff;
  animation: pulse-soft 3s ease-in-out infinite;
}
.ai-node .nring {
  position: absolute;
  inset: 0;
  border: 1px dashed var(--line-strong);
  border-radius: 50%;
  animation: spin 26s linear infinite;
}
.ai-node .nring.n2 {
  inset: 16%;
  animation-duration: 18s;
  animation-direction: reverse;
  border-style: solid;
  border-color: var(--line);
  border-top-color: var(--accent);
}
.ai-node .ndot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-soft);
  box-shadow: 0 0 12px var(--accent-soft);
}
.ai-node .ndot:nth-child(3) { top: -5px; left: 50%; }
.ai-node .ndot:nth-child(4) { top: 50%; right: -5px; }
.ai-node .ndot:nth-child(5) { bottom: 8%; left: 12%; }

/* ---------- Branding showcase ---------- */
.brand-showcase {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}
.brand-figure {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7);
}
.brand-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, transparent 60%, rgba(6, 10, 24, 0.5));
  pointer-events: none;
}
.brand-figure img {
  width: 100%;
}
.brand-points {
  margin-top: 28px;
  display: grid;
  gap: 18px;
}
.brand-points li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.brand-points .bp-ic {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(30, 107, 255, 0.13);
  color: var(--accent-soft);
}
.brand-points .bp-ic svg { width: 17px; height: 17px; }
.brand-points strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  margin-bottom: 2px;
}
.brand-points span { color: var(--text-muted); font-size: 14.5px; }

/* ---------- Why / values ---------- */
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.value {
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-card);
  transition: border-color 0.35s, transform 0.35s;
}
.value:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.value .v-ic {
  width: 48px; height: 48px;
  border-radius: 13px;
  display: grid; place-items: center;
  background: linear-gradient(160deg, rgba(30,107,255,0.18), rgba(30,107,255,0.04));
  border: 1px solid rgba(30,107,255,0.22);
  color: var(--accent-soft);
  margin-bottom: 20px;
}
.value .v-ic svg { width: 23px; height: 23px; }
.value h3 { font-size: 1.2rem; margin-bottom: 10px; }
.value p { color: var(--text-muted); font-size: 15px; }

/* ---------- Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: stretch;
}
.contact-info { display: flex; flex-direction: column; }
.contact-info .h-section { max-width: 14ch; }
.contact-cards { margin-top: auto; display: grid; gap: 14px; padding-top: 36px; }
.cinfo {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-card);
  transition: border-color 0.3s, background 0.3s;
}
.cinfo:hover { border-color: var(--accent); background: rgba(30,107,255,0.06); }
.cinfo .ci-ic {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 12px; display: grid; place-items: center;
  background: rgba(30,107,255,0.13); color: var(--accent-soft);
}
.cinfo .ci-ic svg { width: 20px; height: 20px; }
.cinfo small { color: var(--text-dim); font-size: 12.5px; letter-spacing: 0.04em; text-transform: uppercase; }
.cinfo div b { display: block; font-weight: 600; font-size: 15.5px; }

.form {
  padding: clamp(28px, 4vw, 40px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--bg-card);
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-strong);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--text-dim); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(30, 107, 255, 0.05);
  box-shadow: 0 0 0 4px rgba(30, 107, 255, 0.12);
}
.field textarea { resize: vertical; min-height: 120px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .btn-primary { width: 100%; justify-content: center; margin-top: 6px; }
.form-note { margin-top: 14px; font-size: 12.5px; color: var(--text-dim); text-align: center; }
.form-note a { color: var(--accent-soft); }
.consent-row { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 18px; }
.consent-row input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--accent); flex-shrink: 0; }
.consent-row label { font-size: 13px; color: var(--text-muted); }
.consent-row a { color: var(--accent-soft); }

/* ---------- FAQ Akkordeon ---------- */
.faq-list {
  display: grid;
  gap: 14px;
  max-width: 820px;
  margin-inline: auto;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.faq-item.open {
  border-color: rgba(30, 107, 255, 0.35);
  background: var(--bg-card-hover);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 26px;
  text-align: left;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  color: var(--text);
}
.faq-q .faq-ic {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  position: relative;
  transition: transform 0.35s var(--ease), border-color 0.35s, background 0.35s;
}
.faq-q .faq-ic::before,
.faq-q .faq-ic::after {
  content: "";
  position: absolute;
  background: var(--accent-soft);
  border-radius: 2px;
}
.faq-q .faq-ic::before { width: 12px; height: 2px; }
.faq-q .faq-ic::after { width: 2px; height: 12px; transition: transform 0.35s var(--ease); }
.faq-item.open .faq-ic {
  background: rgba(30, 107, 255, 0.12);
  border-color: var(--accent);
  transform: rotate(180deg);
}
.faq-item.open .faq-ic::after { transform: scaleY(0); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.faq-a-inner {
  padding: 0 26px 24px;
  color: var(--text-muted);
  font-size: 15.5px;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 72px);
  text-align: center;
  border: 1px solid var(--line-strong);
  background: linear-gradient(135deg, rgba(30, 107, 255, 0.16), rgba(255, 255, 255, 0.02));
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  top: -250px; left: 50%; transform: translateX(-50%);
  filter: blur(40px);
  pointer-events: none;
}
.cta-banner h2 { font-size: clamp(1.9rem, 4vw, 3rem); position: relative; }
.cta-banner p { color: var(--text-muted); margin: 18px auto 32px; max-width: 52ch; position: relative; }
.cta-banner .hero-cta { justify-content: center; position: relative; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding-block: 64px 32px;
  background: var(--bg-800);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer .brand { margin-bottom: 18px; }
.footer-about p { color: var(--text-muted); font-size: 14.5px; max-width: 34ch; }
.footer-col h4 {
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  color: var(--text-muted);
  font-size: 14.5px;
  padding: 6px 0;
  transition: color 0.25s, transform 0.25s;
}
.footer-col a:hover { color: var(--accent-soft); transform: translateX(3px); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: var(--text-dim);
  font-size: 13.5px;
}
.footer-bottom .fb-links { display: flex; gap: 22px; }
.footer-bottom a:hover { color: var(--accent-soft); }

/* ---------- Cookie / consent banner ---------- */
.consent {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%) translateY(140%);
  z-index: 200;
  width: min(640px, calc(100% - 32px));
  padding: 22px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: rgba(10, 16, 32, 0.92);
  backdrop-filter: blur(20px);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.7);
  transition: transform 0.5s var(--ease);
}
.consent.show { transform: translateX(-50%) translateY(0); }
.consent h4 { font-family: var(--font-head); font-size: 15px; margin-bottom: 6px; }
.consent p { color: var(--text-muted); font-size: 13.5px; margin-bottom: 16px; }
.consent p a { color: var(--accent-soft); }
.consent-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.consent-actions .btn { padding: 10px 20px; font-size: 14px; }

/* ---------- Language picker popover ---------- */
.lang-pop {
  position: fixed;
  top: 80px;
  right: var(--gutter);
  z-index: 150;
  width: min(360px, calc(100% - 32px));
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: rgba(10, 16, 32, 0.97);
  backdrop-filter: blur(20px);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.lang-pop.show { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-pop h4 { font-family: var(--font-head); font-size: 14px; margin-bottom: 4px; }
.lang-pop p { font-size: 12.5px; color: var(--text-muted); margin-bottom: 14px; }
.lang-pop p a { color: var(--accent-soft); }
.lang-note { font-size: 11.5px; color: var(--text-dim); margin-top: 12px; }

/* Suchfeld */
.lang-search {
  position: relative;
  margin-bottom: 12px;
}
.lang-search svg {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--text-dim);
  pointer-events: none;
}
.lang-search input {
  width: 100%;
  padding: 12px 14px 12px 38px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-strong);
  color: var(--text);
  font: inherit;
  font-size: 14.5px;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.lang-search input::placeholder { color: var(--text-dim); }
.lang-search input:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(30, 107, 255, 0.06);
  box-shadow: 0 0 0 4px rgba(30, 107, 255, 0.12);
}

/* Ergebnisliste */
.lang-results {
  max-height: 264px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}
.lang-results::-webkit-scrollbar { width: 8px; }
.lang-results::-webkit-scrollbar-thumb {
  background: var(--line-strong);
  border-radius: 8px;
}
.lang-opt {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 11px;
  text-align: left;
  font-size: 14.5px;
  color: var(--text);
  transition: background 0.2s, transform 0.2s;
}
.lang-opt:hover { background: rgba(30, 107, 255, 0.1); }
.lang-opt.active {
  background: rgba(30, 107, 255, 0.16);
  border: 1px solid rgba(30, 107, 255, 0.35);
}
.lang-opt .flag { font-size: 18px; line-height: 1; width: 22px; text-align: center; flex-shrink: 0; }
.lang-opt .l-name { flex: 1; }
.lang-opt .l-native { color: var(--text-dim); font-size: 12.5px; }
.lang-opt .l-check {
  width: 16px; height: 16px; color: var(--accent-bright);
  opacity: 0; flex-shrink: 0;
}
.lang-opt.active .l-check { opacity: 1; }
.lang-empty { padding: 18px 12px; text-align: center; color: var(--text-dim); font-size: 13.5px; }

/* Google-Translate-Element verstecken (eigene UI) + Banner unterdrücken */
.gt-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
/* Oberen Google-Banner & Tooltips komplett ausblenden */
.skiptranslate,
iframe.skiptranslate,
.goog-te-banner-frame,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf,
.VIpgJd-ZVi9od-ORHb-OEVmcd,
#goog-gt-tt,
.goog-te-balloon-frame,
.goog-tooltip,
.goog-tooltip:hover { display: none !important; }
/* Google verschiebt den Body nach unten – zurücksetzen */
body { top: 0 !important; position: static !important; }
html.translated-ltr body,
html.translated-rtl body { top: 0 !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
font[style] { background: none !important; box-shadow: none !important; }

/* ============================================================
   KI-Chat-Widget
   ============================================================ */
.chat-launch {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 180;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px 13px 16px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  box-shadow: 0 16px 40px -12px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), opacity 0.3s, visibility 0.3s;
}
.chat-launch:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 50px -12px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.chat-launch .cl-ic {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  position: relative;
}
.chat-launch .cl-ic svg { width: 22px; height: 22px; }
.chat-launch .cl-dot {
  position: absolute;
  top: -1px;
  right: -1px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 2px var(--accent);
  animation: pulse-soft 2.4s ease-in-out infinite;
}
.chat-launch.hidden { opacity: 0; visibility: hidden; transform: scale(0.8); }

/* Panel */
.chat-panel {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 190;
  width: min(400px, calc(100vw - 32px));
  height: min(620px, calc(100vh - 48px));
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: rgba(10, 16, 32, 0.96);
  backdrop-filter: blur(22px) saturate(140%);
  box-shadow: 0 40px 90px -25px rgba(0, 0, 0, 0.8);
  opacity: 0;
  visibility: hidden;
  transform: translateY(24px) scale(0.97);
  transform-origin: bottom right;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
}
.chat-panel.open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }

.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(30, 107, 255, 0.16), transparent);
}
.chat-header .ch-logo {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  flex-shrink: 0;
}
.chat-header .ch-meta { flex: 1; min-width: 0; }
.chat-header .ch-meta b {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
}
.chat-header .ch-meta small {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
}
.chat-header .ch-meta small::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
}
.chat-close {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--text-muted);
  border: 1px solid var(--line);
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.chat-close:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.chat-close svg { width: 16px; height: 16px; }

.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}
.chat-body::-webkit-scrollbar { width: 8px; }
.chat-body::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 8px; }

.msg {
  max-width: 82%;
  padding: 11px 15px;
  border-radius: 16px;
  font-size: 14.5px;
  line-height: 1.55;
  white-space: pre-wrap;
  word-wrap: break-word;
  animation: msg-in 0.35s var(--ease) both;
}
.msg.bot {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-bottom-left-radius: 5px;
  color: var(--text);
}
.msg.user {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  color: #fff;
  border-bottom-right-radius: 5px;
}
.msg.note {
  align-self: center;
  max-width: 100%;
  text-align: center;
  font-size: 12.5px;
  color: var(--accent-soft);
  background: rgba(30, 107, 255, 0.1);
  border: 1px solid rgba(30, 107, 255, 0.25);
  padding: 8px 14px;
}
@keyframes msg-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.chat-typing {
  align-self: flex-start;
  display: flex;
  gap: 5px;
  padding: 13px 16px;
  border-radius: 16px;
  border-bottom-left-radius: 5px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
}
.chat-typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-soft);
  animation: typing 1.3s infinite ease-in-out;
}
.chat-typing span:nth-child(2) { animation-delay: 0.18s; }
.chat-typing span:nth-child(3) { animation-delay: 0.36s; }
@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-5px); opacity: 1; }
}

.chat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 18px 12px;
}
.chat-chips button {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  transition: border-color 0.2s, color 0.2s, background 0.2s, transform 0.2s;
}
.chat-chips button:hover {
  border-color: var(--accent);
  color: var(--text);
  background: rgba(30, 107, 255, 0.08);
  transform: translateY(-2px);
}

.chat-input {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}
.chat-input textarea {
  flex: 1;
  resize: none;
  max-height: 120px;
  min-height: 24px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-strong);
  color: var(--text);
  font: inherit;
  font-size: 14.5px;
  line-height: 1.4;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.chat-input textarea::placeholder { color: var(--text-dim); }
.chat-input textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(30, 107, 255, 0.12);
}
.chat-send {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  color: #fff;
  box-shadow: 0 8px 20px -8px var(--accent-glow);
  transition: transform 0.2s, opacity 0.2s;
}
.chat-send:hover { transform: translateY(-2px); }
.chat-send:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }
.chat-send svg { width: 19px; height: 19px; }
.chat-foot {
  text-align: center;
  font-size: 11px;
  color: var(--text-dim);
  padding: 0 16px 12px;
}
.chat-foot a { color: var(--accent-soft); }

@media (max-width: 640px) {
  .chat-panel { right: 8px; bottom: 8px; width: calc(100vw - 16px); height: calc(100vh - 80px); }
  .chat-launch { right: 16px; bottom: 16px; }
  .chat-launch .cl-text { display: none; }
  .chat-launch { padding: 14px; }
}

/* ============================================================
   Scroll-gesteuerte Bildsequenz
   ============================================================ */
.seq {
  position: relative;
  background: var(--bg-900);
  /* Scroll-Länge = Höhe minus 100vh. Höhe in HTML via data/Style steuerbar. */
}
.seq-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.seq-canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.seq-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 40px;
  text-align: center;
  pointer-events: none;
  z-index: 2;
}
.seq-hint {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  background: rgba(10, 16, 32, 0.5);
  backdrop-filter: blur(8px);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
}
.seq-hint svg { width: 16px; height: 16px; color: var(--accent-soft); animation: seq-bob 1.6s ease-in-out infinite; }
@keyframes seq-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

/* Ladeanzeige */
.seq-loader {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  background: var(--bg-900);
  transition: opacity 0.5s var(--ease), visibility 0.5s;
}
.seq-loader.done { opacity: 0; visibility: hidden; }
.seq-loader-inner { text-align: center; }
.seq-loader .ring {
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  border-radius: 50%;
  border: 3px solid var(--line-strong);
  border-top-color: var(--accent);
  animation: spin 0.9s linear infinite;
}
.seq-loader b {
  font-family: var(--font-head);
  font-size: 15px;
  color: var(--text-muted);
}
.seq-loader b span { color: var(--accent-soft); }

/* End-Screen + Auto-Weiterleitung */
.seq-end-logo {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  margin: 0 auto 22px;
  box-shadow: var(--shadow-glow);
}
.seq-redirect {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-top: 28px;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(30, 107, 255, 0.3);
  background: rgba(30, 107, 255, 0.08);
  color: var(--accent-soft);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
}
.seq-redirect .ring {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(110, 168, 255, 0.3);
  border-top-color: var(--accent-soft);
  animation: spin 0.8s linear infinite;
}
.page-fade {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--bg-900);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
body.leaving .page-fade {
  opacity: 1;
  visibility: visible;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }

/* ---------- Legal pages ---------- */
.legal {
  padding-top: 140px;
  padding-bottom: 90px;
}
.legal .wrap { max-width: 880px; }
.legal h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 12px;
}
.legal .legal-sub { color: var(--text-muted); margin-bottom: 48px; }
.legal h2 {
  font-size: 1.35rem;
  margin: 44px 0 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.legal h3 { font-size: 1.08rem; margin: 26px 0 10px; }
.legal p,
.legal li { color: var(--text-muted); font-size: 15.5px; margin-bottom: 12px; }
.legal ul { padding-left: 0; margin-bottom: 16px; }
.legal ul li {
  position: relative;
  padding-left: 22px;
}
.legal ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.legal a { color: var(--accent-soft); }
.legal a:hover { text-decoration: underline; }
.legal strong { color: var(--text); }
.ph {
  color: var(--accent-soft);
  background: rgba(30, 107, 255, 0.12);
  border: 1px dashed rgba(30, 107, 255, 0.4);
  border-radius: 6px;
  padding: 1px 7px;
  font-size: 0.92em;
  font-weight: 500;
}
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  color: var(--text-muted);
  font-size: 14px;
}
.legal-back:hover { color: var(--accent-soft); }
.legal-back svg { width: 16px; height: 16px; }
.legal-card {
  padding: 24px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-card);
  margin-bottom: 16px;
}

/* ---------- Animations ---------- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 var(--accent-glow); }
  70% { box-shadow: 0 0 0 9px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
@keyframes pulse-soft {
  0%, 100% { box-shadow: 0 0 40px var(--accent-glow); }
  50% { box-shadow: 0 0 60px var(--accent-glow), 0 0 0 8px rgba(30,107,255,0.08); }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .medallion { width: min(280px, 70%); }
  .cards { grid-template-columns: 1fr; }
  .cards-3 { grid-template-columns: 1fr; }
  .featured-grid { grid-template-columns: 1fr; }
  .featured-side { border-left: none; border-top: 1px solid var(--line); }
  .featured-feats { grid-template-columns: 1fr; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .ai-grid { grid-template-columns: 1fr; }
  .ai-visual { border-left: none; border-top: 1px solid var(--line); min-height: 280px; }
  .brand-showcase { grid-template-columns: 1fr; gap: 36px; }
  .values { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; gap: 36px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .burger { display: flex; }
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 74px 0 auto 0;
    background: rgba(8, 13, 28, 0.97);
    backdrop-filter: blur(20px);
    padding: 24px var(--gutter) 32px;
    gap: 4px;
    border-bottom: 1px solid var(--line);
  }
  .nav-links.mobile-open a { padding: 12px 0; font-size: 17px; width: 100%; border-bottom: 1px solid var(--line); }
  .nav .btn-primary { display: none; }
  .lang-btn span { display: none; }
  .form .row { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

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