/* =========================================================
   WebRise Studio — Design System v4
   Light theme · Inter · Lime #b3e31e · Premium Swiss agency
   ========================================================= */

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  overflow-x: hidden;
}
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: 1.7;
  font-size: 1rem;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.14); border-radius: 2px; }

/* ===== DESIGN TOKENS ===== */
:root {
  /* Backgrounds */
  --bg:            #fafaf9;
  --bg2:           #f3f3f0;
  --surface:       #ffffff;
  --surface-2:     #eeeee9;

  /* Text */
  --text:          #111110;
  --text-muted:    #6b6b6b;
  --text-light:    #a5a5a5;

  /* Brand lime — matches logo exactly */
  --lime:          #b3e31e;
  --lime-dark:     #93bb16;
  --lime-dim:      rgba(179, 227, 30, 0.10);
  --lime-glow:     rgba(179, 227, 30, 0.22);

  /* Aliases for component compatibility */
  --green:         #b3e31e;
  --green-dark:    #93bb16;
  --green-dim:     rgba(179, 227, 30, 0.10);

  /* Borders & shadows */
  --border:        rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.14);
  --card:          #ffffff;
  --shadow-sm:     0 1px 3px rgba(0,0,0,0.07), 0 1px 2px rgba(0,0,0,0.04);
  --shadow:        0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg:     0 20px 60px rgba(0,0,0,0.12), 0 8px 24px rgba(0,0,0,0.07);
  --shadow-card:   0 2px 8px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
  --glow:          0 0 40px rgba(179, 227, 30, 0.25);
  --glow-sm:       0 0 20px rgba(179, 227, 30, 0.16);

  /* Radius — rounder = more premium */
  --r-sm:   10px;
  --r:      16px;
  --r-lg:   28px;
  --r-xl:   40px;
  --r-2xl:  52px;
  --r-pill: 999px;

  /* Spacing */
  --section:   8rem 2rem;
  --container: 1200px;
  --nav-h:     72px;
}

/* ===== LAYOUT ===== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  padding: 0 2rem;
}
section { padding: var(--section); }
.section-inner { max-width: var(--container); margin: 0 auto; padding: 0 2rem; }

/* ===== SCROLL REVEAL ===== */
.reveal-item {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity  0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--ri-delay, 0) * 1s);
}
.reveal-item.is-visible { opacity: 1; transform: translateY(0); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1, .d1 { transition-delay: 0.08s; }
.reveal-d2, .d2 { transition-delay: 0.16s; }
.reveal-d3, .d3 { transition-delay: 0.24s; }
.reveal-d4, .d4 { transition-delay: 0.32s; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  line-height: 1.1;
  letter-spacing: -0.032em;
  font-weight: 800;
  color: var(--text);
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.4rem;
  border: 1px solid rgba(0,0,0,0.14);
  border-radius: var(--r-pill);
  padding: 0.3rem 0.85rem;
}
.label::before {
  content: '—';
  color: var(--lime);
  font-weight: 900;
  font-size: 0.8rem;
  line-height: 1;
}

.section-title {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 900;
  color: var(--text);
  margin-bottom: 1.2rem;
  max-width: 820px;
  line-height: 1.0;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.85;
  margin-bottom: 4rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: var(--r-pill);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: -0.01em;
  padding: 0.9rem 1.9rem;
  cursor: pointer;
  transition:
    transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.25s ease,
    background 0.2s ease;
  white-space: nowrap;
  border: none;
  position: relative;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* Lime button — dark text on lime bg (matches logo language) */
.btn-primary {
  background: var(--lime);
  color: #111110;
  box-shadow: 0 2px 10px rgba(179,227,30,0.30);
}
.btn-primary:hover {
  background: var(--lime-dark);
  box-shadow: 0 6px 24px rgba(179,227,30,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-strong);
}
.btn-outline:hover {
  border-color: var(--text);
  background: rgba(0,0,0,0.04);
}

.magnetic { will-change: transform; }
.btn-nav-cta { font-size: 0.82rem; padding: 0.65rem 1.3rem; }

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { color: var(--text); border-color: var(--border-strong); }

.w-full { width: 100%; justify-content: center; }

/* ===== NAVIGATION ===== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.4rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: padding 0.4s ease, background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  border-bottom: 1px solid transparent;
}
#navbar.scrolled {
  padding: 0.8rem 2.5rem;
  background: rgba(250, 250, 249, 0.94);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-logo img { width: 140px; height: auto; display: block; transition: opacity 0.2s; }
.nav-logo img:hover { opacity: 0.7; }

.nav-links { display: flex; align-items: center; gap: 2.4rem; list-style: none; }
.nav-links a {
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--lime);
  transition: width 0.3s ease;
  border-radius: 1px;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after { width: 100%; }

.nav-right { display: flex; align-items: center; gap: 0.8rem; }

.lang-switcher {
  display: flex;
  gap: 2px;
  background: rgba(0,0,0,0.04);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 3px;
}
.lang-btn {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  padding: 0.25rem 0.6rem;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  background: none;
  border: none;
  text-decoration: none;
  display: inline-block;
}
.lang-btn:hover { color: var(--text); }
.lang-btn.active { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }

.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 1px; transition: all 0.3s; }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 1001; /* above navbar (1000) */
  flex-direction: column;
}
.mobile-menu.active { display: flex; }

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  min-height: 64px; /* matches navbar height */
}
.mobile-menu-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg2);
  color: var(--text-muted);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}
.mobile-menu-close:hover { background: var(--border); color: var(--text); }

.mobile-menu-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0.5rem 0;
  overflow-y: auto;
}
.mobile-menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
  transition: background 0.15s, color 0.15s;
  min-height: 56px;
  text-decoration: none;
}
.mobile-menu-link:hover,
.mobile-menu-link:active { background: var(--bg2); color: var(--lime-dark); }
.mobile-menu-link svg { color: var(--text-light); flex-shrink: 0; transition: color 0.15s; }
.mobile-menu-link:hover svg { color: var(--lime-dark); }

.mobile-menu-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.mobile-menu-cta { width: 100%; justify-content: center; text-align: center; }
.mobile-trust-items {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.mobile-trust-items span {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}
.mobile-lang { display: flex; gap: 1rem; }
.mobile-lang a {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-light);
  padding: 0.3rem 0.5rem;
  border-radius: var(--r-sm);
  transition: background 0.15s, color 0.15s;
}
.mobile-lang a:hover { background: var(--bg2); color: var(--text); }
.mobile-lang a.active { background: var(--lime); color: var(--text); }

/* ===== HERO ===== */
#hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10rem 2rem 7rem;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

/* Fine dot grid */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0,0,0,0.055) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

/* Lime ambient — very subtle */
.hero-orb {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(179,227,30,0.07), transparent 60%);
  border-radius: 50%;
  pointer-events: none;
  animation: orb-pulse 10s ease-in-out infinite;
}
@keyframes orb-pulse {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  50%       { opacity: 1;   transform: translate(-50%, -50%) scale(1.1); }
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 940px;
  margin: 0 auto;
}

.hero-overline {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 0.5rem 1.3rem;
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  margin-bottom: 3rem;
  box-shadow: var(--shadow-sm);
}
.hero-overline .dot {
  width: 6px; height: 6px;
  background: var(--lime);
  border-radius: 50%;
  animation: dot-pulse 2.4s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.3; transform: scale(0.6); }
}

.hero-headline {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  font-size: clamp(3rem, 5vw, 5.6rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.048em;
  margin-bottom: 2.5rem;
  color: var(--text);
}
.hero-headline .animate-line { display: block; }
.hero-headline .animate-line.lime {
  background: linear-gradient(120deg, var(--lime) 0%, var(--lime-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(1rem, 1.7vw, 1.15rem);
  color: var(--text-muted);
  max-width: 540px;
  line-height: 1.82;
  margin: 0 auto 3rem;
}
.hero-sub strong { color: var(--text); font-weight: 600; }

.hero-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 3.5rem;
}

/* Mini proof strip */
.hero-stats {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.9rem 2rem;
  gap: 0.15rem;
  border-right: 1px solid var(--border);
}
.hero-stat:last-child { border-right: none; }
.hero-stat-num {
  font-family: 'Inter', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.04em;
  white-space: nowrap;
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.65rem;
  color: var(--text-light);
  letter-spacing: 0.04em;
  font-weight: 500;
  text-transform: uppercase;
}

.hero-scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  margin-top: 3rem;
}
.hero-scroll-line {
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, transparent, var(--lime), transparent);
  animation: scroll-draw 2.4s ease-in-out infinite;
}
@keyframes scroll-draw {
  0%   { transform: scaleY(0); opacity: 0; transform-origin: top; }
  40%  { transform: scaleY(1); opacity: 1; transform-origin: top; }
  60%  { transform: scaleY(1); opacity: 1; transform-origin: bottom; }
  100% { transform: scaleY(0); opacity: 0; transform-origin: bottom; }
}
.hero-scroll-label {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-light);
}

/* ===== MARQUEE STRIP — lime brand statement ===== */
.marquee-strip {
  background: var(--lime);
  padding: 1rem 0;
  overflow: hidden;
  width: 100%;
  max-width: 100vw;
}
.marquee-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marquee-scroll 28s linear infinite;
}
.marquee-strip:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(17, 17, 16, 0.65);
  white-space: nowrap;
}
.marquee-item svg { color: rgba(17,17,16,0.45); flex-shrink: 0; }
.marquee-sep { width: 4px; height: 4px; background: rgba(17,17,16,0.25); border-radius: 50%; flex-shrink: 0; }

/* ===== WIE ES FUNKTIONIERT ===== */
#wie { background: var(--bg); }

.wie-steps-wrap { position: relative; margin-top: 5rem; }

.wie-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

.wie-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 3rem 2.5rem 2.5rem;
  position: relative;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.wie-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(179,227,30,0.25);
}

.wie-number {
  font-family: 'Inter', sans-serif;
  font-size: 5rem;
  font-weight: 800;
  letter-spacing: -0.06em;
  color: rgba(0,0,0,0.04);
  line-height: 1;
  position: absolute;
  top: 1.2rem; right: 1.8rem;
  pointer-events: none;
  transition: color 0.35s;
  user-select: none;
}
.wie-card:hover .wie-number { color: rgba(179,227,30,0.14); }

.wie-icon {
  width: 48px; height: 48px;
  background: var(--lime-dim);
  border: 1px solid rgba(179,227,30,0.22);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.6rem;
  color: var(--lime-dark);
}

.wie-step-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime-dark);
  margin-bottom: 0.75rem;
}

.wie-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.8rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.wie-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.8; }

.steps-connector {
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  width: 100%;
  height: 60px;
  pointer-events: none;
  z-index: 1;
  overflow: visible;
  transform: translateY(-50%);
}
.connector-path {
  stroke: var(--lime);
  stroke-width: 2;
  fill: none;
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  opacity: 0.75;
  transition: stroke-dashoffset 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.steps-connector.draw .connector-path { stroke-dashoffset: 0; }

/* ===== PAKETE — 4 cards ===== */
#pakete { background: var(--bg2); }

.pakete-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  align-items: start;
  padding-top: 1.4rem; /* space for .popular-tag that sticks 13px above card */
}

.paket-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2.4rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.3s, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s;
  box-shadow: var(--shadow-card);
}
.paket-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* Popular card — lime border */
.paket-popular {
  border: 2px solid var(--lime);
  box-shadow: 0 4px 24px rgba(179,227,30,0.14), var(--shadow-card);
}
.paket-popular:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(179,227,30,0.18), var(--shadow-lg);
}

/* Individuell card — dark premium treatment */
.paket-individuell {
  background: var(--text);
  border-color: var(--text);
}
.paket-individuell:hover {
  border-color: var(--lime);
  box-shadow: 0 24px 60px rgba(0,0,0,0.25);
}
.paket-individuell .paket-name { color: rgba(255,255,255,0.4); }
.paket-individuell .paket-target { color: rgba(255,255,255,0.55); }
.paket-individuell .paket-price { color: var(--lime); }
.paket-individuell .paket-price small { color: rgba(255,255,255,0.4); }
.paket-individuell .paket-features li { color: rgba(255,255,255,0.7); border-bottom-color: rgba(255,255,255,0.1); }
.paket-individuell .paket-features li:last-child { border-bottom: none; }
.paket-individuell .paket-features strong { color: #fff; }
.paket-individuell .paket-features .ck { color: var(--lime); }
.paket-individuell .btn-paket {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--text);
  font-weight: 700;
}
.paket-individuell .btn-paket:hover {
  background: var(--lime-dark);
  border-color: var(--lime-dark);
}

.popular-tag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--lime);
  color: #111110;
  font-family: 'Inter', sans-serif;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 0.28rem 1rem;
  border-radius: var(--r-pill);
  white-space: nowrap;
}

.custom-tag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--text);
  color: var(--lime);
  border: 1px solid var(--lime);
  font-family: 'Inter', sans-serif;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 0.28rem 1rem;
  border-radius: var(--r-pill);
  white-space: nowrap;
}

.paket-name {
  font-family: 'Inter', sans-serif;
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-light);
  margin-bottom: 0.3rem;
}
.paket-target { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 1.5rem; line-height: 1.5; }
.paket-price {
  font-family: 'Inter', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 1.5rem;
  line-height: 1;
  letter-spacing: -0.04em;
}
.paket-price small { font-size: 0.78rem; color: var(--text-muted); font-weight: 400; letter-spacing: 0; }
.paket-popular .paket-price { color: var(--text); }

.paket-features { list-style: none; flex: 1; margin-bottom: 1.8rem; }
.paket-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}
.paket-features li:last-child { border-bottom: none; }
.paket-features .ck { color: var(--lime-dark); flex-shrink: 0; margin-top: 1px; display: inline-flex; }
.paket-features strong { color: var(--text); font-weight: 600; }

.btn-paket {
  width: 100%;
  padding: 0.85rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.84rem;
  letter-spacing: -0.01em;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--border-strong);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.btn-paket:hover,
.paket-popular .btn-paket {
  background: var(--lime);
  border-color: var(--lime);
  color: #111110;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(179,227,30,0.28);
}

.pakete-note {
  text-align: center;
  color: var(--text-light);
  font-size: 0.78rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.pakete-individual-cta {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.8rem 2.2rem;
  flex-wrap: wrap;
  box-shadow: var(--shadow-sm);
}

.pakete-individual-cta-text h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.35rem;
}
.pakete-individual-cta-text p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 440px;
}

/* Swipe hint — hidden on desktop, shown via media query */
.pakete-scroll-hint { display: none; }

/* ===== MODULE ===== */
#module { background: var(--bg); }

.modul-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 3.5rem;
}

