/* ============================================================
   DESIGN TOKENS
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* backgrounds */
  --bg:          #FFFFFF;
  --surface:     #F8F6F2;
  --surface-2:   #F2EFE9;
  --surface-3:   #EAE6DF;

  /* brand — red primary */
  --blue:        #DC2626;
  --blue-dk:     #B91C1C;
  --blue-alpha:  rgba(220,38,38,.08);
  --blue-glow:   rgba(220,38,38,.22);

  /* blue — gradient partner (headlines, process numbers) */
  --purple:      #3B82F6;
  --purple-alpha: rgba(59,130,246,.08);

  /* floating shape colors */
  --shape-a:     #FFE4E1;
  --shape-b:     #DBEAFE;
  --shape-c:     #EFF6FF;
  --shape-d:     #FED7AA;

  /* accent — orange (labels, badges, underlines) */
  --accent:      #F97316;
  --accent-alpha: rgba(249,115,22,.10);

  /* text */
  --tx:          #0F1117;
  --tx-2:        #4A5264;
  --tx-3:        #8E97A8;

  /* lines */
  --ln:          rgba(0,0,0,.07);
  --ln-blue:     rgba(220,38,38,.15);

  /* status */
  --bad:         rgba(239,68,68,.10);
  --bad-tx:      #DC2626;
  --good:        rgba(59,130,246,.12);
  --good-tx:     #16A34A;

  /* mac dots */
  --dot-red:     #ff5f57;
  --dot-yellow:  #febc2e;
  --dot-green:   #28c840;

  /* misc */
  --r:           10px;
  --r-sm:        6px;
  --r-lg:        16px;
  --sh:          0 12px 40px rgba(15,17,23,.10);
  --ease:        0.2s ease;
  --font-body:   'Inter', system-ui, sans-serif;
  --font-head:   'Poppins', system-ui, sans-serif;

  /* Apple-style easings */
  --ease-apple:        cubic-bezier(0.28, 0.16, 0.22, 1);
  --ease-apple-inout:  cubic-bezier(0.76, 0, 0.24, 1);
  --ease-apple-expo:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-apple-spring: cubic-bezier(0.5, 1.5, 0.5, 1);
}

/* ============================================================
   BASE
   ============================================================ */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--tx);
  background: var(--bg);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}

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

/* Thin scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 2px; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* ============================================================
   TEXT LOGO
   ============================================================ */
.logo-sq {
  width: 30px; height: 30px;
  background: var(--blue);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .75rem;
  color: #fff;
  flex-shrink: 0;
  letter-spacing: -.02em;
  box-shadow: 0 4px 14px rgba(220,38,38,.4);
}
.logo-sq--sm { width: 26px; height: 26px; font-size: .68rem; }

.logo-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--tx);
  letter-spacing: -.03em;
}
.logo-name--sm { font-size: 1rem; }

.logo-mark-footer {
  display: flex;
  align-items: center;
  gap: .45rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .78rem 1.9rem;
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
  border: 1px solid transparent;
  outline: none;
  transition: background var(--ease), border-color var(--ease), transform var(--ease), box-shadow var(--ease);
  text-decoration: none;
  letter-spacing: .01em;
}
.btn:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
.btn--primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 4px 18px rgba(220,38,38,.3);
}
.btn--primary:hover {
  background: var(--blue-dk);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(220,38,38,.46);
}
.btn--ghost {
  background: transparent;
  border-color: rgba(15,17,23,.18);
  color: var(--tx-2);
}
.btn--ghost:hover {
  background: rgba(15,17,23,.05);
  border-color: rgba(15,17,23,.30);
  transform: translateY(-2px);
}
.btn--full { width: 100%; }

/* ============================================================
   ANIMATION
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 800ms var(--ease-apple), transform 800ms var(--ease-apple);
}
.fade-in.visible { opacity: 1; transform: none; }

/* Gradient text reveal — word-by-word lighting on scroll */
.gradient-reveal .word {
  color: color-mix(in srgb, var(--tx) 18%, transparent);
  transition: color 480ms var(--ease-apple);
  display: inline-block;
}
.gradient-reveal .word.lit { color: var(--tx); }
body.dark .gradient-reveal .word { color: color-mix(in srgb, #fff 22%, transparent); }
body.dark .gradient-reveal .word.lit { color: #fff; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: transform 320ms var(--ease-apple),
              background 320ms var(--ease-apple),
              border-color 320ms var(--ease-apple),
              box-shadow 320ms var(--ease-apple);
  will-change: transform;
}
.header.nav-hidden { transform: translateY(-100%); }
.header.scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--ln);
  box-shadow: 0 1px 20px rgba(15,17,23,.06);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 1.5rem;
}
.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav__logo-img {
  height: 38px;
  width: auto;
  display: block;
  object-fit: contain;
}
.nav__list {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__link {
  font-weight: 500;
  font-size: .875rem;
  color: var(--tx-2);
  transition: color var(--ease);
  letter-spacing: .01em;
}
.nav__link:hover { color: var(--tx); }
.nav__link--cta {
  background: var(--blue);
  color: #fff;
  padding: .44rem 1.1rem;
  border-radius: var(--r-sm);
  transition: background var(--ease), box-shadow var(--ease);
}
.nav__link--cta:hover {
  background: var(--blue-dk);
  color: #fff;
  box-shadow: 0 4px 14px rgba(220,38,38,.4);
}
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: rgba(15,17,23,.6);
  border-radius: 2px;
  transition: var(--ease);
}

.nav__link {
  position: relative;
}
.nav__link:not(.nav__link--cta)::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1.5px;
  background: var(--blue);
  transition: width 0.25s ease;
}
.nav__link:not(.nav__link--cta):hover::after { width: 100%; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 64px;
  background: var(--bg);
}

/* Dot grid */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(15,17,23,.08) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 90% 85% at 50% 50%, #000 25%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 90% 85% at 50% 50%, #000 25%, transparent 80%);
  pointer-events: none;
}
body.dark .hero::before {
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px);
}

/* Bloom — red + blue + orange (richer) */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 78% 15%,  rgba(220,38,38,.22)  0%, transparent 65%),
    radial-gradient(ellipse 45% 45% at 15% 80%,  rgba(59,130,246,.16) 0%, transparent 65%),
    radial-gradient(ellipse 35% 30% at 50% 55%,  rgba(249,115,22,.14) 0%, transparent 60%);
  pointer-events: none;
  animation: hero-bloom-drift 24s ease-in-out infinite alternate;
}
@keyframes hero-bloom-drift {
  0%   { transform: translate(0, 0)      scale(1);    }
  50%  { transform: translate(20px, -10px) scale(1.04); }
  100% { transform: translate(-15px, 12px) scale(0.98); }
}

/* Hide the legacy "floating shapes" — replaced by dot-grid + bloom */
.hero__shapes { display: none !important; }

/* Hero 2-col layout: content + logo visual */
.hero__inner {
  position: relative;
  z-index: 2;
  padding-block: 6rem 4rem;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 4rem;
  align-items: center;
}

.hero__content { max-width: 680px; }

/* Logo visual side */
.hero__visual-side {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Hero Flip Card ── */
.hero-flip-card {
  position: relative;
  width: 380px;
  height: 250px;
  background: linear-gradient(135deg, #e8edf5, #d4dce8);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  perspective: 1000px;
  box-shadow:
    0 0 0 1px rgba(0,0,0,.08),
    0 30px 80px -20px rgba(220,38,38,.25),
    0 20px 60px rgba(0,0,0,.18);
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  transform: perspective(1000px) rotateY(-6deg) rotateX(3deg);
}

/* Soft outer glow ring */
.hero-flip-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(135deg,
    rgba(220,38,38,.6)  0%,
    rgba(249,115,22,.5) 40%,
    rgba(59,130,246,.5) 100%);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: .55;
  pointer-events: none;
  z-index: 3;
}

body.dark .hero-flip-card {
  background: linear-gradient(135deg, #1e2535, #141927);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.06),
    0 30px 80px -20px rgba(220,38,38,.35),
    0 12px 36px rgba(0,0,0,.45);
}

.hero-flip-card__logo {
  width: 170px;
  height: auto;
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none;
  filter: invert(1) brightness(0.15);
  z-index: 2;
  position: relative;
}
body.dark .hero-flip-card__logo {
  filter: none;
}

.hero-flip-card:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.04);
  box-shadow:
    0 0 0 1px rgba(0,0,0,.12),
    0 40px 100px -20px rgba(220,38,38,.4),
    0 24px 60px rgba(0,0,0,.22);
}

