/* ════════════════════════════════════════════════
   samoPlan Landing Page – Style System
   ════════════════════════════════════════════════ */

/* ─── SELF-HOSTED FONTS (DSGVO-konform) ────── */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/outfit-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/outfit-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ─── CUSTOM PROPERTIES ────────────────────── */
:root {
  --brand-50:  #EEF2FF;
  --brand-100: #E0E7FF;
  --brand-200: #C7D2FE;
  --brand-300: #A5B4FC;
  --brand-400: #818CF8;
  --brand-500: #6366F1;
  --brand-600: #4F46E5;
  --brand-700: #4338CA;
  --brand-800: #3730A3;
  --brand-900: #312E81;
  --brand-950: #1E1B4B;

  --slate-50:  #F8FAFC;
  --slate-100: #F1F5F9;
  --slate-200: #E2E8F0;
  --slate-300: #CBD5E1;
  --slate-400: #94A3B8;
  --slate-500: #64748B;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1E293B;
  --slate-900: #0F172A;

  --success: #22C55E;
  --warning: #F59E0B;

  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --container: 1200px;
  --gap: 1.5rem;
  --radius: 16px;
  --radius-sm: 12px;
  --radius-xs: 8px;

  --shadow-card: 0 1px 3px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.04);
  --shadow-hover: 0 8px 32px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
  --shadow-glow: 0 0 60px rgba(99,102,241,0.15);
  --shadow-glow-lg: 0 0 120px rgba(99,102,241,0.2);
}

/* ─── RESET & BASE ─────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
  overflow-x: hidden;
  overscroll-behavior-x: none;
}

body {
  font-family: var(--font-body);
  color: var(--slate-800);
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}

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

::selection {
  background: var(--brand-200);
  color: var(--brand-900);
}

/* ─── TYPOGRAPHY ───���───────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p { color: var(--slate-600); line-height: 1.7; }
.text-lg { font-size: 1.125rem; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }

/* ─── LAYOUT ───────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gap);
}

.section {
  padding: 6rem 0;
}

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

.section--dark {
  background: var(--slate-900);
  color: #fff;
}

.section--dark p { color: var(--slate-400); }
.section--dark h2, .section--dark h3 { color: #fff; }

.section--tinted {
  background: var(--slate-50);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-500);
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--brand-500);
  border-radius: 2px;
}

.section-title {
  margin-bottom: 1rem;
}

.section-desc {
  max-width: 640px;
  font-size: 1.125rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header .section-desc {
  margin: 0.75rem auto 0;
}

/* ─── BUTTONS ──���───────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8125rem 1.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.btn:active { transform: scale(0.97); }

.btn--primary {
  background: var(--brand-500);
  color: #fff;
  box-shadow: 0 1px 2px rgba(99,102,241,0.3), 0 0 0 1px rgba(99,102,241,0.1);
}

.btn--primary:hover {
  background: var(--brand-600);
  box-shadow: 0 4px 16px rgba(99,102,241,0.35), 0 0 0 1px rgba(99,102,241,0.2);
  transform: translateY(-2px);
}

.btn--secondary {
  background: #fff;
  color: var(--slate-700);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-card);
}

.btn--secondary:hover {
  border-color: var(--slate-300);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--slate-600);
  padding: 0.8125rem 1.25rem;
}

.btn--ghost:hover { color: var(--brand-500); }

.btn--white {
  background: #fff;
  color: var(--brand-600);
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.btn--white:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}

.btn--outline-white {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
}

.btn--outline-white:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.4);
}

.btn--lg {
  padding: 1rem 2rem;
  font-size: 1rem;
  border-radius: var(--radius);
}

.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ─── NAVIGATION ───────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.nav.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--slate-200);
  padding: 0.625rem 0;
}

.nav.scrolled .nav__logo { color: var(--slate-900); }
.nav.scrolled .nav__link { color: var(--slate-600); }
.nav.scrolled .nav__link:hover { color: var(--brand-500); }
.nav.scrolled .nav__login { color: var(--slate-600); }
.nav.scrolled .nav__login:hover { color: var(--brand-500); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gap);
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  transition: color 0.3s;
}

.nav__logo span { color: var(--brand-400); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav__link {
  padding: 0.5rem 1rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: var(--radius-xs);
  transition: all 0.2s;
}

.nav__link:hover {
  color: #fff;
  background: rgba(255,255,255,0.06);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav__login {
  color: rgba(255,255,255,0.8);
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: color 0.2s;
}

.nav__login:hover { color: #fff; }

.nav__cta {
  padding: 0.625rem 1.375rem;
  background: var(--brand-500);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.25s;
  border: none;
  cursor: pointer;
}

.nav__cta:hover {
  background: var(--brand-400);
  box-shadow: 0 4px 16px rgba(99,102,241,0.3);
  transform: translateY(-1px);
}

/* Mobile nav toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}

.nav.scrolled .nav__toggle span { background: var(--slate-700); }

/* ─── HERO ────────��────────────────────────��─ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--slate-900);
  overflow: hidden;
  padding: 8rem 0 6rem;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(99,102,241,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 30%, rgba(67,56,202,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 50% 80%, rgba(129,140,248,0.08) 0%, transparent 50%),
    linear-gradient(180deg, #0c0f1a 0%, var(--slate-900) 40%, #0e1225 100%);
}

/* Subtle grid pattern */
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99,102,241,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 4rem;
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gap);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem 0.375rem 0.5rem;
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--brand-300);
  margin-bottom: 1.5rem;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-400);
  animation: pulse-glow 2s ease-in-out infinite;
}

