/* ============================================================================
   relaunch. by cocreate — Landingpage
   Basis: Claude Design "Relaunch Website" / cocreate Design-System (Geist)
   ============================================================================ */

/* Selbst gehostete Schriften — keine Anfragen an Google (Datenschutz) */
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("fonts/geist.woff2") format("woff2");
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("fonts/geist-mono.woff2") format("woff2");
}

:root {
  --accent: #2563eb;
  --accent-deep: #1d4ed8;
  --ink: #15212e;
  --muted: #64748b;
  --bg: #ffffff;
  --bg-alt: #f6f8fb;
  --border: rgba(37, 99, 235, 0.10);
  --font-sans: "Geist", system-ui, -apple-system, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.23, 1, .32, 1);
  --ease-reveal: cubic-bezier(.25, .4, .25, 1);
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-card-hover: 0 4px 24px rgba(37, 99, 235, 0.08), 0 0 0 1px rgba(37, 99, 235, 0.06);
  --shadow-btn: 0 4px 20px rgba(37, 99, 235, 0.30);
  --shadow-btn-hover: 0 8px 36px rgba(37, 99, 235, 0.40);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  font-family: var(--font-sans);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }

section[id] { scroll-margin-top: 76px; }

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

/* ---- Animationen ---- */
@keyframes cc-drift-a {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(70px, 50px) scale(1.15); }
}
@keyframes cc-drift-b {
  0%, 100% { transform: translate(0, 0) scale(1.1); }
  50% { transform: translate(-60px, -40px) scale(1); }
}
@keyframes cc-pan {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes cc-sheen {
  0%, 100% { transform: rotate(-8deg) translateX(-6%); opacity: 0.55; }
  50% { transform: rotate(-6deg) translateX(6%); opacity: 0.85; }
}
@keyframes cc-fade-up {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}
@keyframes cc-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
@keyframes cc-pulse-ring {
  0% { box-shadow: 0 4px 20px rgba(37, 99, 235, 0.30), 0 0 0 0 rgba(37, 99, 235, 0.35); }
  70% { box-shadow: 0 4px 20px rgba(37, 99, 235, 0.30), 0 0 0 14px rgba(37, 99, 235, 0); }
  100% { box-shadow: 0 4px 20px rgba(37, 99, 235, 0.30), 0 0 0 0 rgba(37, 99, 235, 0); }
}
@keyframes cc-eq {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.5); }
}

/* Scroll-Reveals (nur mit JS aktiv, sonst bleibt alles sichtbar) */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease-reveal), transform 0.7s var(--ease-reveal);
}
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal-group > .reveal:nth-child(2) { transition-delay: 0.1s; }
.js .reveal-group > .reveal:nth-child(3) { transition-delay: 0.2s; }
.js .reveal-group > .reveal:nth-child(4) { transition-delay: 0.3s; }
.js .reveal-group > .reveal:nth-child(5) { transition-delay: 0.4s; }
.js .reveal-group > .reveal:nth-child(6) { transition-delay: 0.5s; }
@media (prefers-reduced-motion: reduce) {
  .bg-blob, .bg-pan, .bg-sheen, .cta-glow { animation: none !important; }
  html { scroll-behavior: auto; }
  .tf-stage *, .tf-stage *::after {
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
  }
  .hero-copy > *, .hero-visual, .browser-new, .tf-golive, .logo-mark .bar, .cms-cursor, .chat-typing i { animation: none !important; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .tf-visual { transform: none !important; }
}

/* ---- Bausteine ---- */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 96px 32px;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 48px;
}

h2 {
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-wrap: pretty;
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}

.dotgrid {
  background-image: radial-gradient(circle, rgba(37, 99, 235, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  padding: 13px 26px;
  border: 0;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: all 0.2s var(--ease);
}
.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--accent));
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover {
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent-deep), var(--accent));
  box-shadow: 0 6px 24px rgba(37, 99, 235, 0.35);
  transform: translateY(-1px);
}
.btn-secondary {
  color: var(--ink);
  border: 1px solid rgba(37, 99, 235, 0.20);
  background: #ffffff;
}
.btn-secondary:hover {
  color: var(--accent);
  border-color: rgba(37, 99, 235, 0.4);
}

/* Logo */
.logo-lockup {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 10px;
}
.logo-mark {
  display: flex;
  align-items: flex-end;
  gap: 2.5px;
  transform: skewX(-14deg);
}
.logo-mark .bar { display: inline-block; width: 3px; border-radius: 1.5px; transform-origin: bottom; }
.logo-lockup:hover .bar-1 { animation: cc-eq 0.8s ease-in-out infinite; }
.logo-lockup:hover .bar-2 { animation: cc-eq 0.8s ease-in-out 0.12s infinite; }
.logo-lockup:hover .bar-3 { animation: cc-eq 0.8s ease-in-out 0.24s infinite; }
.logo-mark .bar-1 { height: 11px; background: rgba(37, 99, 235, 0.25); }
.logo-mark .bar-2 { height: 16px; margin-bottom: 1.5px; background: rgba(37, 99, 235, 0.55); }
.logo-mark .bar-3 { height: 21px; margin-bottom: 3px; background: var(--accent); }
.logo-text { display: flex; flex-direction: column; }
.logo-word {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--ink);
}
.logo-dot { color: var(--accent); }
.logo-sub { font-size: 9px; font-weight: 500; color: var(--muted); }

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-nav { display: flex; align-items: center; gap: 28px; }
.nav-link { position: relative; font-size: 14px; font-weight: 500; color: var(--ink); }
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 2px;
  width: 100%;
  border-radius: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav-link:hover { color: var(--accent); }
