/* CSS Reset */
:root {
  --bg-dark: #070914;
  /* Deep, sophisticated very dark blue/black */
  --text-main: #f8fafc;
  /* Crisp white-gray */
  --text-muted: #94a3b8;
  /* Professional muted gray */

  /* Neon Glow & Accents */
  --accent-primary: #6366f1;
  /* Vibrant indigo */
  --accent-secondary: #a855f7;
  /* Brilliant purple */
  --accent-tertiary: #ec4899;
  /* Hot pink */

  /* Gradients */
  --gradient-primary: linear-gradient(135deg,
      var(--accent-primary),
      var(--accent-secondary));
  --gradient-text: linear-gradient(to right,
      var(--accent-primary),
      var(--accent-secondary),
      var(--accent-tertiary));

  /* Surfaces */
  --surface-light: rgba(255, 255, 255, 0.05);
  --surface-border: rgba(255, 255, 255, 0.1);

  /* Animation Speeds */
  --transition-fast: 0.2s ease;
  --transition-med: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

img,
video,
svg {
  max-width: 100%;
  height: auto;
}

/* Bootstrap-ähnliche Hilfsklassen (nur für responsiven Zeilenumbruch) */
.d-none {
  display: none;
}

@media (min-width: 768px) {
  .d-md-inline {
    display: inline;
  }
}

body {
  font-family: "Outfit", sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Typography Utility */
h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  text-align: center;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
}

.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

/* Base Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 9999px;
  cursor: pointer;
  transition: var(--transition-med);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.btn-secondary {
  background: var(--surface-light);
  color: var(--text-main);
  border: 1px solid var(--surface-border);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid transparent;
}

.btn-outline:hover {
  color: var(--accent-primary);
}

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

/* Glassmorphism Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: var(--transition-med);
}

.navbar.scrolled {
  padding: 1rem 0;
  background: rgba(7, 9, 20, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--surface-border);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  text-decoration: none;
  letter-spacing: -0.03em;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--gradient-primary);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.logo-icon::after {
  content: "";
  position: absolute;
  inset: 2px;
  background: var(--bg-dark);
  border-radius: 6px;
}

.logo-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: var(--accent-tertiary);
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 0 10px var(--accent-tertiary);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-links a {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  opacity: 0.8;
  transition:
    opacity 0.2s,
    color 0.2s;
}

.nav-links a:hover {
  opacity: 1;
  color: var(--accent-primary);
}

.nav-actions {
  display: flex;
  gap: 1rem;
}

/* Burger-Toggle (nur auf Mobile sichtbar) */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--surface-border);
  border-radius: 10px;
  position: relative;
  cursor: pointer;
  padding: 0;
}

.nav-toggle:hover {
  border-color: var(--accent-primary);
}

.nav-toggle-bar {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.nav-toggle-bar:nth-child(1) {
  transform: translate(-50%, calc(-50% - 6px));
}

.nav-toggle-bar:nth-child(3) {
  transform: translate(-50%, calc(-50% + 6px));
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* Mobile-Overlay-Menü (Vollbild, animiert) */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(7, 9, 20, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 100px 1.5rem 2.5rem;
  flex-direction: column;
  gap: 2.5rem;
  overflow-y: auto;
  z-index: 999;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity var(--transition-med), transform var(--transition-med);
}

.mobile-menu.is-open {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
}

.mobile-menu-links a {
  display: block;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  background: var(--surface-light);
  border: 1px solid var(--surface-border);
  color: var(--text-main);
  font-size: 1.1rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition-fast);
}

.mobile-menu-links a:hover,
.mobile-menu-links a:active {
  border-color: var(--accent-primary);
  background: rgba(99, 102, 241, 0.1);
}

.mobile-menu-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: auto;
}

/* Pfeil-Zurück auf Legal-Pages, sichtbar nur mobil */
.nav-mobile-back {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--surface-border);
  border-radius: 10px;
  text-decoration: none;
  color: var(--text-main);
  font-size: 1.4rem;
}

body.menu-open {
  overflow: hidden;
}