body.dark .hero-flip-card:hover {
  box-shadow:
    0 0 0 1px rgba(255,255,255,.1),
    0 40px 100px -20px rgba(220,38,38,.5),
    0 18px 44px rgba(0,0,0,.5);
}

.hero-flip-card__content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 28px;
  box-sizing: border-box;
  background: linear-gradient(135deg,
    #DC2626 0%,
    #F97316 25%,
    #2563EB 50%,
    #F97316 75%,
    #DC2626 100%
  );
  background-size: 250% 250%;
  animation: cardGradientFlow 4s ease infinite;
  transform: rotateX(-90deg);
  transform-origin: bottom;
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-flip-card:hover .hero-flip-card__content {
  transform: rotateX(0deg);
}

.hero-flip-card__title {
  margin: 0;
  font-size: 22px;
  color: #fff;
  font-weight: 700;
  font-family: var(--font-head);
}

.hero-flip-card:hover .hero-flip-card__logo {
  scale: 0;
}

.hero-flip-card__description {
  margin: 8px 0 0;
  font-size: 13px;
  color: rgba(255,255,255,.82);
  line-height: 1.5;
}

@keyframes cardGradientFlow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ── Hero Image Card ── */
.hero-img-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Glow-Blob hinter der Karte */
.hero-img-card__glow {
  position: absolute;
  inset: -30px;
  background: radial-gradient(ellipse 70% 60% at 50% 55%,
    rgba(220,38,38,.22) 0%,
    rgba(249,115,22,.12) 45%,
    transparent 70%);
  filter: blur(28px);
  pointer-events: none;
  z-index: 0;
  animation: glowPulse 4s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { opacity: .8; transform: scale(1); }
  50%       { opacity: 1; transform: scale(1.06); }
}

/* Rahmen / Frame */
.hero-img-card__frame {
  position: relative;
  z-index: 1;
  width: 360px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  box-shadow:
    0 2px 0 rgba(255,255,255,.06) inset,
    0 32px 80px rgba(0,0,0,.55),
    0 0 0 1px rgba(0,0,0,.3);
  transform: perspective(900px) rotateY(-6deg) rotateX(3deg);
  transition: transform 0.6s cubic-bezier(0.22,1,0.36,1), box-shadow 0.6s ease;
}
.hero-img-card__frame:hover {
  transform: perspective(900px) rotateY(0deg) rotateX(0deg);
  box-shadow:
    0 2px 0 rgba(255,255,255,.08) inset,
    0 40px 100px rgba(0,0,0,.6),
    0 0 0 1px rgba(0,0,0,.3);
}

/* Browser-Chrome */
.hero-img-card__bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 12px;
  height: 30px;
  background: #0d1023;
  border-bottom: 1px solid rgba(255,255,255,.05);
  flex-shrink: 0;
}
.hero-img-card__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}
.hero-img-card__url {
  flex: 1;
  text-align: center;
  font-size: 10px;
  color: rgba(255,255,255,.3);
  font-family: var(--font-body);
  letter-spacing: .04em;
}

/* Bild */
.hero-img-card__img-wrap {
  position: relative;
  line-height: 0;
}
.hero-img-card__img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Gradient-Overlay unten */
.hero-img-card__overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 45%;
  background: linear-gradient(to top,
    rgba(10,12,24,.75) 0%,
    transparent 100%);
  pointer-events: none;
}

/* Schwebende Badges */
.hero-img-badge {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .38rem .85rem;
  border-radius: 100px;
  font-size: .72rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  background: rgba(10,14,26,.82);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
  letter-spacing: .02em;
}
.hero-img-badge--tl {
  top: 12px; left: -18px;
  animation: floatBadge 4s ease-in-out infinite;
}
.hero-img-badge--br {
  bottom: 36px; right: -18px;
  animation: floatBadge 4s ease-in-out infinite 1.4s;
}
.hero-img-badge--bl {
  bottom: -14px; left: 24px;
  animation: floatBadge 4s ease-in-out infinite 2.8s;
}
@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

/* Light mode: etwas hellerer Rahmen */
body:not(.dark) .hero-img-card__frame {
  border-color: rgba(0,0,0,.08);
  box-shadow:
    0 32px 80px rgba(0,0,0,.18),
    0 0 0 1px rgba(0,0,0,.06);
}
body:not(.dark) .hero-img-card__bar {
  background: #1a1f2e;
}
body:not(.dark) .hero-img-card__glow {
  opacity: .6;
}

/* ============================================================
   FLOATING HERO SHAPES
   ============================================================ */
.hero__shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.shape {
  position: absolute;
  will-change: transform;
  translate: var(--px, 0px) var(--py, 0px);
}

/* Pill — top-left */
.shape--pill-1 {
  width: 130px; height: 50px;
  background: var(--shape-a);
  border-radius: 100px;
  top: 14%; left: 7%;
  opacity: 0.75;
  box-shadow: 0 6px 24px rgba(220,38,38,.13);
  animation: float-a 8s ease-in-out infinite;
}
/* Circle — top-right */
.shape--circle-1 {
  width: 96px; height: 96px;
  background: var(--shape-b);
  border-radius: 50%;
  top: 11%; right: 13%;
  opacity: 0.6;
  box-shadow: 0 6px 24px rgba(129,140,248,.15);
  animation: float-c 9s ease-in-out infinite 0.8s;
}
/* Hexagon — mid-right */
.shape--hex-1 {
  width: 72px; height: 82px;
  background: var(--shape-a);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  top: 54%; right: 7%;
  opacity: 0.45;
  animation: float-b 12s ease-in-out infinite 0.4s;
}
/* Rounded square — bottom-left */
.shape--square-1 {
  width: 58px; height: 58px;
  background: var(--shape-d);
  border-radius: 14px;
  top: 68%; left: 5%;
  opacity: 0.55;
  box-shadow: 0 4px 18px rgba(245,216,168,.22);
  animation: float-rot 11s ease-in-out infinite 1s;
}
/* Pill — bottom-right */
.shape--pill-2 {
  width: 84px; height: 34px;
  background: var(--shape-d);
  border-radius: 100px;
  bottom: 20%; right: 8%;
  opacity: 0.65;
  animation: float-b 10s ease-in-out infinite 1.5s;
}
/* Circle — bottom-left */
.shape--circle-2 {
  width: 54px; height: 54px;
  background: var(--shape-c);
  border-radius: 50%;
  bottom: 26%; left: 11%;
  opacity: 0.6;
  box-shadow: 0 4px 14px rgba(59,130,246,.09);
  animation: float-a 7s ease-in-out infinite 2.2s;
}
/* Dot grid — center-right */
.shape--dot-scatter {
  width: 150px; height: 150px;
  background-image: radial-gradient(circle, rgba(220,38,38,.22) 1.5px, transparent 1.5px);
  background-size: 20px 20px;
  top: 38%; right: 18%;
  opacity: 0.6;
  animation: float-d 16s ease-in-out infinite 0.2s;
}

@keyframes float-a {
  0%   { transform: translate(0px,   0px) rotate(0deg); }
  25%  { transform: translate(4px,  -18px) rotate(1.5deg); }
  50%  { transform: translate(7px,  -26px) rotate(-0.5deg); }
  75%  { transform: translate(2px,  -14px) rotate(2deg); }
  100% { transform: translate(0px,   0px) rotate(0deg); }
}
@keyframes float-b {
  0%   { transform: translate(0px,  0px); }
  25%  { transform: translate(-8px, -12px); }
  55%  { transform: translate(6px,  -22px); }
  80%  { transform: translate(-3px, -8px); }
  100% { transform: translate(0px,  0px); }
}
@keyframes float-c {
  0%   { transform: translate(0px, 0px) scale(1); }
  40%  { transform: translate(-5px, -16px) scale(1.06); }
  70%  { transform: translate(4px,  -22px) scale(0.97); }
  100% { transform: translate(0px, 0px) scale(1); }
}
@keyframes float-rot {
  0%   { transform: rotate(15deg) translate(0px,   0px); }
  30%  { transform: rotate(22deg) translate(4px,  -20px); }
  65%  { transform: rotate(10deg) translate(-3px, -12px); }
  100% { transform: rotate(15deg) translate(0px,   0px); }
}
@keyframes float-d {
  0%   { transform: translate(0px,   0px) rotate(0deg); }
  33%  { transform: translate(-12px, -10px) rotate(-5deg); }
  66%  { transform: translate(8px,  -18px) rotate(8deg); }
  100% { transform: translate(0px,   0px) rotate(0deg); }
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--accent);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
}
.hero__badge::before {
  content: '';
  display: block;
  width: 24px; height: 1px;
  background: var(--accent);
  flex-shrink: 0;
  animation: pulse-line 2.5s ease-in-out infinite;
}
@keyframes pulse-line {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.35; }
}

