/* ==========================================================================
   CFTO Studio — Design Tokens
   ========================================================================== */
:root {
  --bg: #07070c;
  --bg-alt: #0c0c14;
  --surface: #12121c;
  --surface-2: #191926;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text: #f5f5f8;
  --text-dim: #9a9aad;
  --text-dimmer: #6c6c7e;

  --accent: #7c5cff;
  --accent-2: #22d3ee;
  --accent-3: #ff6b9d;
  --gradient: linear-gradient(135deg, var(--accent), var(--accent-2));

  --font-head: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --container: 1240px;
  --radius: 18px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Reset
   ========================================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

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

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

button { font: inherit; cursor: pointer; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 999;
}
.skip-link:focus { left: 16px; top: 16px; }

/* ==========================================================================
   Ambient background effects
   ========================================================================== */
.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.12), transparent 70%);
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  opacity: 0;
}
.cursor-glow.active { opacity: 1; }

@media (max-width: 900px) {
  .cursor-glow { display: none; }
}

/* ==========================================================================
   Reveal-on-scroll
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.3s var(--ease), padding 0.3s var(--ease), border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(7, 7, 12, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 12px 0;
  border-bottom-color: var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.logo-mark {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.logo-sub { color: var(--text-dim); font-weight: 500; font-size: 1rem; }

.nav-desktop {
  display: flex;
  gap: 32px;
  margin-left: auto;
}
.nav-desktop a {
  font-size: 0.95rem;
  color: var(--text-dim);
  position: relative;
  padding: 4px 0;
  transition: color 0.25s ease;
}
.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: width 0.25s var(--ease);
}
.nav-desktop a:hover { color: var(--text); }
.nav-desktop a:hover::after { width: 100%; }

.nav-cta { margin-left: 8px; }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
}
.burger span {
  display: block;
  height: 2px;
  width: 18px;
  margin: 0 auto;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 24px 24px;
  background: rgba(7, 7, 12, 0.98);
  border-bottom: 1px solid var(--border);
}
.nav-mobile a {
  padding: 12px 4px;
  border-bottom: 1px solid var(--border);
  color: var(--text-dim);
}
.nav-mobile a:last-child { border-bottom: none; margin-top: 8px; }
.nav-mobile.open { display: flex; }

@media (max-width: 860px) {
  .nav-desktop, .nav-cta { display: none; }
  .burger { display: flex; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s ease, border-color 0.25s ease;
  border: 1px solid transparent;
}
.btn-small { padding: 10px 20px; font-size: 0.88rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--gradient);
  color: #08080d;
  box-shadow: 0 8px 24px -8px rgba(124, 92, 255, 0.5);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -8px rgba(124, 92, 255, 0.7);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  border-color: var(--accent-2);
  color: var(--accent-2);
  transform: translateY(-2px);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 150px 0 120px;
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; z-index: -1; }

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  animation: float 16s ease-in-out infinite;
}
.blob-1 {
  width: 660px; height: 660px;
  background: radial-gradient(circle, var(--accent), transparent 70%);
  top: -18%; left: -12%;
}
.blob-2 {
  width: 580px; height: 580px;
  background: radial-gradient(circle, var(--accent-2), transparent 70%);
  bottom: -24%; right: -10%;
  animation-delay: -8s;
}
.blob-3 {
  width: 440px; height: 440px;
  background: radial-gradient(circle, var(--accent-3), transparent 70%);
  top: 28%; left: 42%;
  opacity: 0.2;
  animation-duration: 21s;
  animation-delay: -4s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -40px) scale(1.08); }
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 65% at 50% 45%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 80% 65% at 50% 45%, black, transparent);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
}
.hero-copy { max-width: 660px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.86rem;
  color: var(--text-dim);
  margin-bottom: 28px;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-2);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(34, 211, 238, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); }
}

.eyebrow {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 5vw, 4.3rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin-bottom: 26px;
}
.hero-title span { display: block; padding-bottom: 0.04em; }

.gradient-text {
  background: linear-gradient(110deg, var(--accent) 0%, var(--accent-2) 45%, #a78bfa 70%, var(--accent) 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientShift 9s ease-in-out infinite;
}
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-rotator {
  line-height: 1.4;
  font-family: var(--font-head);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 18px;
}
.rotator {
  display: inline-block;
  position: relative;
  overflow: hidden;
  vertical-align: top;
  height: 1.4em;
}
.rotator-word {
  display: inline-block;
  color: var(--accent-2);
  transition: transform 0.42s var(--ease), opacity 0.42s var(--ease);
}
.rotator-word.out { transform: translateY(-110%); opacity: 0; }
.rotator-word.in { transform: translateY(110%); opacity: 0; transition: none; }

.hero-text {
  font-size: 1.14rem;
  line-height: 1.75;
  color: var(--text-dim);
  max-width: 590px;
  margin-bottom: 36px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }

.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.hero-trust li { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; color: var(--text-dim); }
.hero-trust svg { width: 18px; height: 18px; color: var(--accent-2); flex-shrink: 0; }

/* --- Animierte Hero-Grafik ------------------------------------------------ */
.hero-visual { position: relative; height: 540px; }