.hero h1 {
  color: #fff;
  margin-bottom: 1.25rem;
  font-size: clamp(2.75rem, 5.5vw, 4.25rem);
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--brand-400), var(--brand-300));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__sub {
  font-size: 1.1875rem;
  color: var(--slate-400);
  max-width: 520px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero__stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.hero__stat-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
}

.hero__stat-label {
  font-size: 0.8125rem;
  color: var(--slate-500);
  margin-top: 0.125rem;
}

/* ─── APP MOCKUP ───────────────────────────── */
.mockup {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06),
    0 20px 60px rgba(0,0,0,0.4),
    var(--shadow-glow);
}

.mockup::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(99,102,241,0.3), transparent 50%, rgba(129,140,248,0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.mockup__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: #1a1e2e;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.mockup__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mockup__dot--red { background: #ff5f57; }
.mockup__dot--yellow { background: #ffbd2e; }
.mockup__dot--green { background: #28c840; }

.mockup__content {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 380px;
  background: #0f1219;
}

/* Sidebar in mockup */
.mockup__sidebar {
  background: var(--slate-900);
  padding: 1.25rem 0;
  border-right: 1px solid rgba(255,255,255,0.04);
}

.mockup__sidebar-brand {
  padding: 0 1rem 1rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  margin-bottom: 0.75rem;
}

.mockup__sidebar-brand span { color: var(--brand-400); }

.mockup__nav-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 1rem;
  margin: 0.125rem 0.5rem;
  border-radius: 6px;
  font-size: 0.75rem;
  color: var(--slate-500);
}

.mockup__nav-item.active {
  background: var(--brand-600);
  color: #fff;
}

.mockup__nav-icon {
  width: 16px;
  height: 16px;
  border-radius: 3px;
  background: currentColor;
  opacity: 0.3;
}

.mockup__nav-item.active .mockup__nav-icon { opacity: 0.6; }

/* Main content in mockup */
.mockup__main {
  padding: 1.25rem;
}

.mockup__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.mockup__header-title {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
}

.mockup__header-btn {
  padding: 0.375rem 0.875rem;
  background: var(--brand-500);
  color: #fff;
  border-radius: 6px;
  font-size: 0.6875rem;
  font-weight: 600;
}

.mockup__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.mockup__card {
  padding: 0.875rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 8px;
}

.mockup__card-label {
  font-size: 0.625rem;
  color: var(--slate-500);
  margin-bottom: 0.375rem;
}

.mockup__card-value {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.mockup__card-change {
  font-size: 0.625rem;
  color: var(--success);
  margin-top: 0.25rem;
}

/* Table in mockup */
.mockup__table {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 8px;
  overflow: hidden;
}

.mockup__table-head {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 0.8fr;
  gap: 0.5rem;
  padding: 0.625rem 0.875rem;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.mockup__table-head span {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--slate-500);
  font-weight: 600;
}

.mockup__table-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 0.8fr;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem;
  border-bottom: 1px solid rgba(255,255,255,0.02);
  font-size: 0.6875rem;
  color: var(--slate-400);
}

.mockup__table-row:last-child { border: none; }

.mockup__status {
  display: inline-flex;
  padding: 0.125rem 0.5rem;
  border-radius: 100px;
  font-size: 0.5625rem;
  font-weight: 600;
}

.mockup__status--green {
  background: rgba(34,197,94,0.1);
  color: var(--success);
}

.mockup__status--yellow {
  background: rgba(245,158,11,0.1);
  color: var(--warning);
}

.mockup__status--blue {
  background: rgba(99,102,241,0.1);
  color: var(--brand-400);
}

/* ─── TRUST BAR ────────────────────────────── */
.trust-bar {
  padding: 3rem 0;
  border-bottom: 1px solid var(--slate-100);
}

.trust-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.trust-bar__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--slate-600);
}

