/* =====================================================
   CARMUCA LANDING — 2026 rebuild
   ===================================================== */

:root {
  /* Light theme (friendly, SaaS-style) */
  --primary: hsl(203.9deg, 82%, 46%);
  --primary-dark: hsl(203.9deg, 82%, 38%);
  --primary-soft: hsla(203.9deg, 82%, 46%, 0.14);
  --secondary: hsl(199, 89%, 42%);
  --background: #f8fafc;
  --background-mid: #f1f5f9;
  --surface: #ffffff;
  --surface-solid: #ffffff;
  --surface-hover: #f1f5f9;
  --text: #0f172a;
  --text-muted: #475569;
  --text-dim: #64748b;
  --border: rgba(15, 23, 42, 0.08);
  --border-strong: rgba(15, 23, 42, 0.12);
  --success: #059669;
  --warning: #d97706;
  --error: #dc2626;

  --nav-bg: rgba(248, 250, 252, 0.82);
  --nav-bg-scrolled: rgba(255, 255, 255, 0.94);

  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.35rem;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px rgb(15 23 42 / 0.06);
  --shadow-md: 0 10px 28px rgb(15 23 42 / 0.09);
  --shadow-lg: 0 22px 48px rgb(15 23 42 / 0.1);
  --shadow-glow: 0 0 72px hsla(203.9deg, 82%, 46%, 0.18);

  --font-sans: "Inter", system-ui, sans-serif;
  --font-display: "Outfit", var(--font-sans);

  --transition-fast: 150ms ease;
  --transition-base: 220ms ease;
  --nav-h: 72px;
  --layout-max-width: 1400px;
}

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

html {
  scroll-behavior: smooth;
}

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

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

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

ul {
  list-style: none;
}

/* ----- ambient background ----- */

.bg-grid {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.14) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 85% 65% at 50% 0%, black 15%, transparent 72%);
  opacity: 0.65;
}

.bg-glow {
  pointer-events: none;
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.22;
  z-index: 0;
}

.bg-glow--1 {
  width: 520px;
  height: 520px;
  top: -120px;
  right: -80px;
  background: hsl(203.9deg, 82%, 58%);
}

.bg-glow--2 {
  width: 420px;
  height: 420px;
  bottom: 10%;
  left: -100px;
  background: #818cf8;
  opacity: 0.16;
}

/* ----- layout ----- */

.container {
  position: relative;
  z-index: 1;
  max-width: var(--layout-max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  position: relative;
  z-index: 1;
  padding: var(--space-4xl) 0;
}

.section--tight {
  padding-top: var(--space-3xl);
}

.section--alt {
  background: linear-gradient(
    180deg,
    transparent,
    rgba(241, 245, 249, 0.95)
  );
}

.section--strip {
  padding: var(--space-2xl) 0;
  border-block: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.72);
}

.section-head {
  max-width: 720px;
  margin-bottom: var(--space-3xl);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: var(--space-md);
}

.section-kicker--on-dark {
  color: #7dd3fc;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

.section-title--on-dark {
  color: #fff;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 560px;
}

.section-desc--on-dark {
  color: #cbd5e1;
}

/* ----- demo video (scroll-triggered autoplay) ----- */

.section--demo {
  padding-top: var(--space-3xl);
}

.demo-video-wrap {
  max-width: 920px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--surface-solid);
  box-shadow: var(--shadow-lg);
}

.demo-video {
  display: block;
  width: 100%;
  height: auto;
}

/* ----- navigation ----- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-base), background var(--transition-base);
}

.nav.scrolled {
  border-bottom-color: var(--border);
  background: var(--nav-bg-scrolled);
}

.nav-container {
  width: 100%;
  max-width: var(--layout-max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-wordmark {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  line-height: 1;
}

@media (min-width: 768px) {
  .logo-wordmark {
    font-size: 2rem;
  }
}

.logo-tm {
  font-size: 0.55em;
  font-weight: 500;
  color: var(--primary);
  vertical-align: 0.4em;
}

.logo-car {
  color: var(--text);
  font-weight: 700;
}

.logo-muca {
  color: var(--primary);
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
  background: transparent;
  border: none;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .nav {
    align-items: flex-start;
    padding-block: var(--space-sm);
  }

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

  .nav-container {
    position: relative;
    flex-wrap: wrap;
    align-items: center;
    row-gap: 0;
  }

  .nav-links.active,
  .nav-actions.active {
    display: flex;
    flex-direction: column;
    width: 100%;
    flex: 1 1 100%;
    order: 10;
    background: var(--surface-solid);
    padding: var(--space-md) var(--space-lg);
    gap: var(--space-sm);
    border-radius: var(--radius-lg);
    margin-top: var(--space-md);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }

  .nav-actions.active {
    margin-top: var(--space-sm);
    padding-bottom: var(--space-md);
  }

  .mobile-menu-btn {
    display: flex;
    margin-left: auto;
  }

  .mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

/* ----- buttons ----- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-base),
    background var(--transition-base), border-color var(--transition-base);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 16px hsla(203.9deg, 88.3%, 40%, 0.35);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-pricing-dark {
  background: #0f172a;
  color: #fff;
}

.btn-pricing-dark:hover {
  background: #020617;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-pricing-trial {
  background: #0ea5e9;
  color: #fff;
}

.btn-pricing-trial:hover {
  background: #0284c7;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

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

.btn-ghost:hover {
  background: var(--surface);
  border-color: var(--text-dim);
}

.btn-lg {
  padding: var(--space-md) var(--space-xl);
  font-size: 1rem;
}

.btn-sm {
  padding: var(--space-xs) var(--space-md);
  font-size: 0.8125rem;
}

.btn-block {
  width: 100%;
}

/* ----- hero ----- */