.hv-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transition: transform 0.35s ease-out;
  will-change: transform;
}

.hv-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  transform: translate(-50%, -50%);
  animation: orbitSpin 60s linear infinite;
}
.hv-orbit-1 { width: 540px; height: 540px; }
.hv-orbit-2 {
  width: 390px; height: 390px;
  border-color: rgba(124, 92, 255, 0.22);
  animation-duration: 42s;
  animation-direction: reverse;
}
.hv-orbit::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 16px var(--accent-2);
}
.hv-orbit-2::before { background: var(--accent); box-shadow: 0 0 16px var(--accent); }
@keyframes orbitSpin { to { transform: translate(-50%, -50%) rotate(360deg); } }

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hv-browser {
  position: absolute;
  top: 64px;
  left: 0;
  width: 84%;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(32, 32, 50, 0.95), rgba(17, 17, 27, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.85), 0 0 80px -40px rgba(124, 92, 255, 0.6);
  animation: bob 7s ease-in-out infinite;
}
.hv-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.hv-bar i { width: 9px; height: 9px; border-radius: 50%; }
.hv-bar i:nth-child(1) { background: #ff5f57; }
.hv-bar i:nth-child(2) { background: #febc2e; }
.hv-bar i:nth-child(3) { background: #28c840; }
.hv-bar span {
  margin: 0 auto;
  padding: 3px 16px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.72rem;
  color: var(--text-dimmer);
}
.hv-page { padding: 22px; }
.hv-hero-block {
  padding: 22px;
  margin-bottom: 14px;
  border-radius: 12px;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(124, 92, 255, 0.38), transparent 60%),
    radial-gradient(120% 140% at 100% 100%, rgba(34, 211, 238, 0.26), transparent 60%),
    rgba(255, 255, 255, 0.02);
}
.hv-line { height: 8px; margin-bottom: 10px; border-radius: 6px; background: rgba(255, 255, 255, 0.14); }
.hv-big { height: 14px; background: rgba(255, 255, 255, 0.6); }
.hv-accent { height: 6px; background: var(--gradient); }
.hv-w40 { width: 40%; }
.hv-w60 { width: 60%; }
.hv-w80 { width: 80%; }
.hv-w90 { width: 90%; }
.hv-pill {
  width: 110px;
  height: 26px;
  margin-top: 16px;
  border-radius: 999px;
  background: var(--gradient);
  box-shadow: 0 8px 20px -8px rgba(124, 92, 255, 0.8);
}
.hv-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.hv-card-mini {
  padding: 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.hv-card-mini b {
  display: block;
  width: 22px;
  height: 22px;
  margin-bottom: 10px;
  border-radius: 7px;
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.55), rgba(34, 211, 238, 0.55));
}
.hv-card-mini s { display: block; height: 6px; margin-bottom: 6px; border-radius: 4px; background: rgba(255, 255, 255, 0.14); }
.hv-card-mini s.short { width: 60%; margin-bottom: 0; }

.hv-phone {
  position: absolute;
  top: 150px;
  right: 2%;
  width: 190px;
  height: 380px;
  padding: 10px;
  border-radius: 34px;
  background: #0a0a10;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 50px 90px -30px rgba(0, 0, 0, 0.9), 0 0 70px -20px rgba(34, 211, 238, 0.4);
  animation: bob 6s ease-in-out infinite;
  animation-delay: -2s;
}
.hv-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  z-index: 2;
  width: 60px;
  height: 16px;
  border-radius: 10px;
  background: #000;
  transform: translateX(-50%);
}
.hv-phone-screen {
  height: 100%;
  padding: 44px 14px 14px;
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(180deg, #19192d, #101018);
}
.hv-app-tile {
  height: 86px;
  margin: 14px 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  opacity: 0.88;
}
.hv-app-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  padding: 9px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
}
.hv-app-row i { width: 20px; height: 20px; flex-shrink: 0; border-radius: 6px; background: rgba(255, 255, 255, 0.2); }
.hv-app-row s { flex: 1; height: 6px; border-radius: 4px; background: rgba(255, 255, 255, 0.16); }

