@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* ── A11Y: Skip-Link & Focus ──────────────── */
.skip-link {
  position: absolute;
  top: -40px;
  left: 8px;
  background: #0f172a;
  color: #fff;
  padding: 10px 16px;
  border-radius: 6px;
  z-index: 9999;
  font-weight: 600;
  font-size: 14px;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 8px; outline: 2px solid #2563eb; outline-offset: 2px; }
:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
  border-radius: 4px;
}
.btn:focus-visible { outline-offset: 3px; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

:root {
  --primary:      #0f172a;
  --primary-dark: #020617;
  --accent:       #2563eb;
  --accent-light: #eff6ff;
  --white:        #ffffff;
  --bg-page:      #f6f6f8; /* Body-Hintergrund – sanftes Grau (Venax-Stil) */
  --light:        #f8fafc;
  --gray:         #64748b;
  --text:         #0f172a;
  --border:       #e2e8f0;
  --shadow-sm:    0 1px 2px rgba(0,0,0,0.05);
  --shadow:       0 4px 20px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 28px rgba(37,99,235,0.14);
  --radius:       8px;
  --radius-btn:   100px;
  --radius-card:  14px;
  --transition:   0.2s ease;
  /* Blob-Dekoration (HannoHyp-Stil) */
  --blobs-a:
    radial-gradient(circle 310px at calc(100% + 90px) 42%, rgba(37,99,235,0.09) 99.5%, transparent 100%),
    radial-gradient(circle 210px at calc(100% - 10px) 70%, rgba(37,99,235,0.065) 99.5%, transparent 100%);
  --blobs-b:
    radial-gradient(circle 250px at -85px 62%, rgba(37,99,235,0.08) 99.5%, transparent 100%),
    radial-gradient(circle 140px at  55px 26%, rgba(37,99,235,0.07) 99.5%, transparent 100%),
    radial-gradient(circle  72px at 115px 50%, rgba(37,99,235,0.06) 99.5%, transparent 100%),
    radial-gradient(circle  46px at 152px 70%, rgba(37,99,235,0.06) 99.5%, transparent 100%);
  --blobs-a-dark:
    radial-gradient(circle 310px at calc(100% + 90px) 42%, rgba(147,197,253,0.10) 99.5%, transparent 100%),
    radial-gradient(circle 210px at calc(100% - 10px) 70%, rgba(147,197,253,0.075) 99.5%, transparent 100%);
  --blobs-b-dark:
    radial-gradient(circle 250px at -85px 62%, rgba(147,197,253,0.10) 99.5%, transparent 100%),
    radial-gradient(circle 140px at  55px 26%, rgba(147,197,253,0.08) 99.5%, transparent 100%),
    radial-gradient(circle  72px at 115px 50%, rgba(147,197,253,0.07) 99.5%, transparent 100%),
    radial-gradient(circle  46px at 152px 70%, rgba(147,197,253,0.07) 99.5%, transparent 100%);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; font-size: 16px; color: var(--text); background: var(--bg-page); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; max-width: 100%; }
img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4, h5 { font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', sans-serif; font-weight: 600; line-height: 1.15; letter-spacing: -0.03em; overflow-wrap: break-word; }

/* ── UTILITIES ─────────────────────────────── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 32px; }
.section    { padding: 112px 0; background-image: var(--blobs-a); }
.section-sm { padding: 72px 0;  background-image: var(--blobs-a); }

.badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title { font-size: clamp(28px, 3.5vw, 48px); color: var(--text); margin-bottom: 20px; }
.section-title span { color: var(--accent); }
.section-title::after {
  content: '';
  display: block;
  width: 44px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
  margin-top: 18px;
}
.text-center .section-title::after { margin-left: auto; margin-right: auto; }
.section-subtitle { font-size: 17px; color: var(--gray); max-width: 540px; line-height: 1.75; font-weight: 400; }
.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

/* ── BUTTONS ───────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-btn);
  font-weight: 500;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}
.btn-primary {
  background: var(--text);
  color: var(--white);
  border-color: var(--text);
}
.btn-primary:hover {
  background: #1e293b;
  border-color: #1e293b;
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.5); }
.btn-blue {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-blue:hover { background: #1d4ed8; border-color: #1d4ed8; }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { background: var(--light); }

/* ── HEADER / NAV ──────────────────────────── */
#header {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100vw - 32px);
  max-width: 1280px;
  z-index: 1000;
  background: rgba(15,23,42,0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
#header .container { max-width: none; padding: 0; }

#header.scrolled {
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: rgba(0,0,0,0.06);
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.nav-inner { display: flex; align-items: center; justify-content: center; gap: 32px; height: 68px; padding: 0 24px; }

.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo img { height: 48px; width: auto; }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.nav-logo-text strong { font-weight: 600; font-size: 16px; letter-spacing: -0.02em; color: var(--white); transition: color 0.3s ease; }
.nav-logo-text span   { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.55); transition: color 0.3s ease; }
#header.scrolled .nav-logo-text strong { color: var(--text); }
#header.scrolled .nav-logo-text span   { color: var(--gray); }

.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a {
  font-weight: 500;
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  transition: color 0.2s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
#header.scrolled .nav-links a { color: var(--gray); }
#header.scrolled .nav-links a:hover,
#header.scrolled .nav-links a.active { color: var(--text); }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .btn {
  padding: 8px 18px;
  font-size: 13px;
}
.nav-calc {
  display: flex; align-items: center; gap: 6px;
  font-weight: 500; font-size: 13px;
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 6px 14px; border-radius: 100px;
  transition: all 0.2s ease;
}
.nav-calc:hover { background: rgba(255,255,255,0.14); color: var(--white); }
#header.scrolled .nav-calc { color: var(--gray); background: var(--light); border-color: var(--border); }
#header.scrolled .nav-calc:hover { color: var(--accent); background: var(--accent-light); border-color: rgba(37,99,235,0.2); }

.nav-phone {
  display: flex; align-items: center; gap: 8px;
  font-weight: 500; font-size: 14px;
  color: rgba(255,255,255,0.8);
  transition: color 0.2s ease;
}
#header.scrolled .nav-phone { color: var(--gray); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; border: none; background: none; }
.hamburger span { display: block; width: 22px; height: 1.5px; background: var(--white); transition: background 0.3s ease, transform var(--transition), opacity var(--transition); border-radius: 2px; }
#header.scrolled .hamburger span { background: var(--text); }
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: absolute;
  top: 76px;
  left: 0;
  right: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px 0;
  box-shadow: 0 16px 48px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06);
  z-index: 999;
}
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 13px 20px; font-weight: 500; font-size: 15px; color: var(--text); border-radius: 8px; margin: 0 8px; }
.mobile-menu a:hover { background: var(--light); color: var(--accent); }
.mobile-menu a.active { color: var(--accent); font-weight: 600; }
.mobile-menu hr { border: none; border-top: 1px solid var(--border); margin: 8px 0; }
#header .mobile-menu a.btn-primary {
  display: block;
  text-align: center;
  background: var(--text);
  color: var(--white);
  border: 1px solid var(--text);
  padding: 12px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  margin: 0 8px 8px;
}
#header .mobile-menu a.btn-primary:hover { background: #1e293b; color: var(--white); }