.modul-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.6rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: border-color 0.22s, box-shadow 0.22s;
}
.modul-card:hover {
  border-color: rgba(179,227,30,0.45);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.modul-icon { display: none; }
.modul-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 0.3rem;
}
.modul-price {
  font-size: 0.82rem;
  font-weight: 700;
  color: #5a8a00;
  margin-bottom: 0.65rem;
  letter-spacing: -.01em;
}
.modul-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ===== DEMOS ===== */
#demos { background: var(--bg2) !important; }

/* Filter buttons */
.demo-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2.5rem;
}
.demo-filter-btn {
  background: var(--surface);
  border: 1.5px solid var(--border-strong);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: 100px;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.demo-filter-btn:hover {
  background: var(--bg2);
  color: var(--text);
  border-color: var(--text-light);
}
.demo-filter-btn.active {
  background: var(--lime);
  border-color: var(--lime);
  color: #111110;
}

/* Demo grid — hidden state for filtering */
.demo-card.demo-hidden {
  display: none;
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 2rem;
}

.demo-card {
  position: relative;
  height: 380px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: #111;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
  box-shadow: var(--shadow);
}
.demo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(0,0,0,.25);
  border-color: rgba(179,227,30,0.3);
}

/* Photo background */
.demo-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Gradient overlay */
.demo-card-ov {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.45) 45%, rgba(0,0,0,.88) 100%);
}

/* Browser bar at top */
.demo-bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 14px;
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  z-index: 3;
}
.d-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.d-url {
  flex: 1;
  font-size: 11px;
  color: rgba(255,255,255,.45);
  font-family: -apple-system, BlinkMacSystemFont, 'SF Mono', monospace;
  background: rgba(255,255,255,.07);
  border-radius: 4px;
  padding: 3px 10px;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border: 1px solid rgba(255,255,255,.08);
}

/* Content at bottom */
.demo-card-content {
  position: absolute;
  inset: 0;
  padding: 28px;
  padding-top: 48px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  z-index: 2;
}
.demo-card-top {
  display: flex;
  justify-content: flex-end;
  margin-bottom: auto;
}
.demo-industry-badge {
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.8);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 100px;
}
.demo-card-title {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: #fff;
  margin-bottom: 4px;
  line-height: 1.2;
}
.demo-card-desc {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  margin-bottom: 16px;
  font-weight: 400;
  line-height: 1.5;
}
.demo-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--lime);
  color: #111110;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 8px;
  align-self: flex-start;
  transition: background .2s;
}
.demo-card:hover .demo-card-btn { background: var(--lime-dark); }

/* "Alle Demos" info banner */
.demo-all-banner {
  margin-top: 3rem;
}
.demo-all-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: var(--surface);
  border: 1.5px solid rgba(179,227,30,0.35);
  border-radius: var(--r-lg);
  padding: 1.8rem 2.4rem;
  flex-wrap: wrap;
  box-shadow: 0 4px 24px rgba(179,227,30,0.08);
}
.demo-all-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.demo-all-text strong {
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.demo-all-text span {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.demo-cta-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 3rem;
}

/* Legacy — hide old preview elements if still in DOM */
.demo-preview, .demo-preview-inner, .demo-preview-icon,
.demo-preview-name, .demo-preview-sub, .demo-preview-badge,
.demo-overlay-hover, .demo-info, .demo-tag, .demo-title { display: none; }

/* ===== TRUST BAR ===== */
#trust-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.1rem 2rem;
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.trust-bar-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: nowrap;
  padding: 0.4rem 1.6rem;
}

.trust-bar-item svg { color: var(--lime-dark); flex-shrink: 0; }
.trust-bar-item strong { color: var(--text); font-weight: 700; }

.trust-bar-sep {
  width: 1px;
  height: 20px;
  background: var(--border);
  flex-shrink: 0;
}

@keyframes tbMarquee { to { transform: translateX(-50%); } }

@media (max-width: 768px) {
  #trust-bar { overflow: hidden; padding: 0.85rem 0; }
  .trust-bar-inner { gap: 0; overflow: visible; flex-wrap: nowrap; max-width: none; padding: 0; width: 100%; }
  .tb-track { display: flex; width: max-content; animation: tbMarquee 22s linear infinite; gap: 0; align-items: center; }
  .tb-track:hover { animation-play-state: paused; }
  .trust-bar-item { padding: 0.4rem 1.1rem; flex-shrink: 0; }
  .trust-bar-sep { display: flex !important; width: 1px; height: 20px; background: var(--border); flex-shrink: 0; }
}


/* ===== ÜBER UNS / TEAM ===== */
#team { background: var(--bg2); }

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 6rem;
  align-items: start;
}

@media (max-width: 900px) {
  .about-layout { grid-template-columns: 1fr; gap: 2.5rem; }
}

.about-header { position: sticky; top: 100px; }

@media (max-width: 900px) {
  .about-header { position: static; }
}

.about-lead {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.78;
  font-weight: 500;
  margin-bottom: 1.4rem;
}

.about-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 2rem;
}

.about-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.about-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 0.4rem 0.9rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  box-shadow: var(--shadow-sm);
}

.about-pill svg { color: var(--lime-dark); flex-shrink: 0; }

/* ===== KI-FOTOS ===== */
#ki-fotos { background: var(--bg); }

.ki-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 7rem; align-items: center; }

.ki-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--lime-dim);
  border: 1px solid rgba(179,227,30,0.25);
  border-radius: var(--r-pill);
  padding: 0.32rem 1rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--lime-dark);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.6rem;
}

.ki-features { list-style: none; margin: 1.5rem 0 2rem; }
.ki-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}
.ki-features li:last-child { border-bottom: none; }
.ki-features .ck { color: var(--lime-dark); flex-shrink: 0; margin-top: 2px; display: inline-flex; }

.ki-price { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 2rem; }
.ki-price strong { color: var(--text); }

/* ── KI Pricing Toggle ── */
.ki-price-toggle {
  display: inline-flex;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-pill);
  padding: 3px;
  gap: 3px;
  margin-bottom: 1.1rem;
}
.ki-pt-btn {
  padding: .36rem 1.1rem;
  border-radius: var(--r-pill);
  font-size: .8rem;
  font-weight: 600;
  font-family: inherit;
  border: none;
  background: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: background .18s, color .18s;
}
.ki-pt-btn.active { background: var(--lime); color: #111110; }

/* ── Einzelpreise grid ── */
.ki-price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .6rem;
  margin-bottom: 1.4rem;
}
.ki-pc {
  position: relative;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  padding: .85rem 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.ki-pc:hover { border-color: var(--lime); box-shadow: 0 0 0 3px var(--lime-dim); }
.ki-pc-best {
  border-color: rgba(179,227,30,.45);
  background: var(--lime-dim);
}
.ki-pc-qty {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  margin-bottom: .2rem;
}
.ki-pc-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.02em;
  line-height: 1;
}
.ki-pc-per {
  font-size: .72rem;
  color: var(--text-muted);
  margin-top: .25rem;
}
.ki-pc-badge {
  position: absolute;
  top: .5rem;
  right: .5rem;
  background: var(--lime);
  color: #111110;
  font-size: .62rem;
  font-weight: 800;
  padding: .12rem .42rem;
  border-radius: 99px;
  letter-spacing: .02em;
}
.ki-pc-badge-best { background: var(--lime-dark); color: #fff; }

/* ── Abo-Modell list ── */
.ki-abo-list {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-bottom: 1.4rem;
}
.ki-abo-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  padding: .8rem 1rem;
  transition: border-color .2s;
}
.ki-abo-card:hover { border-color: var(--lime); }
.ki-abo-featured {
  border-color: rgba(179,227,30,.45);
  background: var(--lime-dim);
}
.ki-abo-badge {
  position: absolute;
  top: -9px;
  left: .9rem;
  background: var(--lime);
  color: #111110;
  font-size: .6rem;
  font-weight: 800;
  padding: .1rem .5rem;
  border-radius: 99px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.ki-abo-name {
  font-size: .9rem;
  font-weight: 700;
  color: var(--text);
}
.ki-abo-detail {
  font-size: .73rem;
  color: var(--text-muted);
  margin-top: .1rem;
}
.ki-abo-price { white-space: nowrap; text-align: right; flex-shrink: 0; }
.ki-abo-price strong { font-size: 1.1rem; font-weight: 800; color: var(--text); }
.ki-abo-price span { font-size: .72rem; color: var(--text-muted); margin-left: .15rem; }

/* ── Mobile ── */
@media (max-width: 580px) {
  .ki-price-toggle { width: 100%; }
  .ki-pt-btn { flex: 1; text-align: center; }
  .ki-price-grid { grid-template-columns: 1fr 1fr; gap: .5rem; }
  .ki-pc-price { font-size: 1.15rem; }
  .ki-abo-card { padding: .75rem .85rem; }
}

.ki-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.ki-card {
  border-radius: var(--r);
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: flex-end;
  padding: 0.8rem;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s;
}
.ki-card:hover { transform: scale(1.04); box-shadow: var(--shadow-lg); }
.ki-card:nth-child(1) { background: linear-gradient(145deg, #e8dfc8, #d8ceaa); }
.ki-card:nth-child(2) { background: linear-gradient(145deg, #cee0c8, #b8d4b0); }
.ki-card:nth-child(3) { background: linear-gradient(145deg, #c8cee0, #b0b8d4); }
.ki-card:nth-child(4) { background: linear-gradient(145deg, #e0c8ce, #d4b0b8); }
.ki-card-hover {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.28);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s;
}
.ki-card:hover .ki-card-hover { opacity: 1; }
.ki-card-label {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  border-radius: var(--r-sm);
  padding: 0.4rem 0.7rem;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}
.ki-card-label small { display: block; color: var(--text-muted); font-size: 0.68rem; font-weight: 400; margin-top: 1px; }

/* ===== KI LIGHTBOX ===== */
.ki-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.ki-lightbox.open { display: flex; }
.ki-lightbox-inner {
  position: relative;
  width: min(560px, 90vw);
  aspect-ratio: 4/3;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
}
.ki-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.5);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  line-height: 1;
  transition: background 0.2s;
}
.ki-lightbox-close:hover { background: rgba(0,0,0,0.75); }
.ki-lightbox-content {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}
.ki-lightbox-label {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  border-radius: var(--r-sm);
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}
.ki-lightbox-label small { display: block; color: var(--text-muted); font-size: 0.78rem; font-weight: 400; margin-top: 2px; }

/* ===== ZAHLEN / STATS — dark band ===== */
#zahlen {
  background: var(--text);
  position: relative;
  overflow: hidden;
}
#zahlen::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(179,227,30,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.counter-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; z-index: 1; }

.counter-item { padding: 5rem 2.5rem; text-align: center; border-right: 1px solid rgba(255,255,255,0.07); }
.counter-item:last-child { border-right: none; }

.counter-number {
  font-family: 'Inter', sans-serif;
  font-size: clamp(3.2rem, 6.5vw, 5.8rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 0.8rem;
  background: linear-gradient(135deg, #ffffff 30%, var(--lime));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.counter-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.38);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ===== DATENSCHUTZ / TRUST ===== */
#datenschutz { background: var(--bg2); }

.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-top: 3.5rem; }
.trust-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2.2rem 2rem;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  box-shadow: var(--shadow-sm);
}
.trust-card:hover {
  border-color: rgba(179,227,30,0.22);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.trust-icon {
  width: 48px; height: 48px;
  background: var(--lime-dim);
  border: 1px solid rgba(179,227,30,0.2);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lime-dark);
  margin-bottom: 1.4rem;
}
.trust-card h3 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 0.7rem; line-height: 1.2; }
.trust-card p { font-size: 0.83rem; color: var(--text-muted); line-height: 1.7; }

/* ===== KONTAKT ===== */
#kontakt { background: var(--bg); }

.kontakt-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 6rem; align-items: start; margin-top: 4rem; }

.kontakt-info-title { font-size: 1.4rem; font-weight: 700; color: var(--text); margin-bottom: 1rem; line-height: 1.3; letter-spacing: -0.025em; }
.kontakt-info > p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 2rem; }

.kontakt-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.5;
}
.kontakt-detail svg { color: var(--lime-dark); flex-shrink: 0; margin-top: 2px; }
.kontakt-detail a { color: var(--text-muted); transition: color 0.2s; }
.kontakt-detail a:hover { color: var(--lime-dark); }

.kontakt-promise {
  margin-top: 2.5rem;
  padding: 1.4rem 1.6rem;
  background: var(--lime-dim);
  border: 1px solid rgba(179,227,30,0.2);
  border-radius: var(--r);
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.kontakt-promise strong { color: var(--text); font-weight: 600; }

/* Form */
.form-hint {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 1rem 1.4rem;
  background: var(--lime-dim);
  border: 1px solid rgba(179,227,30,0.2);
  border-radius: var(--r);
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}
.form-hint svg { color: var(--lime-dark); flex-shrink: 0; margin-top: 2px; }
.form-hint strong { color: var(--text); font-weight: 500; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-group { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.4rem; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--text-muted); }

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  padding: 0.85rem 1.1rem;
  font-size: 0.95rem;
  color: var(--text);
  font-family: 'Inter', -apple-system, sans-serif;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-light); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(179,227,30,0.14);
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b6b6b' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-color: var(--surface);
  padding-right: 2.5rem;
  cursor: pointer;
}
.form-group select option { background: var(--surface); color: var(--text); }
.form-group textarea { resize: vertical; min-height: 110px; line-height: 1.6; }

.form-checkbox { display: flex; align-items: flex-start; gap: 0.7rem; margin-bottom: 1.4rem; }
.form-checkbox input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--lime); cursor: pointer; flex-shrink: 0; margin-top: 3px; }
.form-checkbox label { font-size: 0.78rem; color: var(--text-muted); line-height: 1.6; }
.form-checkbox label a { color: var(--lime-dark); text-decoration: underline; }

.btn-submit { width: 100%; justify-content: center; padding: 1rem; font-size: 0.95rem; }

.form-success {
  display: none;
  text-align: center;
  padding: 3rem 2rem;
  background: var(--surface);
  border: 1px solid rgba(179,227,30,0.25);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}
.form-success.show { display: block; }

.success-icon {
  width: 56px; height: 56px;
  background: var(--lime);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111110;
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 auto 1.4rem;
}
.form-success h3 { font-size: 1.4rem; color: var(--text); margin-bottom: 0.8rem; }
.form-success p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.8; }

/* ===== PAGE TEMPLATE ===== */
.page-content { padding: calc(var(--nav-h) + 5rem) 2rem 7rem; min-height: 70vh; background: var(--bg); }
.page-content-inner { max-width: 760px; }

.page-breadcrumb { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 2.5rem; }
.page-breadcrumb a { color: var(--text-muted); transition: color 0.2s; }
.page-breadcrumb a:hover { color: var(--lime-dark); }
.page-breadcrumb span:last-child { color: var(--text); }

.page-h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; color: var(--text); margin-bottom: 2.5rem; padding-bottom: 2rem; border-bottom: 1px solid var(--border); }