.hero--new {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding: calc(var(--nav-h) + var(--space-3xl)) 0 var(--space-4xl);
  display: flex;
  align-items: center;
  background: linear-gradient(
    165deg,
    #ffffff 0%,
    #f8fafc 38%,
    #eef2ff 100%
  );
}

.hero-container--new {
  max-width: var(--layout-max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.hero-content--new h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-lg);
}

.hero-gradient {
  display: block;
  background: linear-gradient(
    120deg,
    hsl(199, 89%, 42%) 0%,
    var(--primary) 48%,
    hsl(258, 58%, 52%) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 12px var(--success);
}

.hero-lead {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 34rem;
  margin-bottom: var(--space-xl);
  line-height: 1.65;
}

.hero-actions--new {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-lg);
  font-size: 0.875rem;
  color: var(--text-dim);
}

.hero-trust li {
  position: relative;
  padding-left: var(--space-md);
}

.hero-trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.8;
}

.hero-visual {
  perspective: 1200px;
}

.hero-panel {
  background: var(--surface-solid);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  transform: rotateY(-6deg) rotateX(4deg);
  transition: transform 0.6s ease;
}

.hero-panel:hover {
  transform: rotateY(-3deg) rotateX(2deg);
}

.hero-panel__top {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.hero-panel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-strong);
}

.hero-panel__dot:nth-child(1) {
  background: #f87171;
}
.hero-panel__dot:nth-child(2) {
  background: #fbbf24;
}
.hero-panel__dot:nth-child(3) {
  background: #34d399;
}

.hero-panel__title {
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-panel__body {
  display: grid;
  grid-template-columns: 1fr minmax(140px, 180px);
  gap: var(--space-lg);
  padding: var(--space-xl);
}

.hero-flow {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.hero-step {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: #f8fafc;
  opacity: 0.72;
}

.hero-step--done {
  opacity: 1;
  border-color: rgba(5, 150, 105, 0.28);
  background: rgba(5, 150, 105, 0.06);
}

.hero-step--active {
  opacity: 1;
  border-color: rgba(14, 116, 179, 0.35);
  box-shadow: 0 0 0 1px rgba(14, 116, 179, 0.12);
  background: rgba(14, 165, 233, 0.06);
}

.hero-step__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--surface-hover);
  font-size: 0.85rem;
}

.hero-step strong {
  display: block;
  font-size: 0.9375rem;
  margin-bottom: 2px;
}

.hero-step small {
  font-size: 0.8125rem;
  color: var(--text-dim);
}

.hero-panel__aside {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-md);
}

.mini-stat {
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  background: linear-gradient(
    145deg,
    hsla(203.9deg, 82%, 46%, 0.1),
    rgba(255, 255, 255, 0.6)
  );
  border: 1px solid var(--border);
}

.mini-stat__val {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
}

.mini-stat__lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.mini-disclaimer {
  font-size: 0.6875rem;
  color: var(--text-dim);
  line-height: 1.45;
}

@media (max-width: 968px) {
  .hero-container--new {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions--new {
    justify-content: center;
  }

  .hero-trust {
    justify-content: center;
  }

  .hero-trust li {
    text-align: left;
  }

  .hero-visual {
    display: none;
  }
}

/* ----- pain grid ----- */

.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.pain-card {
  padding: var(--space-xl);
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color var(--transition-base), transform var(--transition-base);
}

.pain-card:hover {
  border-color: rgba(248, 113, 113, 0.35);
  transform: translateY(-2px);
}

.pain-card h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: #b91c1c;
}