/* Background Ambient Glows */
.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
  opacity: 0.5;
}

.glow-1 {
  top: -10%;
  left: -5%;
  width: 600px;
  height: 600px;
  background: rgba(99, 102, 241, 0.4);
  animation: float 20s ease-in-out infinite alternate;
}

.glow-2 {
  top: 20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(236, 72, 153, 0.3);
  animation: float 25s ease-in-out infinite alternate-reverse;
}

@keyframes float {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(50px, 100px) scale(1.2);
  }
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding-top: 100px;
  padding-bottom: 44px;
  overflow: hidden;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 10;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: var(--accent-primary);
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 2rem;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-badge.badge-lg {
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
  border-width: 2px;
}

.hero-title {
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 3rem;
  max-width: 650px;
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

/*
 * hero-mockup wurde 2026-05 entfernt — Klassen bleiben stehen, falls wir sie
 * für Option C (Live-Stats-Tile) später reaktivieren.
 *
 * Mockup UI Element (auskommentiert):
.hero-mockup {
  width: 80%;
  max-width: 900px;
  height: 500px;
  margin: 0 auto;
  background: rgba(20, 22, 38, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  position: relative;
  transform: perspective(1000px) rotateX(5deg);
  transform-style: preserve-3d;
  transition: transform var(--transition-med);
}

.hero-mockup:hover {
  transform: perspective(1000px) rotateX(0deg);
}

.hero-mockup::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent);
  z-index: -1;
}

.mockup-header {
  height: 50px;
  border-bottom: 1px solid var(--surface-border);
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
  gap: 1.5rem;
}

.dots {
  display: flex;
  gap: 8px;
}

.dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
  background: var(--surface-border);
}

.dots span:nth-child(1) {
  background: #ef4444;
}

.dots span:nth-child(2) {
  background: #f59e0b;
}

.dots span:nth-child(3) {
  background: #10b981;
}

.mockup-search {
  height: 24px;
  width: 200px;
  background: var(--surface-light);
  border-radius: 4px;
}

.mockup-body {
  display: flex;
  flex: 1;
}

.mockup-sidebar {
  width: 200px;
  border-right: 1px solid var(--surface-border);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ms-item {
  height: 30px;
  background: var(--surface-light);
  border-radius: 6px;
  opacity: 0.5;
}

.ms-item.active {
  background: rgba(99, 102, 241, 0.2);
  border-left: 3px solid var(--accent-primary);
  opacity: 1;
}

.mockup-content {
  flex: 1;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

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

.mc-card {
  height: 100px;
  background: var(--surface-light);
  border-radius: 12px;
  border: 1px solid var(--surface-border);
  position: relative;
  overflow: hidden;
}

.mc-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 40px;
  width: 100%;
  background: linear-gradient(0deg, var(--accent-primary) 0%, transparent 100%);
  opacity: 0.2;
}

.mc-chart {
  flex: 1;
  background: var(--surface-light);
  border-radius: 12px;
  border: 1px solid var(--surface-border);
}
*/

/* Solutions / Portfolio */
.portfolio {
  padding: 8rem 0;
  position: relative;
  z-index: 2;
}

/* Pakete & Preise */
.pricing {
  padding: 8rem 0;
  position: relative;
  z-index: 2;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(99, 102, 241, 0.05) 42%,
    transparent 100%
  );
  border-top: 1px solid var(--surface-border);
  border-bottom: 1px solid var(--surface-border);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.pricing-card {
  background: var(--surface-light);
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  padding: 2rem 1.75rem 2.25rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition-med);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.pricing-card--featured {
  border-color: rgba(99, 102, 241, 0.55);
  box-shadow:
    0 0 0 1px rgba(99, 102, 241, 0.22),
    0 20px 48px rgba(99, 102, 241, 0.12);
  background: linear-gradient(
    165deg,
    rgba(99, 102, 241, 0.14) 0%,
    rgba(255, 255, 255, 0.05) 48%
  );
}

@media (min-width: 1025px) {
  .pricing-card--featured {
    transform: scale(1.02);
  }

  .pricing-card--featured:hover {
    transform: scale(1.02) translateY(-4px);
  }
}

.pricing-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  background: var(--gradient-primary);
  color: white;
  margin-bottom: 0.85rem;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

.pricing-tier-name {
  font-size: 1.35rem;
  margin-bottom: 1.15rem;
  color: var(--text-main);
}

.pricing-amounts {
  border-bottom: 1px solid var(--surface-border);
  padding-bottom: 1.2rem;
  margin-bottom: 0.85rem;
}

.pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.6rem;
}