/* ── HERO ──────────────────────────────────── */
.hero {
  min-height: 100vh;
  background-color: var(--primary-dark);
  background-image: var(--blobs-a-dark);
  display: flex;
  align-items: center;
  padding-top: 90px;
  position: relative;
  overflow: hidden;
}
.hero .container { width: 100%; }
.hero-bg-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(37,99,235,0.22) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 85%, rgba(37,99,235,0.10) 0%, transparent 40%);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0%, transparent 60%, rgba(2,6,23,0.6) 100%);
  z-index: 1;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: rgba(255,255,255,0.08);
  z-index: 2;
}

.hero-inner { display: flex; flex-direction: column; align-items: flex-start; text-align: left; position: relative; z-index: 2; padding: 80px 0; max-width: 560px; margin: 0; }
.hero-content { color: var(--white); width: 100%; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 6px 14px; border-radius: 40px;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 32px;
  color: rgba(255,255,255,0.7);
}

.hero-title { font-size: clamp(40px, 5vw, 72px); color: var(--white); margin-bottom: 24px; letter-spacing: -0.02em; line-height: 1.1; }
.hero-title .accent { color: #93c5fd; }
.hero-desc { font-size: 17px; color: rgba(255,255,255,0.6); margin-bottom: 40px; max-width: 560px; line-height: 1.75; font-weight: 400; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-start; }
.hero-actions .btn-primary { background: var(--white); color: var(--text); border-color: var(--white); }
.hero-actions .btn-primary:hover { background: #f1f5f9; }

.hero-stats {
  display: flex; gap: 48px; margin-top: 64px;
  padding-top: 48px; border-top: 1px solid rgba(255,255,255,0.08);
  justify-content: flex-start;
}
.hero-stat strong { display: block; font-size: 36px; font-weight: 700; color: var(--white); line-height: 1; letter-spacing: -0.03em; }
.hero-stat span   { font-size: 13px; color: rgba(255,255,255,0.45); font-weight: 400; margin-top: 4px; display: block; }

.hero-visual { position: relative; }
.hero-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px; padding: 36px 36px 72px;
  backdrop-filter: blur(8px);
  animation: card-breathe 4s ease-in-out infinite;
}
@keyframes card-breathe {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.04); }
}
.hero-card-title { font-size: 15px; font-weight: 500; color: rgba(255,255,255,0.6); margin-bottom: 24px; letter-spacing: 0; }
.hero-card-items { display: flex; flex-direction: column; gap: 14px; }
.hero-card-item  { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,0.85); font-size: 14px; font-weight: 400; }
.hero-card-item .check { width: 20px; height: 20px; background: rgba(37,99,235,0.3); border: 1px solid rgba(37,99,235,0.5); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: #93c5fd; font-weight: 600; font-size: 11px; }

.hero-floating { position: absolute; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; padding: 14px 18px; display: flex; align-items: center; gap: 12px; backdrop-filter: blur(8px); }
.hero-floating.f1 { bottom: -20px; left: -24px; }
.hero-floating.f2 { top: -20px; right: -20px; }
.hero-floating .icon { width: 36px; height: 36px; background: rgba(37,99,235,0.2); border-radius: 6px; display: flex; align-items: center; justify-content: center; color: #93c5fd; }
.hero-floating strong { display: block; font-size: 15px; font-weight: 600; color: var(--white); line-height: 1; }
.hero-floating span   { font-size: 12px; color: rgba(255,255,255,0.45); font-weight: 400; }

/* ── TRUST BAR ─────────────────────────────── */
.trust-bar { background: var(--light); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 10px 0; }
.trust-bar-inner { display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 8px; color: var(--gray); font-size: 13px; font-weight: 500; }
.trust-item svg { color: var(--accent); }

.trust-bar-inner.trust-animated {
  position: relative;
  min-height: 38px;
  perspective: 600px;
  justify-content: center;
}
.trust-bar-inner.trust-animated .trust-item {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.72) translateZ(-80px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}
.trust-bar-inner.trust-animated .trust-item.tr-show {
  opacity: 1;
  transform: scale(1) translateZ(0);
  pointer-events: auto;
}

/* ── STATS STRIP ───────────────────────────── */
.stats-strip { background: var(--primary-dark); background-image: var(--blobs-a-dark); padding: 72px 0; border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); }
.stats-strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-strip-item { text-align: center; padding: 0 24px; border-right: 1px solid rgba(255,255,255,0.07); }
.stats-strip-item:last-child { border-right: none; }
.stats-strip-item strong { display: block; font-size: clamp(44px, 5vw, 72px); font-weight: 700; color: var(--white); letter-spacing: -0.04em; line-height: 1; margin-bottom: 10px; }
.stats-strip-item span { font-size: 13px; color: rgba(255,255,255,0.35); letter-spacing: 0.03em; text-transform: uppercase; }

/* ── VORTEILE / BENEFITS ───────────────────── */
.vorteile-section { background: var(--primary-dark); background-image: var(--blobs-b-dark); }
.vorteile-section .section-title::after { background: rgba(255,255,255,0.25); }

.badge--light { color: rgba(255,255,255,0.4); border-color: rgba(255,255,255,0.1); background: rgba(255,255,255,0.05); }
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.07); border-radius: var(--radius); overflow: hidden; margin-top: 64px; }
.benefit-card { background: rgba(255,255,255,0.02); padding: 40px 32px; transition: background var(--transition); }
.benefit-card:hover { background: rgba(255,255,255,0.05); }
.benefit-icon { width: 48px; height: 48px; border-radius: 10px; background: rgba(37,99,235,0.12); border: 1px solid rgba(37,99,235,0.25); display: flex; align-items: center; justify-content: center; color: #93c5fd; margin-bottom: 20px; }
.benefit-card h3 { font-size: 15px; color: var(--white); margin-bottom: 10px; font-weight: 600; }
.benefit-card p { font-size: 14px; color: rgba(255,255,255,0.38); line-height: 1.75; }

/* ── BENEFITS CAROUSEL ─────────────────────── */
.benefits-carousel-wrap { margin-top: 64px; }
.benefits-carousel-wrap .benefits-grid { margin-top: 0; }

@media (max-width: 768px) {
  .benefits-carousel-wrap .benefits-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: scroll;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    gap: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
  }
  .benefits-carousel-wrap .benefits-grid::-webkit-scrollbar { display: none; }
  .benefits-carousel-wrap .benefit-card {
    flex: 0 0 100%;
    width: 100%;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    box-sizing: border-box;
  }
  .carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
  }
  .carousel-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    cursor: pointer;
    transition: width 0.3s ease, background 0.3s ease, border-radius 0.3s ease;
    border: none;
    padding: 0;
    flex-shrink: 0;
  }
  .carousel-dot.active {
    background: rgba(255,255,255,0.9);
    width: 24px;
    border-radius: 4px;
  }
}
@media (min-width: 769px) {
  .carousel-dots { display: none; }
}