.hv-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 12px;
  border-radius: 14px;
  white-space: nowrap;
  background: rgba(20, 20, 32, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 44px -20px rgba(0, 0, 0, 0.85);
  animation: bob 5.5s ease-in-out infinite;
}
.hv-chip b { display: block; font-family: var(--font-head); font-size: 0.86rem; color: var(--text); }
.hv-chip small { display: block; font-size: 0.72rem; color: var(--text-dimmer); }
.hv-chip-icon { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 10px; }
.hv-chip-icon svg { width: 20px; height: 20px; }
.hv-green { background: rgba(52, 211, 153, 0.15); color: #34d399; }
.hv-violet { background: rgba(124, 92, 255, 0.2); color: #a78bfa; }
.hv-chip-1 { top: 14px; left: -3%; animation-delay: -1s; }
.hv-chip-2 { right: -2%; bottom: 36px; animation-delay: -3s; }
.hv-chip-3 { left: 6%; bottom: 18px; animation-delay: -2s; }

.hv-live-dot {
  width: 10px;
  height: 10px;
  margin: 0 4px 0 6px;
  border-radius: 50%;
  background: #34d399;
  animation: pulseGreen 2s infinite;
}
@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6); }
  70% { box-shadow: 0 0 0 9px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.hv-spark { display: flex; align-items: flex-end; gap: 3px; height: 26px; margin-left: 4px; }
.hv-spark i {
  width: 4px;
  border-radius: 2px;
  background: var(--gradient);
  transform-origin: bottom;
  animation: sparkBars 2.4s ease-in-out infinite;
}
.hv-spark i:nth-child(1) { height: 28%; }
.hv-spark i:nth-child(2) { height: 42%; animation-delay: -0.2s; }
.hv-spark i:nth-child(3) { height: 38%; animation-delay: -0.4s; }
.hv-spark i:nth-child(4) { height: 60%; animation-delay: -0.6s; }
.hv-spark i:nth-child(5) { height: 78%; animation-delay: -0.8s; }
.hv-spark i:nth-child(6) { height: 100%; animation-delay: -1s; }
@keyframes sparkBars {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.62); }
}

.scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-dimmer);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}
.scroll-hint:hover { color: var(--text); }
.scroll-hint span {
  position: relative;
  width: 1px;
  height: 36px;
  overflow: hidden;
  background: linear-gradient(to bottom, var(--accent-2), transparent);
}
.scroll-hint span::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent-2);
  animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { top: -100%; }
  60% { top: 100%; }
  100% { top: 100%; }
}

@media (max-width: 1080px) {
  .hero { min-height: auto; padding: 140px 0 90px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-copy { max-width: 720px; }
  .hero-visual { width: 100%; max-width: 580px; height: 480px; margin: 0 auto; }
  .scroll-hint { display: none; }
}

@media (max-width: 560px) {
  .hero-visual { height: 360px; }
  .hv-orbit-1 { width: 350px; height: 350px; }
  .hv-orbit-2 { width: 250px; height: 250px; }
  .hv-browser { top: 44px; width: 90%; }
  .hv-page { padding: 14px; }
  .hv-hero-block { padding: 14px; margin-bottom: 0; }
  .hv-cards { display: none; }
  .hv-phone { top: 118px; width: 136px; height: 272px; border-radius: 26px; padding: 7px; }
  .hv-phone-screen { padding: 34px 10px 10px; border-radius: 20px; }
  .hv-notch { top: 13px; width: 44px; height: 12px; }
  .hv-app-tile { height: 56px; margin: 10px 0; }
  .hv-app-row { padding: 6px; }
  .hv-app-row i { width: 14px; height: 14px; }
  .hv-chip { padding: 9px 12px 9px 9px; gap: 9px; }
  .hv-chip-icon { width: 30px; height: 30px; }
  .hv-chip-1 { top: 0; left: 0; }
  .hv-chip-2 { right: 0; bottom: 6px; }
  .hv-chip-3 { display: none; }
}

/* ==========================================================================
   Laufband
   ========================================================================== */
.marquee {
  position: relative;
  overflow: hidden;
  padding: 22px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.015);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 42s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 48px;
  padding-right: 48px;
  white-space: nowrap;
  font-family: var(--font-head);
  font-size: clamp(1.05rem, 1.9vw, 1.45rem);
  font-weight: 600;
  color: var(--text-dim);
}
.marquee-track span::after {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--gradient);
  transform: rotate(45deg);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { position: relative; padding: 130px 0; }
