/* ============================================================
   talkm8 Marketing-Website – Styles
   Portiert aus den JS-Style-Objekten (renderVals) des dc-Prototyps.
   camelCase -> kebab-case, Zahlen -> px, isDark-Ternaries -> CSS-Custom-Properties.
   Accent fest auf Orange (#FF6B35, Default-Akzent des Designs).
   ============================================================ */

/* ---------- Design-Tokens: Dark ist Default (wie appearance=dark) ---------- */
:root {
  --accent: #FF6B35;
  --grad: linear-gradient(140deg, #FFB65C 0%, #FF7A3D 48%, #F5453B 100%);
  --glow: rgba(255, 107, 53, 0.55);
  --soft: rgba(255, 107, 53, 0.16);
  --violet: #7D6BFF;
  --teal: #4ECDC4;
  --glass-blur: blur(22px) saturate(180%);
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display', system-ui, sans-serif;

  /* Dark-Werte */
  --bg: radial-gradient(120% 60% at 50% -8%, #3A2440 0%, #1E1428 45%, #0D0913 100%) #0D0913;
  --label: #FDFBFF;
  --secondary: rgba(240, 234, 250, 0.62);
  --tertiary: rgba(240, 234, 250, 0.34);
  --surface: rgba(44, 32, 58, 0.55);
  --separator: rgba(255, 255, 255, 0.10);
  --glass-bg: rgba(20, 13, 30, 0.6);
  --card-shadow: 0 8px 26px rgba(0, 0, 0, 0.4);
  --orb-a-op: 0.18;
  --orb-b-op: 0.15;
  --orb-c-op: 0.10;
  --control-bg: rgba(255, 255, 255, 0.07);
  --demo-hint: #FFB65C;
  --phone-frame: #1a1322;
  --phone-glow-op: 0.25;
  --joined-color: #7fe0a0;
  --feat-hover-border: rgba(255, 255, 255, 0.22);
  --icon-bg: rgba(255, 255, 255, 0.06);
  --stripe: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.04) 0 10px, transparent 10px 20px), rgba(255, 255, 255, 0.03);
  --line: rgba(255, 255, 255, 0.12);
  --lane-mult: 1.6;
  --footer-bg: rgba(10, 7, 16, 0.5);
  --warp-op: 0.4;
}