.pain-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

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

/* ----- split / story ----- */

.split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-3xl);
  align-items: start;
}

.split__text .prose {
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.checklist li {
  position: relative;
  padding-left: var(--space-xl);
  color: var(--text-muted);
  font-size: 0.975rem;
  line-height: 1.55;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

.checklist strong {
  color: var(--text);
}

.split__panel {
  position: sticky;
  top: calc(var(--nav-h) + var(--space-lg));
}

.pullquote {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text);
  padding: var(--space-xl);
  border-radius: var(--radius-xl);
  background: linear-gradient(
    160deg,
    rgba(14, 165, 233, 0.08),
    rgba(99, 102, 241, 0.06)
  );
  border: 1px solid var(--border-strong);
}

.pullquote-src {
  margin-top: var(--space-md);
  font-size: 0.875rem;
  color: var(--text-dim);
  padding-left: var(--space-xl);
}

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

  .split__panel {
    position: static;
  }
}

/* ----- bento ----- */

.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.bento__cell {
  padding: var(--space-xl);
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.bento__cell:hover {
  border-color: rgba(14, 116, 179, 0.28);
  box-shadow: var(--shadow-md);
}

.bento__cell--wide {
  grid-column: span 2;
}

.bento__cell--tall {
  grid-row: span 2;
}

.bento__tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: var(--space-md);
}

.bento__cell h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  letter-spacing: -0.02em;
}

.bento__cell p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.bento__list {
  margin-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.bento__list li {
  font-size: 0.875rem;
  color: var(--text-dim);
  padding-left: var(--space-md);
  position: relative;
}

.bento__list li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

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

  .bento__cell--wide,
  .bento__cell--tall {
    grid-column: auto;
    grid-row: auto;
  }
}

/* ----- strip ----- */

.strip-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: var(--space-md);
  text-align: center;
}

.logo-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
}

.logo-chip {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.85);
}

/* ----- scroll reveal ----- */

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal-on-scroll.visible {
  opacity: 1;
  transform: none;
}

/* ----- pricing (dynamic cards) ----- */

/* Uses .section + .section--alt from layout — same rhythm as story / alternating bands */

.pricing {
  overflow: visible;
}

.pricing .container {
  overflow: visible;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-xl);
  align-items: stretch;
  overflow: visible;
  /* Space so the Empfehlung pill can sit half above the card without clipping */
  padding-top: 1.25rem;
}

@media (min-width: 1200px) {
  .pricing .pricing-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.pricing-card-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
}

.pricing-card-wrap--popular {
  padding-top: 0;
  z-index: 2;
  /* Slightly taller than siblings; grows upward from row baseline */
  transform: scale(1.035);
  transform-origin: bottom center;
}

@media (max-width: 1199px) {
  .pricing-card-wrap--popular {
    transform: scale(1.02);
  }
}