.hero__headline {
  font-family: var(--font-head);
  font-size: clamp(3.4rem, 7.5vw, 6rem);
  font-weight: 800;
  color: var(--tx);
  line-height: 1.04;
  margin-bottom: 1.5rem;
  letter-spacing: -.05em;
}
.hero__highlight {
  background: linear-gradient(125deg, var(--blue) 0%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__sub {
  font-size: 1.05rem;
  color: var(--tx-2);
  margin-bottom: 2.75rem;
  max-width: 490px;
  line-height: 1.78;
}
.hero__actions {
  display: flex;
  gap: .875rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero__stats {
  display: flex;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--ln);
}
.hero__stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--tx);
  letter-spacing: -.03em;
  line-height: 1.2;
}
.hero__stat span {
  font-size: .78rem;
  color: var(--tx-3);
  letter-spacing: .03em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ── Hero Browser Visual ── */
.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hv-browser {
  width: 100%;
  max-width: 420px;
  background: var(--surface-2);
  border: 1px solid rgba(220,38,38,.2);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,.7), 0 0 0 1px rgba(220,38,38,.12);
  transform: perspective(900px) rotateY(-6deg) rotateX(3deg);
  transition: transform 0.5s ease;
}
.hv-browser:hover {
  transform: perspective(900px) rotateY(0deg) rotateX(0deg);
}

.hv-bar {
  height: 28px;
  background: #0d1023;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.hv-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
}
.hv-dot:nth-child(1) { background: var(--dot-red); }
.hv-dot:nth-child(2) { background: var(--dot-yellow); }
.hv-dot:nth-child(3) { background: var(--dot-green); }
.hv-url {
  flex: 1;
  text-align: center;
  font-size: 9px;
  color: var(--tx-3);
  font-family: var(--font-body);
  letter-spacing: .02em;
}

.hv-nav {
  height: 36px;
  background: var(--surface-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  border-bottom: 1px solid rgba(220,38,38,.1);
}
.hv-logo-pill { width: 60px; height: 8px; background: linear-gradient(90deg, var(--blue), var(--purple)); border-radius: 4px; }
.hv-navlinks { display: flex; align-items: center; gap: 7px; }
.hv-navlinks span { width: 28px; height: 5px; background: var(--ln); border-radius: 2px; }
.hv-cta-pill { width: 44px; height: 16px; background: var(--blue); border-radius: 3px; opacity: .85; }

.hv-hero {
  padding: 18px 14px 14px;
  background: linear-gradient(130deg, #080a14 50%, #0d1428);
  border-bottom: 1px solid rgba(255,255,255,.03);
}
.hv-hl { height: 10px; background: rgba(255,255,255,.75); border-radius: 3px; margin-bottom: 7px; width: 60%; }
.hv-hl--sm { width: 42%; background: rgba(255,255,255,.3); height: 7px; margin-bottom: 12px; }
.hv-btns { display: flex; gap: 6px; }
.hv-btn { height: 18px; border-radius: 3px; }
.hv-btn--main { width: 68px; background: var(--blue); }
.hv-btn--ghost { width: 52px; background: transparent; border: 1px solid rgba(255,255,255,.18); }

.hv-cards {
  display: flex;
  gap: 1px;
  background: var(--ln);
  margin: 10px;
  border-radius: 6px;
  overflow: hidden;
}
.hv-card {
  flex: 1;
  padding: 10px 8px;
  background: var(--surface-2);
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.hv-card--lit { background: var(--surface-3); }
.hv-card-icon { width: 18px; height: 18px; border-radius: 4px; background: var(--blue-alpha); border: 1px solid var(--ln-blue); }
.hv-card-icon--lit { background: rgba(220,38,38,.25); }
.hv-card-lines { display: flex; flex-direction: column; gap: 4px; }
.hv-card-lines span { display: block; height: 4px; background: var(--ln); border-radius: 2px; }
.hv-card-lines span:first-child { width: 80%; }
.hv-card-lines span:last-child { width: 55%; }

/* Floating badges */
.hv-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .4rem;
  background: rgba(15,19,32,.88);
  border: 1px solid rgba(220,38,38,.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: .4rem .75rem;
  border-radius: 100px;
  font-size: .72rem;
  font-weight: 600;
  color: var(--tx);
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
  animation: float-badge 4s ease-in-out infinite;
}
.hv-badge svg { width: 12px; height: 12px; stroke: var(--good-tx); flex-shrink: 0; }
.hv-badge--tl { top: -18px; left: 0; animation-delay: 0s; }
.hv-badge--br { bottom: 24px; right: -16px; animation-delay: 1.3s; }
.hv-badge--bl { bottom: -16px; left: 8px; animation-delay: 2.6s; }

@keyframes float-badge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding-block: 7rem; }
.section--alt {
  background: var(--surface);
  border-top: 1px solid var(--ln);
  border-bottom: 1px solid var(--ln);
  position: relative;
}

.section__head {
  text-align: left;
  margin-bottom: 4rem;
}
.section__head--center { text-align: center; }
.section__head--center .section__sub { margin-inline: auto; }

.section__label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--accent);
  font-weight: 600;
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: .8rem;
}
.section__label::before {
  content: '';
  display: inline-block;
  width: 18px; height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}
.section__title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4.5vw, 3rem);
  font-weight: 700;
  color: var(--tx);
  margin-bottom: 1rem;
  letter-spacing: -.03em;
  line-height: 1.15;
}
.section__sub {
  color: var(--tx-2);
  font-size: 1rem;
  max-width: 540px;
  line-height: 1.78;
}

/* ============================================================
   CARDS (Leistungen)
   ============================================================ */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  border: none;
  border-radius: 0;
  overflow: visible;
}

.card {
  background: #FFFFFF;
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--ln);
  border-radius: var(--r-lg);
  box-shadow: 0 2px 16px rgba(15,17,23,.05);
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease);
}
.card:last-child { border-right: 1px solid var(--ln); }

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.card:hover::before,
.card--featured::before { transform: scaleX(1); }
.card--featured::before { background: linear-gradient(90deg, var(--blue), var(--purple)); }

.card:hover {
  background: #FFFFFF;
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(15,17,23,.10);
}
.card--featured {
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 8px 32px rgba(220,38,38,.30);
}
.card--featured:hover {
  background: var(--blue);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(220,38,38,.40);
}

.card__num {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-family: var(--font-head);
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ln);
  opacity: .55;
  pointer-events: none;
  transition: opacity var(--ease), -webkit-text-stroke-color var(--ease);
}
.card:hover .card__num {
  opacity: .9;
  -webkit-text-stroke-color: var(--blue);
}
.card--featured .card__num {
  -webkit-text-stroke-color: rgba(255,255,255,.55);
  opacity: .7;
}
.card--featured:hover .card__num {
  -webkit-text-stroke-color: rgba(255,255,255,.95);
  opacity: 1;
}
.card__badge {
  display: inline-block;
  background: rgba(255,255,255,.2);
  color: #fff;
  border: 1px solid rgba(255,255,255,.3);
  font-size: .66rem;
  font-weight: 700;
  padding: .2rem .75rem;
  border-radius: 3px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .5rem;
}
.card__icon {
  width: 54px; height: 54px;
  background: var(--blue-alpha);
  border: 1px solid var(--ln-blue);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.6rem;
  color: var(--blue);
  transition: background var(--ease), border-color var(--ease), transform var(--ease);
}
.card:hover .card__icon {
  background: rgba(220,38,38,.22);
  border-color: rgba(220,38,38,.45);
  transform: scale(1.06) rotate(-3deg);
}
.card__icon svg { width: 26px; height: 26px; }
.card__title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--tx);
  margin-bottom: .6rem;
  letter-spacing: -.02em;
}
.card--featured .card__num,
.card--featured .card__title,
.card--featured .card__text,
.card--featured .card__list li { color: rgba(255,255,255,.92); }
.card--featured .card__list li::before { background: rgba(255,255,255,.6); }
.card--featured .card__icon {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.25);
  color: #fff;
}
.card--featured .card__icon:hover { background: rgba(255,255,255,.22); }
.card__text {
  color: var(--tx-2);
  font-size: .9rem;
  margin-bottom: 1.4rem;
  line-height: 1.72;
}
.card__list li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--tx-2);
  font-size: .875rem;
  margin-bottom: .38rem;
}
.card__list li::before {
  content: '';
  position: absolute;
  left: 0; top: .52rem;
  width: 4px; height: 4px;
  background: var(--blue);
  border-radius: 50%;
}