.pricing-row:last-child {
  margin-bottom: 0;
}

.pricing-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-value {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  text-align: right;
}

.pricing-row--emphasis .pricing-value {
  font-size: 1.55rem;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pricing-once {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  -webkit-text-fill-color: var(--text-muted);
  margin-left: 0.15rem;
}

.pricing-meta {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.15rem;
}

.pricing-features {
  list-style: none;
  flex: 1;
  margin-bottom: 1.5rem;
}

.pricing-features li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.pricing-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-primary);
  opacity: 0.9;
}

.pricing-features li em {
  font-style: italic;
  color: var(--text-main);
  opacity: 0.92;
}

.pricing-card .btn {
  margin-top: auto;
}

.pricing-alt {
  margin-top: 3rem;
  padding: 1.75rem 2rem;
  background: var(--surface-light);
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-alt-title {
  font-size: 1.2rem;
  color: var(--text-main);
  margin-bottom: 0.65rem;
  text-align: center;
}

.pricing-alt-text {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: none;
  margin: 0 auto;
  text-align: center;
  line-height: 1.65;
}

@media (max-width: 1024px) {
  .pricing {
    padding: 5rem 0;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
  }

  .pricing-card--featured {
    transform: none;
  }

  .pricing-card--featured:hover {
    transform: translateY(-4px);
  }

  .pricing-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
  }

  .pricing-value {
    text-align: right;
  }
}

@media (max-width: 480px) {
  .pricing-card {
    padding: 1.65rem 1.35rem 2rem;
  }

  .pricing-row--emphasis .pricing-value {
    font-size: 1.35rem;
  }
}

/* Mission Section */
.mission {
  padding: 6rem 0;
  background: linear-gradient(rgba(7, 9, 20, 1), rgba(99, 102, 241, 0.05));
  border-bottom: 1px solid var(--surface-border);
}

.lead-text {
  font-size: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
  color: var(--text-main);
  line-height: 1.8;
}

.text-center {
  text-align: center;
}

/* Showcases Section */
.showcases {
  padding: 6rem 0;
}

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

.showcase-card {
  background: var(--surface-light);
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition-med);
  position: relative;
  display: flex;
  flex-direction: column;
}

.showcase-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(99, 102, 241, 0.4);
}

.sc-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}

.sc-content .sc-title {
  font-size: 1.35rem;
  line-height: 1.3;
  margin: 0;
  color: var(--text-main);
}

.showcase-case-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: -0.5rem 0 0.25rem 0;
  max-width: none;
  line-height: 1.45;
}

.sc-state {
  border-radius: 12px;
  padding: 0.95rem 1.1rem;
  border: 1px solid var(--surface-border);
}

.sc-state--before {
  background: rgba(255, 255, 255, 0.025);
  border-color: rgba(255, 255, 255, 0.08);
}

.sc-state--after {
  background: rgba(99, 102, 241, 0.08);
  border-color: rgba(99, 102, 241, 0.35);
}

.sc-state-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 0.45rem 0;
  color: var(--text-muted);
}

.sc-state--after .sc-state-label {
  color: var(--accent-primary);
}

.sc-state-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-main);
  margin: 0;
}

.sc-state--before .sc-state-text {
  color: var(--text-muted);
}

.benefits {
  list-style: none;
  margin: 0.5rem 0 0 0;
  padding: 0;
}