.section-alt { background: var(--bg-alt); }

.section-head { margin-bottom: 56px; }
.section-head--center { text-align: center; }
.section-head--center .section-title,
.section-head--center .section-lead { margin-left: auto; margin-right: auto; }

.section-title {
  font-family: var(--font-head);
  font-size: clamp(2.1rem, 4.4vw, 3.35rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 840px;
  margin-bottom: 20px;
}

.section-lead {
  color: var(--text-dim);
  font-size: 1.12rem;
  line-height: 1.75;
  max-width: 660px;
}
.section-lead em { font-style: normal; color: var(--text); }

.text-link {
  color: var(--accent-2);
  border-bottom: 1px solid rgba(34, 211, 238, 0.4);
  transition: border-color 0.25s ease;
}
.text-link:hover { border-color: var(--accent-2); }

/* Nach dem Einblenden keine Verzögerung mehr für Hover-Effekte */
.reveal.reveal-done { transition-delay: 0s; }

/* ==========================================================================
   Leistungen & Projekte — Kachel-System
   ========================================================================== */
.service-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.service-group-label {
  position: relative;
  padding-left: 16px;
  font-family: var(--font-head);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}
.service-group-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 15px;
  border-radius: 2px;
  background: var(--gradient);
  transform: translateY(-50%);
}
.service-group-badge {
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--accent-2);
  border: 1px solid rgba(34, 211, 238, 0.3);
  background: rgba(34, 211, 238, 0.08);
}

.bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.tile--wide { grid-column: span 2; }

/* .tile = Layout-Hülle (bekommt die Einblend-Animation),
   .tile-trigger = die eigentliche Karte (bekommt Neigung & Lichtkegel) */
.tile { position: relative; display: flex; min-width: 0; }

.tile-trigger {
  --rx: 0deg;
  --ry: 0deg;
  --lift: 0px;
  --mx: 50%;
  --my: 50%;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
  overflow: hidden;
  text-align: left;
  color: inherit;
  cursor: pointer;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  transform: perspective(1100px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(var(--lift));
  transition: transform 0.55s var(--ease), border-color 0.35s ease, box-shadow 0.55s var(--ease);
}
.tile-trigger.is-tilting { transition: transform 0.12s linear, border-color 0.35s ease, box-shadow 0.55s var(--ease); }
.tile-trigger:hover {
  --lift: -8px;
  border-color: var(--border-strong);
  box-shadow: 0 34px 70px -34px rgba(0, 0, 0, 0.85), 0 0 60px -30px rgba(124, 92, 255, 0.45);
}
.tile-trigger:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 4px; }

/* Lichtkegel */
.tile-trigger::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(460px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.08), transparent 45%);
  opacity: 0;
  transition: opacity 0.35s ease;
}
/* Leuchtender Rand */
.tile-trigger::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  padding: 1px;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(380px circle at var(--mx) var(--my), rgba(34, 211, 238, 0.8), rgba(124, 92, 255, 0.45) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.tile-trigger:hover::before,
.tile-trigger:hover::after { opacity: 1; }

.tile-media { position: relative; flex-shrink: 0; height: 230px; overflow: hidden; }
.tile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.tile-trigger:hover .tile-media img { transform: scale(1.07); }

.tile-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(7, 7, 12, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--border-strong);
}

.tile-body { display: flex; flex: 1; flex-direction: column; padding: 24px 26px 26px; }
.tile-body h3,
.tile-body h4 {
  margin-bottom: 8px;
  font-family: var(--font-head);
  font-size: 1.28rem;
  letter-spacing: -0.01em;
}
.tile-body p { color: var(--text-dim); font-size: 0.95rem; line-height: 1.6; }

.tile-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-2);
}
.tile-more::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.35s var(--ease);
}
.tile-trigger:hover .tile-more::after { transform: translateX(4px) rotate(45deg); }

.tile-points { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; }
.tile-points li {
  position: relative;
  padding-left: 24px;
  color: var(--text-dim);
  font-size: 0.93rem;
}
.tile-points li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 7px;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--accent-2);
  border-bottom: 2px solid var(--accent-2);
  transform: rotate(-45deg);
}