/* ---------- Light-Overrides (Toggle setzt data-theme=light) ---------- */
:root[data-theme="light"] {
  --bg: radial-gradient(120% 60% at 50% -8%, #FFF1E8 0%, #F6EFF4 46%, #ECE6F1 100%) #ECE6F1;
  --label: #1A1024;
  --secondary: rgba(40, 25, 55, 0.64);
  --tertiary: rgba(40, 25, 55, 0.38);
  --surface: rgba(255, 255, 255, 0.85);
  --separator: rgba(40, 20, 60, 0.10);
  --glass-bg: rgba(255, 250, 246, 0.7);
  --card-shadow: 0 8px 26px rgba(80, 40, 110, 0.1);
  --orb-a-op: 0.12;
  --orb-b-op: 0.10;
  --orb-c-op: 0.08;
  --control-bg: rgba(40, 20, 60, 0.06);
  --demo-hint: #C2410C;
  --phone-frame: #241a31;
  --phone-glow-op: 0.18;
  --joined-color: #1d7a3d;
  --feat-hover-border: rgba(40, 20, 60, 0.22);
  --icon-bg: rgba(40, 20, 60, 0.05);
  --stripe: repeating-linear-gradient(45deg, rgba(40, 20, 60, 0.05) 0 10px, transparent 10px 20px), rgba(40, 20, 60, 0.03);
  --line: rgba(40, 20, 60, 0.12);
  --lane-mult: 1.2;
  --footer-bg: rgba(255, 255, 255, 0.4);
  --warp-op: 0.34;
}

/* ---------- Globale Regeln (aus dem helmet) ---------- */
html { scroll-behavior: smooth; }
* { box-sizing: border-box; }
body { margin: 0; background: #0D0913; }
a { color: inherit; text-decoration: none; }
a:hover { color: #FF7A3D; }
input::placeholder { color: rgba(150, 140, 165, 0.7); }
::selection { background: rgba(255, 107, 53, 0.35); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Keyframes (aus dem helmet portiert) ---------- */
@keyframes tm8-orb-1 { 0%,100% { transform: translate(-30px,-20px) scale(1); } 50% { transform: translate(40px,30px) scale(1.15); } }
@keyframes tm8-orb-2 { 0%,100% { transform: translate(30px,35px) scale(1.08); } 50% { transform: translate(-40px,-20px) scale(1); } }
@keyframes tm8-orb-3 { 0%,100% { transform: translate(15px,-30px) scale(1); } 50% { transform: translate(-25px,35px) scale(1.12); } }
@keyframes tm8-eq { 0%,100% { transform: scaleY(0.4); } 50% { transform: scaleY(1); } }
@keyframes tm8-float-word { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-22px) rotate(1.2deg); } }
@keyframes tm8-pop { 0% { opacity: 0; transform: translateY(14px) scale(0.96); } 100% { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes tm8-shimmer { 0% { transform: translateX(-120%); } 60%,100% { transform: translateX(260%); } }
@keyframes tm8-blink { 0%,100% { opacity: 1; } 50% { opacity: 0.45; } }
@keyframes tm8-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes tm8-glow { 0%,100% { opacity: 0.5; transform: scale(1); } 50% { opacity: 0.9; transform: scale(1.1); } }
@keyframes tm8-warp { 0% { transform: translate(-50%,-50%) translate(var(--x0), var(--y0)) scale(0.3); opacity: 0; } 18% { opacity: var(--po, 0.4); } 70% { opacity: 0.3; } 100% { transform: translate(-50%,-50%) translate(var(--x1), var(--y1)) scale(2.4); opacity: 0; } }
@keyframes tm8-warp-b { 0% { transform: translate(-50%,-50%) translate(var(--x0), var(--y0)) scale(0.3); opacity: 0; } 18% { opacity: var(--po, 0.4); } 70% { opacity: 0.3; } 100% { transform: translate(-50%,-50%) translate(var(--x1), var(--y1)) scale(2.4); opacity: 0; } }
@keyframes tm8-halo { 0% { transform: translate(-50%,-50%) scale(0.7); opacity: 0; } 25% { opacity: 0.45; } 100% { transform: translate(-50%,-50%) scale(1.45); opacity: 0; } }
@keyframes tm8-lane { from { transform: translateX(-30vw); } to { transform: translateX(130vw); } }

/* ---------- Seite / Hintergrund ---------- */
.tm8-page {
  position: relative; min-height: 100vh; background: var(--bg);
  color: var(--label); font-family: var(--font); overflow-x: hidden;
}
.tm8-bg-glow {
  position: absolute; top: 0; left: 0; right: 0; height: 900px;
  background: radial-gradient(70% 55% at 50% 0%, var(--soft) 0%, transparent 60%);
  pointer-events: none;
}
.tm8-orb { position: absolute; border-radius: 50%; pointer-events: none; }
.tm8-orb-a { top: -140px; left: -8%; width: 480px; height: 480px; background: var(--accent); opacity: var(--orb-a-op); filter: blur(110px); animation: tm8-orb-1 13s ease-in-out infinite; }
.tm8-orb-b { top: 220px; right: -10%; width: 540px; height: 540px; background: var(--violet); opacity: var(--orb-b-op); filter: blur(120px); animation: tm8-orb-2 16s ease-in-out infinite; }
.tm8-orb-c { top: 760px; left: 18%; width: 420px; height: 420px; background: var(--teal); opacity: var(--orb-c-op); filter: blur(110px); animation: tm8-orb-3 18s ease-in-out infinite; }

/* ---------- Navigation ---------- */
.tm8-nav-wrap {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  background: var(--glass-bg); border-bottom: 1px solid var(--separator);
}
.tm8-nav-inner { max-width: 1180px; margin: 0 auto; padding: 14px 28px; display: flex; align-items: center; gap: 28px; }
.tm8-logo-row { display: flex; align-items: center; gap: 11px; cursor: pointer; }
.tm8-logo-mark {
  width: 38px; height: 38px; border-radius: 12px; background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.28) inset, 0 8px 20px var(--glow);
}
.tm8-eq-bars { display: flex; align-items: center; gap: 3px; height: 16px; }
.tm8-eq-bars > i {
  width: 3.5px; height: 16px; border-radius: 3px; background: #fff; display: block;
  transform-origin: center; box-shadow: 0 0 6px rgba(255, 255, 255, 0.5);
  animation: tm8-eq 0.9s ease-in-out infinite;
}
.tm8-eq-bars > i:nth-child(1) { animation-delay: 0s; }
.tm8-eq-bars > i:nth-child(2) { animation-delay: 0.18s; }
.tm8-eq-bars > i:nth-child(3) { animation-delay: 0.36s; }
.tm8-wordmark { font-size: 21px; font-weight: 800; letter-spacing: -0.5px; color: var(--label); }
.tm8-nav-links { display: flex; align-items: center; gap: 26px; flex: 1; justify-content: center; }
.tm8-nav-link { font-size: 14.5px; font-weight: 500; color: var(--secondary); transition: color 0.15s ease; }
.tm8-nav-link:hover { color: var(--label); }
.tm8-nav-right { display: flex; align-items: center; gap: 12px; }
.tm8-mode-btn {
  width: 36px; height: 36px; border-radius: 11px; border: 1px solid var(--separator);
  background: var(--control-bg); color: var(--secondary); cursor: pointer; font-size: 15px;
  display: flex; align-items: center; justify-content: center; transition: all 0.15s ease;
}
.tm8-mode-btn:hover { color: var(--label); border-color: var(--tertiary); }
.tm8-nav-cta {
  padding: 9px 18px; border-radius: 11px; background: var(--grad); color: #fff;
  font-size: 14px; font-weight: 650; white-space: nowrap;
  box-shadow: 0 8px 20px var(--glow), 0 1px 0 rgba(255, 255, 255, 0.3) inset;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.tm8-nav-cta:hover { transform: translateY(-1px); filter: brightness(1.06); color: #fff; }

/* ---------- Sprachumschalter (ersetzt die 3 Pills, gleicher Glas-Look) ---------- */
.tm8-lang { position: relative; }
.tm8-lang-btn {
  display: flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 11px;
  background: var(--control-bg); border: 1px solid var(--separator); color: var(--secondary);
  cursor: pointer; font-family: var(--font); font-size: 12.5px; font-weight: 700; letter-spacing: 0.4px;
  transition: all 0.15s ease;
}
.tm8-lang-btn:hover { color: var(--label); border-color: var(--tertiary); }
.tm8-lang-btn .tm8-lang-flag { font-size: 15px; line-height: 1; }
.tm8-lang-btn .tm8-lang-caret { font-size: 9px; opacity: 0.7; transition: transform 0.15s ease; }
.tm8-lang[data-open="true"] .tm8-lang-caret { transform: rotate(180deg); }
.tm8-lang-panel {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 60;
  width: 264px; max-height: 60vh; overflow-y: auto; padding: 6px;
  display: none; grid-template-columns: 1fr 1fr; gap: 3px;
  background: var(--glass-bg); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--separator); border-radius: 14px; box-shadow: var(--card-shadow);
}
.tm8-lang[data-open="true"] .tm8-lang-panel { display: grid; }
.tm8-lang-item {
  display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 9px;
  font-size: 13px; font-weight: 600; color: var(--secondary); cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease;
}
.tm8-lang-item:hover { background: var(--control-bg); color: var(--label); }
.tm8-lang-item .tm8-lang-flag { font-size: 16px; line-height: 1; flex-shrink: 0; }
.tm8-lang-item .tm8-lang-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tm8-lang-item[aria-current="true"] {
  background: var(--grad); color: #fff; box-shadow: 0 4px 12px var(--glow);
}
.tm8-lang-item[aria-current="true"]:hover { color: #fff; }

/* ---------- Hero ---------- */
.tm8-hero { position: relative; padding: 130px 28px 110px; text-align: center; overflow: hidden; }
.tm8-warp-wrap { position: absolute; inset: 0; pointer-events: none; user-select: none; }
.tm8-halo {
  position: absolute; left: 50%; top: 40%; width: 220px; height: 220px; border-radius: 50%;
  background: rgba(255, 107, 53, 0.30); filter: blur(20px); animation: tm8-halo 2.2s ease-out infinite;
}
.tm8-warp-word {
  position: absolute; left: 50%; top: 40%; font-weight: 800; letter-spacing: 0.6px;
  white-space: nowrap; text-shadow: 0 0 16px currentColor;
}
.tm8-hero-inner {
  position: relative; max-width: 780px; margin: 0 auto; display: flex; flex-direction: column;
  align-items: center; animation: tm8-in 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.tm8-live-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #34C759; flex-shrink: 0;
  box-shadow: 0 0 8px rgba(52, 199, 89, 0.7); animation: tm8-blink 1.6s ease-in-out infinite;
}
.tm8-hero-badge {
  display: flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 100px;
  background: var(--surface); border: 1px solid var(--separator);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  font-size: 13.5px; font-weight: 600; color: var(--secondary); margin-bottom: 30px; box-shadow: var(--card-shadow);
}
.tm8-hero-title {
  margin: 0; font-size: clamp(52px, 7.5vw, 92px); font-weight: 800;
  letter-spacing: -0.035em; line-height: 1.04; color: var(--label);
}
.tm8-rot-wrap { display: inline-block; min-height: 1.06em; }
.tm8-rot-word {
  display: inline-block; background: var(--grad);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
  animation: tm8-pop 0.55s cubic-bezier(0.22, 1, 0.36, 1); padding-bottom: 0.06em;
}
.tm8-hero-sub {
  font-size: clamp(17px, 2vw, 21px); line-height: 1.55; color: var(--secondary);
  max-width: 560px; margin: 26px 0 36px; text-wrap: pretty;
}
.tm8-hero-note { font-size: 13px; color: var(--tertiary); margin-top: 16px; font-weight: 500; }

/* ---------- Newsletter-Formular ---------- */
.tm8-wait-form { display: flex; gap: 10px; width: 100%; max-width: 480px; flex-wrap: wrap; justify-content: center; }
.tm8-wait-form.tm8-center { margin: 0 auto; }
.tm8-wait-input {
  flex: 1 1 240px; height: 54px; border-radius: 15px; background: var(--surface);
  border: 1px solid var(--separator); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  color: var(--label); font-size: 16.5px; padding: 0 18px; outline: none; font-family: var(--font);
  box-shadow: var(--card-shadow);
}
.tm8-wait-btn {
  position: relative; overflow: hidden; height: 54px; padding: 0 26px; border-radius: 15px;
  border: none; background: var(--grad); color: #fff; font-size: 16.5px; font-weight: 680;
  cursor: pointer; font-family: var(--font); white-space: nowrap;
  box-shadow: 0 12px 28px var(--glow), 0 1px 0 rgba(255, 255, 255, 0.3) inset;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.tm8-wait-btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.tm8-wait-btn:active { transform: scale(0.97); }
.tm8-wait-btn:disabled { opacity: 0.7; cursor: default; transform: none; }
.tm8-btn-shimmer {
  position: absolute; top: 0; left: 0; width: 45%; height: 100%; pointer-events: none;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: tm8-shimmer 3.4s ease-in-out infinite; animation-delay: 0.8s;
}
.tm8-btn-label { position: relative; z-index: 1; }
.tm8-joined {
  padding: 16px 24px; border-radius: 15px; background: rgba(52, 199, 89, 0.12);
  border: 1px solid rgba(52, 199, 89, 0.35); color: var(--joined-color);
  font-size: 15.5px; font-weight: 600; max-width: 480px; animation: tm8-pop 0.4s ease;
}
.tm8-form-error {
  margin-top: 12px; font-size: 13.5px; font-weight: 500; color: #F5453B;
}

/* ---------- Sektionen (gemeinsam) ---------- */
.tm8-section { position: relative; max-width: 1180px; margin: 0 auto; padding: 90px 28px; }
.tm8-kicker { font-size: 13px; font-weight: 750; letter-spacing: 1.6px; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.tm8-h2 { margin: 0; font-size: clamp(32px, 4vw, 46px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; color: var(--label); text-wrap: pretty; }
.tm8-center-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.tm8-section-sub { font-size: 17.5px; line-height: 1.6; color: var(--secondary); margin: 18px 0 0; text-wrap: pretty; }
.tm8-section-sub.tm8-center { margin: 18px auto 0; max-width: 520px; }

/* ---------- Live-Demo ---------- */
.tm8-demo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 64px; align-items: center; }
.tm8-demo-textcol { max-width: 480px; }
.tm8-demo-hint {
  display: inline-block; margin-top: 26px; padding: 10px 16px; border-radius: 12px;
  background: var(--soft); border: 1px solid var(--separator); font-size: 14px; font-weight: 550; color: var(--demo-hint);
}
.tm8-phone-outer { position: relative; display: flex; justify-content: center; }
.tm8-phone-glow {
  position: absolute; top: 10%; left: 15%; right: 15%; bottom: 10%; background: var(--grad);
  filter: blur(90px); opacity: var(--phone-glow-op); border-radius: 50%; animation: tm8-glow 5s ease-in-out infinite;
}
.tm8-phone-frame {
  position: relative; width: 340px; border-radius: 52px; padding: 10px; background: var(--phone-frame);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.tm8-phone-screen {
  position: relative; border-radius: 43px; overflow: hidden;
  background: radial-gradient(135% 100% at 50% -18%, #3A2440 0%, #1E1428 42%, #0D0913 100%);
  color: #FDFBFF; height: 620px; display: flex; flex-direction: column; padding: 0 16px;
}
.tm8-phone-notch { width: 110px; height: 26px; border-radius: 16px; background: #0a0710; margin: 10px auto 6px; flex-shrink: 0; }
.tm8-room-header { text-align: center; padding-bottom: 12px; }
.tm8-room-title { font-size: 17px; font-weight: 750; }
.tm8-room-meta { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: rgba(240, 234, 250, 0.6); margin-top: 3px; }
/* gap 6 statt 7 (Design): 4 Chips brauchen sonst 290px bei 288px Innenbreite -> Umbruch */
.tm8-strip { display: flex; gap: 6px; justify-content: center; padding-bottom: 14px; flex-wrap: wrap; }
.tm8-chip {
  display: flex; align-items: center; gap: 5px; padding: 5px 11px 5px 7px; border-radius: 100px;
  background: rgba(44, 32, 58, 0.65); border: 1px solid rgba(255, 255, 255, 0.1); font-size: 12px; font-weight: 600;
}
.tm8-chip-flag { font-size: 14px; }
.tm8-feed { flex: 1; display: flex; flex-direction: column; gap: 12px; overflow: hidden; padding-top: 4px; }
.tm8-msg-row { display: flex; gap: 9px; align-items: flex-start; animation: tm8-in 0.4s ease both; }
.tm8-msg-row:nth-child(1) { animation-delay: 0s; }
.tm8-msg-row:nth-child(2) { animation-delay: 0.12s; }
.tm8-msg-row:nth-child(3) { animation-delay: 0.24s; }
.tm8-avatar {
  width: 32px; height: 32px; border-radius: 50%; background: rgba(44, 32, 58, 0.9);
  display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0;
}
.tm8-avatar-marie { border: 1.5px solid #7D6BFF; }
.tm8-avatar-luca { border: 1.5px solid #30D158; }
.tm8-avatar-emma { border: 1.5px solid #FF5C8A; }
.tm8-bubble {
  flex: 1; padding: 10px 13px; border-radius: 15px; border-top-left-radius: 5px;
  background: rgba(44, 32, 58, 0.62); border: 1px solid rgba(255, 255, 255, 0.09); backdrop-filter: blur(10px);
}
.tm8-bubble-name { font-size: 11.5px; font-weight: 700; color: rgba(240, 234, 250, 0.55); margin-bottom: 3px; }
.tm8-bubble-text { font-size: 14px; line-height: 1.4; font-weight: 500; }
.tm8-bubble-orig { font-size: 11px; color: rgba(240, 234, 250, 0.4); margin-top: 5px; font-style: italic; }
.tm8-ptt-zone { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 0 22px; flex-shrink: 0; }
.tm8-ptt-glow { position: absolute; top: 0; width: 100px; height: 100px; border-radius: 50%; background: var(--accent); filter: blur(30px); opacity: 0.45; animation: tm8-glow 3s ease-in-out infinite; }
.tm8-ptt-btn {
  position: relative; width: 74px; height: 74px; border-radius: 50%; background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px var(--glow), 0 1px 0 rgba(255, 255, 255, 0.3) inset;
}
.tm8-eq-big { display: flex; align-items: center; gap: 4px; height: 26px; }
.tm8-eq-big > i {
  width: 5px; height: 26px; border-radius: 4px; background: #fff; display: block; transform-origin: center;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.5); animation: tm8-eq 0.9s ease-in-out infinite;
}
.tm8-eq-big > i:nth-child(1) { animation-delay: 0s; }
.tm8-eq-big > i:nth-child(2) { animation-delay: 0.15s; }
.tm8-eq-big > i:nth-child(3) { animation-delay: 0.3s; }
.tm8-eq-big > i:nth-child(4) { animation-delay: 0.1s; }
.tm8-ptt-label { position: relative; font-size: 12px; font-weight: 600; color: rgba(240, 234, 250, 0.6); }

/* ---------- How ---------- */
.tm8-steps-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.tm8-step-card {
  padding: 30px 26px; border-radius: 22px; background: var(--surface); border: 1px solid var(--separator);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); box-shadow: var(--card-shadow);
}
.tm8-step-num {
  font-size: 15px; font-weight: 800; background: var(--grad);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 14px; letter-spacing: 1px;
}
.tm8-step-title { font-size: 20px; font-weight: 750; letter-spacing: -0.3px; margin-bottom: 8px; color: var(--label); }
.tm8-step-desc { font-size: 15px; line-height: 1.55; color: var(--secondary); }

/* ---------- Features ---------- */
.tm8-feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.tm8-feat-card {
  padding: 28px 26px; border-radius: 22px; background: var(--surface); border: 1px solid var(--separator);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); box-shadow: var(--card-shadow);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.tm8-feat-card:hover { transform: translateY(-4px); border-color: var(--feat-hover-border); }
.tm8-icon-wrap {
  width: 46px; height: 46px; border-radius: 14px; background: var(--icon-bg); border: 1px solid var(--separator);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.tm8-icon-0, .tm8-icon-3 { color: var(--accent); }
.tm8-icon-1, .tm8-icon-4 { color: var(--violet); }
.tm8-icon-2, .tm8-icon-5 { color: var(--teal); }
.tm8-feat-title { font-size: 18px; font-weight: 720; letter-spacing: -0.2px; margin-bottom: 7px; color: var(--label); }
.tm8-feat-desc { font-size: 14.5px; line-height: 1.55; color: var(--secondary); }

/* ---------- Use Cases ---------- */
.tm8-use-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.tm8-use-card {
  border-radius: 22px; background: var(--surface); border: 1px solid var(--separator);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); box-shadow: var(--card-shadow);
  overflow: hidden; transition: transform 0.2s ease, border-color 0.2s ease;
}
.tm8-use-card:hover { transform: translateY(-4px); border-color: var(--feat-hover-border); }
.tm8-use-img { height: 170px; background: var(--stripe); display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--separator); }
.tm8-img-label { font-family: 'SF Mono', ui-monospace, monospace; font-size: 11.5px; color: var(--tertiary); letter-spacing: 0.3px; }
.tm8-use-body { padding: 22px 24px 26px; }
.tm8-use-tag { display: inline-block; font-size: 11.5px; font-weight: 750; letter-spacing: 1.2px; text-transform: uppercase; }
.tm8-use-tag-0 { color: var(--accent); }
.tm8-use-tag-1 { color: var(--teal); }
.tm8-use-tag-2 { color: var(--violet); }
.tm8-use-title { font-size: 19px; font-weight: 750; letter-spacing: -0.3px; margin: 10px 0 8px; color: var(--label); }

/* ---------- App-Galerie (horizontal scroll-snap, reines CSS) ---------- */
.tm8-gallery-scroll {
  display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory;
  /* Ueberhang, damit Rand-Glow/Schatten nicht abgeschnitten wird */
  padding: 20px 28px 32px; margin: 0 -28px;
  scroll-padding: 28px; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox: Scrollbar verstecken */
}
.tm8-gallery-scroll::-webkit-scrollbar { display: none; } /* WebKit: Scrollbar verstecken */
.tm8-shot {
  flex: 0 0 auto; width: 240px; margin: 0; scroll-snap-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.tm8-shot-frame {
  width: 100%; border-radius: 36px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--phone-frame);
  box-shadow: var(--card-shadow), 0 1px 0 rgba(255, 255, 255, 0.14) inset;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tm8-shot-frame img { display: block; width: 100%; height: auto; }
.tm8-shot:hover .tm8-shot-frame { transform: translateY(-4px); }
/* Mittlere Karte mit Accent-Glow hervorheben */
.tm8-shot-hero .tm8-shot-frame {
  box-shadow: var(--card-shadow), 0 16px 44px var(--glow), 0 1px 0 rgba(255, 255, 255, 0.18) inset;
}
.tm8-shot-cap {
  font-size: 14.5px; font-weight: 600; color: var(--secondary);
  text-align: center; letter-spacing: -0.2px; text-wrap: pretty;
}

/* ---------- Pricing ---------- */
.tm8-price-wrap { position: relative; max-width: 940px; margin: 0 auto; }
.tm8-price-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; filter: blur(9px); opacity: 0.55; user-select: none; pointer-events: none; }
.tm8-tier { padding: 30px 26px; border-radius: 22px; background: var(--surface); border: 1px solid var(--separator); box-shadow: var(--card-shadow); }
.tm8-tier-hot { border-color: var(--accent); }
.tm8-tier-name { font-size: 15px; font-weight: 700; color: var(--secondary); margin-bottom: 10px; }
.tm8-tier-price { font-size: 36px; font-weight: 800; letter-spacing: -1px; color: var(--label); margin-bottom: 20px; }
.tm8-tier-line { height: 10px; border-radius: 6px; background: var(--line); margin-bottom: 10px; }
.tm8-tier-line-1 { width: 85%; }
.tm8-tier-line-2 { width: 65%; }
.tm8-tier-line-3 { width: 75%; }
.tm8-price-badge {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-4deg);
  padding: 14px 34px; border-radius: 16px; background: var(--grad); color: #fff;
  font-size: 22px; font-weight: 800; letter-spacing: 3px;
  box-shadow: 0 16px 44px var(--glow), 0 1px 0 rgba(255, 255, 255, 0.3) inset;
}

/* ---------- Final CTA ---------- */
.tm8-final { position: relative; padding: 110px 28px 120px; text-align: center; overflow: hidden; }
.tm8-lane {
  position: absolute; left: 0; font-weight: 800; letter-spacing: 0.5px; white-space: nowrap;
  pointer-events: none; user-select: none; animation-name: tm8-lane; animation-timing-function: linear;
  animation-iteration-count: infinite; opacity: calc(var(--lane-base) * var(--lane-mult));
}
.tm8-final-inner { position: relative; max-width: 620px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 0; }
.tm8-final-title { margin: 0 0 4px; font-size: clamp(34px, 4.5vw, 54px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; color: var(--label); }

/* ---------- Footer ---------- */
.tm8-footer { border-top: 1px solid var(--separator); background: var(--footer-bg); }
.tm8-footer-inner { max-width: 1180px; margin: 0 auto; padding: 34px 28px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; justify-content: space-between; }
.tm8-logo-mark-sm {
  width: 28px; height: 28px; border-radius: 9px; background: var(--grad);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px var(--glow);
}
.tm8-eq-sm { display: flex; align-items: center; gap: 2.5px; height: 12px; }
.tm8-eq-sm > i {
  width: 2.5px; height: 12px; border-radius: 2px; background: #fff; display: block; transform-origin: center;
  animation: tm8-eq 0.9s ease-in-out infinite;
}
.tm8-eq-sm > i:nth-child(1) { animation-delay: 0s; }
.tm8-eq-sm > i:nth-child(2) { animation-delay: 0.18s; }
.tm8-eq-sm > i:nth-child(3) { animation-delay: 0.36s; }
.tm8-foot-wordmark { font-size: 15.5px; font-weight: 750; color: var(--label); }
.tm8-foot-links { display: flex; gap: 22px; }
.tm8-foot-link { font-size: 13.5px; font-weight: 500; color: var(--secondary); }
.tm8-foot-link:hover { color: var(--label); }
.tm8-foot-copy { font-size: 12.5px; color: var(--tertiary); }

/* ---------- Rechtsseiten (Impressum / Datenschutz) ---------- */
.tm8-legal { max-width: 860px; padding-top: 116px; padding-bottom: 80px; }
.tm8-legal-head { margin-bottom: 32px; }
/* Glas-Karte im Look der Feature-Karten, jetzt mit Textsektionen */
.tm8-legal-card {
  position: relative; border-radius: 22px; padding: 34px 38px;
  background: var(--glass-bg); border: 1px solid var(--separator);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--card-shadow);
}
/* "Das sind wir"-Block (nur Impressum): infin8-Logo neben Firmenname */
.tm8-legal-brand {
  display: flex; align-items: center; gap: 16px;
  padding-bottom: 26px; margin-bottom: 8px; border-bottom: 1px solid var(--separator);
}
.tm8-legal-brand-logo { display: flex; flex-shrink: 0; }
.tm8-legal-brand-logo img { width: 48px; height: 48px; display: block; }
.tm8-legal-brand-eyebrow {
  font-size: 12px; font-weight: 750; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 3px;
}
.tm8-legal-brand-name { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; color: var(--label); }
.tm8-legal-brand-note { font-size: 14px; color: var(--secondary); margin-top: 2px; }
.tm8-legal-brand-note a, .tm8-legal-section a { color: var(--accent); font-weight: 600; word-break: break-word; }
.tm8-legal-brand-note a:hover, .tm8-legal-section a:hover { color: #FF7A3D; }
/* Textsektionen */
.tm8-legal-section { margin-top: 30px; }
.tm8-legal-section:first-child { margin-top: 6px; }
.tm8-legal-section h2 {
  margin: 0 0 12px; font-size: 19px; font-weight: 750; letter-spacing: -0.01em; color: var(--label);
}
.tm8-legal-section p { margin: 0 0 12px; font-size: 15.5px; line-height: 1.65; color: var(--secondary); text-wrap: pretty; }
.tm8-legal-section p:last-child { margin-bottom: 0; }
.tm8-legal-section ul { margin: 0 0 12px; padding-left: 20px; }
.tm8-legal-section li { font-size: 15.5px; line-height: 1.6; color: var(--secondary); margin-bottom: 6px; }
/* Abschlussleiste im Grad-Verlauf (wie gradient-bar der Referenz) */
.tm8-legal-bar { height: 3px; border-radius: 999px; background: var(--grad); margin-top: 30px; opacity: 0.85; }
@media (max-width: 560px) {
  .tm8-legal-card { padding: 24px 22px; }
  .tm8-legal-brand { flex-wrap: wrap; }
}

/* ---------- Responsive: Nav-Links unter 900px ausblenden ---------- */
@media (max-width: 900px) {
  .tm8-nav-links { display: none; }
  .tm8-nav-inner { gap: 14px; justify-content: space-between; }
  .tm8-demo-grid { gap: 40px; }
}
@media (max-width: 560px) {
  .tm8-nav-cta { padding: 8px 13px; }
  .tm8-lang-panel { width: 200px; }
  /* Galerie: Karten ~70vw fuers Swipen auf dem Handy */
  .tm8-shot { width: 70vw; }
  .tm8-shot-frame { border-radius: 30px; }
}

/* ---------- prefers-reduced-motion: alle Endlos-Animationen aus ---------- */
@media (prefers-reduced-motion: reduce) {
  .tm8-orb, .tm8-eq-bars > i, .tm8-eq-big > i, .tm8-eq-sm > i, .tm8-halo,
  .tm8-btn-shimmer, .tm8-phone-glow, .tm8-ptt-glow, .tm8-live-dot,
  .tm8-rot-word, .tm8-hero-inner, .tm8-msg-row {
    animation: none !important;
  }
  .tm8-warp-wrap, .tm8-lane { display: none !important; }
}