/* ============================================================
   PROCESS (Wie es funktioniert)
   ============================================================ */
.section--process { background: var(--bg); }

/* ── Workspace Showcase ── */
.section--showcase {
  background: var(--surface);
  border-top: 1px solid var(--ln);
  border-bottom: 1px solid var(--ln);
  overflow: hidden;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.showcase-text .section__title { margin-bottom: 1rem; }

.showcase-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-top: 1.75rem;
}
.showcase-list li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .95rem;
  font-weight: 500;
  color: var(--tx-2);
}
.showcase-list li svg {
  flex-shrink: 0;
  color: var(--accent);
}

/* scale card up slightly in this context */
.section--showcase .hero-img-card__frame {
  width: 100%;
  max-width: 480px;
}
.section--showcase .hero-img-card__glow {
  background: radial-gradient(ellipse 80% 70% at 50% 55%,
    rgba(220,38,38,.18) 0%,
    rgba(249,115,22,.10) 45%,
    transparent 70%);
}

@media (max-width: 960px) {
  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .section--showcase .hero-img-card {
    display: none;
  }
}

.process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  border: none;
  border-radius: 0;
  overflow: visible;
}

.process__step {
  padding: 2.5rem 2rem;
  background: var(--surface);
  border: 1px solid var(--ln);
  border-right: 1px solid var(--ln);
  border-radius: var(--r-lg);
  box-shadow: 0 2px 12px rgba(15,17,23,.04);
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease);
  position: relative;
}
.process__step:last-child { border-right: 1px solid var(--ln); }
.process__step:hover {
  background: var(--surface);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(15,17,23,.08);
}

.process__num-wrap {
  position: relative;
  margin-bottom: 1.75rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.process__num {
  font-family: var(--font-head);
  font-size: 4rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue) 0%, var(--accent) 60%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -.04em;
  line-height: 1;
  flex-shrink: 0;
}

.process__line {
  flex: 1;
  height: 2px;
  background-image: radial-gradient(circle, var(--blue) 1.25px, transparent 1.5px);
  background-size: 9px 2px;
  background-repeat: repeat-x;
  background-position: 0 50%;
  opacity: .55;
  position: relative;
}
.process__line::after {
  content: '';
  position: absolute;
  right: -2px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--blue);
  border-top: 2px solid var(--blue);
  transform: translateY(-50%) rotate(45deg);
  opacity: .9;
}
.process__step:last-child .process__line { display: none; }

.process__title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--tx);
  margin-bottom: .6rem;
  letter-spacing: -.02em;
}
.process__text {
  color: var(--tx-2);
  font-size: .9rem;
  line-height: 1.72;
}

/* ============================================================
   BEFORE / AFTER SLIDER
   ============================================================ */
.slider-wrapper { margin-bottom: 3.5rem; }