/* IT-Panel */
.it-panel {
  position: relative;
  margin-top: 72px;
  padding: 40px;
  border-radius: 30px;
  border: 1px solid rgba(34, 211, 238, 0.16);
  background:
    radial-gradient(80% 120% at 0% 0%, rgba(34, 211, 238, 0.1), transparent 55%),
    radial-gradient(80% 120% at 100% 100%, rgba(124, 92, 255, 0.13), transparent 55%),
    rgba(255, 255, 255, 0.015);
}
.service-group--panel { margin-bottom: 12px; }
.it-panel-lead { max-width: 740px; margin-bottom: 30px; color: var(--text-dim); line-height: 1.75; }

/* Projekte */
.projects-bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.projects-bento .tile-media { height: auto; aspect-ratio: 16 / 10; }
.tile--feature { grid-column: 1 / -1; }
.tile--feature .tile-trigger { flex-direction: row; }
.tile--feature .tile-media { width: 62%; }
.tile--feature .tile-body { width: 38%; justify-content: center; padding: 44px 42px; }
.tile--feature .tile-body h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 12px; }
.tile--feature .tile-body p { font-size: 1.02rem; line-height: 1.7; }
.tile--feature .tile-more { margin-top: 26px; padding-top: 0; }

/* ==========================================================================
   Warum wir — Zahlen & Vorteile
   ========================================================================== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 40px;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
}
.stat { position: relative; padding: 38px 20px; text-align: center; }
.stat + .stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22%;
  bottom: 22%;
  width: 1px;
  background: var(--border);
}
.stat-num {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 4.6vw, 3.8rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label { color: var(--text-dim); font-size: 0.95rem; }

.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.value {
  padding: 30px 26px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.45s var(--ease), border-color 0.3s ease, opacity 0.8s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.value:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.value-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
  border-radius: 14px;
  color: var(--accent-2);
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.22), rgba(34, 211, 238, 0.2));
}
.value-icon svg { width: 24px; height: 24px; }
.value h3 { margin-bottom: 10px; font-family: var(--font-head); font-size: 1.15rem; }
.value p { color: var(--text-dim); font-size: 0.94rem; line-height: 1.65; }

/* ==========================================================================
   Ablauf
   ========================================================================== */
.process {
  position: relative;
  display: grid;
  list-style: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}