.page-body { font-size: 1rem; line-height: 1.85; color: var(--text-muted); }
.page-body h2 { font-size: 1.4rem; color: var(--text); margin: 2.5rem 0 0.8rem; font-weight: 700; letter-spacing: -0.02em; }
.page-body h3 { font-size: 1.1rem; color: var(--text); margin: 2rem 0 0.6rem; font-weight: 700; }
.page-body p { margin-bottom: 1.2rem; }
.page-body a { color: var(--lime-dark); text-decoration: underline; }
.page-body ul, .page-body ol { margin: 1rem 0 1.2rem 1.5rem; }
.page-body li { margin-bottom: 0.4rem; }
.page-body strong { color: var(--text); font-weight: 600; }

/* ===== FOOTER ===== */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 5rem 2rem 0;
}
.footer-inner { max-width: var(--container); margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
  padding-bottom: 3.5rem;
}
.footer-logo-link { display: inline-block; margin-bottom: .85rem; }
.footer-logo-link img { width: 145px; height: auto; }
.footer-tagline {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 260px;
  margin-bottom: .75rem;
}
.footer-email {
  display: inline-block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color .2s;
  margin-bottom: .85rem;
}
.footer-email:hover { color: var(--lime-dark); }
.footer-trust-row {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}
.footer-trust-badge {
  font-size: .68rem;
  font-weight: 600;
  padding: .22rem .65rem;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  box-shadow: var(--shadow-sm);
}
.footer-col { display: flex; flex-direction: column; gap: 0; }
.footer-col-title {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 1rem;
}
.footer-col nav { display: flex; flex-direction: column; gap: .6rem; }
.footer-col a {
  font-size: .82rem;
  color: var(--text-muted);
  transition: color .2s;
  padding: .05rem 0;
}
.footer-col a:hover { color: var(--text); }
.footer-divider { border: none; border-top: 1px solid var(--border); margin: 0; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.76rem;
  color: var(--text-light);
  padding: 1.5rem 0 2rem;
}
.footer-lang { display: flex; gap: 1.2rem; }
.footer-lang a { color: var(--text-light); transition: color .2s; }
.footer-lang a:hover { color: var(--text); }
.footer-lang a.active { color: var(--text); font-weight: 600; }

/* ===== CHATBOT ===== */
#chat-fab {
  position: fixed;
  bottom: 1.8rem;
  right: 1.8rem;
  z-index: 890;
  width: 54px; height: 54px;
  background: var(--text);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.18);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s, background 0.2s;
  cursor: pointer;
  border: none;
}
#chat-fab:hover {
  transform: scale(1.1);
  background: var(--lime);
  color: #111110;
  box-shadow: 0 6px 28px rgba(179,227,30,0.35);
}

#chat-window {
  position: fixed;
  bottom: 5.5rem;
  right: 1.8rem;
  z-index: 891;
  width: 340px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}
#chat-window.open { transform: translateY(0) scale(1); opacity: 1; pointer-events: all; }

.chat-header { padding: 1.1rem 1.3rem; background: var(--bg2); border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 0.8rem; }
.chat-avatar { width: 32px; height: 32px; background: var(--lime); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #111110; flex-shrink: 0; }
.chat-header-info { flex: 1; }
.chat-name { font-family: 'Inter', sans-serif; font-size: 0.82rem; font-weight: 700; color: var(--text); }
.chat-status { display: flex; align-items: center; gap: 0.4rem; font-size: 0.68rem; color: var(--text-muted); }
.chat-status-dot { width: 6px; height: 6px; background: var(--lime-dark); border-radius: 50%; animation: dot-pulse 2.4s ease-in-out infinite; }
.chat-close { color: var(--text-muted); font-size: 1.1rem; cursor: pointer; transition: color 0.2s; background: none; border: none; padding: 4px; }
.chat-close:hover { color: var(--text); }

.chat-msgs { flex: 1; overflow-y: auto; padding: 1.2rem; display: flex; flex-direction: column; gap: 0.7rem; min-height: 220px; max-height: 280px; background: var(--bg); }
.msg { font-size: 0.82rem; padding: 0.65rem 0.9rem; border-radius: var(--r); max-width: 85%; line-height: 1.5; }
.msg.bot { background: var(--surface); border: 1px solid var(--border); color: var(--text-muted); align-self: flex-start; border-bottom-left-radius: 4px; box-shadow: var(--shadow-sm); }
.msg.user { background: var(--text); color: #fff; font-weight: 600; align-self: flex-end; border-bottom-right-radius: 4px; }

.typing { display: flex; gap: 4px; padding: 0.75rem 1rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); border-bottom-left-radius: 4px; align-self: flex-start; box-shadow: var(--shadow-sm); }
.typing-dot { width: 6px; height: 6px; background: var(--text-light); border-radius: 50%; animation: typing-bounce 1.2s ease-in-out infinite; }
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing-bounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.5; }
  40%            { transform: translateY(-5px); opacity: 1; }
}

.chat-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0.8rem 1.2rem; border-top: 1px solid var(--border); background: var(--surface); }
.chip { font-size: 0.72rem; font-family: 'Inter', sans-serif; font-weight: 600; color: var(--text-muted); background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--r-pill); padding: 0.3rem 0.75rem; cursor: pointer; transition: border-color 0.2s, color 0.2s, background 0.2s; }
.chip:hover { border-color: var(--lime); color: var(--lime-dark); background: var(--lime-dim); }

.chat-cta-row { display: flex; justify-content: flex-start; padding: 0.3rem 0; }
.chat-cta-btn {
  font-size: 0.75rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  background: var(--lime);
  color: var(--text);
  border: none;
  border-radius: var(--r-pill);
  padding: 0.45rem 1rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.chat-cta-btn:hover { background: var(--lime-dark); transform: translateY(-1px); }

.chat-input-area { display: flex; align-items: center; gap: 0.5rem; padding: 0.8rem 1.2rem; border-top: 1px solid var(--border); background: var(--surface); }
.chat-input { flex: 1; background: var(--bg2); border: 1.5px solid var(--border); border-radius: var(--r-pill); padding: 0.55rem 1rem; font-size: 16px; color: var(--text); font-family: 'Inter', sans-serif; transition: border-color 0.2s; }
.chat-input::placeholder { color: var(--text-light); }
.chat-input:focus { outline: none; border-color: rgba(179,227,30,0.45); }
.chat-send { width: 34px; height: 34px; background: var(--lime); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #111110; cursor: pointer; border: none; flex-shrink: 0; transition: transform 0.2s, box-shadow 0.2s; }
.chat-send:hover { transform: scale(1.08); box-shadow: 0 3px 12px rgba(179,227,30,0.4); }

/* ===== TILT CARD ===== */
.tilt-card { transform-style: preserve-3d; perspective: 800px; transition: transform 0.1s linear; }

/* ===== CUSTOM CURSOR ===== */
@media (hover: hover) and (pointer: fine) {
  body.has-custom-cursor,
  body.has-custom-cursor a,
  body.has-custom-cursor button { cursor: none !important; }
}

#wr-cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 38px; height: 38px;
  border: 2px solid var(--lime);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  margin: -19px 0 0 -19px;
  transition: width 0.28s cubic-bezier(0.22,1,0.36,1),
              height 0.28s cubic-bezier(0.22,1,0.36,1),
              margin 0.28s cubic-bezier(0.22,1,0.36,1),
              background 0.25s,
              border-color 0.25s;
  will-change: transform;
}

#wr-cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 6px; height: 6px;
  background: var(--lime);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  margin: -3px 0 0 -3px;
  will-change: transform;
}

#wr-cursor-ring.is-hover {
  width: 54px; height: 54px;
  margin: -27px 0 0 -27px;
  background: rgba(179,227,30,0.1);
}

#wr-cursor-ring.is-demo {
  width: 72px; height: 72px;
  margin: -36px 0 0 -36px;
  background: var(--lime);
  border-color: var(--lime);
}

#wr-cursor-ring.is-demo::after {
  content: 'Ansehen';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #111110;
  font-family: 'Inter', sans-serif;
}

/* ===== DIRECTIONAL SCROLL REVEALS ===== */
.reveal-item.from-left  { transform: translateY(36px) translateX(-30px); }
.reveal-item.from-right { transform: translateY(36px) translateX(30px); }
.reveal-item.scale-up   { transform: translateY(36px) scale(0.93); }
.reveal-item.from-left.is-visible,
.reveal-item.from-right.is-visible,
.reveal-item.scale-up.is-visible { transform: none; }

/* ===== STICKY CTA ===== */
#sticky-cta {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  z-index: 950;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
#sticky-cta.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.sticky-cta-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(17, 17, 16, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-pill);
  padding: 0.65rem 0.65rem 0.65rem 1.4rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.28), 0 2px 8px rgba(0,0,0,0.18);
  white-space: nowrap;
}
.sticky-cta-pulse {
  width: 7px; height: 7px;
  background: var(--lime);
  border-radius: 50%;
  flex-shrink: 0;
  animation: dot-pulse 2.4s ease-in-out infinite;
}
.sticky-cta-text {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  font-family: 'Inter', sans-serif;
}
.sticky-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--lime);
  color: #111110;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.6rem 1.2rem;
  border-radius: var(--r-pill);
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.sticky-cta-btn:hover { background: var(--lime-dark); transform: scale(1.04); }

/* Sticky CTA at 560px: superseded by mobile redesign v2 rules below */