/* ── LEISTUNGEN HOME ───────────────────────── */
.leistungen-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }

/* ── LEISTUNGEN CAROUSEL ────────────────────── */
.leistungen-carousel-wrap { margin-top: 56px; }
.leistungen-carousel-wrap .leistungen-grid { margin-top: 0; }

@media (max-width: 768px) {
  .leistungen-carousel-wrap .leistungen-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: scroll;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    gap: 0;
  }
  .leistungen-carousel-wrap .leistungen-grid::-webkit-scrollbar { display: none; }
  .leistungen-carousel-wrap .leistung-card {
    flex: 0 0 100%;
    width: 100%;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    box-sizing: border-box;
  }
  .leistungen-carousel-wrap .carousel-dot {
    background: rgba(15,23,42,0.18);
  }
  .leistungen-carousel-wrap .carousel-dot.active {
    background: var(--text);
  }
}
@media (min-width: 769px) {
  .leistungen-carousel-wrap .carousel-dots { display: none; }
}

.leistung-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.leistung-card:hover { border-color: #cbd5e1; box-shadow: var(--shadow-hover); transform: translateY(-3px); }

.leistung-icon { width: 48px; height: 48px; background: var(--light); border: 1px solid var(--border); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--accent); margin-bottom: 20px; }
.leistung-card h3 { font-size: 17px; color: var(--text); margin-bottom: 10px; font-weight: 600; }
.leistung-card p  { color: var(--gray); font-size: 14px; line-height: 1.7; }
.leistung-card--img-bg { background-size: cover; background-position: center; padding: 0; border: none; }
.leistung-card-overlay { position: relative; z-index: 1; padding: 32px; background: linear-gradient(to top, rgba(0,0,0,0.8) 50%, rgba(0,0,0,0.2) 100%); border-radius: 10px; height: 100%; box-sizing: border-box; display: flex; flex-direction: column; justify-content: flex-end; min-height: 260px; }
.leistung-icon--light { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.15); color: var(--white); }

/* ── KATALOG / FENSTER ─────────────────────── */
.katalog-section { background: var(--light); background-image: var(--blobs-b); }

.katalog-filter { display: flex; gap: 8px; flex-wrap: wrap; margin: 40px 0 32px; }
.filter-btn {
  padding: 8px 18px; border: 1px solid var(--border); background: var(--white);
  border-radius: 100px; font-weight: 500; font-size: 13px;
  cursor: pointer; transition: var(--transition); color: var(--gray);
}
.filter-btn:hover { border-color: #94a3b8; color: var(--text); }
.filter-btn.active { background: var(--text); border-color: var(--text); color: var(--white); }

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

.katalog-item { background: var(--white); border-radius: var(--radius-card); overflow: hidden; border: 1px solid var(--border); transition: box-shadow 0.2s ease, transform 0.2s ease; }
.katalog-item:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }

.katalog-img { height: 200px; background: var(--light); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.katalog-img svg { width: 64px; height: 64px; color: var(--border); }
.katalog-img img { width: 100%; height: 100%; object-fit: cover; }

.katalog-badge { position: absolute; top: 12px; left: 12px; background: var(--text); color: var(--white); font-weight: 500; font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; padding: 4px 10px; border-radius: 4px; }

.katalog-body { padding: 20px 24px 24px; }
.katalog-body h3 { font-size: 16px; color: var(--text); margin-bottom: 8px; font-weight: 600; }
.katalog-body p  { font-size: 13px; color: var(--gray); margin-bottom: 16px; line-height: 1.65; }

.katalog-specs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.spec-tag { font-size: 11px; padding: 3px 8px; background: var(--light); border: 1px solid var(--border); border-radius: 4px; color: var(--gray); font-weight: 500; }

.katalog-body a { font-weight: 500; font-size: 13px; color: var(--accent); display: inline-flex; align-items: center; gap: 4px; }
.katalog-body a:hover { color: #1d4ed8; }

/* ── PORTFOLIO / GALERIE ───────────────────── */
.galerie-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 12px; margin-top: 48px; }
.galerie-item { border-radius: 8px; overflow: hidden; position: relative; cursor: pointer; background: var(--light); border: 1px solid var(--border); }
.galerie-item.wide { grid-column: span 2; }
.galerie-item.tall { grid-row: span 2; }
.galerie-item img  { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.galerie-overlay   { position: absolute; inset: 0; background: rgba(15,23,42,0.6); opacity: 0; transition: opacity var(--transition); display: flex; align-items: flex-end; padding: 16px; }
.galerie-overlay span { color: var(--white); font-weight: 500; font-size: 14px; }
.galerie-item:hover img { transform: scale(1.04); }
.galerie-item:hover .galerie-overlay { opacity: 1; }

.galerie-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.galerie-placeholder svg { color: var(--border); width: 36px; height: 36px; }
.galerie-placeholder span { font-size: 12px; color: var(--gray); text-align: center; padding: 0 16px; }

/* ── LIGHTBOX ──────────────────────────────── */
.lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.9); z-index: 9999; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox-close { position: absolute; top: 24px; right: 24px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); color: var(--white); width: 40px; height: 40px; border-radius: 8px; font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background var(--transition); }
.lightbox-close:hover { background: rgba(255,255,255,0.15); }
.lightbox img { max-height: 85vh; max-width: 90vw; border-radius: 8px; }

/* ── ABOUT TEASER ──────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 96px; align-items: center; }
.about-image-wrap { position: relative; }
.about-image { border-radius: 12px; overflow: hidden; background: var(--light); border: 1px solid var(--border); height: 460px; display: flex; align-items: center; justify-content: center; }
.about-image img { width: 100%; height: 100%; object-fit: cover; }

.about-badge-float { position: absolute; bottom: -20px; right: -20px; background: var(--text); color: var(--white); border-radius: 10px; padding: 20px 28px; text-align: center; }
.about-badge-float strong { display: block; font-size: 40px; font-weight: 700; line-height: 1; letter-spacing: -0.04em; }
.about-badge-float span   { font-size: 12px; font-weight: 400; opacity: 0.6; margin-top: 4px; display: block; }

.about-list { display: flex; flex-direction: column; gap: 12px; margin: 32px 0; }
.about-list-item { display: flex; gap: 16px; background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 16px 20px; align-items: flex-start; }
.about-list-item .dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; flex-shrink: 0; margin-top: 7px; }
.about-list-item h4 { font-size: 15px; color: var(--text); margin-bottom: 4px; font-weight: 600; }
.about-list-item p  { font-size: 14px; color: var(--gray); line-height: 1.65; margin: 0; }

.staerken-card { background: var(--primary-dark); background-image: var(--blobs-a-dark); border: 1px solid rgba(255,255,255,0.07); border-radius: 10px; padding: 24px 28px; margin: 28px 0; }
.staerken-card-title { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 16px; }
.staerken-items { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.staerken-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,0.8); font-weight: 400; }
.check-sm { width: 17px; height: 17px; background: rgba(37,99,235,0.25); border: 1px solid rgba(37,99,235,0.4); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: #93c5fd; font-weight: 700; font-size: 9px; }

/* ── KONTAKT FORMULAR ──────────────────────── */
.kontakt-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.kontakt-info h3 { font-size: 24px; color: var(--text); margin-bottom: 24px; }
.kontakt-detail { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.kontakt-detail .icon-box { width: 40px; height: 40px; background: var(--light); border: 1px solid var(--border); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--accent); flex-shrink: 0; }
.kontakt-detail strong { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.kontakt-detail span   { font-size: 14px; color: var(--gray); line-height: 1.5; }
.map-embed { margin-top: 32px; border-radius: 10px; overflow: hidden; border: 1px solid var(--border); }
.map-embed iframe { display: block; width: 100%; height: 240px; }

.kontakt-form { background: var(--white); border: 1px solid var(--border); border-radius: 18px; padding: 40px; }
.kontakt-form h3 { font-size: 22px; color: var(--text); margin-bottom: 32px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 500; font-size: 13px; color: var(--text); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 14px; color: var(--text); background: var(--white); transition: border-color var(--transition); outline: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37,99,235,0.08); }
.form-group textarea { resize: vertical; min-height: 120px; }

.form-check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 20px; }
.form-check input[type="checkbox"] { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; accent-color: var(--accent); cursor: pointer; }
.form-check label { font-size: 13px; color: var(--gray); line-height: 1.5; cursor: pointer; }
.form-check label a { color: var(--accent); text-decoration: underline; }
.form-success { display: none; background: #eff6ff; border: 1px solid #bfdbfe; border-radius: var(--radius); padding: 14px 18px; color: var(--text); font-weight: 500; margin-top: 12px; text-align: center; font-size: 14px; }
.form-error   { display: none; background: #fef2f2; border: 1px solid #fecaca; border-radius: var(--radius); padding: 14px 18px; color: #991b1b; font-weight: 500; margin-top: 12px; text-align: center; font-size: 14px; }
.form-group input[aria-invalid="true"],
.form-group textarea[aria-invalid="true"],
.form-group select[aria-invalid="true"] { border-color: #dc2626; background: #fef2f2; }

/* ── CTA SECTION ───────────────────────────── */
.cta-section { background: var(--primary-dark); padding: 112px 0; text-align: center; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(37,99,235,0.1) 0%, transparent 70%); }
.cta-section h2 { font-size: clamp(32px, 4vw, 52px); color: var(--white); margin-bottom: 16px; letter-spacing: -0.03em; position: relative; z-index: 1; }
.cta-section h2 span { color: #93c5fd; }
.cta-section p { color: rgba(255,255,255,0.5); font-size: 17px; max-width: 480px; margin: 0 auto 40px; line-height: 1.75; font-weight: 400; position: relative; z-index: 1; }
.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-section .badge { color: rgba(255,255,255,0.35); }

/* ── FOOTER ────────────────────────────────── */
#footer { background: var(--primary-dark); background-image: var(--blobs-b-dark); border-top: 1px solid rgba(255,255,255,0.06); }
.footer-top { padding: 72px 0 48px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.footer-brand img { height: 48px; width: auto; margin-bottom: 16px; filter: brightness(0) invert(1); opacity: 0.9; }
.footer-brand p { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,0.35); margin-bottom: 24px; }

.footer-social { display: flex; gap: 8px; }
.footer-social a { width: 32px; height: 32px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); border-radius: 6px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.5); transition: all var(--transition); }
.footer-social a:hover { background: rgba(255,255,255,0.1); color: var(--white); }

.footer-col h4 { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,0.5); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--white); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; font-size: 14px; color: rgba(255,255,255,0.5); }
.footer-contact li svg { flex-shrink: 0; color: rgba(255,255,255,0.3); margin-top: 2px; }