.slider {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin-inline: auto;
  height: 420px;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh);
  cursor: col-resize;
  user-select: none;
  border: 1px solid var(--ln);
}
.slider__after,
.slider__before {
  position: absolute;
  inset: 0;
}
.slider__before {
  clip-path: inset(0 50% 0 0);
  will-change: clip-path;
  z-index: 2;
}
.slider__mockup {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  font-size: 0;
}
.mock-bar {
  height: 26px;
  background: #111520;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.mock-bar span { width: 8px; height: 8px; border-radius: 50%; }
.mock-bar span:nth-child(1) { background: var(--dot-red); }
.mock-bar span:nth-child(2) { background: var(--dot-yellow); }
.mock-bar span:nth-child(3) { background: var(--dot-green); }

/* New mockup — light design */
.slider__mockup--new { background: #FAFAFA; }
.mock-nav--new {
  height: 40px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.mock-logo-new { width: 68px; height: 10px; background: linear-gradient(90deg, var(--blue), var(--purple)); border-radius: 3px; }
.mock-links-new { display: flex; gap: 8px; }
.mock-links-new span { width: 30px; height: 6px; background: rgba(0,0,0,.12); border-radius: 2px; }
.mock-hero-new {
  height: 130px;
  background: linear-gradient(130deg, #FFFFFF 50%, #F8F6F2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 14px;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(0,0,0,.04);
}
.mock-headline-new { width: 55%; height: 12px; background: rgba(15,17,23,.8); border-radius: 3px; margin-bottom: 8px; }
.mock-sub-new { width: 72%; height: 6px; background: rgba(15,17,23,.2); border-radius: 2px; margin-bottom: 12px; }
.mock-btn-new { width: 76px; height: 20px; background: var(--blue); border-radius: 4px; }
.mock-cards-new {
  display: flex;
  gap: 8px;
  background: transparent;
  margin: 14px;
  flex-shrink: 0;
}
.mock-card-new { flex: 1; height: 82px; background: #FFFFFF; border: 1px solid rgba(0,0,0,.07); border-radius: 6px; }

/* Old mockup */
.slider__mockup--old { background: #d4cfc9; }
.mock-nav--old {
  height: 40px;
  background: #2a4a7f;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  flex-shrink: 0;
}
.mock-logo-old { width: 56px; height: 18px; background: #c9b99a; border-radius: 2px; }
.mock-links-old { display: flex; gap: 5px; }
.mock-links-old span { width: 36px; height: 26px; background: #5a7fc0; border: 1px solid rgba(255,255,255,.2); }
.mock-hero-old {
  height: 90px;
  background: repeating-linear-gradient(45deg, #bfb8af, #bfb8af 2px, #ccc4ba 2px, #ccc4ba 12px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px;
  flex-shrink: 0;
}
.mock-headline-old { width: 52%; height: 12px; background: #3a3a3a; border-radius: 2px; margin-bottom: 8px; }
.mock-sub-old { width: 68%; height: 7px; background: #666; border-radius: 2px; }
.mock-content-old {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mock-text-old { height: 7px; background: #888; border-radius: 2px; }
.mock-text-old.short { width: 58%; }

.mock-label {
  position: absolute;
  bottom: 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 3px;
}
.mock-label--new { right: 12px; background: var(--good); color: var(--good-tx); border: 1px solid rgba(59,130,246,.22); }
.mock-label--old { left: 12px; background: var(--bad); color: var(--bad-tx); border: 1px solid rgba(239,68,68,.22); z-index: 3; }

/* Slider handle */
.slider__handle {
  position: absolute;
  inset: 0 auto;
  left: 50%;
  z-index: 10;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}
.slider__line { width: 1px; height: 100%; background: rgba(15,17,23,.25); }
.slider__grip {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(0,0,0,.45);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  cursor: col-resize;
}
.slider__grip svg { width: 18px; height: 18px; color: var(--blue); }

/* ============================================================
   COMPARE TABLE
   ============================================================ */
.compare-table { overflow-x: auto; }
.compare-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
  background: #FFFFFF;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--ln);
}
.compare-table th,
.compare-table td {
  padding: .9rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--ln);
}
.compare-table th {
  background: var(--surface-2);
  color: var(--tx-3);
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr:hover { background: rgba(0,0,0,.02); }
.compare-table th.old-col { color: var(--bad-tx); }
.compare-table th.new-col { color: var(--good-tx); }
.tag {
  display: inline-block;
  padding: .18rem .7rem;
  border-radius: 3px;
  font-size: .78rem;
  font-weight: 600;
}
.tag--bad  { background: var(--bad);  color: var(--bad-tx);  border: 1px solid rgba(239,68,68,.18); }
.tag--good { background: var(--good); color: var(--good-tx); border: 1px solid rgba(59,130,246,.18); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.section--testi { background: var(--bg); }

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testi-card {
  background: var(--surface-2);
  border: 1px solid var(--ln);
  border-radius: var(--r-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}
.testi-card:hover {
  transform: translateY(-4px);
  border-color: rgba(220,38,38,.2);
  box-shadow: 0 20px 48px rgba(0,0,0,.35);
}
.testi-card--feat {
  background: var(--surface-3);
  border-color: rgba(220,38,38,.2);
  box-shadow: 0 0 0 1px rgba(220,38,38,.08);
}
.testi-card--feat:hover {
  border-color: rgba(220,38,38,.35);
}

.testi-stars {
  color: #f59e0b;
  font-size: .8rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}
.testi-quote {
  color: var(--tx-2);
  font-size: .9rem;
  line-height: 1.75;
  font-style: italic;
  flex: 1;
  margin-bottom: 1.5rem;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--ln);
}
.testi-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .75rem;
  color: #fff;
  flex-shrink: 0;
}
.testi-author strong {
  display: block;
  font-size: .88rem;
  color: var(--tx);
  font-weight: 600;
}
.testi-author span {
  display: block;
  font-size: .76rem;
  color: var(--tx-3);
  margin-top: 1px;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3.5rem;
  align-items: start;
}
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group--full { grid-column: 1 / -1; }

.form-group label {
  font-weight: 500;
  font-size: .78rem;
  color: var(--tx-2);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.required { color: var(--blue); }
.optional { color: var(--tx-3); font-weight: 400; text-transform: none; letter-spacing: 0; font-size: .78rem; }

.form-group input,
.form-group textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1px solid var(--ln);
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: .92rem;
  color: var(--tx);
  background: #FFFFFF;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--tx-3); }
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(220,38,38,.45);
  box-shadow: 0 0 0 3px rgba(220,38,38,.1);
}
.form-group input.error,
.form-group textarea.error { border-color: rgba(239,68,68,.5); }
.form-group textarea { resize: vertical; }

.neon-checkbox {
  --primary: #DC2626;
  --primary-dark: #B91C1C;
  --primary-light: #F87171;
  --size: 28px;
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  cursor: pointer;
  font-size: .875rem;
  color: var(--tx-2);
  line-height: 1.65;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  width: 100%;
}
.neon-checkbox input { display: none; }
.neon-checkbox__frame {
  position: relative;
  width: var(--size);
  height: var(--size);
  flex-shrink: 0;
  margin-top: 2px;
}
.neon-checkbox__box {
  position: absolute;
  inset: 0;
  background: rgba(220,38,38,.05);
  border-radius: 4px;
  border: 2px solid var(--primary-dark);
  transition: all 0.4s ease;
}
.neon-checkbox__check-container {
  position: absolute;
  inset: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.neon-checkbox__check {
  width: 80%;
  height: 80%;
  fill: none;
  stroke: var(--primary);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  transform-origin: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.neon-checkbox__glow {
  position: absolute;
  inset: -2px;
  border-radius: 6px;
  background: var(--primary);
  opacity: 0;
  filter: blur(8px);
  transform: scale(1.2);
  transition: all 0.4s ease;
}
.neon-checkbox__borders {
  position: absolute;
  inset: 0;
  border-radius: 4px;
  overflow: hidden;
}
.neon-checkbox__borders span {
  position: absolute;
  width: 40px;
  height: 1px;
  background: var(--primary);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.neon-checkbox__borders span:nth-child(1) { top: 0; left: -100%; animation: borderFlow1 2s linear infinite; }
.neon-checkbox__borders span:nth-child(2) { top: -100%; right: 0; width: 1px; height: 40px; animation: borderFlow2 2s linear infinite; }
.neon-checkbox__borders span:nth-child(3) { bottom: 0; right: -100%; animation: borderFlow3 2s linear infinite; }
.neon-checkbox__borders span:nth-child(4) { bottom: -100%; left: 0; width: 1px; height: 40px; animation: borderFlow4 2s linear infinite; }
.neon-checkbox__particles span {
  position: absolute;
  width: 4px; height: 4px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  top: 50%; left: 50%;
  box-shadow: 0 0 6px var(--primary);
}
.neon-checkbox__rings { position: absolute; inset: -20px; pointer-events: none; }
.neon-checkbox__rings .ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1px solid var(--primary);
  opacity: 0; transform: scale(0);
}
.neon-checkbox__sparks span {
  position: absolute;
  width: 20px; height: 1px;
  background: linear-gradient(90deg, var(--primary), transparent);
  opacity: 0;
}
.neon-checkbox__text { flex: 1; }
.neon-checkbox__text a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.neon-checkbox:hover .neon-checkbox__box { border-color: var(--primary); transform: scale(1.05); }
.neon-checkbox input:checked ~ .neon-checkbox__frame .neon-checkbox__box { border-color: var(--primary); background: rgba(220,38,38,.12); }
.neon-checkbox input:checked ~ .neon-checkbox__frame .neon-checkbox__check { stroke-dashoffset: 0; transform: scale(1.1); }
.neon-checkbox input:checked ~ .neon-checkbox__frame .neon-checkbox__glow { opacity: 0.2; }
.neon-checkbox input:checked ~ .neon-checkbox__frame .neon-checkbox__borders span { opacity: 1; }
.neon-checkbox input:checked ~ .neon-checkbox__frame .neon-checkbox__particles span { animation: particleExplosion 0.6s ease-out forwards; }
.neon-checkbox input:checked ~ .neon-checkbox__frame .neon-checkbox__rings .ring { animation: ringPulse 0.6s ease-out forwards; }
.neon-checkbox input:checked ~ .neon-checkbox__frame .neon-checkbox__sparks span { animation: sparkFlash 0.6s ease-out forwards; }
@keyframes borderFlow1 { 0% { transform: translateX(0); } 100% { transform: translateX(200%); } }
@keyframes borderFlow2 { 0% { transform: translateY(0); } 100% { transform: translateY(200%); } }
@keyframes borderFlow3 { 0% { transform: translateX(0); } 100% { transform: translateX(-200%); } }
@keyframes borderFlow4 { 0% { transform: translateY(0); } 100% { transform: translateY(-200%); } }
@keyframes particleExplosion {
  0% { transform: translate(-50%,-50%) scale(1); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: translate(calc(-50% + var(--x,20px)), calc(-50% + var(--y,20px))) scale(0); opacity: 0; }
}
@keyframes ringPulse { 0% { transform: scale(0); opacity: 1; } 100% { transform: scale(2); opacity: 0; } }
@keyframes sparkFlash {
  0% { transform: rotate(var(--r,0deg)) translateX(0) scale(1); opacity: 1; }
  100% { transform: rotate(var(--r,0deg)) translateX(30px) scale(0); opacity: 0; }
}
.neon-checkbox__particles span:nth-child(1) { --x: 25px; --y: -25px; }
.neon-checkbox__particles span:nth-child(2) { --x: -25px; --y: -25px; }
.neon-checkbox__particles span:nth-child(3) { --x: 25px; --y: 25px; }
.neon-checkbox__particles span:nth-child(4) { --x: -25px; --y: 25px; }
.neon-checkbox__particles span:nth-child(5) { --x: 35px; --y: 0px; }
.neon-checkbox__particles span:nth-child(6) { --x: -35px; --y: 0px; }
.neon-checkbox__particles span:nth-child(7) { --x: 0px; --y: 35px; }
.neon-checkbox__particles span:nth-child(8) { --x: 0px; --y: -35px; }
.neon-checkbox__particles span:nth-child(9) { --x: 20px; --y: -30px; }
.neon-checkbox__particles span:nth-child(10) { --x: -20px; --y: 30px; }
.neon-checkbox__particles span:nth-child(11) { --x: 30px; --y: 20px; }
.neon-checkbox__particles span:nth-child(12) { --x: -30px; --y: -20px; }
.neon-checkbox__sparks span:nth-child(1) { --r: 0deg; top: 50%; left: 50%; }
.neon-checkbox__sparks span:nth-child(2) { --r: 90deg; top: 50%; left: 50%; }
.neon-checkbox__sparks span:nth-child(3) { --r: 180deg; top: 50%; left: 50%; }
.neon-checkbox__sparks span:nth-child(4) { --r: 270deg; top: 50%; left: 50%; }
.neon-checkbox__rings .ring:nth-child(1) { animation-delay: 0s; }
.neon-checkbox__rings .ring:nth-child(2) { animation-delay: 0.1s; }
.neon-checkbox__rings .ring:nth-child(3) { animation-delay: 0.2s; }

.form-note { color: var(--tx-3); font-size: .76rem; }

.contact-info {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--ln);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.4rem 1.5rem;
  border-bottom: 1px solid var(--ln);
  background: var(--surface);
  transition: background var(--ease);
}
.contact-info__item:hover { background: var(--surface-2); }
.contact-info__icon {
  width: 36px; height: 36px;
  background: var(--blue-alpha);
  border: 1px solid var(--ln-blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info__icon svg { width: 15px; height: 15px; color: var(--blue); }
.contact-info__item strong {
  display: block;
  font-size: .68rem;
  color: var(--tx-3);
  margin-bottom: .22rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.contact-info__item a,
.contact-info__item span { color: var(--tx); font-size: .9rem; }
.contact-info__item a:hover { color: var(--blue); }
.contact-info__note {
  padding: 1.2rem 1.5rem;
  background: var(--surface);
  font-size: .82rem;
  color: var(--tx-3);
  line-height: 1.65;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #0F1117;
  border-top: none;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-block: 4rem;
}

.footer__brand p {
  color: rgba(255,255,255,.4);
  font-size: .875rem;
  line-height: 1.7;
  margin-top: .9rem;
  max-width: 220px;
}


.footer__col h5 {
  font-family: var(--font-head);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  margin-bottom: 1.1rem;
}
.footer__col ul { display: flex; flex-direction: column; gap: .65rem; }
.footer__col a {
  color: rgba(255,255,255,.5);
  font-size: .875rem;
  transition: color var(--ease);
}
.footer__col a:hover { color: rgba(255,255,255,.85); }

.footer__logo { display: flex; align-items: center; }
.footer__logo-img {
  height: 32px;
  width: auto;
  display: block;
  object-fit: contain;
  opacity: 0.9;
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-block: 1.5rem;
}
.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
}
.footer__copy { color: rgba(255,255,255,.2); font-size: .8rem; }
.footer__tagline { color: rgba(255,255,255,.25); font-size: .8rem; }

/* ============================================================
   FOOTER SOCIAL ICONS
   ============================================================ */
.social-icons {
  display: flex;
  list-style: none;
  gap: 0;
  padding: 0;
  margin-top: 1.25rem;
}
.social-icon {
  position: relative;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  margin-right: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: rgba(255,255,255,.55);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.social-icon:last-child { margin-right: 0; }

.social-icon__tooltip {
  position: absolute;
  top: 0;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  background: rgba(255,255,255,.95);
  color: #0F1117;
  padding: 4px 8px;
  border-radius: 5px;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(0,0,0,.3);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.social-icon__tooltip::before {
  position: absolute;
  content: "";
  height: 7px;
  width: 7px;
  background: rgba(255,255,255,.95);
  bottom: -3px;
  left: 50%;
  transform: translate(-50%) rotate(45deg);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.social-icon:hover .social-icon__tooltip {
  top: -40px;
  opacity: 1;
  pointer-events: auto;
}

.social-icon--facebook:hover {
  background: #1877f2;
  border-color: #1877f2;
  color: #fff;
  box-shadow: 0 8px 20px rgba(24,119,242,.4);
}
.social-icon--facebook:hover .social-icon__tooltip,
.social-icon--facebook:hover .social-icon__tooltip::before {
  background: #1877f2;
  color: #fff;
}

.social-icon--twitter:hover {
  background: #1da1f2;
  border-color: #1da1f2;
  color: #fff;
  box-shadow: 0 8px 20px rgba(29,161,242,.4);
}
.social-icon--twitter:hover .social-icon__tooltip,
.social-icon--twitter:hover .social-icon__tooltip::before {
  background: #1da1f2;
  color: #fff;
}

.social-icon--instagram:hover {
  background: #e4405f;
  border-color: #e4405f;
  color: #fff;
  box-shadow: 0 8px 20px rgba(228,64,95,.4);
}
.social-icon--instagram:hover .social-icon__tooltip,
.social-icon--instagram:hover .social-icon__tooltip::before {
  background: #e4405f;
  color: #fff;
}

/* ============================================================
   BRAND GRADIENT — animierter Farbverlauf Rot → Orange → Blau
   auf allen gefüllten Markenelementen
   ============================================================ */
.logo-sq,
.btn--primary,
.btn--primary:hover,
.nav__link--cta,
.nav__link--cta:hover,
.card--featured,
.card--featured:hover,
body.dark .card--featured,
body.dark .card--featured:hover,
.hv-cta-pill,
.hv-btn--main,
.hv-logo-pill,
.mock-logo-new,
.mock-btn-new,
.testi-avatar,
.cookie-btn--primary,
.cookie-btn--primary:hover,
.cookie-toggle input:checked + .cookie-toggle__slider,
::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg,
    #DC2626 0%,
    #F97316 25%,
    #2563EB 50%,
    #F97316 75%,
    #DC2626 100%
  ) !important;
  background-size: 300% 300% !important;
  animation: cardGradientFlow 5s ease infinite !important;
}

/* Button-spezifische Ergänzungen */
.btn--primary,
.btn--primary:hover {
  box-shadow: 0 4px 18px rgba(220,38,38,.25), 0 0 0 0 transparent !important;
  transform: none;
}
.btn--primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 28px rgba(220,38,38,.30) !important;
}
.nav__link--cta:hover {
  box-shadow: 0 4px 14px rgba(220,38,38,.3) !important;
}
.cookie-btn--primary:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 14px rgba(220,38,38,.25) !important;
}

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-page { padding-top: 96px; padding-bottom: 4rem; }
.legal-page h1 { font-family: var(--font-head); font-size: 2rem; color: var(--tx); margin-bottom: 2rem; letter-spacing: -.03em; }
.legal-page h2 { font-family: var(--font-head); font-size: 1.1rem; color: var(--tx); margin-top: 2rem; margin-bottom: .5rem; }
.legal-page p, .legal-page li { color: var(--tx-2); line-height: 1.8; margin-bottom: .5rem; }
.legal-page a { color: var(--blue); }
.legal-page ul { padding-left: 1.25rem; list-style: disc; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual-side { display: none; }
  .hero__content { max-width: 680px; }
}

@media (max-width: 960px) {
  .cards { grid-template-columns: 1fr; gap: 1rem; }
  .card { border-right: 1px solid var(--ln); border-bottom: none; }
  .card:last-child { border-bottom: none; }
  .process { grid-template-columns: 1fr; gap: 1rem; }
  .process__step { border-right: 1px solid var(--ln); border-bottom: none; }
  .process__step:last-child { border-bottom: none; }
  .testi-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { order: -1; }
  .section__head { text-align: center; }
  .section__head .section__sub { margin-inline: auto; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  /* Keep 3 shapes on tablet, hide the rest */
  .shape--hex-1,
  .shape--square-1,
  .shape--circle-2,
  .shape--pill-2 { display: none; }
  /* Adjust remaining shapes for smaller canvas */
  .shape--pill-1    { width: 100px; height: 40px; top: 10%; left: 5%; }
  .shape--circle-1  { width: 72px;  height: 72px; top: 8%;  right: 5%; }
  .shape--dot-scatter { right: 5%; top: 35%; opacity: 0.4; }

  .nav__list {
    display: none;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--ln);
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
  }
  .nav__list.open { display: flex; }
  .nav__link { color: var(--tx-2); font-size: 1rem; }
  .nav__link--cta { text-align: center; }
  .nav__burger { display: flex; }

  .contact-form { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 2rem; padding-block: 3rem; }
  .footer__bottom-inner { flex-direction: column; text-align: center; }
  .slider { height: 280px; }
  .hero__stats { gap: 1.5rem; }
  .testi-grid { grid-template-columns: 1fr; gap: 14px; }

  /* Leistungen: horizontal snap-carousel on mobile */
  .cards {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    gap: 1rem;
    padding-inline: 1rem;
    margin-inline: -1rem;
    scroll-padding-inline: 1rem;
  }
  .cards::-webkit-scrollbar { display: none; }
  .cards .card {
    flex: 0 0 85%;
    scroll-snap-align: center;
  }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .hero__stats { gap: 1.25rem; }
  /* Only 2 shapes on phone */
  .shape--dot-scatter { display: none; }
  .shape--pill-1 { top: 8%; left: 3%; opacity: 0.5; }
  .shape--circle-1 { opacity: 0.45; }
  /* Slightly smaller headline on phone */
  .hero__headline { font-size: clamp(2.6rem, 9vw, 3.4rem); }
}

/* ============================================================
   DARK / LIGHT THEME TOGGLE (moon/sun switch)
   ============================================================ */
.toggle {
  position: relative;
  box-sizing: border-box;
  flex-shrink: 0;
  transform: scale(0.78);
  transform-origin: center;
}
.toggle input[type="checkbox"] {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 10;
  width: 100%;
  height: 100%;
  cursor: pointer;
  opacity: 0;
  margin: 0;
}
.toggle label {
  position: relative;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  cursor: pointer;
}
.toggle label::before {
  content: "";
  width: 70px;
  height: 40px;
  background: #fff;
  border: 2px solid #ddd;
  box-shadow: inset 30px 0 0 #ffeb00;
  position: relative;
  display: inline-block;
  border-radius: 20px;
  box-sizing: border-box;
  transition: 0.25s ease-in;
}
.toggle label::after {
  content: "";
  width: 20px;
  height: 20px;
  position: absolute;
  left: 39px;
  top: 8px;
  border-radius: 50%;
  background: #ffbc00;
  box-shadow: inset 0 0 0 2px #fff;
  border: 2px dashed #fff;
  transition: 0.2s ease-in-out;
}
.toggle input[type="checkbox"]:checked + label::before {
  box-shadow: inset -30px 0 0 #666;
}
.toggle input[type="checkbox"]:checked + label::after {
  box-shadow: inset -8px -5px #333;
  background: #fffdfd;
  left: 10px;
  top: 10px;
  border: none;
}

/* ---- Dark mode overrides ---- */
body.dark {
  --bg:       #0F1117;
  --surface:  #161B27;
  --surface-2:#1C2335;
  --surface-3:#222B3F;
  --tx:       #E8ECF4;
  --tx-2:     #8E97B0;
  --tx-3:     #5A6378;
  --ln:       rgba(255,255,255,.08);
  --ln-blue:  rgba(220,38,38,.25);
  --bad:      rgba(239,68,68,.15);
  --bad-tx:   #F87171;
  --good:     rgba(59,130,246,.15);
  --good-tx:  #4ADE80;
  --sh:       0 12px 40px rgba(0,0,0,.4);
}

body.dark .header.scrolled {
  background: rgba(15,17,23,.92);
}
body.dark .nav__burger span {
  background: rgba(255,255,255,.75);
}
body.dark .nav__list {
  background: rgba(15,17,23,.97);
  border-bottom-color: rgba(255,255,255,.08);
}
body.dark .nav__link { color: var(--tx); }
body.dark .card { background: var(--surface); }
body.dark .card:hover { background: var(--surface); }
body.dark .card--featured { background: var(--blue); }
body.dark .card--featured:hover { background: var(--blue); }
body.dark .process__step { background: var(--surface-2); }
body.dark .process__step:hover { background: var(--surface-2); }
body.dark .compare-table table { background: var(--surface); }
body.dark .compare-table th { background: var(--surface-2); }
body.dark .form-group input,
body.dark .form-group textarea {
  background: var(--surface-2);
  color: var(--tx);
  border-color: rgba(255,255,255,.10);
}
body.dark .neon-checkbox__box {
  background: rgba(220,38,38,.08);
  border-color: rgba(220,38,38,.5);
}
body.dark .contact-info__item { background: var(--surface); }
body.dark .contact-info__item:hover { background: var(--surface-2); }
body.dark .contact-info__note { background: var(--surface); }
body.dark .contact-info { border-color: rgba(255,255,255,.1); }
body.dark .slider__mockup--new { background: #1A2035; }
body.dark .mock-nav--new { background: #131E35; border-bottom-color: rgba(255,255,255,.05); }
body.dark .mock-hero-new { background: linear-gradient(130deg, #0F1117 50%, #1a2035); }
body.dark .mock-card-new { background: #1C2A40; border-color: rgba(255,255,255,.07); }
body.dark .site-compare { background: var(--surface); }
body.dark .site-compare__bar { background: var(--surface-2); border-bottom-color: rgba(255,255,255,.08); }
body.dark .site-compare__tab--active { background: var(--surface-3); border-color: rgba(255,255,255,.12); color: var(--tx); }
body.dark .site-compare__tab:hover { background: var(--surface-3); }

/* ============================================================
   INLINE SITE COMPARE (iframe viewer)
   ============================================================ */
.site-compare {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--ln);
  box-shadow: var(--sh);
  margin-top: 2.5rem;
}

.site-compare__bar {
  display: flex;
  align-items: center;
  gap: .875rem;
  padding: .55rem 1rem;
  background: var(--surface-2);
  border-bottom: 1px solid var(--ln);
}

.site-compare__mac {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}
.site-compare__mac span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.site-compare__mac span:nth-child(1) { background: #FF5F57; }
.site-compare__mac span:nth-child(2) { background: #FEBC2E; }
.site-compare__mac span:nth-child(3) { background: #28C840; }

.site-compare__tabs {
  display: flex;
  gap: 4px;
  flex: 1;
}

.site-compare__tab {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .3rem .85rem;
  border-radius: 5px;
  font-size: .8rem;
  font-weight: 600;
  border: 1px solid transparent;
  background: none;
  color: var(--tx-3);
  cursor: pointer;
  transition: all var(--ease);
  font-family: var(--font-body);
}
.site-compare__tab:hover {
  background: var(--surface-3);
  color: var(--tx-2);
}
.site-compare__tab--active {
  background: var(--bg);
  color: var(--tx);
  border-color: var(--ln);
}

.site-compare__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.site-compare__dot--bad  { background: var(--bad-tx); }
.site-compare__dot--good { background: var(--good-tx); }

.site-compare__open {
  font-size: .76rem;
  color: var(--accent);
  font-weight: 600;
  flex-shrink: 0;
  transition: color var(--ease);
  white-space: nowrap;
}
.site-compare__open:hover { color: var(--blue-dk); text-decoration: underline; }

.site-compare__iframe {
  width: 100%;
  height: 560px;
  border: none;
  display: block;
  background: #fff;
}

@media (max-width: 768px) {
  .site-compare__iframe { height: 420px; }
  .site-compare__open { display: none; }
}

/* ============================================================
   DEMO LINKS (Old / New)
   ============================================================ */
.demo-links {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}
.demo-links__label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--tx-3);
}
.demo-links__btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}
.demo-btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .7rem 1.5rem;
  border-radius: var(--r-sm);
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease);
  cursor: pointer;
}
.demo-btn svg { width: 15px; height: 15px; flex-shrink: 0; }
.demo-btn--old {
  background: var(--bad);
  color: var(--bad-tx);
  border: 1px solid rgba(239,68,68,.22);
}
.demo-btn--old:hover {
  background: rgba(239,68,68,.2);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(239,68,68,.18);
}
.demo-btn--new {
  background: var(--good);
  color: var(--good-tx);
  border: 1px solid rgba(59,130,246,.22);
}
.demo-btn--new:hover {
  background: rgba(59,130,246,.2);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59,130,246,.18);
}

/* ============================================================
   CURSOR SPOTLIGHT
   ============================================================ */
.cursor-spotlight {
  position: fixed;
  top: 0; left: 0;
  width: 500px; height: 500px;
  background: radial-gradient(circle at center,
    rgba(220,38,38,.06) 0%,
    rgba(249,115,22,.03) 35%,
    transparent 65%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  will-change: transform;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.cursor-spotlight.visible { opacity: 1; }

/* ============================================================
   HERO REVEAL ANIMATION
   ============================================================ */
@keyframes slide-up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slide-in-right {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Power4-out feel: fast acceleration, gentle deceleration */
.hero__badge       { animation: slide-up       0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.10s both; }
.hero__headline    { animation: slide-up       0.90s cubic-bezier(0.22, 1, 0.36, 1) 0.28s both; }
.hero__sub         { animation: slide-up       0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.50s both; }
.hero__actions     { animation: slide-up       0.70s cubic-bezier(0.22, 1, 0.36, 1) 0.68s both; }
.hero__visual-side { animation: slide-in-right 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both; }

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hv-badge { animation: none !important; }
  .hero-img-badge, .hero-img-card__glow { animation: none !important; }
  .shape { animation: none !important; translate: 0px 0px !important; }
  .hero__badge, .hero__headline, .hero__sub, .hero__actions, .hero__visual-side {
    animation: none !important; opacity: 1 !important; transform: none !important;
  }
  .cursor-spotlight { display: none !important; }
  .gradient-reveal .word { color: var(--tx) !important; }
  body.dark .gradient-reveal .word { color: #fff !important; }
  .header.nav-hidden { transform: none !important; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 17, 23, .55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1.5rem;
  animation: cookieFadeIn .3s ease both;
}
.cookie-overlay.hidden {
  animation: cookieFadeOut .25s ease both;
  pointer-events: none;
}
@keyframes cookieFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes cookieFadeOut {
  from { opacity: 1; }
  to   { opacity: 0; }
}

.cookie-box {
  background: var(--bg);
  border: 1px solid var(--ln);
  border-radius: var(--r-lg);
  box-shadow: 0 24px 60px rgba(15,17,23,.20);
  max-width: 600px;
  width: 100%;
  padding: 2rem 2rem 1.5rem;
  animation: cookieSlideUp .35s cubic-bezier(.22,1,.36,1) both;
}
@keyframes cookieSlideUp {
  from { transform: translateY(24px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.cookie-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
  color: var(--blue);
}
.cookie-header h2 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--tx);
  margin: 0;
}

.cookie-intro {
  font-size: .9rem;
  color: var(--tx-2);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.cookie-intro a { color: var(--blue); text-decoration: underline; }
.cookie-intro a:hover { color: var(--blue-dk); }

.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  margin-bottom: 1.5rem;
}
.cookie-category {
  background: var(--surface);
  border: 1px solid var(--ln);
  border-radius: var(--r);
  padding: .85rem 1rem;
}
.cookie-category--required {
  border-color: var(--ln-blue);
  background: var(--blue-alpha);
}
.cookie-category__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.cookie-category__name {
  display: block;
  font-size: .9rem;
  font-weight: 600;
  color: var(--tx);
  margin-bottom: .2rem;
}
.cookie-category__desc {
  display: block;
  font-size: .8rem;
  color: var(--tx-3);
  line-height: 1.5;
}

.cookie-badge {
  flex-shrink: 0;
  font-size: .72rem;
  font-weight: 600;
  color: var(--blue);
  background: rgba(220,38,38,.12);
  border-radius: 20px;
  padding: .25rem .75rem;
  white-space: nowrap;
}

/* Toggle switch */
.cookie-toggle {
  position: relative;
  flex-shrink: 0;
  width: 44px;
  height: 24px;
  cursor: pointer;
}
.cookie-toggle input { opacity: 0; width: 0; height: 0; }
.cookie-toggle__slider {
  position: absolute;
  inset: 0;
  background: var(--surface-3);
  border-radius: 99px;
  transition: background var(--ease);
}
.cookie-toggle__slider::before {
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0,0,0,.18);
  transition: transform var(--ease);
}
.cookie-toggle input:checked + .cookie-toggle__slider {
  background: var(--blue);
}
.cookie-toggle input:checked + .cookie-toggle__slider::before {
  transform: translateX(20px);
}

.cookie-actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}
.cookie-btn {
  flex: 1;
  min-width: 160px;
  padding: .75rem 1.25rem;
  border-radius: var(--r);
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--ease);
}
.cookie-btn--primary {
  background: var(--blue);
  color: #fff;
}
.cookie-btn--primary:hover {
  background: var(--blue-dk);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px var(--blue-glow);
}
.cookie-btn--outline {
  background: transparent;
  color: var(--tx);
  border: 1.5px solid var(--ln);
}
.cookie-btn--outline:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.cookie-legal {
  margin-top: 1rem;
  text-align: center;
  font-size: .78rem;
  color: var(--tx-3);
}
.cookie-legal a { color: var(--tx-3); text-decoration: underline; }
.cookie-legal a:hover { color: var(--blue); }

/* Dark mode */
body.dark .cookie-box {
  background: #181c24;
  border-color: rgba(255,255,255,.08);
}
body.dark .cookie-category {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.08);
}
body.dark .cookie-category--required {
  border-color: var(--ln-blue);
  background: rgba(220,38,38,.10);
}
body.dark .cookie-toggle__slider { background: rgba(255,255,255,.18); }

@media (max-width: 480px) {
  .cookie-box { padding: 1.5rem 1.25rem 1.25rem; }
  .cookie-btn { min-width: 120px; font-size: .85rem; }
}

/* ============================================================
   COMPARE — Drag Slider (Vorher / Nachher)
   ============================================================ */
.section--compare {
  padding-block: 6rem 3rem;
  background: var(--bg);
  position: relative;
}

.compare-slider {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 3.5rem auto 4rem;
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--ln);
  background: var(--surface);
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  box-shadow:
    0 30px 80px -20px rgba(0,0,0,.45),
    0 0 0 1px rgba(255,255,255,.04);
  cursor: ew-resize;
  isolation: isolate;
}

.compare-slider__pic,
.compare-slider__pic img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.compare-slider__pic img {
  object-fit: cover;
  object-position: top left;
  pointer-events: none;
  -webkit-user-drag: none;
}

.compare-slider__pic--after { z-index: 1; }

.compare-slider__before {
  position: absolute;
  inset: 0;
  z-index: 2;
  clip-path: inset(0 50% 0 0);
  will-change: clip-path;
  overflow: hidden;
}

/* ── Labels ─────────────────────────────── */
.compare-slider__label {
  position: absolute;
  top: 16px;
  z-index: 5;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.compare-slider__label--before {
  left: 16px;
  background: rgba(185,28,28,.88);
  border: 1px solid rgba(255,255,255,.18);
}
.compare-slider__label--after {
  right: 16px;
  background: rgba(21,128,61,.88);
  border: 1px solid rgba(255,255,255,.18);
}

/* ── Drag Handle ─────────────────────────────── */
.compare-slider__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 56px;
  margin-left: -28px;
  background: transparent;
  border: 0;
  padding: 0;
  z-index: 6;
  cursor: ew-resize;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
}
.compare-slider__line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  margin-left: -1.5px;
  background: #fff;
  box-shadow: 0 0 12px rgba(0,0,0,.45);
}
.compare-slider__knob {
  position: relative;
  z-index: 2;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  color: #111;
  box-shadow:
    0 4px 16px rgba(0,0,0,.35),
    0 0 0 4px rgba(255,255,255,.18),
    0 0 0 1px rgba(0,0,0,.06) inset;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.compare-slider__handle:hover .compare-slider__knob,
.compare-slider__handle:focus-visible .compare-slider__knob {
  transform: scale(1.08);
  box-shadow:
    0 6px 24px rgba(0,0,0,.45),
    0 0 0 6px rgba(220,38,38,.25),
    0 0 0 1px rgba(0,0,0,.06) inset;
}
.compare-slider__knob svg:first-child { margin-right: -3px; }
.compare-slider__knob svg:last-child  { margin-left:  -3px; }

/* ── Hint (auto-fades on first interaction) ─── */
.compare-slider__hint {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 5;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  background: rgba(0,0,0,.55);
  padding: 6px 14px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
  animation: slider-hint-pulse 2.4s ease-in-out infinite;
  transition: opacity .4s ease;
}
.compare-slider.is-touched .compare-slider__hint {
  opacity: 0;
}
@keyframes slider-hint-pulse {
  0%, 100% { opacity: .55; transform: translateX(-50%) translateY(0); }
  50%      { opacity: 1;   transform: translateX(-50%) translateY(-2px); }
}

/* ── Table area ─────────────────────────────── */
.compare-table-wrap { padding-block: 1rem 5rem; }

/* ── Mobile ─────────────────────────────────── */
@media (max-width: 640px) {
  .section--compare { padding-block: 4rem 2rem; }
  .compare-slider {
    max-width: 380px;
    aspect-ratio: 9 / 16;
    border-radius: 14px;
    margin: 2.5rem auto 3rem;
  }
  .compare-slider__label {
    font-size: .58rem;
    padding: 4px 10px;
    top: 10px;
    letter-spacing: .12em;
  }
  .compare-slider__label--before { left: 10px; }
  .compare-slider__label--after  { right: 10px; }
  .compare-slider__handle { width: 48px; margin-left: -24px; }
  .compare-slider__knob   { width: 44px; height: 44px; }
  .compare-slider__hint   { font-size: .58rem; bottom: 12px; padding: 5px 10px; }
}