/* ===== HERO BROWSER MOCKUP ===== */
.hero-browser-wrap {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(820px, 92vw);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  animation: browser-rise 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.9s forwards;
}
@keyframes browser-rise {
  from { opacity: 0; transform: translateX(-50%) translateY(30px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.hero-browser {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-bottom: none;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  box-shadow: 0 -8px 60px rgba(0,0,0,0.08), 0 -2px 16px rgba(0,0,0,0.05);
}

.hero-browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
}
.hb-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--border-strong);
  flex-shrink: 0;
}
.hb-dot:nth-child(1) { background: #ff5f57; }
.hb-dot:nth-child(2) { background: #ffbd2e; }
.hb-dot:nth-child(3) { background: #28c840; }
.hb-url {
  flex: 1;
  text-align: center;
  font-size: 11px;
  font-family: -apple-system, monospace;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 2px 10px;
  margin: 0 4px;
}
.hb-speed {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 700;
  color: var(--lime-dark);
  background: var(--lime-dim);
  border: 1px solid rgba(179,227,30,0.3);
  border-radius: 4px;
  padding: 2px 6px;
  flex-shrink: 0;
}

.hero-browser-content {
  padding: 1.6rem 1.8rem 0;
}
.hb-hero-section {
  margin-bottom: 1.2rem;
}
.hb-nav {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.6rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--border);
}
.hb-logo { width: 70px; height: 10px; background: var(--text); border-radius: 2px; }
.hb-nav-links { display: flex; gap: 10px; flex: 1; }
.hb-nav-links span { width: 32px; height: 8px; background: var(--border-strong); border-radius: 2px; }
.hb-cta-pill { width: 72px; height: 24px; background: var(--lime); border-radius: 99px; }

.hb-headline { width: 55%; height: 16px; background: var(--text); border-radius: 3px; margin-bottom: 8px; }
.hb-headline-2 { width: 42%; background: var(--lime); }
.hb-sub { width: 38%; height: 8px; background: var(--border-strong); border-radius: 2px; margin-bottom: 5px; }
.hb-sub-2 { width: 28%; }
.hb-btn-row { display: flex; gap: 8px; margin-top: 14px; }
.hb-btn-primary { width: 120px; height: 28px; background: var(--lime); border-radius: 99px; }
.hb-btn-ghost { width: 96px; height: 28px; background: transparent; border: 1.5px solid var(--border-strong); border-radius: 99px; }

.hb-cards-row {
  display: flex;
  gap: 10px;
  overflow: hidden;
}
.hb-card {
  flex: 1;
  height: 56px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 8px;
  border-bottom: none;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.hb-card:first-child { background: linear-gradient(135deg, var(--lime-dim), var(--bg2)); }

/* ===== HERO PAGESPEED STAT ===== */
.hero-stat-speed .hero-stat-num {
  display: flex;
  align-items: center;
  gap: 5px;
}
.speed-dot {
  width: 8px; height: 8px;
  background: var(--lime);
  border-radius: 50%;
  animation: dot-pulse 2.4s ease-in-out infinite;
  flex-shrink: 0;
}

/* Make hero section taller to show the browser mockup */
#hero {
  min-height: 100svh;
  padding-bottom: 0;
}
.hero-content {
  padding-bottom: 4rem;
}

/* ===== TECH STACK ===== */
#techstack { background: var(--bg); }

.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 4rem;
}

.tech-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.8rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: border-color 0.28s, transform 0.28s cubic-bezier(0.22,1,0.36,1), box-shadow 0.28s;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.tech-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1);
}
.tech-card:hover {
  border-color: rgba(179,227,30,0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.tech-card:hover::before { transform: scaleX(1); }

.tech-icon-wrap {
  width: 48px; height: 48px;
  background: var(--lime-dim);
  border: 1px solid rgba(179,227,30,0.18);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lime-dark);
  margin-bottom: 0.4rem;
}

.tech-name {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.tech-tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
}

@media (max-width: 900px) { .tech-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) {
  .tech-grid { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
  .tech-card { padding: 1.1rem 1rem; }
  .tech-icon-wrap { width: 38px; height: 38px; margin-bottom: 0.2rem; }
  .tech-icon-wrap svg { width: 18px; height: 18px; }
  .tech-name { font-size: 0.82rem; }
  .tech-tag  { font-size: 0.63rem; }
}

/* ===== BEFORE / AFTER SLIDER ===== */
#ba-section { background: var(--bg2); }

.ba-wrap {
  position: relative;
  width: 100%;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  user-select: none;
  aspect-ratio: 16/7;
  margin-top: 4rem;
}

/* AFTER panel — full width, underneath */
.ba-after {
  position: absolute;
  inset: 0;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  padding: 1.4rem 1.6rem 0.8rem;
}

/* BEFORE panel — clips over the after */
.ba-before {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 50%;
  background: #e8e8e5;
  overflow: hidden;
  transition: none;
  border-right: none;
}

/* Mock nav */
.ba-mock-nav {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.8rem;
  border-radius: 6px;
  margin-bottom: 0.8rem;
}
.ba-mock-nav-new {
  background: rgba(250,250,249,0.9);
  border: 1px solid var(--border);
  justify-content: space-between;
  backdrop-filter: blur(10px);
}
.ba-mock-nav-old {
  background: #d0cec8;
  border: 1px solid rgba(0,0,0,0.12);
}
.ba-mock-logo { width: 60px; height: 10px; background: var(--text); border-radius: 2px; }
.ba-mock-logo-old { width: 80px; height: 10px; background: #888; border-radius: 2px; }
.ba-mock-links { display: flex; align-items: center; gap: 8px; }
.ba-mock-link { width: 28px; height: 7px; background: rgba(0,0,0,0.18); border-radius: 2px; }
.ba-mock-btn { width: 60px; height: 22px; background: var(--lime); border-radius: 99px; }

/* Mock hero areas */
.ba-mock-hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  margin-bottom: 0.6rem;
}
.ba-mock-hero-new {
  background: linear-gradient(135deg, rgba(250,250,249,1) 0%, rgba(243,243,240,1) 100%);
  border: 1px solid var(--border);
  align-items: flex-start;
}
.ba-mock-hero-old {
  background: #d8d5cf;
  border: 1px solid rgba(0,0,0,0.1);
  align-items: center;
  text-align: center;
}

.ba-mock-overline { width: 80px; height: 16px; background: var(--lime-dim); border: 1px solid rgba(179,227,30,0.3); border-radius: 99px; margin-bottom: 8px; }
.ba-mock-h1-new { width: 70%; height: 14px; background: var(--text); border-radius: 3px; margin-bottom: 6px; }
.ba-mock-h1-lime { width: 55%; background: var(--lime); }
.ba-mock-sub-new { width: 50%; height: 7px; background: rgba(0,0,0,0.12); border-radius: 2px; margin-bottom: 4px; }
.ba-mock-ctas { display: flex; gap: 6px; margin-top: 10px; }
.ba-mock-cta-primary { width: 80px; height: 22px; background: var(--lime); border-radius: 99px; }
.ba-mock-cta-outline { width: 64px; height: 22px; border: 1.5px solid rgba(0,0,0,0.2); border-radius: 99px; }

.ba-mock-h1-old { width: 60%; height: 12px; background: #888; border-radius: 2px; margin: 0 auto 5px; }
.ba-mock-h1-old-sm { width: 45%; height: 10px; background: #aaa; }
.ba-mock-body-old { width: 70%; height: 7px; background: #bbb; border-radius: 2px; margin: 4px auto 2px; }
.ba-mock-body-old-sm { width: 55%; background: #c8c5c0; }
.ba-mock-btn-old { width: 80px; height: 22px; background: #777; border-radius: 2px; margin: 8px auto 0; }

/* Cards row */
.ba-mock-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  flex-shrink: 0;
}
.ba-mock-card-new {
  height: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.ba-mock-card-new:first-child { border-top: 2px solid var(--lime); }
.ba-mock-card-old {
  height: 40px;
  background: #d0cdc7;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 2px;
}

/* Labels */
.ba-label-chip {
  position: absolute;
  bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  letter-spacing: 0.03em;
}
.ba-label-before {
  left: 1rem;
  background: rgba(0,0,0,0.55);
  color: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
}
.ba-label-after {
  right: 1rem;
  background: var(--lime);
  color: #111110;
}

/* Drag handle */
.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  pointer-events: none;
  z-index: 10;
}
.ba-handle-line {
  flex: 1;
  width: 2px;
  background: white;
  box-shadow: 0 0 8px rgba(0,0,0,0.3);
}
.ba-handle-btn {
  width: 44px; height: 44px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 16px rgba(0,0,0,0.22);
  gap: 0;
  flex-shrink: 0;
  color: var(--text);
}

/* Range input — invisible but covers entire slider for drag */
.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: col-resize;
  z-index: 20;
  -webkit-appearance: none;
  margin: 0;
}

@media (max-width: 768px) {
  .ba-wrap { aspect-ratio: 4/3; border-radius: var(--r-lg); }
  .ba-mock-links { display: none; }
  .ba-mock-ctas { gap: 4px; }
}

/* ===== KEYFRAMES ===== */
@keyframes draw-path { from { stroke-dashoffset: 600; } to { stroke-dashoffset: 0; } }

/* ===== RESPONSIVE — 1300px (4-col pakete → 2×2) ===== */
@media (max-width: 1300px) {
  .pakete-grid { grid-template-columns: 1fr 1fr; }
}

/* ===== RESPONSIVE — 1100px ===== */
@media (max-width: 1100px) {
  :root { --section: 7rem 2rem; }

  .modul-grid  { grid-template-columns: repeat(3, 1fr); }
  .trust-grid  { grid-template-columns: repeat(2, 1fr); }
  .counter-grid{ grid-template-columns: repeat(2, 1fr); }
  .counter-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .counter-item:last-child { border-bottom: none; }
  .ki-layout   { gap: 3rem; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .faq-layout  { grid-template-columns: 1fr; gap: 3rem; }
  .kontakt-layout { grid-template-columns: 1fr; gap: 3rem; }
  .footer-top  { grid-template-columns: 1fr 1fr 1fr; gap: 2rem; }
  .steps-connector { display: none; }
}

/* ===== RESPONSIVE — 768px ===== */
@media (max-width: 768px) {
  :root { --section: 5rem 1.5rem; }

  /* Nav */
  .nav-links, .nav-right { display: none; }
  .nav-hamburger { display: flex; }
  #navbar         { padding: 1rem 1.5rem; }
  #navbar.scrolled { padding: 0.7rem 1.5rem; }

  /* Hero */
  #hero { padding: 8rem 1.5rem 5rem; }
  .hero-headline { font-size: clamp(2.6rem, 12vw, 4.2rem); letter-spacing: -0.035em; }
  .hero-sub { font-size: 0.98rem; }
  .hero-cta { flex-direction: column; align-items: stretch; gap: 0.75rem; }
  .hero-cta .btn { width: 100%; justify-content: center; padding: 1rem 1.5rem; font-size: 0.9rem; }
  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: var(--r-lg);
    gap: 0;
    width: 100%;
  }
  /* Hide hero browser mockup — too wide on mobile */
  .hero-browser-wrap { display: none; }
  #hero { padding-bottom: 5rem; }

  .hero-stat { padding: 0.85rem 1rem; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
  .hero-stat:nth-child(2n) { border-right: none; }
  /* 5th stat (PageSpeed) spans full width on mobile */
  .hero-stat:nth-child(5) { grid-column: span 2; border-bottom: none; border-right: none; }
  .hero-stat:nth-child(3), .hero-stat:nth-child(4) { border-bottom: none; }
  .hero-stat-num   { font-size: 1.35rem; }
  .hero-stat-label { font-size: 0.65rem; }
  .hero-scroll-indicator { display: none; }
  .hero-orb { width: 400px; height: 400px; }

  /* Sections */
  .section-title { font-size: clamp(1.85rem, 7vw, 2.6rem); }
  .section-sub   { font-size: 0.95rem; margin-bottom: 2.5rem; }

  /* Grids */
  .wie-grid     { grid-template-columns: 1fr; gap: 0; }
  .modul-grid   { grid-template-columns: 1fr 1fr; }
  .trust-grid   { grid-template-columns: 1fr 1fr; }
  .counter-grid { grid-template-columns: 1fr 1fr; }
  .demo-grid    { grid-template-columns: 1fr; }
  .demo-card    { height: 300px; }
  .ki-layout    { grid-template-columns: 1fr; gap: 2.5rem; }
  .ki-grid      { grid-template-columns: repeat(4, 1fr); gap: 0.5rem; }
  .ki-card      { aspect-ratio: 1/1; padding: 0.5rem; cursor: pointer; }
  .ki-card-label { font-size: 0.62rem; padding: 0.3rem 0.45rem; }
  .ki-card-label small { display: none; }
  .form-row     { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .faq-layout   { grid-template-columns: 1fr; gap: 2rem; }
  .kontakt-layout { grid-template-columns: 1fr; gap: 2.5rem; }

  /* Wie section — compact lime-accent timeline list on mobile */
  .wie-steps-wrap { margin-top: 1.5rem; }
  .steps-connector { display: none; }
  .wie-grid { gap: 0.6rem; }
  .wie-card {
    padding: 0.9rem 1rem 0.9rem 1.1rem;
    border-radius: 0 var(--r) var(--r) 0;
    border: none;
    border-left: 3px solid var(--lime);
    background: var(--surface);
    box-shadow: none;
    text-align: left;
  }
  .wie-card:hover { transform: none; box-shadow: none; }
  .wie-number { display: none; }
  .wie-icon { width: 32px; height: 32px; margin-bottom: 0.4rem; }
  .wie-step-label { font-size: 0.62rem; margin-bottom: 0.15rem; color: var(--lime-dark); }
  .wie-card h3 { font-size: 1rem; margin-bottom: 0.25rem; }
  .wie-card p  { font-size: 0.84rem; line-height: 1.6; }

  /* Pakete — horizontal swipe carousel */
  .pakete-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 1rem;
    padding-bottom: 1.5rem;
    /* Overflow out of section padding to show peeking cards */
    margin-left:  -1.5rem;
    margin-right: -1.5rem;
    padding-left:  1.5rem;
    padding-right: 1.5rem;
  }
  .pakete-grid::-webkit-scrollbar { display: none; }
  .paket-card {
    flex: 0 0 78vw;
    max-width: 340px;
    scroll-snap-align: start;
    /* Disable 3D tilt on touch */
    transform: none !important;
  }
  /* Swipe hint — shown on mobile only */
  .pakete-scroll-hint {
    display: block;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    margin-top: 0.5rem;
  }

  /* CTA band */
  #cta-band { padding: 5rem 1.5rem; }
  .cta-band-headline { font-size: clamp(2rem, 9vw, 3rem); }
  .cta-band-actions .btn { width: 100%; max-width: 300px; justify-content: center; }

  /* Footer */
  .footer-top    { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand  { grid-column: span 2; }
  .footer-bottom { flex-direction: column; gap: 0.8rem; text-align: center; }
  .footer-lang   { flex-wrap: wrap; justify-content: center; gap: 1rem; }

  /* Counter — reduced padding */
  .counter-item { padding: 2.5rem 1.5rem; }

  /* Kontakt — hide sidebar info, full-width form */
  .kontakt-info { display: none; }
  .kontakt-form .btn { width: 100%; justify-content: center; padding: 1rem; }
  .form-input, .form-select, .form-textarea { font-size: 16px; } /* prevents iOS zoom */

  /* FAQ — single column stacked */
  .faq-header { text-align: center; }
  .faq-header .btn { display: inline-flex; }

  /* Demo grid */
  .demo-grid { gap: 14px; }
  .demo-card { height: 320px; }

  /* Module — keep 2 col on tablet */
  .modul-grid { grid-template-columns: 1fr 1fr; }

  /* Chat */
  #chat-window { width: calc(100vw - 2rem); right: 1rem; bottom: 5rem; }
  #chat-fab    { bottom: 1.5rem; right: 1.5rem; }
}

/* ===== CTA BAND ===== */
#cta-band {
  background: var(--lime);
  padding: 7rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

#cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.cta-band-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

.cta-band-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(17,17,16,0.6);
  margin-bottom: 0.8rem;
}

.cta-band-headline {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.06;
  color: var(--text);
  margin: 0;
  max-width: 780px;
}

.cta-band-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.btn-dark {
  background: var(--text);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0,0,0,0.18);
}
.btn-dark:hover {
  background: #2a2a28;
  box-shadow: 0 8px 28px rgba(0,0,0,0.22);
}

.cta-band-note {
  font-size: 0.82rem;
  color: rgba(17,17,16,0.55);
  font-weight: 500;
}

/* ===== TESTIMONIALS ===== */
#stimmen { background: var(--bg); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2.5rem 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 1.6rem;
  right: 2rem;
  font-size: 5rem;
  line-height: 1;
  color: var(--lime-dim);
  font-family: Georgia, serif;
  pointer-events: none;
  font-weight: 900;
}
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(179,227,30,0.2);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  color: var(--lime);
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  font-style: normal;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  background: var(--lime-dim);
  border: 1.5px solid rgba(179,227,30,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--lime-dark);
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

.testimonial-name {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
}
.testimonial-role {
  font-size: 0.76rem;
  color: var(--text-light);
  margin-top: 0.1rem;
}

.testimonials-disclaimer {
  margin-top: 2.5rem;
  text-align: center;
  font-size: 0.76rem;
  color: var(--text-light);
  font-style: italic;
}

/* ===== FAQ ===== */
#faq { background: var(--bg2); }

.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 8rem;
  align-items: start;
}

.faq-header-sub {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-top: 0.4rem;
  max-width: 300px;
}

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 0;
  cursor: pointer;
  list-style: none;
  font-family: 'Inter', sans-serif;
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
  transition: color 0.2s;
  user-select: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question:hover { color: var(--lime-dark); }

.faq-chevron {
  flex-shrink: 0;
  color: var(--text-light);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), color 0.2s;
}

.faq-item[open] .faq-question { color: var(--lime-dark); }
.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  color: var(--lime-dark);
}

/* Smooth height animation — display:grid trick overrides UA display:none */
.faq-answer {
  display: grid !important;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: grid-template-rows 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  padding: 0;
  animation: none;
}
.faq-item[open] .faq-answer {
  grid-template-rows: 1fr;
}
.faq-item.is-closing .faq-answer {
  grid-template-rows: 0fr !important;
}
.faq-answer > * {
  min-height: 0;
  padding-bottom: 1.6rem;
}
.faq-answer p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.8;
}
.faq-answer strong { color: var(--text); font-weight: 600; }

/* ===== COMPARISON TABLE ===== */
#vergleich { background: var(--bg); }

.vergleich-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 3rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
}

.vergleich-table {
  width: 100%;
  min-width: 580px;
  border-collapse: collapse;
}

.vergleich-table thead th {
  padding: 1.1rem 1.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: left;
  border-bottom: 1px solid var(--border);
  color: var(--text-light);
  background: var(--surface);
}

.vergleich-table thead th.th-wr {
  background: var(--lime);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: none;
  letter-spacing: -0.01em;
  border-left: 2px solid var(--lime-dark);
  border-right: 2px solid var(--lime-dark);
}

.vergleich-table thead th:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
}

.vergleich-table tbody th {
  padding: 1rem 1.4rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-light);
  text-align: left;
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
  white-space: nowrap;
  position: sticky;
  left: 0;
  z-index: 1;
}