.footer-bottom { padding: 20px 0; display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: rgba(255,255,255,0.25); }
.footer-bottom a { color: rgba(255,255,255,0.25); transition: color var(--transition); }
.footer-bottom a:hover { color: rgba(255,255,255,0.6); }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-credit { font-size: 12px; color: rgba(255,255,255,0.2); letter-spacing: 0.03em; transition: color var(--transition); }
.footer-credit:hover { color: rgba(255,255,255,0.55); }
.footer-credit-brand { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* ── PAGE HERO (inner pages) – redesigned ───── */
.page-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  padding: 160px 0 90px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle 280px at calc(100% + 70px) 38%, rgba(147,197,253,0.10) 99.5%, transparent 100%),
    radial-gradient(circle 190px at calc(100% - 20px) 66%, rgba(147,197,253,0.075) 99.5%, transparent 100%),
    radial-gradient(ellipse 70% 80% at 18% 90%, rgba(37,99,235,0.28), transparent 65%),
    radial-gradient(ellipse 60% 70% at 90% 10%, rgba(59,130,246,0.18), transparent 65%),
    linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, #0c1f4a 100%);
}

/* Animierte Akzent-Glows */
.page-hero::before,
.page-hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: -1;
  pointer-events: none;
  will-change: transform, opacity;
}
.page-hero::before {
  width: 620px; height: 620px;
  bottom: -20%; left: -8%;
  background: radial-gradient(circle, rgba(37,99,235,0.45), transparent 60%);
  animation: heroGlow 9s ease-in-out infinite alternate;
}
.page-hero::after {
  width: 480px; height: 480px;
  top: -15%; right: -6%;
  background: radial-gradient(circle, rgba(147,197,253,0.22), transparent 60%);
  animation: heroGlow 11s ease-in-out infinite alternate-reverse;
}
@keyframes heroGlow {
  0%   { opacity: 0.55; transform: translate(0, 0) scale(1); }
  100% { opacity: 1.0;  transform: translate(30px, -18px) scale(1.18); }
}

/* Floating Particles – dezente Punkte, driften langsam */
.page-hero-particles {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 15% 30%, rgba(255,255,255,0.18) 1.4px, transparent 2px),
    radial-gradient(circle at 38% 72%, rgba(147,197,253,0.32) 1.2px, transparent 2px),
    radial-gradient(circle at 72% 22%, rgba(255,255,255,0.14) 1.6px, transparent 2px),
    radial-gradient(circle at 86% 78%, rgba(37,99,235,0.30) 1.2px, transparent 2px),
    radial-gradient(circle at 52% 48%, rgba(255,255,255,0.12) 1.0px, transparent 2px);
  background-size: 280px 280px, 360px 360px, 220px 220px, 300px 300px, 340px 340px;
  animation: heroParticles 40s linear infinite;
  opacity: 0.85;
}
@keyframes heroParticles {
  0%   { background-position: 0 0, 0 0, 0 0, 0 0, 0 0; }
  100% { background-position: 280px 280px, -360px 360px, 220px -220px, -300px 300px, 340px -340px; }
}

/* Animiertes Akzent-Linien-Gitter (Page-individuell via data-hero) */
.page-hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 80%);
  animation: heroGrid 60s linear infinite;
}
@keyframes heroGrid {
  0%   { background-position: 0 0, 0 0; }
  100% { background-position: 80px 80px, 80px 80px; }
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.78);
  margin-bottom: 28px;
  padding: 9px 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-weight: 500;
}
.breadcrumb a { color: rgba(255,255,255,0.78); transition: color 0.2s ease; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb svg { width: 12px; height: 12px; opacity: 0.55; }

.page-hero h1 {
  font-size: clamp(40px, 5.6vw, 68px);
  color: var(--white);
  margin-bottom: 22px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  text-shadow: 0 2px 30px rgba(0,0,0,0.35);
}
.page-hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.82);
  max-width: 600px;
  line-height: 1.7;
  font-weight: 400;
  text-shadow: 0 1px 18px rgba(0,0,0,0.45);
}

/* Reduced Motion: alle Hero-Animationen aus */
@media (prefers-reduced-motion: reduce) {
  .page-hero-bg,
  .page-hero-particles,
  .page-hero-grid,
  .page-hero::before,
  .page-hero::after { animation: none !important; }
}

/* ── TEAM ──────────────────────────────────── */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.team-card { text-align: center; padding: 32px; border: 1px solid var(--border); border-radius: 10px; }
.team-avatar { width: 100px; height: 100px; border-radius: 50%; background: var(--light); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 28px; font-weight: 600; color: var(--text); }
.team-card h3   { font-size: 17px; color: var(--text); margin-bottom: 4px; }
.team-card span { font-size: 13px; color: var(--gray); font-weight: 400; }