.process-line {
  position: absolute;
  display: block;
  top: 34px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  overflow: hidden;
  border-radius: 2px;
  background: var(--border-strong);
}
.process-line span {
  display: block;
  width: var(--p, 0%);
  height: 100%;
  background: var(--gradient);
  box-shadow: 0 0 14px rgba(34, 211, 238, 0.7);
}
.process-step { position: relative; padding: 0 8px; text-align: center; }
.step-num {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  margin-bottom: 22px;
  border-radius: 50%;
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dim);
  background: var(--bg-alt);
  border: 2px solid var(--border-strong);
  transition: color 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.process-step.is-active .step-num {
  color: var(--text);
  border-color: transparent;
  background:
    linear-gradient(var(--bg-alt), var(--bg-alt)) padding-box,
    var(--gradient) border-box;
  box-shadow: 0 0 34px -6px rgba(124, 92, 255, 0.75);
}
.process-step h3 { margin-bottom: 10px; font-family: var(--font-head); font-size: 1.2rem; }
.process-step p { color: var(--text-dim); font-size: 0.95rem; line-height: 1.65; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 64px;
  align-items: start;
}
.faq-head { position: sticky; top: 120px; margin-bottom: 0; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.3s ease, background 0.3s ease, opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.faq-item:hover { border-color: var(--border-strong); }
.faq-item[open] { border-color: rgba(124, 92, 255, 0.4); background: var(--surface-2); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: center / 12px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 1v10M1 6h10' stroke='%2322d3ee' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  transition: transform 0.35s var(--ease), background-color 0.3s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); background-color: rgba(124, 92, 255, 0.22); }
.faq-item summary:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; border-radius: 16px; }
.faq-answer { padding: 0 22px 22px; color: var(--text-dim); line-height: 1.75; }
.faq-item[open] .faq-answer { animation: faqIn 0.4s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }

/* ==========================================================================
   Call-to-Action-Banner
   ========================================================================== */
.cta-section { padding: 20px 0 30px; }
.cta-banner {
  position: relative;
  overflow: hidden;
  padding: 80px 40px;
  border-radius: 34px;
  text-align: center;
  color: #08080d;
  background: linear-gradient(125deg, #9a7dff 0%, #7c9bff 45%, #2fd6f0 100%);
  box-shadow: 0 50px 110px -50px rgba(124, 92, 255, 0.8);
}
.cta-glow {
  position: absolute;
  inset: -60%;
  pointer-events: none;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(255, 255, 255, 0.38) 40deg, transparent 90deg);
  opacity: 0.55;
  animation: ctaSpin 12s linear infinite;
}
@keyframes ctaSpin { to { transform: rotate(360deg); } }
.cta-banner > *:not(.cta-glow) { position: relative; }
.cta-banner .eyebrow { color: rgba(8, 8, 13, 0.68); }
.cta-banner h2 {
  margin-bottom: 16px;
  font-family: var(--font-head);
  font-size: clamp(2.1rem, 5vw, 3.7rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.cta-banner p { max-width: 580px; margin: 0 auto 34px; font-size: 1.1rem; color: rgba(8, 8, 13, 0.78); }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* ==========================================================================
   Modal
   ========================================================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal[hidden] { display: none; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 4, 8, 0.8);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.modal.open .modal-backdrop { opacity: 1; }

.modal-panel {
  position: relative;
  width: 100%;
  max-width: 640px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  opacity: 0;
  transform: translateY(20px) scale(0.98);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.modal.open .modal-panel { opacity: 1; transform: translateY(0) scale(1); }

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(7, 7, 12, 0.7);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border-strong);
  color: var(--text);
  transition: background 0.25s ease, border-color 0.25s ease;
}
.modal-close svg { width: 18px; height: 18px; }
.modal-close:hover { background: var(--surface-2); border-color: var(--accent-2); color: var(--accent-2); }

.modal-media { aspect-ratio: 16/10; overflow: hidden; }
.modal-media img { width: 100%; height: 100%; object-fit: cover; }

.modal-body { padding: 28px 32px 32px; }

.modal-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-2);
  border: 1px solid rgba(34, 211, 238, 0.3);
  background: rgba(34, 211, 238, 0.08);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.modal-body h3 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.modal-lead { color: var(--text-dim); font-size: 0.98rem; line-height: 1.7; margin-bottom: 26px; }

.modal-section { margin-bottom: 24px; }
.modal-section h4 {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dimmer);
  margin-bottom: 12px;
}
.modal-section ul { display: flex; flex-direction: column; gap: 8px; }
.modal-section li {
  position: relative;
  padding-left: 22px;
  color: var(--text-dim);
  font-size: 0.93rem;
  line-height: 1.6;
}
.modal-section li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gradient);
}

.modal-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.modal-chips span {
  font-size: 0.8rem;
  color: var(--text-dim);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 8px;
}

.modal-link { margin-top: 6px; gap: 8px; }

body.modal-open { overflow: hidden; }

@media (max-width: 560px) {
  .modal { padding: 12px; }
  .modal-body { padding: 24px 22px 26px; }
  .modal-body h3 { font-size: 1.25rem; }
}

/* ==========================================================================
   Founders
   ========================================================================== */
.founders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 28px;
}

.founder-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 36px 36px;
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s ease, background 0.4s ease;
}
.founder-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.founder-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  background: var(--surface-2);
}
.founder-card:hover::before { transform: scaleX(1); }

.founder-head {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.founder-photo-wrap {
  position: relative;
  flex-shrink: 0;
  padding: 3px;
  border-radius: 50%;
  background: var(--gradient);
}

.founder-photo {
  display: block;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 3px solid var(--surface);
  transition: border-color 0.4s ease;
}
.founder-card:hover .founder-photo { border-color: var(--surface-2); }

.founder-card h3 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.founder-role {
  display: inline-block;
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(34, 211, 238, 0.3);
  background: rgba(34, 211, 238, 0.08);
  padding: 4px 12px;
  border-radius: 999px;
}

.founder-tagline {
  font-family: var(--font-head);
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.founder-bio {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 16px;
}
.founder-bio:last-child { margin-bottom: 0; }

@media (max-width: 560px) {
  .founder-card { padding: 32px 24px 28px; }
  .founder-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .founder-photo { width: 84px; height: 84px; }
}

/* ==========================================================================
   Kontakt
   ========================================================================== */
.kontakt-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: start;
}
.kontakt-text .section-lead { margin-bottom: 32px; }

.contact-cards { display: flex; flex-direction: column; gap: 12px; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.3s ease, transform 0.35s var(--ease);
}
a.contact-card:hover { border-color: rgba(34, 211, 238, 0.45); transform: translateX(4px); }
.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  color: var(--accent-2);
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.22), rgba(34, 211, 238, 0.2));
}
.contact-icon svg { width: 22px; height: 22px; }
.contact-card small {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dimmer);
}
.contact-card b { font-size: 1rem; font-weight: 600; color: var(--text); }