.vergleich-table tbody td {
  padding: 1rem 1.4rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.vergleich-table tbody tr:last-child th,
.vergleich-table tbody tr:last-child td { border-bottom: none; }

.vergleich-table tbody tr:hover { background: var(--surface); }
.vergleich-table tbody tr:hover .td-wr { background: rgba(179, 227, 30, 0.1); }

.td-wr {
  background: rgba(179, 227, 30, 0.05);
  color: var(--text);
  font-weight: 600;
  border-left: 2px solid var(--lime);
  border-right: 2px solid var(--lime);
}
.vergleich-table tbody tr:last-child .td-wr { border-bottom: 2px solid var(--lime); }

.vc-yes, .vc-no, .vc-half {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.vc-yes  { color: var(--text); }
.vc-no   { color: var(--text-muted); opacity: 0.55; }
.vc-half { color: var(--text-muted); }

.vergleich-cta { margin-top: 2.5rem; text-align: center; }

@media (max-width: 900px) {
  .vergleich-table thead th,
  .vergleich-table tbody th,
  .vergleich-table tbody td { padding: 0.8rem 1rem; font-size: 0.8rem; }
}

/* ===== RESPONSIVE — 480px ===== */
@media (max-width: 480px) {
  :root { --section: 4rem 1.2rem; }

  #navbar { padding: 0.9rem 1.2rem; }
  #hero   { padding: 7rem 1.2rem 4rem; }

  .hero-headline   { font-size: clamp(2.2rem, 11vw, 3.2rem); }
  .hero-sub        { font-size: 0.92rem; }
  .hero-stats      { display: none; }
  .hero-overline   { font-size: 0.7rem; padding: 0.38rem 0.9rem; }

  .section-title   { font-size: clamp(1.75rem, 8vw, 2.4rem); }
  .section-sub     { font-size: 0.9rem; }

  .modul-grid      { grid-template-columns: 1fr 1fr; }
  .trust-grid      { grid-template-columns: 1fr 1fr; }
  .counter-grid    { grid-template-columns: 1fr 1fr; }
  .counter-item    { border-right: none; }
  .ki-grid         { grid-template-columns: 1fr; }

  /* Pakete */
  .paket-card      { flex: 0 0 88vw; }

  /* Footer */
  .footer-top      { grid-template-columns: 1fr; }
  .footer-brand    { grid-column: span 1; }

  /* Kontakt form */
  .kontakt-form .btn { width: 100%; justify-content: center; padding: 1rem; font-size: 1rem; }
  .form-input, .form-select, .form-textarea { font-size: 16px; } /* prevents iOS zoom */
  .kontakt-info    { display: none; }

  /* Wie section — compact stacked list on small mobile */
  .wie-grid        { grid-template-columns: 1fr; gap: 0; }
  .wie-card        { padding: 1.2rem 1.2rem; }
  .wie-number      { font-size: 3rem; top: 1rem; right: 1rem; }

  /* Chat */
  #chat-window   { width: 100vw; right: 0; bottom: 0; border-radius: var(--r-lg) var(--r-lg) 0 0; }

  /* Tech stack: 1 col on very small screens */
  .tech-grid { grid-template-columns: 1fr 1fr !important; gap: 0.6rem; }
  .tech-card { padding: 1rem; }
  .tech-name { font-size: 0.8rem; }

  /* Module: 1 col at very small */
  .modul-grid { grid-template-columns: 1fr; }

  /* Comparison table hint */
  .vergleich-wrap::before {
    content: '← Wischen';
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    padding: 0.5rem 1rem 0;
    letter-spacing: 0.05em;
  }

  /* Zahlen: single row on tiny screens */
  .counter-grid { grid-template-columns: 1fr 1fr; }
  .counter-number { font-size: clamp(2rem, 9vw, 3.2rem); }

  /* Sticky CTA pill */
  .sticky-cta-text { display: none; }
  .sticky-cta-inner { padding: 0.7rem 1.2rem; }

  /* About pills: wrap */
  .about-pills { gap: 0.4rem; }
  .about-pill  { font-size: 0.72rem; padding: 0.35rem 0.7rem; }
}

/* ================================================================
   PORTFOLIO PAGE — Demo website mockups
   ================================================================ */

/* Reset generic section padding for portfolio */
.portfolio-page section { padding: 0; }

/* ── Hero ── */
.portfolio-hero {
  padding: 8rem 2rem 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}
.portfolio-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(179,227,30,.11), transparent);
  pointer-events: none;
}
.portfolio-hero-inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}
.portfolio-h1 {
  font-size: clamp(2.8rem, 6vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
  color: var(--text);
  margin: 1rem 0 1.4rem;
}
.portfolio-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

/* ── Demo sections ── */
.demo-section {
  padding: 6rem 2rem;
  position: relative;
}
.demo-section-alt { background: var(--bg2); }

.demo-label-wrap {
  max-width: 1200px;
  margin: 0 auto 2.5rem;
}
.demo-label-right { text-align: right; }

.demo-label-inner { max-width: 640px; }
.demo-label-right .demo-label-inner { margin-left: auto; }

.demo-industry-tag {
  display: inline-block;
  padding: .3rem .85rem;
  background: var(--lime-dim);
  color: var(--lime-dark);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  border-radius: var(--r-pill);
  margin-bottom: .9rem;
}
.demo-section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: .6rem;
}
.demo-section-sub {
  font-size: .98rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 500px;
}
.demo-label-right .demo-section-sub { margin-left: auto; }