.trust-bar__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-50);
  color: var(--brand-500);
  border-radius: 10px;
}

.trust-bar__icon svg {
  width: 20px;
  height: 20px;
}

/* ─── FEATURE ROWS ───��─────────────────────── */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.feature-row--reverse { direction: rtl; }
.feature-row--reverse > * { direction: ltr; }

.feature__bullets {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature__bullet {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--slate-600);
}

.feature__bullet-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-50);
  color: var(--brand-500);
  border-radius: 6px;
  margin-top: 1px;
}

.feature__bullet-icon svg {
  width: 14px;
  height: 14px;
}

.feature__visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-card);
}

.feature__visual--dark {
  background: var(--slate-900);
  border-color: rgba(255,255,255,0.06);
}

.feature__screen {
  padding: 1.5rem;
}

/* ─── STATS SECTION ────────────────────────── */
.stats {
  background: linear-gradient(135deg, var(--brand-600), var(--brand-700), var(--brand-800));
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(255,255,255,0.04) 0%, transparent 50%);
}

.stats__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stats__item {
  padding: 1rem;
}

.stats__value {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.stats__label {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.7);
  margin-top: 0.5rem;
}

.stats__divider {
  width: 1px;
  background: rgba(255,255,255,0.15);
  margin: 0.5rem 0;
}

/* ─── KI SECTION ───────��───────────────────── */
.ki-section {
  position: relative;
  background: var(--slate-900);
  overflow: hidden;
}

.ki-section__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 40% 50% at 30% 50%, rgba(99,102,241,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 70% 60%, rgba(129,140,248,0.08) 0%, transparent 60%);
}

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

.ki-card {
  padding: 2rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

.ki-card:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(99,102,241,0.2);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

.ki-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand-600), var(--brand-500));
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  box-shadow: 0 0 24px rgba(99,102,241,0.2);
}

.ki-card__icon svg {
  width: 24px;
  height: 24px;
  color: #fff;
}

.ki-card h3 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.ki-card p {
  color: var(--slate-400);
  font-size: 0.9375rem;
}

.ki-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.875rem;
  background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(129,140,248,0.1));
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-300);
  margin-top: 1.5rem;
}

/* ─── PRICING ──────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1050px;
  margin: 0 auto;
}

.pricing-card {
  padding: 2.5rem 2rem;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.pricing-card--featured {
  border-color: var(--brand-300);
  box-shadow: 0 0 0 1px var(--brand-200), var(--shadow-card);
}

.pricing-card--featured::before {
  content: 'Beliebteste Wahl';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.25rem 1rem;
  background: var(--brand-500);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-card__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.pricing-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pricing-card__icon svg {
  width: 1.375rem;
  height: 1.375rem;
  color: #fff;
}

.pricing-card__icon--bronze {
  background: linear-gradient(135deg, #d97706, #ea580c);
}

.pricing-card__icon--silver {
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
}

.pricing-card__icon--gold {
  background: linear-gradient(135deg, #eab308, #d97706);
}

.pricing-card__tier {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 0;
  line-height: 1.2;
}

.pricing-card--featured .pricing-card__tier { color: var(--brand-600); }

.pricing-card__name {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--slate-400);
  margin-bottom: 0;
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 0.375rem;
}

.pricing-card__prefix {
  font-size: 1rem;
  font-weight: 500;
  color: var(--slate-400);
  margin-right: 0.25rem;
  align-self: flex-end;
  padding-bottom: 0.35rem;
}

.pricing-card__amount {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1;
}

.pricing-card__period {
  font-size: 0.9375rem;
  color: var(--slate-500);
}

.pricing-card__vat {
  font-size: 0.75rem;
  color: var(--slate-400);
  margin-bottom: 1.5rem;
}

.pricing-card__desc {
  font-size: 0.9375rem;
  color: var(--slate-500);
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--slate-100);
  margin-bottom: 1.5rem;
}

.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-bottom: 2rem;
  flex: 1;
}

.pricing-card__feature {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: var(--slate-600);
}

.pricing-card__check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-500);
  margin-top: 2px;
}

.pricing-card__check svg {
  width: 18px;
  height: 18px;
}

.pricing-card .btn { width: 100%; }

/* ─── GEWERKE ──────────────────────────────── */
.gewerke-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.gewerke-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 1rem;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  transition: all 0.25s;
  cursor: default;
}