.benefits li {
  color: var(--accent-primary);
  font-weight: 500;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Team Section */
.team {
  padding: 6rem 0;
  background: rgba(255, 255, 255, 0.01);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.team-card {
  background: var(--surface-light);
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  padding: 2.25rem 2rem 2.5rem;
  transition: var(--transition-med);
  display: flex;
  flex-direction: column;
}

.team-card:hover {
  border-color: var(--accent-secondary);
}

.tc-photo {
  width: 170px;
  height: 170px;
  border-radius: 16px;
  margin: 0 auto 1.25rem;
  overflow: hidden;
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--surface-border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tc-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tc-photo--placeholder {
  background: linear-gradient(
    160deg,
    rgba(99, 102, 241, 0.18) 0%,
    rgba(168, 85, 247, 0.12) 60%,
    rgba(236, 72, 153, 0.1) 100%
  );
}

.tc-photo--placeholder::after {
  content: attr(data-initials);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tc-meta {
  text-align: center;
  margin-bottom: 1.25rem;
}

.tc-name {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
  color: var(--text-main);
}

.tc-role {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0 auto;
  letter-spacing: 0.01em;
}

.tc-bio {
  text-align: left;
}

.tc-bio p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 0.85rem;
  max-width: none;
}

.tc-bio p:last-child {
  margin-bottom: 0;
}

@media (max-width: 1024px) and (min-width: 769px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-card:nth-child(3) {
    grid-column: 1 / -1;
    max-width: 540px;
    justify-self: center;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-header p {
  font-size: 1.25rem;
}

.grid {
  display: grid;
  gap: 2rem;
}

.portfolio-grid {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1023px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  background: var(--surface-light);
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  padding: 2.5rem;
  transition: var(--transition-med);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 0%,
      rgba(99, 102, 241, 0.15),
      transparent 70%);
  opacity: 0;
  transition: opacity var(--transition-med);
  z-index: -1;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.feature-card:hover::before {
  opacity: 1;
}

.fc-icon {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 2rem;
  border: 1px solid var(--surface-border);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fc-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-med);
}

.feature-card:hover .fc-icon img {
  transform: scale(1.05);
}

/* Stats section */
.stats {
  padding: 5rem 0;
  border-top: 1px solid var(--surface-border);
  border-bottom: 1px solid var(--surface-border);
  background: linear-gradient(90deg,
      transparent,
      rgba(99, 102, 241, 0.05),
      transparent);
}

.stats-wrapper {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 3rem;
}

.stat-item {
  text-align: center;
}

.stat-value {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.35rem;
  flex-wrap: nowrap;
}

.stat-item .counter,
.stat-item .stat-prefix {
  font-size: 4rem;
  font-weight: 800;
  display: inline-block;
  color: var(--text-main);
  margin: 0;
  line-height: 1;
}

.stat-item .stat-prefix {
  margin-right: -0.1rem;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-item .symbol {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-primary);
  vertical-align: baseline;
}

.stat-item .symbol--rate {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.stat-caption {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  margin-top: 0.5rem;
  letter-spacing: 0.01em;
}

.stat-item p {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
  margin: 0.4rem auto 0;
  max-width: 22rem;
  line-height: 1.5;
}

.stat-item .stat-caption {
  margin-top: 0.5rem;
}

.stats-note {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  text-align: center;
  max-width: 36rem;
  margin: 2.5rem auto 0;
}

/* FAQ */
.faq-section {
  padding: 5.5rem 0;
  border-top: 1px solid var(--surface-border);
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(99, 102, 241, 0.03) 50%,
    transparent 100%
  );
}

.faq-accordion {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--surface-border);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.4);
  margin-bottom: 0.65rem;
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.is-open {
  border-color: rgba(99, 102, 241, 0.35);
}

.faq-item-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 56px;
  padding: 1.1rem 1.25rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  color: var(--text-main);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.faq-trigger:hover {
  background: rgba(255, 255, 255, 0.04);
}

.faq-trigger:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: -2px;
}

.faq-trigger-text {
  flex: 1;
  line-height: 1.45;
}

.faq-trigger-icon {
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  min-width: 1.25rem;
  min-height: 1.25rem;
  position: relative;
  opacity: 0.75;
}

.faq-trigger-icon::before,
.faq-trigger-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: currentColor;
  border-radius: 1px;
  transform: translate(-50%, -50%);
  transition: transform var(--transition-med);
}

.faq-trigger-icon::before {
  width: 100%;
  height: 2px;
}

.faq-trigger-icon::after {
  width: 2px;
  height: 100%;
}

.faq-item.is-open .faq-trigger-icon::after {
  transform: translate(-50%, -50%) scaleY(0);
}

.faq-panel-inner {
  padding: 0 1.25rem 1.15rem;
}

.faq-panel-inner p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: none;
}