.nav-link:hover::after { transform: scaleX(1); }
.btn-nav { font-size: 14px; padding: 9px 18px; }
.btn-nav:hover { transform: translateY(-1px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 1px;
  background: var(--ink);
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Hero ---- */
.hero {
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.bg-pan {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(219, 234, 254, 0.65), rgba(147, 197, 253, 0.25) 30%, rgba(219, 234, 254, 0.55) 55%, rgba(191, 219, 254, 0.20) 80%, rgba(219, 234, 254, 0.60));
  background-size: 300% 300%;
  animation: cc-pan 18s ease-in-out infinite;
}
.bg-blob { position: absolute; border-radius: 50%; }
.blob-a {
  width: 900px; height: 560px; left: -12%; top: -22%;
  background: radial-gradient(closest-side, rgba(59, 130, 246, 0.28), rgba(96, 165, 250, 0.12) 60%, transparent 75%);
  animation: cc-drift-a 16s ease-in-out infinite;
}
.blob-b {
  width: 980px; height: 680px; right: -14%; bottom: -30%;
  background: radial-gradient(closest-side, rgba(37, 99, 235, 0.22), rgba(147, 197, 253, 0.10) 60%, transparent 75%);
  animation: cc-drift-b 21s ease-in-out infinite;
}
.bg-sheen {
  position: absolute;
  width: 1400px; height: 420px; left: 50%; top: 28%;
  margin-left: -700px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.70), transparent 70%);
  animation: cc-sheen 14s ease-in-out infinite;
}
.blob-c {
  width: 760px; height: 360px; left: 22%; bottom: -18%;
  background: radial-gradient(closest-side, rgba(96, 165, 250, 0.20), transparent 72%);
  animation: cc-drift-b 19s ease-in-out infinite;
}

.hero-inner {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: 96px 32px 80px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  position: relative;
}

/* Einstiegs-Animation: Hero baut sich gestaffelt auf */
.hero-copy > * { animation: cc-fade-up 0.7s var(--ease-reveal) both; }
.hero-copy > :nth-child(1) { animation-delay: 0.05s; }
.hero-copy > :nth-child(2) { animation-delay: 0.15s; }
.hero-copy > :nth-child(3) { animation-delay: 0.3s; }
.hero-copy > :nth-child(4) { animation-delay: 0.45s; }
.hero-visual { animation: cc-fade-up 0.8s var(--ease-reveal) 0.4s both; }
h1 {
  margin: 0;
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--ink);
  text-wrap: pretty;
}
.hero-lead {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 440px;
  text-wrap: pretty;
}
.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero-Visual: alt vs. neu */
.hero-visual {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
  min-width: 0;
}
.logo-mark-lg { gap: 4px; flex-shrink: 0; }
.logo-mark-lg .bar { width: 5px; border-radius: 2.5px; }
.logo-mark-lg .bar-1 { height: 18px; }
.logo-mark-lg .bar-2 { height: 27px; margin-bottom: 2.5px; }
.logo-mark-lg .bar-3 { height: 36px; margin-bottom: 5px; box-shadow: 0 0 14px rgba(37, 99, 235, 0.35); }

.browser { min-width: 0; overflow: hidden; }
.browser-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 7px 9px;
}
.browser-bar span { width: 6px; height: 6px; border-radius: 50%; }