.gewerke-item:hover {
  border-color: var(--brand-200);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.gewerke-item__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-50);
  color: var(--brand-500);
  border-radius: var(--radius-sm);
  font-size: 1.5rem;
}

.gewerke-item__name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-700);
  text-align: center;
}

/* ─── TESTIMONIALS ─────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  padding: 2rem;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  transition: all 0.3s;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.testimonial-card__stars {
  display: flex;
  gap: 2px;
  margin-bottom: 1rem;
  color: var(--warning);
}

.testimonial-card__stars svg { width: 18px; height: 18px; }

.testimonial-card__text {
  font-size: 0.9375rem;
  color: var(--slate-600);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-100);
  color: var(--brand-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
}

.testimonial-card__name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--slate-800);
}

.testimonial-card__role {
  font-size: 0.8125rem;
  color: var(--slate-500);
}

/* ─── CTA SECTION ──────���───────────────────── */
.final-cta {
  background: linear-gradient(135deg, var(--brand-700), var(--brand-600), var(--brand-500));
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.06) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(255,255,255,0.04) 0%, transparent 50%);
}

.final-cta > * { position: relative; }

.final-cta h2 { color: #fff; margin-bottom: 1rem; }

.final-cta p {
  color: rgba(255,255,255,0.75);
  font-size: 1.125rem;
  max-width: 500px;
  margin: 0 auto 2.5rem;
}

/* ─── FOOTER ────��──────────────────────────── */
.footer {
  background: var(--slate-900);
  color: var(--slate-400);
  padding: 4rem 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer__brand {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
}

.footer__brand span { color: var(--brand-400); }

.footer__desc {
  font-size: 0.875rem;
  color: var(--slate-500);
  line-height: 1.6;
  max-width: 280px;
}

.footer__heading {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
}

.footer__link {
  display: block;
  padding: 0.25rem 0;
  font-size: 0.875rem;
  color: var(--slate-500);
  transition: color 0.2s;
}

.footer__link:hover { color: var(--brand-400); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  font-size: 0.8125rem;
  color: var(--slate-600);
}

.footer__social {
  display: flex;
  gap: 1rem;
}

.footer__social a {
  color: var(--slate-600);
  transition: color 0.2s;
}

.footer__social a:hover { color: var(--brand-400); }
.footer__social svg { width: 20px; height: 20px; }

/* ─── ANIMATIONS ─────���─────────────────────── */
@keyframes pulse-glow {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(99,102,241,0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(99,102,241,0); }
}

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

@keyframes fade-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slide-right {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slide-left {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Scroll-triggered reveals */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Hero animations */
.hero__content { animation: fade-up 0.8s ease-out both; }
.hero__visual { animation: fade-up 0.8s ease-out 0.2s both; }
.hero .btn-group { animation: fade-up 0.8s ease-out 0.3s both; }
.hero__stats { animation: fade-up 0.8s ease-out 0.4s both; }

.mockup { animation: float 6s ease-in-out infinite; }

/* ─── RESPONSIVE ───────────────────────────── */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .hero .btn-group { justify-content: center; }
  .hero__stats { justify-content: center; }
  .hero__visual { max-width: 600px; margin: 0 auto; }

  .feature-row { grid-template-columns: 1fr; gap: 2.5rem; }
  .feature-row--reverse { direction: ltr; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__divider { display: none; }

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

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

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

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

  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 4rem 0; }

  .nav__links { display: none; }
  .nav__toggle { display: flex; }

  /* Mobile menu */
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    padding: 1rem;
    border-bottom: 1px solid var(--slate-200);
  }

  .nav__links.open .nav__link {
    color: var(--slate-700);
    padding: 0.75rem 1rem;
  }

  .hero { padding: 7rem 0 4rem; min-height: auto; }
  .hero h1 { font-size: 2.25rem; }

  .hero__stats { gap: 1.5rem; flex-wrap: wrap; }

  .mockup__content { grid-template-columns: 1fr; }
  .mockup__sidebar { display: none; }

  .trust-bar__inner { gap: 1.5rem; }
  .trust-bar__item { font-size: 0.8125rem; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); }

  .gewerke-grid { grid-template-columns: repeat(2, 1fr); }

  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }

  .btn-group { flex-direction: column; }
  .btn-group .btn { width: 100%; }

  .hero__stats { flex-direction: column; gap: 1rem; align-items: center; }

  .stats__grid { grid-template-columns: 1fr; }
}