/* ── Browser chrome ── */
.browser-frame {
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 40px 80px rgba(0,0,0,.16),
    0 16px 40px rgba(0,0,0,.08),
    0 4px 12px rgba(0,0,0,.05);
  border: 1px solid rgba(0,0,0,.07);
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 44px;
  padding: 0 1.2rem;
  background: #ebebea;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.browser-dots { display: flex; gap: 6px; }
.b-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}
.b-dot.red   { background: #ff5f57; }
.b-dot.amber { background: #febc2e; }
.b-dot.green { background: #28c840; }
.browser-url {
  flex: 1;
  background: rgba(0,0,0,.07);
  border-radius: 6px;
  padding: .28rem 1rem;
  font-size: .76rem;
  color: #555;
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Mono', monospace;
}
.browser-actions { width: 68px; }

/* ── Sim site wrapper ── */
.sim-site {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', sans-serif;
  font-size: .9rem;
  line-height: 1.5;
  max-height: 860px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(0,0,0,.2) transparent;
}
.sim-site::-webkit-scrollbar { width: 4px; }
.sim-site::-webkit-scrollbar-thumb { background: rgba(0,0,0,.2); border-radius: 2px; }

/* ── Sim Nav ── */
.sim-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: .85rem 2rem;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(0,0,0,.06);
  position: sticky;
  top: 0;
  z-index: 5;
  backdrop-filter: blur(8px);
}
.sim-nav-dark {
  background: rgba(18,8,4,.96);
  border-bottom-color: rgba(255,255,255,.05);
}
.sim-nav-white {
  background: #fff;
  box-shadow: 0 1px 8px rgba(0,0,0,.05);
}

.sim-logo-text {
  font-size: .9rem;
  font-weight: 700;
  color: #111;
  white-space: nowrap;
}
.sim-logo-script {
  font-style: italic;
  font-size: .98rem;
  font-weight: 700;
  color: #f2e2c0;
}
.sim-nav-links {
  display: flex;
  gap: 1.4rem;
  flex: 1;
  justify-content: center;
}
.sim-nav-links span {
  font-size: .76rem;
  font-weight: 500;
  color: #444;
  cursor: default;
  white-space: nowrap;
}
.sim-links-light span { color: rgba(255,255,255,.8); }
.sim-links-dark  span { color: #222; }

.sim-cta-pill {
  font-size: .72rem;
  font-weight: 700;
  padding: .38rem 1rem;
  border-radius: 999px;
  background: #b3e31e;
  color: #111;
  white-space: nowrap;
  cursor: default;
}
.sim-pill-gold { background: #c8a031; color: #fff; }
.sim-pill-blue { background: #1d6fd4; color: #fff; }

/* Medical logo */
.sim-logo-med { display: flex; align-items: center; gap: .5rem; }
.sim-med-cross {
  width: 28px; height: 28px;
  border-radius: 6px;
  background: #1d6fd4;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sim-logo-name { font-size: .85rem; font-weight: 700; color: #111; line-height: 1.2; }
.sim-logo-sub  { font-size: .62rem; color: #999; }

/* ── Sim Hero ── */
.sim-hero {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding: 3.2rem 2.5rem;
  position: relative;
  overflow: hidden;
  min-height: 300px;
}

/* Hero 1 — Schreinerei, warm craft */
.sim-hero-1 {
  background: linear-gradient(135deg, #faf8f4 0%, #f5ede0 100%);
}

/* Hero 2 — Restaurant, Italian deep */
.sim-hero-2 {
  display: block;
  position: relative;
  background: linear-gradient(135deg, #1e0a0d 0%, #3d1518 60%, #5c2428 100%);
  padding: 4rem 2.5rem;
  min-height: 280px;
}
.sim-hero-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(15,4,6,.7) 0%, rgba(15,4,6,.2) 70%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}
.sim-hero-2 .sim-hero-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

/* Hero 3 — Medical, clean blue */
.sim-hero-3 {
  background: linear-gradient(135deg, #f0f7ff 0%, #e2effc 100%);
}

.sim-hero-content { flex: 1; max-width: 420px; }

.sim-hero-centered {
  text-align: center;
  max-width: 100% !important;
}

/* Hero image placeholders */
.sim-hero-img {
  flex: 0 0 240px;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}
.sim-wood-hero {
  background: linear-gradient(135deg, #8B6548 0%, #6B4423 40%, #4a2f18 70%, #2c1a0e 100%);
  box-shadow: 0 8px 24px rgba(44,26,14,.35);
}
.sim-wood-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    92deg,
    transparent, transparent 28px,
    rgba(0,0,0,.08) 28px, rgba(0,0,0,.08) 30px
  );
}
.sim-doctor-hero {
  background: linear-gradient(135deg, #deeefe 0%, #bdd5f5 100%);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}
.sim-hero-img-overlay {
  position: absolute;
  bottom: .75rem;
  right: .75rem;
}
.sim-hero-badge {
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(8px);
  border-radius: 8px;
  padding: .45rem .75rem;
  text-align: center;
}
.sim-badge-num {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
  color: #d4921a;
}
.sim-badge-lbl {
  font-size: .62rem;
  color: rgba(255,255,255,.7);
  margin-top: .1rem;
}

/* Doctor card */
.sim-doctor-card {
  display: flex;
  align-items: center;
  gap: .7rem;
  background: rgba(255,255,255,.95);
  border-radius: 10px;
  padding: .65rem 1rem;
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
  width: 100%;
}
.sim-doctor-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #93c5fd, #3b82f6);
  flex-shrink: 0;
}
.sim-doctor-name  { font-size: .76rem; font-weight: 700; color: #111; }
.sim-doctor-title { font-size: .62rem; color: #666; margin-top: .08rem; }

/* Trust row / chips */
.sim-hero-trust-row {
  display: flex;
  gap: .45rem;
  flex-wrap: wrap;
  margin-bottom: .9rem;
}
.sim-trust-chip {
  font-size: .63rem;
  font-weight: 600;
  padding: .22rem .6rem;
  border-radius: 999px;
  background: rgba(29,111,212,.1);
  color: #1d6fd4;
  border: 1px solid rgba(29,111,212,.18);
}

/* Hero typography */
.sim-overline {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #c8890a;
  margin-bottom: .55rem;
}
.sim-overline-gold { color: #c8a031; }

.sim-headline {
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  font-weight: 800;
  line-height: 1.15;
  color: #1a1208;
  letter-spacing: -.022em;
  margin-bottom: .65rem;
}
.sim-headline-white { color: #ffffff; }
.sim-headline-dark  { color: #111827; }

.sim-lime { color: #b3e31e; }
.sim-gold { color: #f5c84c; }
.sim-blue { color: #2563eb; }

.sim-subtext {
  font-size: .78rem;
  line-height: 1.65;
  color: #6b6b6b;
  margin-bottom: 1.3rem;
}
.sim-subtext-light { color: rgba(255,255,255,.72); }

/* Hero buttons */
.sim-btn-row {
  display: flex;
  gap: .55rem;
  flex-wrap: wrap;
  align-items: center;
}
.sim-btn-center { justify-content: center; }

.sim-btn-primary,
.sim-btn-outline,
.sim-btn-gold,
.sim-btn-outline-white,
.sim-btn-blue {
  font-size: .73rem;
  font-weight: 600;
  padding: .42rem 1.05rem;
  border-radius: 999px;
  cursor: default;
  display: inline-block;
  white-space: nowrap;
}
.sim-btn-primary       { background: #c8890a; color: #fff; }
.sim-btn-outline       { border: 1.5px solid rgba(0,0,0,.22); color: #333; }
.sim-btn-gold          { background: #c8a031; color: #fff; }
.sim-btn-outline-white { border: 1.5px solid rgba(255,255,255,.35); color: rgba(255,255,255,.9); }
.sim-btn-blue          { background: #1d6fd4; color: #fff; }

/* ── Sim Sections ── */
.sim-section { padding: 2.4rem 2.5rem; }

.sim-section-light      { background: #faf9f7; }
.sim-section-dark-wood  { background: linear-gradient(135deg, #2c1a0e 0%, #1a0e06 100%); }
.sim-section-cream      { background: #fffbf4; }
.sim-section-dark-ital  { background: linear-gradient(135deg, #1a0508 0%, #2d0e14 100%); }
.sim-section-light-blue { background: #f0f7ff; }
.sim-section-white      { background: #ffffff; }

.sim-section-label {
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #c8890a;
  margin-bottom: .45rem;
}
.sim-label-light { color: rgba(255,255,255,.5); }
.sim-label-gold  { color: #c8a031; }
.sim-label-blue  { color: #1d6fd4; }

.sim-section-title-sm {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 1.4rem;
  letter-spacing: -.01em;
}
.sim-title-light { color: #ffffff; }

/* Grids */
.sim-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: .9rem; }
.sim-grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: .7rem; }
.sim-grid-2-asym { display: grid; grid-template-columns: 1fr 240px; gap: 2rem; align-items: start; }

/* Service cards (Schreinerei) */
.sim-card {
  background: #fff;
  border-radius: 10px;
  padding: 1.1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
  border: 1px solid rgba(0,0,0,.05);
}
.sim-card-icon { font-size: 1.3rem; margin-bottom: .45rem; }
.sim-card-title { font-size: .8rem; font-weight: 700; color: #111; margin-bottom: .25rem; }
.sim-card-text  { font-size: .7rem; color: #777; line-height: 1.5; }

/* Service cards (Arztpraxis) */
.sim-service-card {
  background: #fff;
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
  border: 1.5px solid rgba(29,111,212,.08);
}
.sim-service-icon { font-size: 1.45rem; margin-bottom: .35rem; }
.sim-service-name { font-size: .76rem; font-weight: 600; color: #1d6fd4; }

/* Gallery */
.sim-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: .45rem;
  margin-top: .9rem;
}
.sim-gallery-col { display: flex; flex-direction: column; gap: .45rem; }
.sim-gallery-item { border-radius: 6px; height: 120px; overflow: hidden; }
.sim-gallery-big  { height: 248px; }

.sim-gal-1 { background: linear-gradient(135deg, #9b7258 0%, #6b4826 100%); }
.sim-gal-2 { background: linear-gradient(135deg, #7a5030 0%, #4a2e14 100%); }
.sim-gal-3 { background: linear-gradient(135deg, #c89c68 0%, #a07240 100%); }
.sim-gal-4 { background: linear-gradient(135deg, #b08050 0%, #7a5228 100%); }
.sim-gal-5 { background: linear-gradient(135deg, #5a3820 0%, #7c5238 100%); }

/* Menu (Trattoria) */
.sim-menu-category {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #c8a031;
  margin-bottom: .45rem;
}
.sim-menu-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .3rem 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
  font-size: .76rem;
  color: #333;
}
.sim-food-img { border-radius: 10px; overflow: hidden; }
.sim-food-hero {
  height: 220px;
  background: linear-gradient(135deg, #8b2c22 0%, #5c1c14 60%, #3d0c0a 100%);
  position: relative;
}
.sim-food-hero::after {
  content: '🍝';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3.5rem;
  line-height: 1;
}

/* About section (Trattoria) */
.sim-about-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2rem;
  align-items: center;
}
.sim-about-img { border-radius: 10px; height: 180px; }
.sim-pasta-img {
  background: linear-gradient(135deg, #c84510 0%, #8b2f08 100%);
  position: relative;
}
.sim-pasta-img::after {
  content: '🍷';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.5rem;
}

.sim-body-text  { font-size: .78rem; line-height: 1.7; color: #444; }
.sim-body-light { color: rgba(255,255,255,.75); }

.sim-trust-pills { display: flex; gap: .45rem; flex-wrap: wrap; margin-top: .9rem; }
.sim-trust-pill {
  font-size: .66rem;
  font-weight: 600;
  padding: .28rem .65rem;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.18);
}

/* Team (Arztpraxis) */
.sim-team-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.sim-team-card {
  text-align: center;
  padding: 1.4rem 1rem;
  border-radius: 12px;
  background: #f4f9ff;
  border: 1.5px solid rgba(29,111,212,.08);
}
.sim-team-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  margin: 0 auto .65rem;
}
.sim-avatar-1 { background: linear-gradient(135deg, #93c5fd, #3b82f6); }
.sim-avatar-2 { background: linear-gradient(135deg, #86efac, #22c55e); }
.sim-avatar-3 { background: linear-gradient(135deg, #fca5a5, #ef4444); }
.sim-team-name { font-size: .78rem; font-weight: 700; color: #111; margin-bottom: .2rem; }
.sim-team-role { font-size: .66rem; color: #666; }

/* ── CTA Band ── */
.sim-cta-band {
  padding: 2.4rem 2.5rem;
  background: #1a1208;
  text-align: center;
}
.sim-cta-gold { background: linear-gradient(135deg, #7a3a10, #5a2608); }
.sim-cta-blue { background: linear-gradient(135deg, #1d4ed8, #1e3a8a); }

.sim-cta-text {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .35rem;
}
.sim-cta-text-white { color: #fff; }
.sim-cta-sub {
  font-size: .76rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 1.1rem;
}
.sim-cta-btn {
  display: inline-block;
  padding: .5rem 1.4rem;
  border-radius: 999px;
  background: #c8890a;
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  cursor: default;
}
.sim-cta-btn-dark  {
  background: rgba(10,6,2,.5);
  color: #f5c84c;
  border: 1px solid rgba(245,200,76,.25);
}
.sim-cta-btn-white {
  background: #fff;
  color: #1d4ed8;
  display: block;
  margin: 0 auto;
  padding: .5rem 1.4rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
}

/* Opening hours */
.sim-opening-grid {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 2rem;
  align-items: center;
  text-align: left;
}
.sim-opening-list { margin-top: .65rem; }
.sim-opening-row {
  display: flex;
  justify-content: space-between;
  font-size: .73rem;
  color: rgba(255,255,255,.8);
  padding: .18rem 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

/* ── Demo meta row ── */
.demo-meta-row {
  max-width: 1200px;
  margin: 1.5rem auto 0;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.demo-meta-item {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .84rem;
  color: var(--text-muted);
  font-weight: 500;
}
.demo-meta-icon { font-size: .95rem; }

/* ── Portfolio CTA section ── */
.portfolio-cta-section {
  padding: 8rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}
.portfolio-cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 110%, rgba(179,227,30,.09), transparent);
  pointer-events: none;
}
.portfolio-cta-inner {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
}
.portfolio-cta-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.15;
  color: var(--text);
  margin: 1rem 0 1.2rem;
}
.portfolio-cta-sub {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2.4rem;
}
.portfolio-cta-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.4rem;
}
.portfolio-cta-note {
  font-size: .82rem;
  color: var(--text-light);
}

/* ── Portfolio responsive ── */
@media (max-width: 960px) {
  .sim-grid-3 { grid-template-columns: 1fr 1fr; }
  .sim-grid-4 { grid-template-columns: repeat(2,1fr); }
  .sim-grid-2-asym { grid-template-columns: 1fr; }
  .sim-food-img { display: none; }
  .sim-about-grid { grid-template-columns: 1fr; }
  .sim-about-img { height: 140px; }
  .sim-opening-grid { grid-template-columns: 1fr; gap: 1.2rem; }
}

@media (max-width: 768px) {
  .portfolio-hero  { padding: 5rem 1.5rem 4rem; }
  .demo-section    { padding: 4rem 1.5rem; }
  .portfolio-cta-section { padding: 5rem 1.5rem; }
  .sim-section     { padding: 1.6rem 1.5rem; }
  .sim-cta-band    { padding: 2rem 1.5rem; }
  .sim-nav         { padding: .7rem 1.2rem; gap: .75rem; }
  .sim-nav-links   { display: none; }
  .sim-hero        { padding: 2.4rem 1.5rem; gap: 1.5rem; }
  .sim-hero-img    { flex: 0 0 160px; height: 160px; }
  .sim-gallery     { grid-template-columns: 1fr 1fr; }
  .sim-gallery-big { grid-column: span 2; height: 160px; }
  .sim-gallery-col { flex-direction: row; }
  .sim-team-row    { grid-template-columns: 1fr 1fr; }
  .demo-meta-row   { gap: 1rem; }
  .demo-label-right { text-align: left; }
  .demo-label-right .demo-label-inner { margin-left: 0; }
  .demo-label-right .demo-section-sub { margin-left: 0; }
}

@media (max-width: 560px) {
  .sim-hero-img   { display: none; }
  .sim-headline   { font-size: 1.25rem; }
  .sim-grid-3     { grid-template-columns: 1fr; }
  .sim-team-row   { grid-template-columns: 1fr; }
  .sim-grid-4     { grid-template-columns: 1fr 1fr; }
  .browser-url    { display: none; }
  .sim-nav-links  { display: none; }
  .demo-meta-row  { flex-direction: column; align-items: flex-start; gap: .65rem; }
}

/* ================================================================
   REFERENZ DETAIL PAGES — Case Study Layout
   ================================================================ */

.referenz-back-bar {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: .75rem 2rem;
}
.referenz-back-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .83rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color .2s;
}
.referenz-back-link:hover { color: var(--lime-dark); }

/* ── Hero ── */
.referenz-hero {
  padding: 5rem 2rem 4rem;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.referenz-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% -10%, rgba(179,227,30,.1), transparent);
  pointer-events: none;
}
.referenz-hero-inner {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
}
.referenz-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
  color: var(--text);
  margin: .8rem 0 1rem;
}
.referenz-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 620px;
  margin-bottom: 2.5rem;
}
.referenz-stats {
  display: flex;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  width: fit-content;
  box-shadow: var(--shadow-sm);
}
.ref-stat {
  padding: 1.1rem 2rem;
  border-right: 1px solid var(--border);
  text-align: center;
}
.ref-stat:last-child { border-right: none; }
.ref-stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--lime-dark);
  letter-spacing: -.03em;
  line-height: 1;
}
.ref-stat-lbl {
  font-size: .7rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-top: .3rem;
}

/* ── Brief / Context ── */
.referenz-section {
  padding: 4rem 2rem;
}
.referenz-section-alt { background: var(--bg2); }
.referenz-section-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.referenz-brief-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 4rem;
  align-items: start;
}
.referenz-section-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--lime-dark);
  margin-bottom: .6rem;
}
.referenz-section-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 1.1rem;
}
.referenz-section-body {
  font-size: .95rem;
  color: var(--text-muted);
  line-height: 1.8;
}
.referenz-section-body p { margin-bottom: .9rem; }
.referenz-section-body p:last-child { margin-bottom: 0; }

/* Project info card */
.referenz-project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 5.5rem;
}
.referenz-project-card-head {
  background: var(--text);
  padding: 1.1rem 1.4rem;
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.referenz-project-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .75rem 1.4rem;
  border-bottom: 1px solid var(--border);
  font-size: .84rem;
}
.referenz-project-row:last-child { border-bottom: none; }
.referenz-project-key {
  color: var(--text-muted);
  font-size: .76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.referenz-project-val {
  color: var(--text);
  font-weight: 600;
  text-align: right;
  font-size: .84rem;
}
.ref-paket-badge {
  display: inline-block;
  background: var(--lime-dim);
  color: var(--lime-dark);
  font-weight: 700;
  font-size: .72rem;
  padding: .22rem .65rem;
  border-radius: var(--r-pill);
  border: 1px solid rgba(179,227,30,.25);
}

/* ── Mockup section ── */
.referenz-mockup-section {
  padding: 4rem 2rem 5rem;
  background: var(--bg);
}
.referenz-mockup-section .browser-frame {
  max-width: 1100px;
  margin: 0 auto;
}

/* ── Features ── */
.referenz-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin-top: 2.5rem;
}
.referenz-feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
}
.referenz-feature-icon {
  font-size: 1.5rem;
  margin-bottom: .75rem;
}
.referenz-feature-title {
  font-size: .9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .4rem;
}
.referenz-feature-text {
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── CTA ── */
.referenz-cta-section {
  padding: 6rem 2rem;
  text-align: center;
  background: var(--bg2);
  position: relative;
  overflow: hidden;
}
.referenz-cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 110%, rgba(179,227,30,.1), transparent);
  pointer-events: none;
}
.referenz-cta-inner {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}
.referenz-cta-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.15;
  color: var(--text);
  margin: .8rem 0 1rem;
}
.referenz-cta-sub {
  font-size: .95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}
.referenz-nav-btns {
  display: flex;
  gap: .8rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.referenz-nav-btn {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .7rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  font-size: .84rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all .2s;
  box-shadow: var(--shadow-sm);
}
.referenz-nav-btn:hover {
  border-color: rgba(179,227,30,.3);
  color: var(--text);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.referenz-nav-btn .rn-industry {
  font-size: .72rem;
  color: var(--text-light);
  font-weight: 500;
  display: block;
  margin-top: .1rem;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .referenz-hero      { padding: 4rem 1.5rem 3rem; }
  .referenz-section   { padding: 3rem 1.5rem; }
  .referenz-brief-grid{ grid-template-columns: 1fr; gap: 2rem; }
  .referenz-project-card { position: static; }
  .referenz-stats     { width: 100%; }
  .ref-stat           { padding: .9rem 1.2rem; flex: 1; }
  .referenz-mockup-section { padding: 3rem 1rem 4rem; }
  .referenz-features-grid { grid-template-columns: 1fr 1fr; }
  .referenz-cta-section { padding: 4rem 1.5rem; }
}
@media (max-width: 480px) {
  .referenz-features-grid { grid-template-columns: 1fr; }
  .referenz-stats     { flex-direction: column; border-radius: var(--r); }
  .ref-stat           { border-right: none; border-bottom: 1px solid var(--border); }
  .ref-stat:last-child { border-bottom: none; }
}

/* ================================================================
   MOBILE OVERRIDES — must come last to win the cascade
   (base styles .testimonials-grid, .faq-layout etc. are defined
   after the 768px block above, so they'd override it — this block
   re-applies the mobile rules after everything else)
   ================================================================ */
@media (max-width: 768px) {

  /* ── General layout ── */
  .testimonials-grid  { grid-template-columns: 1fr !important; }
  .faq-layout         { grid-template-columns: 1fr !important; gap: 1.8rem !important; }
  .faq-list           { min-width: 0; width: 100%; }
  .faq-question       { word-break: break-word; }
  .demo-all-inner     { flex-direction: column; align-items: flex-start; }
  .wie-grid           { grid-template-columns: 1fr !important; gap: 0 !important; }
  .kontakt-layout     { grid-template-columns: 1fr !important; }
  .ki-layout          { grid-template-columns: 1fr !important; }
  body                { overflow-x: hidden; }

  /* ── Pakete: horizontal swipe carousel ── */
  /* margin compensates section padding (1.5rem) + section-inner padding (2rem) = 3.5rem */
  .pakete-grid {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    gap: 1rem !important;
    padding: 0.5rem 1.5rem 1.5rem !important;
    margin: 0 -3.5rem !important;
    align-items: stretch !important;
  }
  .pakete-grid::-webkit-scrollbar { display: none; }
  .paket-card {
    flex: 0 0 82vw !important;
    max-width: 320px !important;
    min-width: 250px !important;
    width: auto !important;
    scroll-snap-align: start !important;
    transform: none !important;
  }
  /* popular-tag / custom-tag: in card flow on mobile, centered */
  .popular-tag, .custom-tag {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    display: inline-block !important;
    align-self: center !important;
    margin: 0 auto 0.8rem !important;
  }

  /* ── Demos: horizontal swipe carousel ── */
  .demo-grid {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    gap: 1rem !important;
    padding: 0.5rem 1.5rem 1.5rem !important;
    margin: 0 -3.5rem !important;
    grid-template-columns: unset !important;
  }
  .demo-grid::-webkit-scrollbar { display: none; }
  .demo-card {
    flex: 0 0 84vw !important;
    max-width: 340px !important;
    height: 270px !important;
    scroll-snap-align: start !important;
    transform: none !important;
  }
  /* Lighter overlay so photos + text are both readable */
  .demo-card-ov {
    background: linear-gradient(to bottom,
      rgba(0,0,0,0) 0%,
      rgba(0,0,0,0.25) 45%,
      rgba(0,0,0,0.78) 100%
    ) !important;
  }
  /* Ensure background image covers card fully */
  .demo-card-bg { background-size: cover !important; background-position: center center !important; }
  /* Readable content sizing on small cards */
  .demo-card-content { padding: 16px !important; padding-top: 38px !important; }
  .demo-card-title   { font-size: 17px !important; margin-bottom: 3px !important; }
  .demo-card-desc    { font-size: 11.5px !important; margin-bottom: 12px !important;
    display: -webkit-box !important; -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important; overflow: hidden !important; }
  .demo-card-btn     { font-size: 12px !important; padding: 8px 14px !important; }
  .demo-industry-badge { font-size: 9px !important; padding: 4px 9px !important; }
  /* Swipe hint for demos */
  #demos .demo-all-banner { display: block; }
  /* Show a swipe hint below demo grid */
  .demo-grid::after {
    content: '← Wischen für mehr →';
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    font-size: 0.72rem;
    color: var(--text-light);
    letter-spacing: 0.04em;
    font-weight: 500;
    padding-right: 1rem;
    white-space: nowrap;
  }

  /* ── Module: horizontal scroll carousel ── */
  .modul-grid {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    gap: 0.75rem !important;
    padding: 0.5rem 1.5rem 1.5rem !important;
    margin: 0 -3.5rem !important;
    grid-template-columns: unset !important;
    align-items: stretch !important;
  }
  .modul-grid::-webkit-scrollbar { display: none; }
  .modul-card {
    flex: 0 0 44vw !important;
    max-width: 190px !important;
    min-width: 150px !important;
    width: auto !important;
    scroll-snap-align: start !important;
    padding: 1.3rem 1rem !important;
    text-align: center !important;
  }
  .modul-icon {
    width: 40px !important; height: 40px !important;
    margin: 0 auto 0.85rem !important;
  }
  .modul-name  { font-size: 0.8rem !important; line-height: 1.3 !important; }
  .modul-price { font-size: 0.78rem !important; margin-bottom: 0.3rem !important; }
  .modul-desc  { font-size: 0.7rem !important; line-height: 1.5 !important;
    display: -webkit-box !important; -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important; overflow: hidden !important; }
  /* Scroll hints for module + pakete */
  .modul-grid::after, .pakete-scroll-hint {
    display: block;
    text-align: center;
    font-size: 0.72rem;
    color: var(--text-light);
    letter-spacing: 0.04em;
    font-weight: 500;
    margin-top: 0;
    white-space: nowrap;
  }
  .modul-grid::after {
    content: '← Wischen für mehr →';
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    padding-right: 1rem;
  }
  .pakete-scroll-hint { display: block !important; }

  /* ── Testimonials ── */
  .testimonial-card { padding: 1.4rem 1.2rem !important; gap: 0.9rem !important; }
  .testimonial-text { font-size: 0.84rem !important; line-height: 1.65 !important; }

  /* ── Trust ── */
  .trust-grid { gap: 0.75rem !important; }
  .trust-card { padding: 1.3rem 1.1rem !important; }

  /* ── Kontakt form ── */
  .form-row { grid-template-columns: 1fr !important; gap: 0 !important; }
  .form-group { margin-bottom: 1rem !important; }
  .form-group input,
  .form-group select,
  .form-group textarea { padding: 0.75rem 0.9rem !important; font-size: 16px !important; }
}

@media (max-width: 480px) {
  /* Pakete cards a bit wider on small phones */
  .paket-card  { flex: 0 0 88vw !important; }
  /* Demo cards full-ish width */
  .demo-card   { flex: 0 0 88vw !important; height: 250px !important; }
  /* Modul cards: 2 visible */
  .modul-card  { flex: 0 0 46vw !important; }
  /* At 480px: --section = 4rem 1.2rem (1.2rem side) + section-inner 2rem = 3.2rem total offset */
  .pakete-grid, .modul-grid, .demo-grid { margin: 0 -3.2rem !important; }

  .testimonials-grid { grid-template-columns: 1fr !important; }
  .faq-layout        { grid-template-columns: 1fr !important; }
  .trust-grid        { grid-template-columns: 1fr 1fr !important; }
  .ki-grid           { grid-template-columns: repeat(4, 1fr) !important; }
}

/* ===== HEALTH CHECK SECTION ===== */
#health-check { background: var(--bg2); }

#health-check .section-header { text-align: center; margin-bottom: 2.4rem; }
#health-check .section-title  { text-align: center; margin-left: auto; margin-right: auto; margin-bottom: 0.9rem; }
#health-check .label          { text-align: center; }
#health-check .section-sub    { text-align: center; max-width: 520px; margin: 0 auto; }

/* ===== HEALTH CHECK WIDGET — light theme overrides ===== */
#health-check .wr-hc-input-row {
  background: var(--surface);
  border: 1px solid var(--border-strong, rgba(0,0,0,.14));
  max-width: 640px;
  margin: 0 auto;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

#health-check .wr-hc-input-icon { color: rgba(0,0,0,.35); }

#health-check .wr-hc-url-input { color: var(--text); }
#health-check .wr-hc-url-input::placeholder { color: rgba(0,0,0,.35); }

#health-check .wr-hc-disclaimer { color: rgba(0,0,0,.4); }

#health-check .wr-hc-checks-list { max-width: 440px; margin: 0 auto; }
#health-check .wr-hc-check-item { color: rgba(0,0,0,.6); }
#health-check .wr-hc-check-pending { color: rgba(0,0,0,.2); }

#health-check .wr-hc-progress-wrap { max-width: 440px; margin: 0 auto 1.6rem; }
#health-check .wr-hc-progress-bar { background: rgba(0,0,0,.08); }

#health-check .wr-hc-result-top { max-width: 600px; margin: 0 auto 2rem; }
#health-check .wr-hc-score-grade { color: var(--text); }

#health-check .wr-hc-result-title { color: var(--text); }
#health-check .wr-hc-result-sub   { color: rgba(0,0,0,.55); }

#health-check .wr-hc-checks-result { max-width: 600px; margin: 0 auto 2rem; }
#health-check .wr-hc-row { background: var(--surface); border: 1px solid var(--border); border-left-width: 3px; }
#health-check .wr-hc-row-body strong { color: var(--text); }
#health-check .wr-hc-row-detail { color: rgba(0,0,0,.45); }
#health-check .wr-hc-row-pts    { color: rgba(0,0,0,.3); }

#health-check .wr-hc-gate {
  background: rgba(132,204,22,.07);
  border: 1px solid rgba(132,204,22,.25);
  max-width: 600px;
  margin: 0 auto;
}
#health-check .wr-hc-gate-text strong { color: var(--text); }
#health-check .wr-hc-gate-text span   { color: rgba(0,0,0,.5); }
#health-check .wr-hc-field {
  background: var(--bg2);
  border: 1px solid var(--border-strong, rgba(0,0,0,.14));
  color: var(--text);
}
#health-check .wr-hc-field::placeholder { color: rgba(0,0,0,.35); }
#health-check .wr-hc-gate-note { color: rgba(0,0,0,.35); }

#health-check .wr-hc-reset { display: block; max-width: 600px; margin: 1rem auto 0; color: rgba(0,0,0,.4); }
#health-check .wr-hc-reset:hover { color: rgba(0,0,0,.7); }

#health-check .wr-hc-error-box { background: rgba(239,68,68,.06); border-color: rgba(239,68,68,.2); }

#health-check .wr-hc-score-num { color: rgba(0,0,0,.45); }

/* =========================================================
   DESIGN UPGRADE — Plaud-inspired premium aesthetic
   Rounded corners · Section accent lines · Warmer surfaces
   ========================================================= */

/* ---- Section header: centered + accent gradient line ---- */
.section-header {
  text-align: center;
}
.section-header .label {
  display: block;
  justify-content: center;
}
.section-header .section-title {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.section-header .section-title::after {
  content: '';
  display: block;
  width: 44px;
  height: 3px;
  background: linear-gradient(90deg, var(--lime) 0%, var(--lime-dark) 100%);
  border-radius: 99px;
  margin: 1rem auto 0;
}
.section-header .section-sub {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  margin-top: 1.4rem;
  /* preserve the original 4rem bottom gap before content grids */
}

/* ---- Plaud-style feature cards (white, rounded, centered, accent line) ---- */
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2.8rem 2.2rem 2.4rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), box-shadow 0.35s, border-color 0.35s;
  position: relative;
  overflow: hidden;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(179,227,30,0.22);
}
.feature-card-icon {
  width: 56px; height: 56px;
  background: var(--lime-dim);
  border: 1px solid rgba(179,227,30,0.22);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lime-dark);
  margin: 0 auto 1.6rem;
}
.feature-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 0;
}
.feature-card-title::after {
  content: '';
  display: block;
  width: 32px; height: 2.5px;
  background: linear-gradient(90deg, var(--lime), var(--lime-dark));
  border-radius: 99px;
  margin: 0.8rem auto 1rem;
}
.feature-card-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ---- Improved wie-cards (rounder) ---- */
.wie-card { border-radius: var(--r-xl); }
.wie-icon  { border-radius: var(--r); }

/* ---- Improved paket-cards ---- */
.paket-card { border-radius: var(--r-xl); }

/* ---- Improved trust-cards ---- */
.trust-card { border-radius: var(--r-xl); }
.trust-icon  { border-radius: var(--r); }

/* ---- Improved modul-cards ---- */
.modul-card { border-radius: var(--r-lg); }

/* ---- Improved demo-cards ---- */
.demo-card { border-radius: var(--r-xl); }

/* ---- Better hero overline pill ---- */
.hero-overline { border-radius: var(--r-xl); }

/* ---- Better hero stats strip ---- */
.hero-stats { border-radius: var(--r-xl); }

/* ---- Improved auth box in CRM ---- */
.auth-box { border-radius: var(--r-xl); }

/* ---- Kontakt form fields — rounder ---- */
.form-group input,
.form-group select,
.form-group textarea {
  border-radius: var(--r) !important;
}

/* ---- Better scroll indicator ---- */
.hero-scroll-indicator { opacity: 0.65; }

/* ---- About pills — rounder ---- */
.about-pill { border-radius: var(--r-xl); }

/* ---- Cookie consent: matches site radius ---- */
#wr-cc-bar { border-radius: 0; }
#wr-cc-modal { border-radius: var(--r-xl) !important; }

/* ---- Global card improvement: slightly warmer shadow ---- */
.wie-card,
.paket-card,
.trust-card,
.modul-card,
.demo-card,
.feature-card {
  box-shadow: 0 2px 12px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
}
.wie-card:hover,
.paket-card:hover,
.trust-card:hover,
.feature-card:hover {
  box-shadow: 0 20px 56px rgba(0,0,0,0.11), 0 6px 18px rgba(0,0,0,0.06);
}

/* ---- Section-level background refinement ---- */
#wie       { background: var(--bg); }
#pakete    { background: var(--bg2); }
#module    { background: var(--bg); }
#demos     { background: var(--bg2); }
#team      { background: var(--bg2); }
#datenschutz { background: var(--bg); }
#kontakt   { background: var(--bg2); }

/* Warmer bg2 overlay on supported browsers */
@supports (color: oklch(0% 0 0)) {
  :root { --bg2: #f2f1ee; }
}

/* ---- Mobile: keep rounded feel ---- */
@media (max-width: 768px) {
  .wie-card   { border-radius: var(--r-lg); }
  .paket-card { border-radius: var(--r-lg); }
  .trust-card { border-radius: var(--r-lg); }
  .demo-card  { border-radius: var(--r-lg); }
  .feature-card { border-radius: var(--r-lg); padding: 2rem 1.6rem; }
  .section-header .section-title::after { width: 36px; }
}

/* =========================================================
   MOBILE CONVERSION OPTIMISATIONS
   Reduce scroll overload — keep hero + packages + CTA prominent
   Only @media mobile rules below — zero desktop impact
   ========================================================= */

@media (max-width: 768px) {

  /* ── 1. HERO: shorter, tighter ── */
  #hero { padding: 5.5rem 1.5rem 3.5rem !important; }
  .hero-headline { font-size: clamp(2.2rem, 11vw, 3.4rem) !important; line-height: 1.1 !important; }
  .hero-sub { font-size: 0.93rem !important; margin-bottom: 1.4rem !important; }
  .hero-stats {
    margin-top: 1.8rem !important;
    /* Show only first 4 stats (hide 5th PageSpeed col) */
  }
  /* Hide PageSpeed stat on mobile — already shown in hero-sub via trust bar */
  .hero-stat-speed { display: none !important; }
  /* Re-adjust grid to 2×2 */
  .hero-stats { grid-template-columns: 1fr 1fr !important; }
  .hero-stat:nth-child(3),
  .hero-stat:nth-child(4) { border-bottom: none !important; }
  .hero-scroll-indicator { display: none !important; }

  /* ── 2. ZAHLEN (counter section): hide on mobile — duplicates hero stats ── */
  #zahlen { display: none !important; }

  /* ── 3. TEAM / ÜBER UNS: hide on mobile — low conversion value ── */
  #team { display: none !important; }

  /* ── 4. PRICING CARDS: compact — reduce internal height ── */
  .paket-card {
    padding: 1.5rem 1.2rem !important;
  }
  .paket-price {
    font-size: 2rem !important;
    margin-bottom: 1rem !important;
  }
  .paket-target { margin-bottom: 1rem !important; font-size: 0.75rem !important; }
  /* Hide feature items beyond index 4 (show only top 4 features) */
  .paket-features:not(.expanded) li:nth-child(n+5) { display: none !important; }
  .paket-features.expanded li { display: flex !important; }
  .paket-features { margin-bottom: 0.5rem !important; }
  .pf-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    color: var(--text);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.55rem 1rem;
    margin-top: 0.4rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
    letter-spacing: 0.01em;
    font-family: 'Inter', sans-serif;
  }
  .pf-toggle:hover { background: var(--border); }
  .paket-features li { padding: 0.38rem 0 !important; font-size: 0.83rem !important; }

  /* ── 5. TESTIMONIALS: show only first 2, hide 3rd ── */
  .testimonial-card:nth-child(3) { display: none !important; }
  .testimonials-grid { gap: 1rem !important; }

  /* ── 6. SECTION PADDING: reduce all sections ── */
  #wie        { padding-top: 2.5rem !important; }
  .section-header { margin-bottom: 2rem !important; }
  .section-sub { margin-bottom: 2rem !important; }

  /* ── 7. MARQUEE STRIP: hide on mobile — reduces noise ── */
  .marquee-strip { display: none !important; }

  /* ── 8. VERGLEICH TABLE: horizontal scroll on mobile, compact ── */
  .vergleich-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  /* vergleich table handled by mobile redesign block below (display:none + card view) */

  /* ── 9. CTA buttons: full-width, more prominent ── */
  .btn-paket {
    padding: 0.9rem !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    background: var(--lime) !important;
    border-color: var(--lime) !important;
    color: #111110 !important;
  }

  /* ── 10. PORTFOLIO PAGE mobile optimisations ── */
  .pf-hero { padding: 80px 20px 44px !important; }
  .pf-hero h1 { font-size: clamp(26px, 9vw, 38px) !important; }
  .pf-hero-sub { font-size: 14px !important; margin-bottom: 24px !important; }
  /* Hide stats bar on portfolio — saves a full screen of scroll */
  .pf-stats { display: none !important; }
  /* Compact filter row */
  .pf-filters-wrap { padding: 20px 16px 16px !important; }
  /* Single column cards — less cramped than 2-col */
  .pf-mobile-grid { grid-template-columns: 1fr !important; gap: 12px !important; }
  /* Make portfolio CTA band smaller */
  .pf-cta { padding: 52px 20px !important; }
  .pf-cta h2 { font-size: clamp(22px, 7vw, 32px) !important; }
  /* Banner: stack tightly */
  .pf-banner-wrap { padding: 0 16px !important; }
  .pf-banner-inner { padding: 24px 0 !important; gap: 14px !important; }
}

@media (max-width: 480px) {
  /* ── Hero even tighter at small sizes ── */
  #hero { padding: 4.5rem 1.2rem 3rem !important; }
  .hero-headline { font-size: clamp(2rem, 11vw, 2.8rem) !important; }

  /* ── Pricing: even more compact ── */
  .paket-card { padding: 1.3rem 1.1rem !important; }
  .paket-price { font-size: 1.9rem !important; }
  /* Hide 4th feature item too on tiny screens — show only top 3 */
  .paket-features:not(.expanded) li:nth-child(n+4) { display: none !important; }

  /* ── Portfolio hero ── */
  .pf-hero { padding: 70px 16px 36px !important; }
}

/* =========================================================
   MOBILE REDESIGN v2 — Phase 2
   Comprehensive mobile UX improvements
   ========================================================= */

/* ── Vergleich mobile cards (base — hidden on all viewports until media query) ── */
.vergleich-mobile {
  display: none;
  flex-direction: column;
  gap: .6rem;
}
.vm-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--lime);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.vm-left {
  padding: .85rem 1rem .9rem;
  background: rgba(179,227,30,0.09);
}
.vm-feature-name {
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
  margin-bottom: .35rem;
}
.vm-wr { font-size: .9rem; font-weight: 700; color: var(--text); }
.vm-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .4rem;
  padding: .85rem 1rem .9rem;
  border-left: 1px solid var(--border);
}
.vm-alt {
  display: flex;
  align-items: baseline;
  gap: .3rem;
  font-size: .75rem;
  flex-wrap: wrap;
}
.vm-label {
  font-size: .6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--text-muted);
  flex-shrink: 0;
}
.vm-row .vc-yes svg,
.vm-row .vc-no svg,
.vm-row .vc-half svg {
  width: 11px; height: 11px;
  vertical-align: -.1em;
}

/* ── Module show-more button (base — hidden until mobile) ── */
.modul-show-more {
  display: none;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  width: 100%;
  margin-top: 1rem;
  padding: .75rem 1rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.modul-show-more:hover { border-color: var(--lime); color: var(--text); }
.modul-show-more svg { transition: transform .25s; }
.modul-show-more.expanded svg { transform: rotate(180deg); }

/* ── Tech stack: two individual host cards replaced by single merged card ── */

/* ── Tech toggle button (visible only on mobile, hidden on desktop) ── */
.tech-toggle-btn {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .75rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  color: var(--text-muted);
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 2rem;
  transition: border-color .2s, color .2s;
  font-family: 'Inter', sans-serif;
}
.tech-toggle-btn:hover { border-color: var(--lime); color: var(--text); }
.tech-toggle-btn svg { transition: transform .25s; flex-shrink: 0; }
.tech-toggle-btn.open svg { transform: rotate(180deg); }

/* ── MwSt details / Pakete note collapsible ── */
.pakete-note-details {
  margin-top: 1rem;
}
.pakete-note-details summary {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  user-select: none;
  list-style: none;
  padding: .35rem .6rem;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  transition: border-color .2s, color .2s;
}
.pakete-note-details summary::-webkit-details-marker { display: none; }
.pakete-note-details summary::after {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .2s;
}
.pakete-note-details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.pakete-note-details summary:hover { border-color: var(--lime); color: var(--text); }
.pakete-note-details .pakete-note {
  margin-top: .75rem;
  padding-top: 0;
  border-top: none;
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.75;
  text-align: left;
}

@media (max-width: 768px) {

  /* ── STICKY CTA: full-width bottom bar ── */
  #sticky-cta {
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    transform: translateY(100%) !important;
  }
  #sticky-cta.visible {
    transform: translateY(0) !important;
    opacity: 1 !important;
  }
  .sticky-cta-inner {
    width: 100% !important;
    border-radius: 0 !important;
    border: none !important;
    border-top: 1px solid rgba(255,255,255,.12) !important;
    padding: .8rem 1.2rem calc(.8rem + env(safe-area-inset-bottom)) !important;
    justify-content: space-between !important;
    gap: .75rem !important;
    box-shadow: 0 -4px 24px rgba(0,0,0,.28) !important;
  }
  .sticky-cta-pulse { display: none !important; }
  .sticky-cta-text {
    display: block !important;
    font-size: .77rem !important;
    line-height: 1.3 !important;
    max-width: 150px !important;
    white-space: normal !important;
  }
  .sticky-cta-btn {
    flex-shrink: 0 !important;
    font-size: .82rem !important;
    padding: .6rem 1.1rem !important;
  }

  /* ── VERGLEICH: hide table+wrap, show mobile cards ── */
  .vergleich-wrap   { display: none !important; }
  .vergleich-mobile { display: flex !important; }

  /* ── PAKETE: vertical stack instead of horizontal swipe ── */
  .pakete-grid {
    display: flex !important;
    flex-direction: column !important;
    overflow: visible !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 0 !important;
    gap: .75rem !important;
  }
  .paket-card {
    flex: 1 1 auto !important;
    max-width: 100% !important;
    scroll-snap-align: none !important;
    transform: none !important;
  }
  .pakete-scroll-hint { display: none !important; }

  /* ── PAKETE "Kein Paket passt": fix button alignment ── */
  .pakete-individual-cta {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: .75rem !important;
    text-align: center !important;
  }
  .pakete-individual-cta .btn {
    width: 100% !important;
    justify-content: center !important;
  }
  .pakete-individual-cta-text { text-align: left !important; }
  .pakete-individual-cta-text h3 { font-size: 1rem !important; }
  .pakete-individual-cta-text p  { font-size: .85rem !important; }

  /* ── MODULE: 2-col grid on mobile ── */
  .modul-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: .65rem !important;
  }
  .modul-card {
    padding: 1.1rem 1rem 1.2rem !important;
  }
  .modul-card:nth-child(n+7) { display: none !important; }
  .modul-card.modul-visible   { display: flex !important; }
  .modul-card .modul-name     { font-size: .83rem !important; }
  .modul-card .modul-price    { font-size: .92rem !important; }
  .modul-card .modul-desc     { font-size: .76rem !important; line-height: 1.55 !important; }
  .modul-show-more { display: flex !important; }

  /* ── TECH STACK: minimal accordion list ── */
  .tech-toggle-btn { display: flex !important; }
  .tech-grid {
    display: none !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--r) !important;
    overflow: hidden !important;
    margin-top: .6rem !important;
  }
  .tech-grid.tech-open { display: grid !important; }
  .tech-card {
    flex-direction: row !important;
    align-items: center !important;
    padding: .65rem .9rem !important;
    gap: .75rem !important;
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid rgba(255,255,255,.06) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    text-align: left !important;
    transform: none !important;
  }
  .tech-card:last-child { border-bottom: none !important; }
  .tech-card::before { display: none !important; }
  .tech-card:hover { transform: none !important; box-shadow: none !important; }
  .tech-icon-wrap {
    width: 30px !important;
    height: 30px !important;
    flex-shrink: 0 !important;
    border-radius: 6px !important;
  }
  .tech-icon-wrap svg { width: 15px !important; height: 15px !important; }
  .tech-name { font-size: .84rem !important; }
  .tech-tag  { font-size: .68rem !important; margin-top: 0 !important; }

  /* ── WIE-STEPS: compact lime-accent timeline (distinct from Leistungen) ── */
  .wie-steps-wrap { margin-top: 1.5rem !important; }
  .steps-connector { display: none !important; }
  .wie-grid { gap: 0.6rem !important; }
  .wie-number { display: none !important; }
  .wie-card {
    padding: 0.9rem 1rem 0.9rem 1.1rem !important;
    border-radius: 0 var(--r) var(--r) 0 !important;
    border: none !important;
    border-left: 3px solid var(--lime) !important;
    background: var(--surface) !important;
    box-shadow: none !important;
    text-align: left !important;
  }
  .wie-card:hover { transform: none !important; box-shadow: none !important; }
  .wie-icon {
    width: 32px !important;
    height: 32px !important;
    background: var(--lime) !important;
    border-radius: 50% !important;
    color: #111 !important;
    padding: 7px !important;
    flex-shrink: 0 !important;
    margin-bottom: 0.4rem !important;
  }
  .wie-icon svg { width: 16px !important; height: 16px !important; stroke: #111 !important; }
  .wie-step-label {
    color: var(--lime-dark) !important;
    font-size: .62rem !important;
    font-weight: 800 !important;
    letter-spacing: .1em !important;
    margin-bottom: .15rem !important;
  }
  .wie-card h3 { font-size: 1rem !important; margin-bottom: 0.25rem !important; }
  .wie-card p  { font-size: .84rem !important; line-height: 1.6 !important; }

  /* ── Push chatbot FAB above sticky CTA bar ── */
  #wr-chatbot-widget { bottom: 80px !important; }

  /* ── Bottom space for sticky CTA ── */
  footer, #kontakt { padding-bottom: 80px !important; }

  /* ── TESTIMONIALS: 2-col compact ── */
  .testimonials-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: .75rem !important;
  }
  .testimonial-card {
    padding: 1.1rem .9rem !important;
    gap: .8rem !important;
  }
  .testimonial-text {
    font-size: .8rem !important;
    line-height: 1.65 !important;
  }
  .testimonial-card::before {
    font-size: 3.2rem !important;
    top: .6rem !important;
    right: .7rem !important;
  }
  .testimonial-author { padding-top: .75rem !important; gap: .6rem !important; }
  .testimonial-name { font-size: .8rem !important; }
  .testimonial-role { font-size: .7rem !important; }
  .testimonial-avatar { width: 32px !important; height: 32px !important; font-size: .65rem !important; }
  /* Only first 2 testimonials */
  .testimonial-card:nth-child(3) { display: none !important; }

  /* ── TRUST / DATENSCHUTZ: 2-col compact ── */
  .trust-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: .75rem !important;
  }
  .trust-card {
    padding: 1.1rem .9rem !important;
  }
  .trust-card h3 { font-size: .88rem !important; margin-bottom: .4rem !important; }
  .trust-card p  { font-size: .78rem !important; line-height: 1.6 !important; }
  .trust-icon {
    width: 38px !important; height: 38px !important;
    margin-bottom: .65rem !important;
  }
}

@media (max-width: 480px) {
  /* ── Sticky CTA even tighter on small phones ── */
  .sticky-cta-text { max-width: 120px !important; font-size: .72rem !important; }

  /* ── Testimonials: single column on very small ── */
  .testimonials-grid { grid-template-columns: 1fr !important; }
  .testimonial-card:nth-child(3) { display: flex !important; }

  /* ── Trust: single column on very small ── */
  .trust-grid { grid-template-columns: 1fr !important; }

  /* ── Modules: single column on very small ── */
  .modul-grid { grid-template-columns: 1fr !important; }
}

/* =================================================================
   NEUE LEISTUNGEN SECTION
   ================================================================= */

#leistungen { background: var(--bg2); }

.leistungen-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

.leistung-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2.5rem 2rem 2rem;
  overflow: hidden;
  transition: border-color .25s, box-shadow .25s;
}
.leistung-card:hover {
  border-color: var(--lime);
  box-shadow: var(--shadow);
}

.leistung-nr {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  font-size: clamp(3.5rem, 8vw, 5.5rem);
  font-weight: 900;
  line-height: 1;
  color: rgba(0,0,0,0.045);
  pointer-events: none;
  letter-spacing: -.02em;
}

.leistung-icon {
  width: 48px; height: 48px;
  background: var(--lime-dim);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--lime-dark);
}

.leistung-title {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: .6rem;
  color: var(--text);
}

.leistung-desc {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.leistung-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.leistung-badges span {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .08em;
  padding: .25rem .6rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-pill);
  color: var(--text-muted);
  white-space: nowrap;
}

@media (max-width: 768px) {
  /* Leistungen: compact 2×2 grid, descriptions hidden */
  .leistungen-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .leistung-card { padding: 1.1rem 0.9rem 1rem; }
  .leistung-title { font-size: 0.95rem; margin-top: 0.3rem; }
  .leistung-desc  { display: none; }
  .leistung-badges { display: none; }
  .leistung-nr    { font-size: 2.2rem; }
  .leistung-icon  { width: 34px; height: 34px; }
}

/* =================================================================
   HERO DOT-PATTERN
   ================================================================= */

#hero {
  background-image: radial-gradient(circle, rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 22px 22px;
}

/* =================================================================
   ZAHLEN-SECTION DUNKEL (Kontrast-Break)
   ================================================================= */

#zahlen {
  background: #111110;
}
#zahlen .counter-number {
  color: var(--lime);
}
#zahlen .counter-label {
  color: rgba(255,255,255,0.55);
}

/* =================================================================
   FAQ LIME CTA BLOCK
   ================================================================= */

.faq-cta-block {
  background: var(--lime);
  border-radius: var(--r-xl);
  padding: 3.5rem 3rem;
  margin-top: 3rem;
  text-align: center;
  color: #111110;
}

.faq-cta-label {
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(17,17,16,0.6);
  margin-bottom: .75rem;
}

.faq-cta-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.15;
  margin-bottom: 2rem;
  color: #111110;
}

.btn.btn-dark {
  background: #111110;
  color: var(--lime);
  border-color: #111110;
}
.btn.btn-dark:hover {
  background: #1f1f1e;
}

@media (max-width: 768px) {
  .faq-cta-block { padding: 2.5rem 1.5rem; border-radius: var(--r-lg); }
  .faq-cta-title { font-size: 1.5rem; }
}

/* =================================================================
   MOBILE FIXES (M1–M5)
   ================================================================= */

/* M1 — Touch-Targets */
@media (max-width: 768px) {
  .kontakt-field input,
  .kontakt-field select,
  .kontakt-field textarea {
    min-height: 48px;
    font-size: 16px; /* verhindert iOS-Zoom-on-focus */
  }
  .btn-submit { min-height: 52px; font-size: 1rem; }
  .footer-nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}

/* M2 — Select Dropdown Custom Arrow */
select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b6b6b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.75rem !important;
}

/* M3 — Hero Sub Text auf kleinen Phones */
@media (max-width: 480px) {
  .hero-sub { font-size: .95rem !important; line-height: 1.65 !important; }
}

/* M4 — Footer Mobile Grid */
@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }
}

/* M5 — Overflow-X Fix (verhindert den Lime-Streifen am Rand) */
html, body { overflow-x: hidden; }
section, .marquee-strip, .wie-steps-wrap, .demo-grid { overflow-x: hidden; }
.pakete-grid { overflow: visible; } /* keep badge visible above cards */