.pricing-badge {
  position: absolute;
  /* Pin to card top edge: pill straddles the border (half above / half on card) */
  top: 0;
  left: 50%;
  z-index: 3;
  transform: translate(-50%, -50%);
  padding: 0.35rem 0.85rem;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0f172a;
  background: linear-gradient(135deg, #fcd34d 0%, #f59e0b 100%);
  border-radius: 999px;
  box-shadow: 0 4px 14px rgb(15 23 42 / 0.12);
  white-space: nowrap;
  pointer-events: none;
}

.pricing-card-wrap .pricing-card {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pricing-card {
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition-base), box-shadow var(--transition-base),
    transform var(--transition-base);
}

.pricing-card:hover {
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.pricing-card.popular {
  /* Extra top padding so Titelzeile nicht unter der Badge liegt */
  padding-top: calc(var(--space-xl) + 0.75rem);
  border-color: rgba(14, 165, 233, 0.45);
  box-shadow:
    0 0 0 1px rgb(14 165 233 / 0.12),
    0 12px 40px -16px rgb(14 165 233 / 0.35),
    var(--shadow-md);
}

.pricing-card.popular:hover {
  border-color: rgba(14, 165, 233, 0.55);
  box-shadow:
    0 0 0 1px rgb(14 165 233 / 0.18),
    0 16px 44px -14px rgb(14 165 233 / 0.4),
    var(--shadow-md);
}

.pricing-header h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
}

.pricing-description {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: var(--space-sm);
  min-height: 2.75rem;
}

.pricing-price {
  margin-top: var(--space-lg);
  font-size: 1.75rem;
  font-weight: 800;
  font-family: var(--font-display);
  line-height: 1.25;
}

.pricing-price .price-ab {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
}

.pricing-price .price {
  color: var(--text);
}

.pricing-price .price-suffix {
  font-size: 0.55em;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.pricing-price .price-on-request {
  font-size: 1.5rem;
}

.pricing-annual {
  min-height: 1.25rem;
  font-size: 0.8125rem;
  color: var(--text-dim);
  margin-top: var(--space-xs);
}

.pricing-vat {
  font-size: 0.8125rem;
  color: var(--text-dim);
  margin-top: var(--space-sm);
}

.pricing-features {
  flex: 1;
  margin: var(--space-lg) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.pricing-features li svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--success);
}

.pricing-features .pricing-category-header {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: var(--space-md);
  margin-bottom: var(--space-xs);
}

.pricing-features .pricing-category-header:first-child {
  margin-top: 0;
}

.pricing-divider {
  list-style: none;
  height: 1px;
  margin: var(--space-md) 0;
  background: var(--border);
  padding: 0 !important;
}

.pricing-divider::before {
  display: none;
}

.pricing-inherit {
  color: var(--text) !important;
  font-size: 0.9rem !important;
}

.pricing-inherit strong {
  font-weight: 700;
}

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

.feature-text-wrapper {
  display: inline;
}

.feature-tooltip-container {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-left: 4px;
  vertical-align: middle;
  cursor: help;
}

.feature-tooltip-container:hover .feature-info-icon {
  color: var(--primary);
}

.feature-info-icon {
  color: var(--text-dim);
  transition: color var(--transition-fast);
}

.feature-tooltip {
  display: none;
  position: absolute;
  z-index: 50;
  left: 50%;
  bottom: 100%;
  transform: translateX(-50%) translateY(-8px);
  width: 260px;
  padding: var(--space-md);
  background: var(--surface-solid);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
  box-shadow: var(--shadow-lg);
}

/* Spitze nach unten zum Info-Icon */
.feature-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -6px;
  border: 6px solid transparent;
  border-top-color: var(--surface-solid);
}

.feature-tooltip-container:hover .feature-tooltip {
  display: block;
}

.pricing-foot {
  text-align: center;
  margin-top: var(--space-2xl);
  font-size: 0.875rem;
  color: var(--text-dim);
}

/* ----- FAQ ----- */

.faq {
  position: relative;
  z-index: 1;
  padding: var(--space-4xl) 0;
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.faq-item {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
}

.faq-item[open] {
  border-color: rgba(56, 189, 248, 0.3);
}

.faq-question {
  cursor: pointer;
  padding: var(--space-lg);
  font-weight: 600;
  font-size: 1rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--primary);
  flex-shrink: 0;
}

.faq-item[open] .faq-question::after {
  content: "−";
}

.faq-question:hover {
  background: var(--surface-hover);
}

.faq-answer {
  padding: 0 var(--space-lg) var(--space-lg);
}

.faq-answer p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.faq-answer a {
  color: var(--secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-answer strong {
  color: var(--text);
}

/* ----- CTA ----- */

.cta {
  position: relative;
  z-index: 1;
  padding: var(--space-4xl) 0;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(99, 102, 241, 0.08));
  border-top: 1px solid var(--border);
}

.cta-content {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

.cta-content p {
  color: var(--text-muted);
  font-size: 1.125rem;
  margin-bottom: var(--space-xl);
}

/* ----- footer ----- */

.footer {
  position: relative;
  z-index: 1;
  padding: var(--space-3xl) 0 var(--space-xl);
  border-top: 1px solid var(--border);
  background: var(--background-mid);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand p {
  color: var(--text-dim);
  margin-top: var(--space-md);
  max-width: 280px;
  font-size: 0.9375rem;
}

.footer-links h4 {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9375rem;
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: var(--text-dim);
}

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

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

/* ----- cookie consent (Meta Pixel nur nach Zustimmung) ----- */

.cookie-consent {
  position: fixed;
  z-index: 200;
  left: 0;
  right: 0;
  bottom: 0;
  padding: var(--space-md);
  pointer-events: none;
}

.cookie-consent__inner {
  pointer-events: auto;
  max-width: var(--layout-max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-lg);
  padding: var(--space-lg) var(--space-xl);
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid var(--border-strong);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-xl);
  box-shadow: 0 -8px 36px rgb(15 23 42 / 0.12);
}

.cookie-consent__copy {
  flex: 1 1 320px;
}

.cookie-consent__headline {
  display: block;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--space-sm);
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

.cookie-consent__text {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.cookie-consent__text a {
  color: var(--secondary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: flex-end;
}

@media (max-width: 520px) {
  .cookie-consent__actions {
    width: 100%;
    justify-content: stretch;
  }

  .cookie-consent__actions .btn {
    flex: 1;
  }
}