/* ── VALUES ────────────────────────────────── */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.value-card { padding: 32px 24px; background: var(--white); border-radius: 10px; border: 1px solid var(--border); transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.value-card:hover { border-color: #cbd5e1; box-shadow: var(--shadow); }
.value-icon { width: 48px; height: 48px; background: var(--light); border: 1px solid var(--border); border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; color: var(--accent); }
.value-card h3 { font-size: 16px; color: var(--text); margin-bottom: 8px; font-weight: 600; }
.value-card p  { font-size: 14px; color: var(--gray); line-height: 1.65; }

/* ── LEISTUNGEN PAGE ───────────────────────── */
.leistung-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; padding: 80px 0; border-bottom: 1px solid var(--border); }
.leistung-detail:last-child { border-bottom: none; }
.leistung-detail.reverse { direction: rtl; }
.leistung-detail.reverse > * { direction: ltr; }
.leistung-detail-img { border-radius: 12px; overflow: hidden; background: var(--light); border: 1px solid var(--border); height: 360px; display: flex; align-items: center; justify-content: center; }
.leistung-detail-img svg { width: 80px; height: 80px; color: var(--border); }
.leistung-detail-content h2 { font-size: 30px; color: var(--text); margin-bottom: 16px; }
.leistung-detail-content p  { font-size: 15px; color: var(--gray); line-height: 1.8; margin-bottom: 24px; }
.feature-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.feature-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text); }
.feature-list li::before { content: ''; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; flex-shrink: 0; }

/* ── LEGAL ─────────────────────────────────── */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h2 { font-size: 22px; color: var(--text); margin: 40px 0 16px; }
.legal-content h3 { font-size: 17px; color: var(--text); margin: 28px 0 10px; }
.legal-content p  { font-size: 15px; color: var(--gray); line-height: 1.8; margin-bottom: 16px; }
.legal-content ul { list-style: disc; padding-left: 20px; margin-bottom: 16px; }
.legal-content ul li { font-size: 15px; color: var(--gray); line-height: 1.8; margin-bottom: 6px; }
.legal-content a  { color: var(--accent); text-decoration: underline; }

/* ── ROI RECHNER ───────────────────────────── */
.roi-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 64px; align-items: start; }

.roi-inputs { display: flex; flex-direction: column; gap: 32px; }

.roi-field {}
.roi-label { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.roi-label span { font-size: 14px; color: var(--gray); font-weight: 500; }
.roi-label strong { font-size: 16px; color: var(--text); font-weight: 600; }
.roi-label-static { font-size: 14px; color: var(--gray); font-weight: 500; display: block; margin-bottom: 10px; }

.roi-slider {
  -webkit-appearance: none;
  width: 100%; height: 4px;
  background: #94a3b8;
  border-radius: 2px; outline: none; cursor: pointer;
}
.roi-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px; height: 18px;
  background: var(--text);
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.15s ease;
}
.roi-slider::-webkit-slider-thumb:hover { transform: scale(1.2); }
.roi-range-labels { display: flex; justify-content: space-between; margin-top: 6px; }
.roi-range-labels span { font-size: 11px; color: #94a3b8; }

.roi-select-wrap { position: relative; }
.roi-select {
  width: 100%; padding: 11px 16px;
  border: 1px solid var(--border); border-radius: var(--radius);
  font-size: 14px; color: var(--text); background: var(--white);
  appearance: none; cursor: pointer; outline: none;
  transition: border-color var(--transition);
}
.roi-select:focus { border-color: var(--accent); }

.roi-results { display: flex; flex-direction: column; gap: 12px; }

.roi-result-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px; padding: 20px 24px;
}
.roi-result-card.roi-result-main {
  background: var(--text);
  border-color: var(--text);
  padding: 28px 28px;
}
.roi-result-label { display: block; font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; color: var(--gray); margin-bottom: 8px; }
.roi-result-main .roi-result-label { color: rgba(255,255,255,0.5); }
.roi-result-value { display: block; font-size: 36px; font-weight: 700; color: var(--text); letter-spacing: -0.03em; line-height: 1; }
.roi-result-main .roi-result-value { font-size: 48px; color: var(--white); }
.roi-result-sub { display: block; font-size: 12px; color: rgba(255,255,255,0.45); margin-top: 6px; }
.roi-result-card:not(.roi-result-main) .roi-result-value { font-size: 28px; }
.roi-cta { width: 100%; justify-content: center; margin-top: 4px; padding: 14px; }