@media (max-width: 480px) {
  .faq-trigger {
    padding: 1rem 1rem;
    font-size: 0.95rem;
  }

  .faq-panel-inner {
    padding: 0 1rem 1rem;
  }
}

/* Contact Form Section */
.contact-section {
  padding: 6rem 0;
  background: var(--surface-light);
  border-top: 1px solid var(--surface-border);
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(7, 9, 20, 0.8);
  padding: 3rem;
  border-radius: 16px;
  border: 1px solid var(--surface-border);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-main);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--surface-border);
  border-radius: 8px;
  color: var(--text-main);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition-fast);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  background: rgba(255, 255, 255, 0.1);
}

.w-100 {
  width: 100%;
}

/* Honeypot: vollständig versteckt, aber für Bots erreichbar */
.form-honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-consent {
  margin-top: 0.5rem;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.consent-label input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.2rem;
  border: 1px solid var(--surface-border);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.consent-label input[type="checkbox"]:checked {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3E%3Cpath d='M13.485 4.515a1 1 0 0 1 0 1.414L7.207 12.207a1 1 0 0 1-1.414 0L2.515 8.929a1 1 0 1 1 1.414-1.414L6.5 10.086l5.571-5.571a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E");
  background-size: 80%;
  background-position: center;
  background-repeat: no-repeat;
}

.consent-label input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

.consent-label a {
  color: var(--accent-primary);
  text-decoration: underline;
}

.form-feedback {
  min-height: 1.25rem;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.5;
}

.form-feedback.is-error {
  color: #f87171;
}

.form-feedback.is-success {
  color: #34d399;
}

.form-feedback.is-info {
  color: var(--text-muted);
}

.form-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0.5rem 0;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.form-divider::before,
.form-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--surface-border);
}

button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Legal pages (Impressum / Datenschutz) */
.legal-page {
  padding: 130px 0 6rem;
  min-height: 100vh;
}

.legal-page .container {
  max-width: 820px;
}

.legal-page h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  text-align: left;
  margin-bottom: 0.75rem;
}

.legal-page h2 {
  font-size: 1.35rem;
  text-align: left;
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.legal-page p,
.legal-page li {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  max-width: none;
}

.legal-page p strong {
  color: var(--text-main);
}

.legal-page a {
  color: var(--accent-primary);
  text-decoration: underline;
}

.legal-page a:hover {
  filter: brightness(1.2);
}

.legal-lead {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

.legal-list {
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
}

.legal-list li {
  margin-bottom: 0.75rem;
}

.legal-footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--surface-border);
  font-size: 0.95rem;
}

/* Footer */
footer {
  padding: 6rem 0 2rem;
  background: var(--bg-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.95rem;
}

.footer-links h4 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--text-main);
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--text-main);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--surface-border);
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Trust Bar — schmale Vertrauenssignale direkt unter dem Hero */
.trust-bar {
  background: rgba(15, 23, 42, 0.6);
  border-top: 1px solid var(--surface-border);
  border-bottom: 1px solid var(--surface-border);
  padding: 1rem 0;
}

.trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem 2.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.trust-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  color: var(--accent-primary);
  line-height: 1;
}

.trust-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  stroke: currentColor;
}

/* "Warum KIkeriKI" — Story-Block: Lead → drei Säulen */
.why-section {
  padding: 6rem 0;
  background: linear-gradient(
    180deg,
    rgba(99, 102, 241, 0.04) 0%,
    transparent 100%
  );
}