.kontakt-form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 36px;
  border-radius: 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 40px 90px -45px rgba(0, 0, 0, 0.8);
}
.kontakt-form::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 12%;
  right: 12%;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient);
}

.interest-group { min-width: 0; margin: 0; padding: 0; border: 0; }
.interest-group legend { margin-bottom: 12px; padding: 0; font-size: 0.92rem; font-weight: 600; color: var(--text); }
.interest-group legend span { font-weight: 400; color: var(--text-dimmer); }
.interest-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block;
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  font-size: 0.88rem;
  color: var(--text-dim);
  user-select: none;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.chip:hover span { border-color: rgba(34, 211, 238, 0.5); color: var(--text); }
.chip input:checked + span {
  color: var(--text);
  border-color: rgba(34, 211, 238, 0.75);
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.3), rgba(34, 211, 238, 0.24));
}
.chip input:focus-visible + span { outline: 2px solid var(--accent-2); outline-offset: 2px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row { display: flex; flex-direction: column; gap: 8px; }
.form-row label { font-size: 0.86rem; color: var(--text-dim); }
.form-row .optional { color: var(--text-dimmer); }

.form-row input,
.form-row textarea {
  padding: 13px 15px;
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.96rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  resize: vertical;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.form-row input::placeholder,
.form-row textarea::placeholder { color: var(--text-dimmer); }
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent-2);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.15);
}
.form-row .has-error { border-color: var(--accent-3); box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.14); }

.hp-field {
  position: absolute !important;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-privacy { font-size: 0.8rem; line-height: 1.55; color: var(--text-dimmer); }
.form-privacy a { color: var(--text-dim); text-decoration: underline; }

.form-note { min-height: 1.3em; font-size: 0.92rem; color: var(--text-dim); }
.form-note.success { color: #34d399; }
.form-note.error { color: var(--accent-3); }
.form-note a { color: inherit; text-decoration: underline; }

.btn-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(8, 8, 13, 0.25);
  border-top-color: #08080d;
  animation: btnSpin 0.7s linear infinite;
}
.is-loading .btn-spinner { display: inline-block; }
.is-loading .btn-label { opacity: 0.75; }
.btn:disabled { cursor: progress; }
@keyframes btnSpin { to { transform: rotate(360deg); } }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  padding: 76px 0 30px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 52px;
}
.footer-brand p {
  max-width: 320px;
  margin: 16px 0 22px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-dim);
}
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-col h4 {
  margin-bottom: 6px;
  font-family: var(--font-head);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}
.footer-col a,
.footer-col button,
.footer-col span {
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  font-size: 0.93rem;
  color: var(--text-dim);
  transition: color 0.25s ease;
}
.footer-col a:hover,
.footer-col button:hover { color: var(--accent-2); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.footer-copy { font-size: 0.85rem; color: var(--text-dimmer); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 0.85rem; color: var(--text-dimmer); transition: color 0.25s ease; }
.footer-legal a:hover { color: var(--accent-2); }

/* ==========================================================================
   Legal pages (Impressum / Datenschutz)
   ========================================================================== */
.legal-page {
  padding: 160px 0 100px;
  min-height: 100vh;
}
.legal-page .container { max-width: 760px; }
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: 32px;
  transition: color 0.25s ease;
}
.legal-back:hover { color: var(--accent-2); }
.legal-page h1 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 8px;
}
.legal-updated { color: var(--text-dimmer); font-size: 0.85rem; margin-bottom: 40px; }
.legal-page h2 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  margin-top: 40px;
  margin-bottom: 12px;
}
.legal-page p, .legal-page li { color: var(--text-dim); font-size: 0.95rem; margin-bottom: 12px; }
.legal-page ul { padding-left: 20px; list-style: disc; margin-bottom: 16px; }
.legal-page a { color: var(--accent-2); border-bottom: 1px solid transparent; transition: border-color 0.25s ease; }
.legal-page a:hover { border-color: var(--accent-2); }
.legal-page strong { color: var(--text); }
.legal-placeholder {
  background: rgba(255, 107, 157, 0.08);
  border: 1px dashed rgba(255, 107, 157, 0.4);
  border-radius: 8px;
  padding: 2px 8px;
  color: var(--accent-3);
  font-size: 0.9em;
}