/* ── PROJEKT TIMELINE ──────────────────────── */
.timeline {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 64px;
  overflow-x: auto;
  padding-bottom: 8px;
}
.timeline-item { display: flex; flex-direction: column; align-items: center; text-align: center; flex: 1; min-width: 140px; }
.timeline-icon {
  width: 48px; height: 48px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  position: relative; z-index: 1;
  flex-shrink: 0;
  margin-bottom: 16px;
}
.timeline-connector {
  flex: 1;
  height: 1px;
  background: var(--border);
  margin-top: 24px;
  min-width: 24px;
}
.timeline-content { padding: 0 8px; }
.timeline-step { font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent); display: block; margin-bottom: 6px; }
.timeline-content h4 { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.timeline-content p { font-size: 13px; color: var(--gray); line-height: 1.6; }

@media (max-width: 768px) {
  .roi-wrapper { grid-template-columns: 1fr; }
  .timeline:not(.timeline-animated) { flex-direction: column; align-items: flex-start; gap: 0; }
  .timeline:not(.timeline-animated) .timeline-item { flex-direction: row; text-align: left; gap: 16px; width: 100%; }
  .timeline:not(.timeline-animated) .timeline-icon { margin-bottom: 0; flex-shrink: 0; }
  .timeline:not(.timeline-animated) .timeline-connector { width: 1px; height: 32px; min-width: unset; margin-top: 0; margin-left: 23px; }
  .timeline:not(.timeline-animated) .timeline-content { padding: 0; padding-bottom: 8px; }
  .timeline.timeline-animated { padding-bottom: 140px; }
  .timeline.timeline-animated .timeline-icon { width: 36px; height: 36px; }
  .timeline.timeline-animated .timeline-icon svg { width: 16px; height: 16px; }
  .timeline.timeline-animated .timeline-connector { margin-top: 18px; }
  .timeline.timeline-animated .timeline-item .timeline-content { width: 160px; }
}

/* ── TIMELINE 3D CAROUSEL ─────────────────────── */
.timeline.timeline-animated {
  position: relative;
  display: block;
  min-height: 300px;
  padding-bottom: 130px;
  margin-top: 48px;
  overflow: hidden;
}
.timeline-track {
  position: absolute;
  inset: 0;
}
.timeline.timeline-animated .timeline-connector { display: none; }
.timeline.timeline-animated .timeline-item {
  position: absolute;
  top: 56px;
  left: 50%;
  width: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.65s cubic-bezier(0.4,0,0.2,1), opacity 0.5s ease;
  will-change: transform, opacity;
}
.timeline.timeline-animated .timeline-item .timeline-icon {
  transition: opacity 0.45s ease, background 0.45s ease, border-color 0.45s ease, box-shadow 0.45s ease, transform 0.45s ease;
}
.timeline.timeline-animated .timeline-item .timeline-content {
  position: absolute;
  top: calc(100% + 20px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  width: 260px;
  opacity: 0;
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
  padding: 0;
  text-align: center;
}
.timeline.timeline-animated .timeline-item.tl-show .timeline-icon {
  opacity: 1;
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  box-shadow: 0 0 0 8px rgba(37,99,235,0.15);
  transform: scale(1.3);
}
.timeline.timeline-animated .timeline-item.tl-show .timeline-content {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* ── SCROLL TO TOP ─────────────────────────── */
#scrollTop { position: fixed; bottom: 28px; right: 28px; width: 40px; height: 40px; background: var(--white); color: var(--text); border: 1px solid var(--border); border-radius: 8px; cursor: pointer; display: none; align-items: center; justify-content: center; box-shadow: var(--shadow); transition: var(--transition); z-index: 900; }
#scrollTop:hover { background: var(--light); }
#scrollTop.show { display: flex; }

/* ── NAV BUTTON: sichtbar auf dunklem Hero ─── */
#header:not(.scrolled) .btn-primary {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.28);
  color: var(--white);
}
#header:not(.scrolled) .btn-primary:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.4);
}

/* ── INLINE-GRID CLASSES (ueber-uns) ──────── */
.about-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 56px; }
.cert-grid > div { background: var(--white); border: 2px solid var(--border); border-radius: 12px; padding: 32px; text-align: center; }

/* ── RESPONSIVE ────────────────────────────── */

/* ≤ 1300px – Telefonnummer ausblenden */
@media (max-width: 1300px) {
  .nav-phone { display: none; }
}

/* ≤ 1200px – großes Tablet / kleiner Desktop */
@media (max-width: 1200px) {
  .nav-links { gap: 20px; }
  .nav-calc  { display: none; }
  .footer-top { grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 32px; }
}

/* ≤ 1100px – Tablet Landscape / Mobile Nav */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-cta   { display: none; }
  .hamburger { display: flex; }
  #header    { left: 16px; right: 16px; transform: none; }
  .nav-inner { justify-content: space-between; }
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { gap: 56px; }
  .leistung-detail { gap: 48px; }
  .roi-wrapper { gap: 32px; }
  .cert-grid { grid-template-columns: 1fr 1fr; }
}

/* ≤ 1024px – Tablet */
@media (max-width: 1024px) {
  .container        { padding: 0 24px; }
  .section          { padding: 88px 0; }
  .section-sm       { padding: 56px 0; }
  .page-hero        { padding: 140px 0 80px; min-height: 480px; }
  .hero-visual      { display: none; }
  .about-grid       { grid-template-columns: 1fr; }
  .about-image-wrap { display: none; }
  .footer-top       { grid-template-columns: 1fr 1fr; gap: 32px; }
  .leistungen-grid  { grid-template-columns: 1fr 1fr; }
  .katalog-grid     { grid-template-columns: 1fr 1fr; }
  .values-grid      { grid-template-columns: 1fr 1fr; }
  .galerie-grid     { grid-template-columns: repeat(2, 1fr); }
  .kontakt-grid     { grid-template-columns: 1fr; gap: 40px; }
  .staerken-items   { grid-template-columns: 1fr; }
}

/* ≤ 900px – Tablet schmal */
@media (max-width: 900px) {
  .team-grid { grid-template-columns: 1fr 1fr; }
  .leistung-detail { grid-template-columns: 1fr; gap: 32px; padding: 56px 0; }
  .leistung-detail.reverse { direction: ltr; }
  .leistung-detail-img { height: 280px; }
}