.why-section .section-header {
  margin-bottom: 2rem;
}

.why-lead {
  max-width: 720px;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.why-lead p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0 auto 1rem;
  max-width: 720px;
}

.why-lead p:last-child {
  margin-bottom: 0;
  color: var(--text-main);
  font-weight: 500;
}

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

.why-card {
  position: relative;
  padding: 2rem;
  border: 1px solid var(--surface-border);
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(8px);
  transition:
    border-color 0.3s ease,
    transform 0.3s ease;
}

.why-card:hover {
  border-color: rgba(99, 102, 241, 0.4);
  transform: translateY(-4px);
}

.why-num {
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, #6366f1, #a855f7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
  line-height: 1;
}

.why-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  color: var(--text-primary, #fff);
}

.why-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
}

.showcase-global-note {
  margin-top: 1.75rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  opacity: 0.8;
  text-align: center;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3.5rem;
  }
}

@media (max-width: 768px) {

  .container,
  .nav-container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-mobile-back {
    display: inline-flex;
  }

  .hero .bg-glow {
    display: none;
  }

  /*
   * hero-mockup — siehe auskommentierten Desktop-Block „hero-mockup wurde 2026-05 entfernt“.
   *
   * .hero-mockup {
   *   display: none;
   * }
   */

  .hero-title {
    font-size: clamp(28px, 7vw, 40px);
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 1.0625rem;
    line-height: 1.5;
  }

  .hero-badge.badge-lg {
    font-size: 0.8125rem;
    padding: 0.5rem 1rem;
    letter-spacing: 0.03em;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
    max-width: none;
    gap: 0.75rem;
    align-items: stretch;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .btn-large {
    min-height: 48px;
  }

  .trust-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9375rem;
  }

  .trust-list li {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }

  .trust-icon {
    width: 1.35rem;
    height: 1.35rem;
  }

  .why-section {
    padding: 4rem 0;
  }

  .why-lead {
    margin-bottom: 2.5rem;
  }

  .why-lead p {
    font-size: 1.0625rem;
    line-height: 1.65;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .why-card {
    padding: 1.5rem;
  }

  .lead-text {
    font-size: 1.125rem;
    line-height: 1.6;
  }

  .feature-card {
    padding: 1.5rem;
  }

  .feature-card .fc-icon {
    aspect-ratio: unset;
    max-height: 140px;
    height: auto;
    min-height: 0;
  }

  .feature-card .fc-icon img {
    max-height: 140px;
    width: auto;
    max-width: 100%;
    height: auto;
    object-fit: contain;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .team-card {
    padding: 1.75rem 1.5rem 2rem;
  }

  .tc-photo {
    width: 120px;
    height: 120px;
    margin-bottom: 1rem;
  }

  .tc-photo--placeholder::after {
    font-size: 1.85rem;
  }

  .tc-name {
    font-size: 1.15rem;
  }

  .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .stat-item .counter,
  .stat-item .stat-prefix {
    font-size: 3rem;
  }

  .stat-item .symbol {
    font-size: 1.75rem;
  }

  .stat-item .symbol--rate {
    font-size: 1.15rem;
  }

  .stat-item p {
    max-width: 28rem;
  }

  .form-container {
    padding: 1.5rem;
  }

  .consent-label--touch {
    min-height: 44px;
    align-items: center;
    padding-block: 0.35rem;
  }

  footer {
    padding: 3rem 0 2rem;
  }

  .solutions {
    padding: 4rem 0;
  }

  .stats-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .sc-content {
    padding: 1.5rem;
  }

  .sc-content .sc-title {
    font-size: 1.2rem;
  }
}

@media (max-width: 380px) {

  .container,
  .nav-container {
    padding-left: 0.875rem;
    padding-right: 0.875rem;
  }

  .hero-title {
    font-size: clamp(26px, 7vw, 40px);
  }

  .feature-card,
  .why-card,
  .team-card,
  .pricing-card,
  .form-container {
    padding: 1.25rem;
  }
}