/* ==========================================================================
   Ergänzungen: Buttons, Scroll-Fortschritt, Navigation, Modal
   ========================================================================== */
.btn { gap: 10px; }
.btn-large { padding: 17px 32px; font-size: 1rem; }

.btn-shine { position: relative; overflow: hidden; }
.btn-shine::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  animation: btnShine 4.8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes btnShine {
  0%, 62% { left: -60%; }
  100% { left: 130%; }
}

.btn-light { background: #08080d; color: #fff; box-shadow: 0 16px 34px -14px rgba(0, 0, 0, 0.65); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 22px 44px -14px rgba(0, 0, 0, 0.75); }
.btn-ghost-light { color: #08080d; border-color: rgba(8, 8, 13, 0.35); background: transparent; }
.btn-ghost-light:hover { transform: translateY(-2px); background: rgba(8, 8, 13, 0.08); }

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 150;
  width: 100%;
  height: 3px;
  pointer-events: none;
  background: var(--gradient);
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.6);
  transform-origin: 0 50%;
  transform: scaleX(var(--progress, 0));
}

.nav-desktop a.is-active { color: var(--text); }
.nav-desktop a.is-active::after { width: 100%; }

.modal-panel { max-width: 720px; }
.modal-media.is-wide { aspect-ratio: 5 / 2; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento .tile--wide { grid-column: 1 / -1; }

  .tile--feature .tile-trigger { flex-direction: column; }
  .tile--feature .tile-media,
  .tile--feature .tile-body { width: 100%; }
  .tile--feature .tile-body { padding: 26px 26px 28px; }

  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3)::before { display: none; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--border); }

  .process { grid-template-columns: 1fr; gap: 30px; }
  .process-line { top: 10px; bottom: 10px; left: 33px; right: auto; width: 2px; height: auto; }
  .process-line span { width: 100%; height: var(--p, 0%); }
  .process-step { min-height: 68px; padding: 4px 0 0 94px; text-align: left; }
  .step-num { position: absolute; top: 0; left: 0; margin: 0; }

  .faq-inner { grid-template-columns: 1fr; gap: 32px; }
  .faq-head { position: static; }

  .kontakt-inner { grid-template-columns: 1fr; gap: 44px; }
}

@media (max-width: 760px) {
  .container { padding: 0 18px; }

  .section { padding: 76px 0; }
  .section-head { margin-bottom: 34px; }
  .section-lead { font-size: 1.02rem; }

  .hero { padding: 118px 0 64px; }
  .hero-text { font-size: 1.04rem; margin-bottom: 28px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }

  .marquee { padding: 16px 0; }

  .bento,
  .projects-bento { grid-template-columns: 1fr; gap: 16px; }
  .bento .tile--wide { grid-column: auto; }
  .tile-media { height: 160px; }
  .tile-body { padding: 20px 20px 22px; }
  .tile-body h3,
  .tile-body h4 { font-size: 1.16rem; }
  .tile--feature .tile-body { padding: 22px 20px 24px; }

  .it-panel { margin-top: 48px; padding: 24px 14px 14px; border-radius: 22px; }
  .it-panel .service-group,
  .it-panel-lead { padding: 0 6px; }

  .stat { padding: 26px 10px; }
  .stat-label { font-size: 0.86rem; }
  .values { grid-template-columns: 1fr; gap: 14px; }
  .value { padding: 24px 22px; }

  .founders-grid { gap: 16px; }
  .founder-card { padding: 24px 22px; }

  .faq-item summary { padding: 17px 18px; font-size: 1rem; }
  .faq-answer { padding: 0 18px 18px; }

  .cta-section { padding: 0 0 10px; }
  .cta-banner { padding: 54px 22px; border-radius: 24px; }
  .cta-actions .btn { width: 100%; }

  .kontakt-form { padding: 26px 20px; }
  .form-grid { grid-template-columns: 1fr; }

  .site-footer { padding: 52px 0 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; margin-bottom: 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .legal-page { padding: 120px 0 72px; }
  .legal-page h2 { margin-top: 30px; }
}