/* ≤ 768px – Mobil */
@media (max-width: 768px) {
  .section    { padding: 64px 0; }
  .section-sm { padding: 48px 0; }
  .container  { padding: 0 20px; }

  /* Hero */
  .hero       { padding-top: 68px; min-height: 100vh; min-height: 100svh; }
  .hero-inner { padding: 48px 0; }
  .hero-title { font-size: clamp(32px, 8vw, 56px); }
  .hero-desc  { font-size: 16px; max-width: 100%; }
  .hero-stats { gap: 24px; flex-wrap: wrap; padding-top: 32px; margin-top: 40px; }
  .hero-stat strong { font-size: 28px; }
  .hero-actions { gap: 10px; }

  /* Grids */
  .leistungen-grid   { grid-template-columns: 1fr; }
  .katalog-grid      { grid-template-columns: 1fr 1fr; }
  .team-grid         { grid-template-columns: 1fr; }
  .values-grid       { grid-template-columns: 1fr 1fr; }
  .benefits-grid     { grid-template-columns: 1fr; }
  .galerie-grid      { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; }
  .galerie-item.wide { grid-column: span 1; }
  .about-stats-grid  { gap: 16px; }
  .cert-grid         { grid-template-columns: 1fr 1fr; gap: 16px; }
  .cert-grid > div   { padding: 24px 16px; }

  /* Stats strip */
  .stats-strip-inner { grid-template-columns: 1fr 1fr; }
  .stats-strip-item  { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); padding: 24px 16px; }
  .stats-strip-item:nth-child(3),
  .stats-strip-item:nth-child(4) { border-bottom: none; }

  /* Footer */
  .footer-top    { grid-template-columns: 1fr; gap: 28px; padding: 48px 0 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer-bottom-links { justify-content: center; }

  /* Page Hero */
  .page-hero    { padding: 120px 0 60px; min-height: 440px; }
  .page-hero h1 { font-size: clamp(30px, 7vw, 50px); }
  .page-hero p  { font-size: 16px; max-width: 100%; }
  .page-hero::before { width: 380px; height: 380px; }
  .page-hero::after  { width: 320px; height: 320px; }

  /* Trust bar */
  .trust-bar-inner { gap: 12px 20px; justify-content: flex-start; flex-wrap: wrap; }
  .trust-item      { font-size: 12px; }

  /* ROI Rechner */
  .roi-wrapper { grid-template-columns: 1fr; }
  .roi-result-main .roi-result-value { font-size: 40px; }

  /* Timeline */
  .timeline:not(.timeline-animated) { flex-direction: column; align-items: flex-start; }
  .timeline:not(.timeline-animated) .timeline-item { flex-direction: row; text-align: left; gap: 16px; width: 100%; }
  .timeline:not(.timeline-animated) .timeline-icon { margin-bottom: 0; flex-shrink: 0; }
  .timeline:not(.timeline-animated) .timeline-connector { width: 1px; height: 32px; min-width: unset; margin-top: 0; margin-left: 23px; }
  .timeline:not(.timeline-animated) .timeline-content { padding: 0; padding-bottom: 8px; }

  /* Kontakt */
  .form-row     { grid-template-columns: 1fr; }
  .kontakt-form { padding: 28px 20px; }

  /* Leistungen */
  .leistung-detail     { grid-template-columns: 1fr; gap: 28px; padding: 48px 0; }
  .leistung-detail.reverse { direction: ltr; }
  .leistung-detail-img { height: 200px; }
  .leistung-detail-content h2 { font-size: 26px; }

  /* CTA */
  .cta-section { padding: 80px 0; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .cta-buttons .btn { width: 100%; max-width: 320px; justify-content: center; }

  /* Sortiment filter */
  .katalog-filter { gap: 6px; }
  .filter-btn { padding: 7px 14px; font-size: 12px; }
}

/* ≤ 480px – kleines Mobil */
@media (max-width: 480px) {
  .section    { padding: 48px 0; }
  .section-sm { padding: 36px 0; }
  .container  { padding: 0 16px; }

  .values-grid  { grid-template-columns: 1fr; }
  .katalog-grid { grid-template-columns: 1fr; }
  .galerie-grid { grid-template-columns: 1fr; grid-auto-rows: 160px; }
  .team-grid    { grid-template-columns: 1fr; }
  .cert-grid    { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cert-grid > div { padding: 20px 12px; }
  .about-stats-grid { gap: 12px; }
  .about-stats-grid > div { padding: 16px !important; }
  .about-stats-grid strong { font-size: 34px !important; }

  .hero-title   { font-size: clamp(28px, 8.5vw, 44px); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-badge   { font-size: 11px; padding: 5px 12px; }
  .hero-stats   { flex-direction: row; justify-content: space-between; gap: 8px; border-top: none; padding-top: 0; margin-top: 32px; }
  .hero-stat strong { font-size: 24px; }
  .hero-stat span   { font-size: 11px; }
  .hero-inner   { padding: 36px 0; }

  .trust-bar-inner { flex-direction: column; gap: 10px; align-items: flex-start; }
  .trust-item   { width: 100%; }

  .page-hero    { padding: 100px 0 48px; min-height: 380px; }
  .page-hero h1 { font-size: clamp(28px, 8vw, 42px); }
  .page-hero p  { font-size: 15px; }
  .breadcrumb   { padding: 7px 13px; font-size: 12px; margin-bottom: 22px; }

  .benefits-grid { gap: 1px; }
  .benefit-card  { padding: 28px 20px; }

  .kontakt-form  { padding: 20px 14px; }
  .footer-top    { gap: 24px; }
  .cta-section   { padding: 64px 0; }
  .cta-section h2 { font-size: clamp(26px, 7.5vw, 44px); }
  .section-title { font-size: clamp(24px, 7.5vw, 36px); }

  .stats-strip-inner { grid-template-columns: 1fr; }
  .stats-strip-item  { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); padding: 20px 16px; }
  .stats-strip-item:nth-child(3),
  .stats-strip-item:nth-child(4) { border-bottom: 1px solid rgba(255,255,255,0.07); }
  .stats-strip-item:last-child   { border-bottom: none; }

  .leistung-detail-img { height: 180px; }
  .leistung-detail-content h2 { font-size: 22px; }
  .feature-list li { font-size: 13px; }
}

/* ≤ 380px – sehr kleines Mobil */
@media (max-width: 380px) {
  .container  { padding: 0 12px; }
  .nav-logo img { height: 38px; }
  .nav-logo-text strong { font-size: 14px; }
  .hero-title { font-size: clamp(26px, 9vw, 38px); }
  .hero-inner { padding: 28px 0; }
  .section-title { font-size: clamp(22px, 7vw, 32px); }
  .btn { padding: 10px 18px; font-size: 13px; }
  .page-hero h1 { font-size: clamp(22px, 8vw, 34px); }
  .cert-grid    { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cert-grid > div { padding: 16px 10px; }
  .about-stats-grid { grid-template-columns: 1fr 1fr; }
}