.browser-old {
  flex: 1 1 0;
  max-width: 200px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #f1f5f9;
  opacity: 0.75;
  transform: rotate(-2deg);
}
.browser-old .browser-bar { border-bottom: 1px solid #e2e8f0; background: #e8edf3; }
.browser-old .browser-bar span { background: #cbd5e1; }
.browser-old .browser-body { padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.ph { background: #dbe2ea; }
.ph-title { height: 10px; width: 70%; background: #cbd5e1; }
.ph-line { height: 6px; }
.ph-block { height: 34px; width: 100%; margin-top: 4px; }
.w100 { width: 100%; }
.w90 { width: 90%; }
.w85 { width: 85%; }
.w60 { width: 60%; }
.browser-caption {
  font-family: var(--font-mono);
  font-size: 9px;
  color: #94a3b8;
  margin-top: 6px;
}

.browser-new {
  flex: 1.2 1 0;
  max-width: 230px;
  border-radius: 14px;
  border: 1px solid rgba(37, 99, 235, 0.15);
  background: #ffffff;
  box-shadow: 0 4px 24px rgba(37, 99, 235, 0.12);
  animation: cc-float 6s ease-in-out 1.8s infinite;
}
.browser-new .browser-bar { padding: 8px 10px; border-bottom: 1px solid #ece9f1; }
.browser-new .d-blue { background: #93c5fd; }
.browser-new .d-teal { background: #99f6e4; }
.browser-new .d-grey { background: #e2e8f0; }
.browser-new .browser-body { padding: 16px; display: flex; flex-direction: column; gap: 9px; }
.dotgrid-sm {
  background-image: radial-gradient(circle, rgba(37, 99, 235, 0.06) 1px, transparent 1px);
  background-size: 16px 16px;
}
.mini-label {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.ph2 { border-radius: 3px; }
.ph2-title { height: 12px; width: 75%; background: var(--ink); }
.ph2-line { height: 7px; background: #eef2f7; }
.ph2-cards { display: flex; gap: 6px; margin-top: 4px; }
.ph2-cards div {
  position: relative;
  height: 30px;
  flex: 1;
  border-radius: 6px;
  border: 1px solid rgba(37, 99, 235, 0.12);
  background: #ffffff;
}
.ph2-cards div::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 3px;
}
.ph2-cards div:nth-child(1)::before { background: linear-gradient(135deg, #a78bfa, #8b5cf6); }
.ph2-cards div:nth-child(2)::before { background: linear-gradient(135deg, #2dd4bf, #14b8a6); }
.ph2-cards div::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 6px;
  top: 8px;
  height: 5px;
  border-radius: 2.5px;
  background: #eef2f7;
}
.ph2-btn {
  height: 22px;
  width: 55%;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--accent), var(--accent));
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.3);
}

/* ---- Transformation (Scrollytelling) ---- */
.tf-track {
  height: 500vh;
  position: relative;
  background: #ffffff;
}
.tf-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-top: 1px solid var(--border);
  background-color: #e9edf3;
  transition: background-color 0.9s ease;
}
.tf-stage.tf-ge-1 { background-color: #ffffff; }
.tf-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 64px;
  align-items: center;
}
.tf-copy { display: flex; flex-direction: column; gap: 24px; }
.tf-captions { position: relative; min-height: 220px; }
.tf-caption {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
  pointer-events: none;
}
.tf-caption.is-active { opacity: 1; transform: none; }
.tf-step-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.tf-caption h3 {
  margin: 0;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-wrap: pretty;
}
.tf-caption p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 400px;
  text-wrap: pretty;
}
.tf-progress { display: flex; align-items: center; gap: 14px; max-width: 320px; }
.tf-rail {
  flex: 1;
  height: 2px;
  background: rgba(37, 99, 235, 0.12);
  border-radius: 1px;
  overflow: hidden;
}
.tf-rail-fill {
  height: 100%;
  background: var(--accent);
  transform-origin: left;
  transform: scaleX(var(--tf-progress, 0));
}
.tf-counter { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.tf-hint {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  transition: opacity 0.4s var(--ease);
}
.tf-ge-1 .tf-hint { opacity: 0; }

.tf-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  min-width: 0;
  /* Wandert scroll-gebunden von oben nach unten durch die Bühne */
  transform: translateY(calc(var(--tf-drift, 0) * 1vh));
  will-change: transform;
}
.tf-frame { position: relative; width: 100%; max-width: 560px; }
.tf-browser {
  position: relative;
  background: #f1f5f9;
  border: 1px solid #d3dce6;
  border-radius: 6px;
  overflow: hidden;
  transform: rotate(-1.2deg) scale(0.985);
  transition: all 0.6s var(--ease);
}
.tf-ge-1 .tf-browser {
  background: #ffffff;
  border-color: rgba(37, 99, 235, 0.15);
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(37, 99, 235, 0.16);
  transform: rotate(1.4deg);
}
/* Jeder Schritt kippt das Fenster in einen anderen Winkel — erst zum Schluss steht es gerade */
.tf-ge-2 .tf-browser { transform: rotate(-1.8deg) scale(1.01); }
.tf-ge-3 .tf-browser { transform: rotate(1.2deg); }
.tf-ge-4 .tf-browser {
  box-shadow: 0 16px 64px rgba(37, 99, 235, 0.26);
  transform: none;
}
.tf-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  background: #e2e8f0;
  border-bottom: 1px solid #d3dce6;
  transition: all 0.6s var(--ease);
}
.tf-ge-1 .tf-bar { background: #ffffff; border-bottom-color: #ece9f1; }
.tf-dots { display: flex; gap: 4px; flex-shrink: 0; }
.tf-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #cbd5e1;
  transition: background 0.6s var(--ease);
}
.tf-ge-1 .tf-dots i:nth-child(1) { background: #93c5fd; }
.tf-ge-1 .tf-dots i:nth-child(2) { background: #99f6e4; }
.tf-ge-1 .tf-dots i:nth-child(3) { background: #e2e8f0; }
.tf-url {
  position: relative;
  flex: 1;
  height: 20px;
  border-radius: 6px;
  background: rgba(148, 163, 184, 0.18);
  overflow: hidden;
  min-width: 0;
}
.tf-url span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  white-space: nowrap;
  transition: opacity 0.5s var(--ease);
}
.tf-url-old { color: #94a3b8; }
.tf-url-new { color: var(--ink); opacity: 0; }
.tf-url-new b { color: #16a34a; font-weight: 500; }
.tf-ge-3 .tf-url-old { opacity: 0; }
.tf-ge-3 .tf-url-new { opacity: 1; }

/* "online"-Status in der Browserleiste (Schritt 4) */
.tf-live {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 9px;
  color: #16a34a;
  opacity: 0;
  transform: translateY(-8px);
  transition: all 0.5s var(--ease);
}
.tf-live i { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; }
.tf-ge-4 .tf-live { opacity: 1; transform: none; }
.tf-ge-4 .tf-live i { animation: cc-pulse-dot 1.6s ease-out infinite; }
@keyframes cc-pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
  70% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* Ladebalken: hängt bei der alten Seite, läuft bei Schritt 2 grün durch */
.tf-loadstrip {
  height: 4px;
  background: #dde4ec;
  overflow: hidden;
  transition: all 0.5s var(--ease);
}
.tf-loadstrip i {
  display: block;
  height: 100%;
  width: 34%;
  background: #f59e0b;
  transition: all 0.5s var(--ease);
  animation: cc-stall 2.4s ease-in-out infinite;
}
@keyframes cc-stall {
  0%, 100% { width: 30%; }
  50% { width: 38%; }
}
.tf-ge-2 .tf-loadstrip i { width: 100%; background: #22c55e; animation: none; }
.tf-ge-2 .tf-loadstrip { height: 0; opacity: 0; transition-delay: 0.8s; }

.tf-body { position: relative; padding: 18px; }
.tf-body::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(37, 99, 235, 0.06) 1px, transparent 1px);
  background-size: 16px 16px;
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}
.tf-ge-1 .tf-body::after { opacity: 1; }
.tf-banner {
  height: 30px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fef3c7;
  border: 1px dashed #f59e0b;
  color: #92400e;
  font-family: var(--font-mono);
  font-size: 10px;
  overflow: hidden;
  transition: all 0.6s var(--ease);
}
.tf-ge-1 .tf-banner { height: 0; margin-bottom: 0; opacity: 0; border-width: 0; }
.tf-heading {
  height: 14px;
  width: 55%;
  background: #cbd5e1;
  margin-bottom: 12px;
  transition: all 0.6s var(--ease);
}
.tf-ge-1 .tf-heading { height: 16px; width: 70%; background: var(--ink); border-radius: 4px; }
.tf-line {
  height: 7px;
  background: #dbe2ea;
  margin-bottom: 10px;
  transition: all 0.6s var(--ease);
}
.tf-ge-1 .tf-line { background: #eef2f7; border-radius: 4px; }
.tf-l1 { width: 100%; }
.tf-l2 { width: 88%; }
.tf-media {
  height: 90px;
  background: #dbe2ea;
  margin-bottom: 12px;
  transition: all 0.6s var(--ease);
}
.tf-ge-1 .tf-media { height: 0; margin-bottom: 0; opacity: 0; }
.tf-cards {
  display: flex;
  gap: 8px;
  height: 0;
  opacity: 0;
  margin-bottom: 0;
  overflow: hidden;
  transition: all 0.6s var(--ease);
}
.tf-ge-1 .tf-cards { height: 46px; opacity: 1; margin-bottom: 12px; }
.tf-cards div {
  flex: 1;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(37, 99, 235, 0.12);
  background: #ffffff;
}
/* Bei Schritt 2 füllen sich die Karten mit Inhalt */
.tf-cards div::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: linear-gradient(135deg, #60a5fa, var(--accent));
  opacity: 0;
  transform: scale(0.4);
  transition: all 0.45s var(--ease) 0.1s;
}
.tf-cards div::after {
  content: "";
  position: absolute;
  left: 32px;
  right: 10px;
  top: 11px;
  height: 5px;
  border-radius: 2px;
  background: #dbe4ee;
  box-shadow: 0 9px 0 #eef2f7;
  opacity: 0;
  transition: opacity 0.45s var(--ease) 0.25s;
}
.tf-cards div:nth-child(1)::before { background: linear-gradient(135deg, #a78bfa, #8b5cf6); }
.tf-cards div:nth-child(2)::before { background: linear-gradient(135deg, #2dd4bf, #14b8a6); }
.tf-ge-2 .tf-cards div::before { opacity: 1; transform: none; }
.tf-ge-2 .tf-cards div::after { opacity: 1; }
.tf-ge-2 .tf-frame { animation: cc-pop 0.5s var(--ease); }
@keyframes cc-pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.03); }
  100% { transform: scale(1); }
}
/* Schritt 4: besser lesbare Zeilen + sichtbarer Fokus-Ring am Button */
.tf-ge-4 .tf-line { background: #dbe4ee; }
.tf-ge-4 .tf-btn {
  box-shadow: 0 2px 12px rgba(37, 99, 235, 0.3), 0 0 0 3px #ffffff, 0 0 0 5px rgba(37, 99, 235, 0.55);
}
.tf-btn {
  height: 0;
  width: 42%;
  opacity: 0;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--accent), var(--accent));
  box-shadow: 0 2px 12px rgba(37, 99, 235, 0.3);
  overflow: hidden;
  transition: all 0.6s var(--ease);
}
.tf-ge-1 .tf-btn { height: 26px; opacity: 1; }
.tf-stamp {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #94a3b8;
  margin-top: 12px;
  transition: all 0.6s var(--ease);
}
.tf-ge-1 .tf-stamp { opacity: 0; height: 0; margin: 0; overflow: hidden; }

/* Genau eine Plakette pro Schritt — immer an derselben Stelle oben rechts.
   Die vorige fliegt nach oben hinaus, die neue kommt von unten herein. */
.tf-chip {
  position: absolute;
  z-index: 2;
  top: -18px;
  right: -20px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 999px;
  padding: 9px 16px;
  box-shadow: 0 6px 20px rgba(21, 33, 46, 0.12);
  opacity: 0;
  transform: translateY(14px) scale(0.92);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
  white-space: nowrap;
}
.tf-chip b { color: #16a34a; font-weight: 600; }
/* Jede Plakette trägt die Farbe ihres Themas (wie die Leistungs-Karten) */
.tf-chip-design b { color: #8b5cf6; }
.tf-chip-speed b { color: #f59e0b; }
.tf-chip-google b { color: var(--accent); }
.tf-chip-alle b { color: #ec4899; }
.tf-ge-1 .tf-chip-design { opacity: 1; transform: none; transition-delay: 0.25s; }
.tf-ge-2 .tf-chip-design { opacity: 0; transform: translateY(-16px) scale(0.9); transition-delay: 0s; }
.tf-ge-2 .tf-chip-speed { opacity: 1; transform: none; transition-delay: 0.25s; }
.tf-ge-3 .tf-chip-speed { opacity: 0; transform: translateY(-16px) scale(0.9); transition-delay: 0s; }
.tf-ge-3 .tf-chip-google { opacity: 1; transform: none; transition-delay: 0.25s; }
.tf-ge-4 .tf-chip-google { opacity: 0; transform: translateY(-16px) scale(0.9); transition-delay: 0s; }
.tf-ge-4 .tf-chip-alle { opacity: 1; transform: none; transition-delay: 0.25s; }

/* Zusammenfassung aller Punkte beim Finale */
.tf-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 520px;
}
.tf-summary span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 999px;
  padding: 6px 12px;
  box-shadow: 0 2px 10px rgba(21, 33, 46, 0.08);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.tf-summary span b { color: #16a34a; font-weight: 600; }
.tf-summary span:nth-child(1) b { color: #8b5cf6; }
.tf-summary span:nth-child(2) b { color: #f59e0b; }
.tf-summary span:nth-child(3) b { color: var(--accent); }
.tf-summary span:nth-child(4) b { color: #ec4899; }
.tf-ge-4 .tf-summary span:nth-child(1) { opacity: 1; transform: none; transition-delay: 0.5s; }
.tf-ge-4 .tf-summary span:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.62s; }
.tf-ge-4 .tf-summary span:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.74s; }
.tf-ge-4 .tf-summary span:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.86s; }

/* Google-Suchergebnis fliegt bei Schritt 3 herein */
.tf-search {
  position: absolute;
  top: 56%;
  left: -28px;
  width: 190px;
  z-index: 3;
  background: #ffffff;
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(21, 33, 46, 0.14);
  padding: 10px;
  opacity: 0;
  transform: translateX(-20px) rotate(-6deg);
  transition: all 0.55s var(--ease) 0.1s;
}
.tf-ge-3 .tf-search { opacity: 1; transform: rotate(-3deg); }
.tf-ge-4 .tf-search { opacity: 0; transform: translateX(-20px) rotate(-6deg); }
.tf-search-bar { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.tf-g {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  flex-shrink: 0;
  background: conic-gradient(#4285f4 0 25%, #ea4335 25% 50%, #fbbc05 50% 75%, #34a853 75% 100%);
}
.tf-search-bar i { flex: 1; height: 8px; border-radius: 999px; background: #eef2f7; }
.tf-search-hit {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f2f6ff;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 8px;
  padding: 8px;
}
.tf-search-rank {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: #ffffff;
  background: var(--accent);
  border-radius: 999px;
  padding: 2px 7px;
  flex-shrink: 0;
}
.tf-search-lines { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.tf-search-lines b { height: 7px; width: 85%; border-radius: 2px; background: var(--accent); opacity: 0.85; }
.tf-search-lines i { height: 5px; width: 60%; border-radius: 2px; background: #34a853; }

/* Konfetti-Regen beim Go-live (Schritt 4) */
.tf-confetti { position: absolute; inset: -30px; pointer-events: none; z-index: 4; }
.tf-confetti i {
  position: absolute;
  top: 45%;
  left: 50%;
  width: 7px;
  height: 11px;
  border-radius: 2px;
  opacity: 0;
}
.tf-ge-4 .tf-confetti i { animation: cc-confetti 1.1s ease-out forwards; }
@keyframes cc-confetti {
  0% { opacity: 0; transform: translate(0, 0) rotate(0deg); }
  12% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(var(--rot)); }
}
.tf-confetti i:nth-child(6n+1) { background: #2563eb; }
.tf-confetti i:nth-child(6n+2) { background: #60a5fa; }
.tf-confetti i:nth-child(6n+3) { background: #22c55e; }
.tf-confetti i:nth-child(6n+4) { background: #f59e0b; }
.tf-confetti i:nth-child(6n+5) { background: #ec4899; }
.tf-confetti i:nth-child(6n+6) { background: #14b8a6; }
.tf-confetti i:nth-child(1)  { --dx: -150px; --dy: -160px; --rot: -260deg; }
.tf-confetti i:nth-child(2)  { --dx: 140px;  --dy: -180px; --rot: 240deg;  animation-delay: 0.05s; }
.tf-confetti i:nth-child(3)  { --dx: -220px; --dy: -60px;  --rot: -180deg; animation-delay: 0.1s; }
.tf-confetti i:nth-child(4)  { --dx: 210px;  --dy: -80px;  --rot: 200deg;  animation-delay: 0.03s; }
.tf-confetti i:nth-child(5)  { --dx: -90px;  --dy: -210px; --rot: -320deg; animation-delay: 0.12s; }
.tf-confetti i:nth-child(6)  { --dx: 80px;   --dy: -230px; --rot: 300deg;  animation-delay: 0.08s; }
.tf-confetti i:nth-child(7)  { --dx: -260px; --dy: 40px;   --rot: -220deg; animation-delay: 0.15s; }
.tf-confetti i:nth-child(8)  { --dx: 250px;  --dy: 30px;   --rot: 260deg;  animation-delay: 0.06s; }
.tf-confetti i:nth-child(9)  { --dx: -170px; --dy: 120px;  --rot: -300deg; animation-delay: 0.18s; }
.tf-confetti i:nth-child(10) { --dx: 160px;  --dy: 140px;  --rot: 280deg;  animation-delay: 0.1s; }
.tf-confetti i:nth-child(11) { --dx: -40px;  --dy: -250px; --rot: -200deg; animation-delay: 0.2s; }
.tf-confetti i:nth-child(12) { --dx: 40px;   --dy: 190px;  --rot: 220deg;  animation-delay: 0.14s; }
.tf-ge-2 .tf-chip-lcp, .tf-ge-2 .tf-chip-vitals,
.tf-ge-3 .tf-chip-redirects, .tf-ge-3 .tf-chip-meta,
.tf-ge-4 .tf-chip-bfsg, .tf-ge-4 .tf-chip-kontrast {
  opacity: 1;
  transform: none;
}
.tf-golive {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--accent));
  border-radius: 999px;
  padding: 10px 22px;
  box-shadow: var(--shadow-btn);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s var(--ease) 0.2s, transform 0.5s var(--ease) 0.2s;
}
.tf-ge-4 .tf-golive {
  opacity: 1;
  transform: none;
  animation: cc-pulse-ring 2.2s ease-out 1s infinite;
}

/* ---- Leistungen ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  /* Jede Karte bekommt per nth-child ihre eigene Akzentfarbe */
  --ca: var(--accent);
  --ca2: #3b82f6;
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: all 0.2s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  top: -44px;
  right: -44px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--ca) 11%, transparent), transparent);
  pointer-events: none;
}
.card:hover {
  box-shadow: 0 4px 24px color-mix(in srgb, var(--ca) 12%, transparent), 0 0 0 1px color-mix(in srgb, var(--ca) 9%, transparent);
  transform: translateY(-2px);
}
.services-grid > .card:nth-child(1) { --ca: #8b5cf6; --ca2: #a78bfa; }
.services-grid > .card:nth-child(2) { --ca: #f59e0b; --ca2: #fbbf24; }
.services-grid > .card:nth-child(3) { --ca: #2563eb; --ca2: #60a5fa; }
.services-grid > .card:nth-child(4) { --ca: #14b8a6; --ca2: #2dd4bf; }
.services-grid > .card:nth-child(5) { --ca: #ec4899; --ca2: #f472b6; }
.services-grid > .card:nth-child(6) { --ca: #22c55e; --ca2: #4ade80; }
.card-span-2 { grid-column: span 2; }
.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--ca) 10%, #ffffff);
  color: var(--ca);
  margin-bottom: 16px;
  transition: all 0.25s var(--ease);
}
.card-icon svg { width: 22px; height: 22px; }
.card:hover .card-icon {
  background: linear-gradient(135deg, var(--ca2), var(--ca));
  color: #ffffff;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--ca) 35%, transparent);
}
.card-ghost {
  position: absolute;
  top: 16px;
  right: 22px;
  font-family: var(--font-mono);
  font-size: 42px;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: color-mix(in srgb, var(--ca) 13%, transparent);
  pointer-events: none;
}
.card-title {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 6px;
}
.card-text { font-size: 14px; line-height: 1.6; color: var(--muted); }
.card-text-narrow { max-width: 440px; }
.card-dark { background: var(--ink); border-color: transparent; }
.card-dark:hover { box-shadow: 0 4px 24px color-mix(in srgb, var(--ca) 22%, transparent); }
.card-dark .card-title { color: #ffffff; }
.card-dark .card-text { color: #94a3b8; }
.card-dark .card-icon { background: color-mix(in srgb, var(--ca) 16%, transparent); }
.card-dark .card-ghost { color: color-mix(in srgb, var(--ca) 22%, transparent); }

/* Mini-Browser in der großen Design-Karte */
.card-span-2 .card-ghost { display: none; }
.card-mock {
  position: absolute;
  right: 28px;
  top: 50%;
  width: 210px;
  transform: translateY(-50%) rotate(2deg);
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 6px 24px rgba(37, 99, 235, 0.14);
  overflow: hidden;
  transition: transform 0.3s var(--ease);
}
.card:hover .card-mock { transform: translateY(-50%) rotate(0deg); }
.cm-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 7px 10px;
  border-bottom: 1px solid #ece9f1;
}
.cm-bar i { width: 6px; height: 6px; border-radius: 50%; }
.cm-bar i:nth-child(1) { background: #93c5fd; }
.cm-bar i:nth-child(2) { background: #99f6e4; }
.cm-bar i:nth-child(3) { background: #e2e8f0; }
.cm-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  background-image: radial-gradient(circle, rgba(37, 99, 235, 0.06) 1px, transparent 1px);
  background-size: 14px 14px;
}
.cm-line { display: block; height: 6px; border-radius: 3px; background: #eef2f7; }
.cm-title { height: 9px; width: 65%; background: var(--ink); }
.cm-w90 { width: 90%; }
.cm-cards { display: flex; gap: 5px; margin-top: 2px; }
.cm-cards i {
  position: relative;
  height: 22px;
  flex: 1;
  border-radius: 5px;
  border: 1px solid color-mix(in srgb, var(--ca) 14%, transparent);
  background: #ffffff;
}
.cm-cards i::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 5px;
  width: 8px;
  height: 8px;
  border-radius: 2.5px;
}
.cm-cards i:nth-child(1)::before { background: linear-gradient(135deg, #a78bfa, #8b5cf6); }
.cm-cards i:nth-child(2)::before { background: linear-gradient(135deg, #2dd4bf, #14b8a6); }
.cm-cards i::after {
  content: "";
  position: absolute;
  left: 17px;
  right: 5px;
  top: 7px;
  height: 4px;
  border-radius: 2px;
  background: #eef2f7;
}
.cm-btn {
  display: block;
  height: 16px;
  width: 45%;
  border-radius: 5px;
  background: linear-gradient(135deg, var(--ca2), var(--ca));
  box-shadow: 0 2px 8px color-mix(in srgb, var(--ca) 30%, transparent);
}

/* ---- Ablauf: Timeline ---- */
.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
/* Jede Station hat ihre eigene Farbe — die Linie läuft als Verlauf von Farbe zu Farbe */
.timeline > .tl-step:nth-child(1) { --tl: #2563eb; --tl2: #60a5fa; }
.timeline > .tl-step:nth-child(2) { --tl: #8b5cf6; --tl2: #a78bfa; }
.timeline > .tl-step:nth-child(3) { --tl: #ec4899; --tl2: #f472b6; }
.timeline > .tl-step:nth-child(4) { --tl: #14b8a6; --tl2: #2dd4bf; }
.timeline > .tl-step:nth-child(5) { --tl: #22c55e; --tl2: #4ade80; }
.tl-step { display: flex; flex-direction: column; }
.tl-node {
  position: relative;
  display: flex;
  align-items: center;
  height: 44px;
  margin-bottom: 16px;
}
.tl-dot {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(135deg, var(--tl2), var(--tl));
  box-shadow: 0 0 0 5px var(--bg-alt), 0 6px 18px color-mix(in srgb, var(--tl) 35%, transparent);
  transition: transform 0.25s var(--ease);
}
.tl-step:hover .tl-dot { transform: scale(1.1); }
.tl-step:not(:last-child) .tl-node::after {
  content: "";
  position: absolute;
  left: 44px;
  right: -28px;
  top: 50%;
  height: 3px;
  margin-top: -1.5px;
  border-radius: 1.5px;
  opacity: 0.45;
}
.timeline > .tl-step:nth-child(1) .tl-node::after { background: linear-gradient(90deg, #2563eb, #8b5cf6); }
.timeline > .tl-step:nth-child(2) .tl-node::after { background: linear-gradient(90deg, #8b5cf6, #ec4899); }
.timeline > .tl-step:nth-child(3) .tl-node::after { background: linear-gradient(90deg, #ec4899, #14b8a6); }
.timeline > .tl-step:nth-child(4) .tl-node::after { background: linear-gradient(90deg, #14b8a6, #22c55e); }
.tl-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.tl-when { font-family: var(--font-mono); font-size: 12px; color: var(--tl, var(--accent)); }
.tl-who {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  color: var(--tl);
  background: color-mix(in srgb, var(--tl) 9%, transparent);
  border: 1px solid color-mix(in srgb, var(--tl) 22%, transparent);
}
.who-sie {
  color: #ffffff;
  background: linear-gradient(135deg, var(--tl2), var(--tl));
  border: 0;
}
.tl-title {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 6px;
}
.tl-text { font-size: 14px; line-height: 1.6; color: var(--muted); }

.metrics { display: flex; gap: 20px; margin-top: 48px; }
.metric {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 28px;
}
.metric-value {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--accent), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.metric-label { font-size: 14px; color: var(--muted); }

/* ---- Warum wir ---- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.why-grid .section-head { margin-bottom: 0; }
.why-sub {
  margin: 6px 0 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 420px;
  text-wrap: pretty;
}

/* Animierter Kurz-Chat: so fühlt sich die Zusammenarbeit an */
.chat {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 440px;
  width: 100%;
  justify-self: end;
}
.chat-msg {
  max-width: 85%;
  padding: 13px 18px;
  border-radius: 18px;
}
.chat-them {
  align-self: flex-start;
  background: #ffffff;
  border: 1px solid var(--border);
  border-bottom-left-radius: 6px;
  box-shadow: var(--shadow-card);
}
.chat-us {
  align-self: flex-end;
  background: linear-gradient(135deg, #3b82f6, var(--accent));
  border-bottom-right-radius: 6px;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.25);
}
.chat-msg p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink); }
.chat-us p { color: #ffffff; }
.chat-meta {
  display: block;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--muted);
}
.chat-us .chat-meta { color: rgba(255, 255, 255, 0.75); }
.chat-typing {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 16px 18px;
}
.chat-typing i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  animation: chat-bounce 1.2s ease-in-out infinite;
}
.chat-typing i:nth-child(2) { animation-delay: 0.15s; }
.chat-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes chat-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.6; }
  30% { transform: translateY(-5px); opacity: 1; }
}

/* ---- Inhalte selbst pflegen ---- */
.cms-section { border-top: 1px solid var(--border); }
.cms-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 64px;
  align-items: center;
}
.cms-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.cms-copy p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 460px;
  text-wrap: pretty;
}
.cms-points { display: flex; flex-direction: column; gap: 10px; }
.cms-point { display: flex; align-items: baseline; gap: 10px; }
.cms-point .arrow { font-family: var(--font-mono); font-size: 13px; color: #14b8a6; }
.cms-point span:last-child { font-size: 15px; color: var(--ink); }

/* Editor-Mockup */
.cms-window {
  max-width: 460px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid rgba(20, 184, 166, 0.25);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(20, 184, 166, 0.14);
  overflow: hidden;
}
.cms-toolbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid #ece9f1;
  background: #fafcfc;
}
.cms-tool {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--muted);
  border: 1px solid transparent;
}
.cms-tool-active {
  color: #0f766e;
  background: rgba(20, 184, 166, 0.12);
  border-color: rgba(20, 184, 166, 0.25);
}
.cms-saved {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: #16a34a;
  background: rgba(34, 197, 94, 0.10);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 999px;
  padding: 4px 9px;
}
.cms-page {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  background-image: radial-gradient(circle, rgba(20, 184, 166, 0.06) 1px, transparent 1px);
  background-size: 16px 16px;
}
.cms-heading {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.cms-highlight {
  background: rgba(20, 184, 166, 0.22);
  border-radius: 3px;
  padding: 0 2px;
}
.cms-cursor {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  margin-left: 2px;
  vertical-align: text-bottom;
  background: #0f766e;
  animation: cms-blink 1.1s steps(1, end) infinite;
}
@keyframes cms-blink {
  50% { opacity: 0; }
}
.cms-line { height: 8px; border-radius: 4px; background: #eef2f7; }
.cms-w100 { width: 100%; }
.cms-w85 { width: 85%; }
.cms-imgbox {
  margin-top: 4px;
  height: 96px;
  border: 1.5px dashed rgba(20, 184, 166, 0.45);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 184, 166, 0.05);
}
.cms-imgbox span { font-family: var(--font-mono); font-size: 11px; color: #0f766e; }

/* ---- Kontakt: schwebende CTA-Karte ---- */
.section-contact {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 96px 32px;
  scroll-margin-top: 76px;
}
.cta-wrap { max-width: 1120px; margin: 0 auto; }
.cta-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 24px 64px rgba(21, 33, 46, 0.18);
}
.cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
}
.cta-glow { position: absolute; border-radius: 50%; }
.cta-glow-blue {
  width: 900px; height: 560px; left: 50%; bottom: -55%; margin-left: -450px;
  background: radial-gradient(closest-side, rgba(37, 99, 235, 0.20), transparent 70%);
  animation: cc-drift-b 24s ease-in-out infinite;
}
/* Großes Logo-Wasserzeichen */
.cta-mark {
  position: absolute;
  right: 5%;
  bottom: -30px;
  display: flex;
  align-items: flex-end;
  gap: 14px;
  transform: skewX(-14deg);
  opacity: 0.55;
}
.cta-mark i { display: block; width: 30px; border-radius: 15px; }
.cta-mark i:nth-child(1) { height: 110px; background: rgba(96, 165, 250, 0.10); }
.cta-mark i:nth-child(2) { height: 170px; margin-bottom: 12px; background: rgba(96, 165, 250, 0.16); }
.cta-mark i:nth-child(3) { height: 230px; margin-bottom: 24px; background: rgba(96, 165, 250, 0.24); }
.cta-inner {
  position: relative;
  z-index: 1;
  padding: 88px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.cta-inner h2 {
  font-size: 44px;
  color: #ffffff;
  max-width: 680px;
}
.cta-highlight { color: #60a5fa; }
.cta-inner p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #a7b4c4;
  max-width: 540px;
}
.contact-form {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  padding: 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.contact-form input {
  width: 300px;
  font-size: 15px;
  font-family: var(--font-mono);
  color: var(--ink);
  background: #ffffff;
  border: 0;
  border-radius: 10px;
  padding: 14px 16px;
  outline: none;
}
.contact-form input:focus { box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.5); }
.cta-trust {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 4px;
}
.cta-trust span { font-family: var(--font-mono); font-size: 11.5px; color: #8fa0b3; }
.cta-trust b { color: #60a5fa; font-weight: 600; }

/* ---- Rechtsseiten (Impressum / Datenschutz / 404) ---- */
.legal-page { background: #ffffff; }
.legal-page .container { max-width: 800px; padding: 64px 32px 96px; }
.legal-page h1 {
  margin: 10px 0 32px;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.legal-page h2 {
  margin: 36px 0 10px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.legal-page p, .legal-page li {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}
.legal-page ul { margin: 0 0 12px; padding-left: 22px; }
.legal-page li { margin-bottom: 6px; }
.legal-page strong { color: var(--ink); font-weight: 600; }
.legal-back { margin-top: 40px; }

/* ---- Footer ---- */
.site-footer { background: #ffffff; border-top: 1px solid var(--border); }
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 56px 32px 28px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding-bottom: 36px;
}
.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 380px;
}
.footer-brand-col .logo-lockup { padding: 0; }
.footer-tagline {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  text-wrap: pretty;
}
.footer-nav { display: flex; gap: 28px; flex-wrap: wrap; padding-top: 10px; }
.footer-nav a { font-size: 14px; font-weight: 500; color: var(--ink); }
.footer-nav a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid #ece9f1;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-bottom > span { font-size: 13px; color: var(--muted); }
.footer-links { display: flex; align-items: center; gap: 24px; }
.footer-links a { font-size: 13px; color: var(--muted); }
.footer-links a:hover { color: var(--accent); }

/* ============================================================================
   Responsive
   ============================================================================ */
@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 56px;
    padding: 72px 32px 64px;
  }
  .hero-doodle { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .metrics { flex-direction: column; }
  /* Timeline wird vertikal: Punkte links, Linie nach unten */
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .tl-step { flex-direction: row; gap: 18px; padding-bottom: 28px; }
  .tl-node { height: auto; margin-bottom: 0; align-items: flex-start; flex-shrink: 0; }
  .tl-body { padding-top: 10px; }
  .tl-step:not(:last-child) .tl-node::after {
    left: 20.5px;
    right: auto;
    top: 50px;
    bottom: -6px;
    width: 3px;
    height: auto;
    margin-top: 0;
    border-radius: 1.5px;
  }
  .timeline > .tl-step:nth-child(1) .tl-node::after { background: linear-gradient(180deg, #2563eb, #8b5cf6); }
  .timeline > .tl-step:nth-child(2) .tl-node::after { background: linear-gradient(180deg, #8b5cf6, #ec4899); }
  .timeline > .tl-step:nth-child(3) .tl-node::after { background: linear-gradient(180deg, #ec4899, #14b8a6); }
  .timeline > .tl-step:nth-child(4) .tl-node::after { background: linear-gradient(180deg, #14b8a6, #22c55e); }
  .why-grid, .cms-grid { grid-template-columns: 1fr; gap: 40px; }
  .tf-inner { grid-template-columns: 1fr; gap: 32px; }
  .tf-captions { min-height: 190px; }
  .tf-caption h3 { font-size: 28px; }
  .tf-frame { max-width: 420px; }
  /* Einspaltig: Text steht über dem Fenster, daher nur sanft wandern */
  .tf-visual { transform: translateY(calc(var(--tf-drift, 0) * 0.3vh)); }
}

@media (max-width: 860px) {
  .card-mock { display: none; }
  .card-span-2 .card-ghost { display: block; }
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px 24px 20px;
    background: rgba(255, 255, 255, 0.98);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
  }
  .nav-open .site-nav { display: flex; }
  .site-nav .nav-link { padding: 12px 4px; font-size: 15px; }
  .site-nav .btn-nav { margin-top: 8px; justify-content: center; }
}

@media (max-width: 620px) {
  .container { padding: 64px 20px; }
  .section-contact { padding: 64px 16px; }
  .cta-inner { padding: 64px 24px; }
  .cta-inner h2 { font-size: 30px; }
  .cta-mark { display: none; }
  .cta-trust { gap: 12px; }
  .nav-inner { padding: 12px 16px; }
  h1 { font-size: 38px; }
  h2 { font-size: 28px; }
  .hero-inner { padding: 56px 20px 56px; }
  .hero-lead { font-size: 16px; }
  .hero-ctas .btn { width: 100%; }
  .services-grid { grid-template-columns: 1fr; }
  .card-span-2 { grid-column: auto; }
  .metric-value { font-size: 26px; }
  .contact-form { flex-direction: column; width: 100%; max-width: 360px; }
  .contact-form input { width: 100%; }
  .footer-inner { padding: 40px 20px 24px; }
  .footer-top { flex-direction: column; gap: 24px; padding-bottom: 28px; }
  .footer-nav { gap: 18px; padding-top: 0; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .tf-track { height: 450vh; }
  .tf-inner { padding: 0 20px; gap: 20px; }
  .tf-captions { min-height: 170px; }
  .tf-caption h3 { font-size: 24px; }
  .tf-caption p { font-size: 14px; }
  .tf-chip { font-size: 10.5px; padding: 7px 12px; top: -14px; right: -6px; }
  .tf-summary { gap: 6px; }
  .tf-summary span { font-size: 9.5px; padding: 5px 9px; }
  .tf-visual { gap: 14px; }
  .tf-url-old, .tf-url-new { font-size: 8.5px; }
  .tf-search { width: 150px; left: -8px; padding: 8px; }
}
