/* BALEON Pro — Glass · Tech · Nature (Apple / Cursor / DeFi inspired) */

:root {
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-bg-strong: rgba(255, 255, 255, 0.88);
  --glass-border: rgba(255, 255, 255, 0.65);
  --glass-border-subtle: rgba(45, 75, 50, 0.08);
  --glass-shadow: 0 8px 32px rgba(33, 41, 38, 0.06), 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  --glass-shadow-lg: 0 24px 64px rgba(33, 41, 38, 0.08), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
  --glass-blur: blur(20px);
  --mesh-a: radial-gradient(ellipse 80% 60% at 10% 0%, rgba(133, 163, 140, 0.18), transparent 55%);
  --mesh-b: radial-gradient(ellipse 70% 50% at 90% 10%, rgba(242, 230, 221, 0.45), transparent 50%);
  --mesh-c: radial-gradient(ellipse 60% 40% at 50% 100%, rgba(45, 75, 50, 0.06), transparent 55%);
  --radius-glass: 20px;
  --radius-glass-lg: 28px;
  --text-display: clamp(1.875rem, 4vw, 2.5rem);
  --text-section: clamp(1.5rem, 3vw, 2.125rem);
}

/* Ambient mesh backdrop */
body::before {
  background: var(--mesh-a), var(--mesh-b), var(--mesh-c), var(--screen-bg);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: -1;
  opacity: 0.6;
}

/* —— Section typography —— */
.section-head {
  max-width: 42rem;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}
.section-head--left {
  text-align: left;
  margin-inline: 0;
}
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-chip);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--forest);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border-subtle);
  box-shadow: 0 1px 2px rgba(33, 41, 38, 0.04);
}
.section-head h2 {
  font-family: var(--font-sans);
  font-size: var(--text-section);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin: var(--space-md) 0 0;
  color: var(--ink);
}
.section-lead {
  font-size: 1.0625rem;
  line-height: 1.55;
  max-width: 36rem;
  color: var(--ink-muted);
}

/* —— Glass surfaces (global cards) —— */
.glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}
.section--alt {
  background: transparent;
}
.section--fog {
  background: transparent;
}
.audience-card,
.feature,
.feature-module,
.benefit-card,
.plan-card,
.timeline-step,
.faq-item,
.chat-flow li,
.impact-card,
.testimonial,
.demo-playground__panel,
.chat-list-panel {
  background: var(--white);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid var(--glass-border-subtle);
}

/* —— Path selector (Intent cards) —— */
.path-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  max-width: 720px;
  margin: 0 auto var(--space-xxl);
}
@media (max-width: 640px) {
  .path-grid { grid-template-columns: 1fr; }
}
.path-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem 1.25rem 1.25rem;
  min-height: 132px;
  border-radius: var(--radius-card);
  background: var(--white);
  border: none;
  box-shadow: 0 8px 16px rgba(33, 41, 38, 0.06);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.path-card::before {
  display: none;
}
.path-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(33, 41, 38, 0.08);
}
.path-card:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 3px;
}
.path-card__icon {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(45, 75, 50, 0.1);
  margin-bottom: 0.75rem;
}
.path-card[data-mode="adoption"] .path-card__icon {
  color: var(--forest);
}
.path-card[data-mode="breeding"] .path-card__icon {
  color: var(--moss);
}
.path-card__icon svg { display: block; }
.path-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 0.35rem;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.path-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--ink-muted);
}
.path-card__badge {
  position: relative;
  z-index: 1;
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(33, 41, 38, 0.28);
  line-height: 0;
}
.path-card__badge--check {
  display: none;
}
.path-card--active {
  background: var(--gradient-app-icon);
  border: none;
  box-shadow: 0 16px 28px rgba(33, 41, 38, 0.14);
  transform: scale(1);
}
.path-card--active h3 {
  color: #fff;
}
.path-card--active p {
  color: rgba(255, 255, 255, 0.9);
}
.path-card--active .path-card__icon {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}
.path-card--active .path-card__badge--chevron {
  display: none;
}
.path-card--active .path-card__badge--check {
  display: flex;
  color: #fff;
}

/* —— Compare matrix (replaces ugly table) —— */
.compare-matrix {
  max-width: 680px;
  margin: 0 auto;
  border-radius: var(--radius-card);
  background: var(--white);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.compare-matrix__head,
.compare-matrix__row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  align-items: center;
}
.compare-matrix__head {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--glass-border-subtle);
  background: rgba(255, 255, 255, 0.5);
}
.compare-matrix__head span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.compare-matrix__head span:first-child {
  text-align: left;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.8125rem;
  color: var(--ink-muted);
}
.compare-matrix__head .compare-matrix__col {
  text-align: center;
  padding: 0.5rem;
  border-radius: 10px;
  transition: background 0.25s, color 0.25s;
}
.compare-matrix__row {
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid rgba(45, 75, 50, 0.06);
  transition: background 0.15s;
}
.compare-matrix__row:last-child { border-bottom: none; }
.compare-matrix__row:hover {
  background: rgba(45, 75, 50, 0.02);
}
.compare-matrix__label {
  font-size: 0.9375rem;
  color: var(--ink);
  font-weight: 500;
  padding-right: 0.5rem;
}
.compare-matrix__cell {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem;
  border-radius: 10px;
  transition: background 0.25s;
}
.compare-matrix__icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.compare-matrix__icon--yes {
  background: rgba(45, 75, 50, 0.1);
  color: var(--forest);
}
.compare-matrix__icon--yes svg {
  width: 12px;
  height: 12px;
  stroke-width: 2.5;
}
.compare-matrix__icon--no {
  color: var(--ink-soft);
  font-size: 0.875rem;
  font-weight: 400;
  opacity: 0.45;
}
/* Column highlight — subtle full-column glow, no pill boxes */
.compare-matrix--vermittlung .compare-matrix__head .compare-matrix__col:nth-child(3),
.compare-matrix--vermittlung .compare-matrix__row .compare-matrix__cell:nth-child(3) {
  background: rgba(45, 75, 50, 0.06);
}
.compare-matrix--vermittlung .compare-matrix__head .compare-matrix__col:nth-child(3) {
  color: var(--forest);
  font-weight: 700;
}
.compare-matrix--zucht .compare-matrix__head .compare-matrix__col:nth-child(2),
.compare-matrix--zucht .compare-matrix__row .compare-matrix__cell:nth-child(2) {
  background: rgba(45, 75, 50, 0.06);
}
.compare-matrix--zucht .compare-matrix__head .compare-matrix__col:nth-child(2) {
  color: var(--forest);
  font-weight: 700;
}

/* Legacy compare-table hide when matrix present */
.compare-matrix + .compare-table { display: none; }

/* —— Hero upgrade —— */
.hero-bg {
  background: linear-gradient(180deg, rgba(255,255,255,0.6) 0%, rgba(238,241,237,0.3) 50%, rgba(133,163,140,0.08) 100%);
}
.hero-title__main {
  font-family: var(--font-rounded);
  font-size: var(--text-display);
  font-weight: 600;
  letter-spacing: -0.015em;
}
.badge-live {
  background: rgba(45, 75, 50, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.btn.ghost {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border-subtle);
}

/* —— Hero: interaktives Phone + Erklär-Blasen —— */
.hero-stage {
  --hero-phone-half: calc(var(--phone-display-w, 272px) / 2);
  --hero-bubble-gap: 16px;
  position: relative;
  width: min(100%, 560px);
  margin: 0 auto;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: visible;
  padding-block: clamp(0.5rem, 2vw, 1.25rem);
}

.hero-bubble-connector {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}

.hero-bubble-connector__line {
  stroke: rgba(45, 75, 50, 0.28);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 5 4;
}

.hero-bubble-connector__line--verified {
  stroke: rgba(45, 75, 50, 0.32);
}

.hero-bubble-connector__line--care {
  stroke: rgba(87, 117, 98, 0.38);
}

.hero-bubble-connector__line--near {
  stroke: rgba(45, 75, 50, 0.3);
}

.hero-bubbles {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.hero-stage__phone {
  position: relative;
  z-index: 10;
  width: 100%;
  display: flex;
  justify-content: center;
  isolation: isolate;
  pointer-events: auto;
}

.hero-bubble {
  position: absolute;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 200px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(45, 75, 50, 0.1);
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(33, 41, 38, 0.1);
  animation: hero-bubble-float 5s ease-in-out infinite;
  pointer-events: none;
}

.hero-bubble::after {
  display: none;
}

.hero-bubble__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(45, 75, 50, 0.08);
  color: var(--forest);
}

.hero-bubble__copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.hero-bubble__copy strong {
  font-family: var(--font-rounded);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--forest);
  line-height: 1.2;
}

.hero-bubble__copy span {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--ink-muted);
  line-height: 1.35;
}

/* Blasen links/rechts neben dem Phone — nicht über der Live-Demo */
.hero-bubble--verified {
  top: 8%;
  left: calc(50% - var(--hero-phone-half) - var(--hero-bubble-gap));
  right: auto;
  transform: translateX(-100%);
  animation-name: hero-bubble-float-left;
  animation-delay: 0s;
}
.hero-bubble--care {
  top: 22%;
  left: calc(50% + var(--hero-phone-half) + var(--hero-bubble-gap));
  right: auto;
  animation-delay: 0.6s;
}

.hero-bubble--near {
  bottom: 28%;
  left: calc(50% + var(--hero-phone-half) + var(--hero-bubble-gap));
  right: auto;
  transform: none;
  animation-name: hero-bubble-float;
  animation-delay: 1.2s;
}

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

@keyframes hero-bubble-float-left {
  0%, 100% { transform: translateX(-100%) translateY(0); }
  50% { transform: translateX(-100%) translateY(-6px); }
}

.hero-stage__hint {
  margin: clamp(1rem, 2vw, 1.5rem) auto 0;
  max-width: 340px;
  width: 100%;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-muted);
  line-height: 1.45;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.5rem;
}

.hero-stage__hint-icons {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 0;
  vertical-align: middle;
  color: var(--moss);
  flex-shrink: 0;
}

.hero-stage__hint-icons svg:last-child {
  color: var(--rose-ink);
}

@media (max-width: 1100px) {
  .hero-stage {
    width: min(100%, 520px);
    --hero-bubble-gap: 10px;
  }
  .hero-bubble {
    max-width: 156px;
    padding: 10px 12px;
  }
}

@media (max-width: 900px) {
  .hero-stage {
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    padding-top: var(--space-sm);
    width: 100%;
  }
  .hero-stage__phone {
    order: 0;
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .hero-bubbles {
    position: static;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-sm);
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
    order: 1;
  }
  .hero-bubble {
    position: relative;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    max-width: 100%;
    width: 100%;
    transform: none !important;
    animation: none;
    justify-content: flex-start;
    text-align: left;
  }
  .hero-bubble__copy {
    align-items: flex-start;
  }
  .hero-bubble-connector { display: none; }
  .hero-stage__hint {
    order: 2;
    width: 100%;
    max-width: 340px;
    margin: var(--space-sm) auto 0;
    padding: 0;
    text-align: center;
    justify-content: center;
  }
}

/* —— Wege section layout —— */
.section--paths {
  position: relative;
}
.section--paths .section-head {
  text-align: center;
  margin-inline: auto;
}

/* —— Gallery / tabs glass —— */
.gallery-tab,
.feature-tab {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border-subtle);
  transition: all 0.2s ease;
}
.gallery-tab.active,
.feature-tab.active {
  background: var(--forest);
  border-color: var(--forest);
  box-shadow: 0 4px 12px rgba(45, 75, 50, 0.2);
}

/* —— Footer dark glass —— */
.footer {
  background: linear-gradient(180deg, rgba(33, 41, 38, 0.97) 0%, rgba(45, 75, 50, 0.98) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* —— Pricing cards premium —— */
.plan-card--plus {
  border-color: rgba(45, 75, 50, 0.25);
  box-shadow: var(--glass-shadow-lg), 0 0 0 1px rgba(45, 75, 50, 0.08);
}
.plan-card--gold {
  border-color: rgba(199, 148, 46, 0.35);
  background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(245, 230, 184, 0.15) 100%);
}

/* —— Dokumente & Vault (Kernfeature) —— */
.section--docs-vault {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 9vw, 6.5rem) 0;
}
.section--docs-vault .docs-vault.container {
  width: min(1080px, calc(100% - var(--page-inset) * 2));
}
.docs-vault__glow {
  position: absolute;
  inset: -20% -10% auto;
  height: 70%;
  background:
    radial-gradient(ellipse 55% 45% at 15% 20%, rgba(245, 230, 184, 0.22), transparent 60%),
    radial-gradient(ellipse 50% 40% at 85% 30%, rgba(133, 163, 140, 0.35), transparent 55%);
  pointer-events: none;
}
.docs-vault {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 6vw, 4rem);
}
.docs-vault__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}
@media (max-width: 900px) {
  .docs-vault__intro {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
.docs-vault__head {
  max-width: none;
  margin: 0;
}
.docs-vault__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-chip);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.docs-vault__eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 0 3px rgba(199, 148, 46, 0.35);
  animation: docs-vault-pulse 2.4s ease-in-out infinite;
}
@keyframes docs-vault-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.65; transform: scale(0.92); }
}
.docs-vault__head h2 {
  margin: clamp(1rem, 2.5vw, 1.35rem) 0 0;
  font-size: clamp(1.75rem, 4.5vw, 2.65rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: #fff;
}
.docs-vault__lead {
  margin: clamp(1rem, 2vw, 1.35rem) 0 0;
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.86);
  max-width: 38rem;
}
.docs-vault__unique {
  width: 100%;
  margin: 0;
  padding: clamp(1.25rem, 2.5vw, 1.65rem) clamp(1.35rem, 3vw, 1.85rem);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.docs-vault__unique-badge {
  display: inline-block;
  margin-bottom: 0.65rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-chip);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--forest);
  background: var(--gold-light);
}
.docs-vault__unique p {
  margin: 0;
  max-width: 44rem;
  font-size: 1rem;
  line-height: 1.58;
  color: rgba(255, 255, 255, 0.92);
}
.docs-vault__unique strong {
  color: #fff;
  font-weight: 600;
}
.docs-vault__body {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: stretch;
}
@media (max-width: 960px) {
  .docs-vault__body { grid-template-columns: 1fr; align-items: start; }
  .docs-vault__showcase { order: -1; height: auto; }
}
.docs-vault__benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  align-items: stretch;
}
@media (max-width: 560px) {
  .docs-vault__benefits { grid-template-columns: 1fr; }
}
.doc-benefit {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  height: 100%;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.97);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.doc-benefit:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.14);
}
.doc-benefit__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  background: rgba(45, 75, 50, 0.08);
  color: var(--forest);
}
.doc-benefit__icon svg { stroke: currentColor; fill: none; }
.doc-benefit__icon--gold {
  background: rgba(199, 148, 46, 0.15);
  color: var(--gold);
}
.doc-benefit h3 {
  margin: 0 0 0.3rem;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--forest);
}
.doc-benefit p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--ink-muted);
}
.docs-vault__showcase {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 0.55rem;
  padding: 0;
}
.docs-vault__showcase .docs-vault__cta {
  flex-shrink: 0;
  margin-top: auto;
  padding-top: clamp(1rem, 2.5vw, 1.75rem);
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  gap: 0.55rem;
}
.docs-vault__showcase .docs-vault__btn {
  flex: 1 1 0;
  min-width: 0;
}
.vault-panel {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  padding: 1.1rem 1.15rem 0.75rem;
  border-radius: 22px;
  background: linear-gradient(165deg, rgba(33, 41, 38, 0.55) 0%, rgba(45, 75, 50, 0.75) 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.28),
    0 1px 0 rgba(255, 255, 255, 0.12) inset;
}
.vault-panel__header {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  margin-bottom: 0.85rem;
  flex-shrink: 0;
}
.vault-panel__shield {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 14px;
  background: rgba(245, 230, 184, 0.2);
  color: var(--gold-light);
}
.vault-panel__shield svg { stroke: currentColor; }
.vault-panel__title {
  margin: 0;
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
}
.vault-panel__meta {
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.62);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}
.vault-panel__meta code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}
.vault-panel__status {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6ee7a0;
  box-shadow: 0 0 8px rgba(110, 231, 160, 0.6);
}
.vault-panel__flow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
  padding: 0.5rem 0.7rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}
.vault-panel__step {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.55rem;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
}
.vault-panel__step--active {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}
.vault-panel__step svg { stroke: currentColor; opacity: 0.9; }
.vault-panel__arrow {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.35);
}
.vault-panel__files {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex-shrink: 0;
}
.vault-panel__file {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.9);
}
.vault-panel__file--featured {
  background: rgba(245, 230, 184, 0.14);
  border: 1px solid rgba(245, 230, 184, 0.25);
  animation: vault-file-glow 3s ease-in-out infinite;
}
@keyframes vault-file-glow {
  0%, 100% { box-shadow: 0 0 0 rgba(245, 230, 184, 0); }
  50% { box-shadow: 0 0 20px rgba(245, 230, 184, 0.15); }
}
.vault-panel__file-icon { color: var(--gold-light); opacity: 0.9; }
.vault-panel__file-name {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.vault-panel__file-tag {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
}
.vault-panel__file-tag--ok {
  background: rgba(110, 231, 160, 0.2);
  color: #a7f3c7;
}
.vault-panel__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  flex-shrink: 0;
}
.vault-panel__stats strong {
  display: block;
  font-size: 0.875rem;
  color: var(--gold-light);
  margin-bottom: 0.1rem;
}
.vault-panel__stats span {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.3;
}
.docs-vault__compare {
  margin-top: 0;
}
.docs-vault__compare-title {
  margin: 0 0 1.25rem;
  padding-top: 0.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
}
.docs-compare {
  border-radius: var(--radius-card);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.97);
  color: var(--ink);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}
.docs-compare__row {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 0.5rem;
  align-items: center;
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.88rem;
}
.docs-compare__row:last-child { border-bottom: none; }
.docs-compare__row--head {
  background: rgba(45, 75, 50, 0.06);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
}
.docs-compare__row--head .docs-compare__baleon {
  color: var(--forest);
}
.docs-compare__label { font-weight: 500; color: var(--ink); }
.docs-compare__cell {
  text-align: center;
  font-weight: 600;
}
.docs-compare__cell--no {
  color: var(--ink-soft);
}
.docs-compare__cell--yes {
  color: var(--forest);
}
.docs-compare__cell--yes svg {
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (max-width: 640px) {
  .docs-compare__row {
    grid-template-columns: 1fr;
    text-align: left;
    gap: 0.25rem;
  }
  .docs-compare__row--head { display: none; }
  .docs-compare__cell { text-align: left; }
  .docs-compare__cell::before {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--ink-muted);
    display: block;
    margin-bottom: 0.1rem;
  }
  .docs-compare__row:not(.docs-compare__row--head) .docs-compare__cell:nth-child(2)::before { content: "Übliche Apps"; }
  .docs-compare__row:not(.docs-compare__row--head) .docs-compare__cell:nth-child(3)::before { content: "BALEON"; }
}
.docs-vault__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  width: 100%;
}
.docs-vault__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0 1.15rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.docs-vault__btn svg {
  flex-shrink: 0;
  opacity: 0.9;
}
.docs-vault__btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
}
.docs-vault__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.42);
  transform: translateY(-1px);
}
.docs-vault__btn--primary {
  background: #fff;
  color: var(--forest);
  border: none;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
}
.docs-vault__btn--primary:hover {
  background: var(--gold-light);
  color: var(--forest);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}
.btn.primary-light {
  background: #fff;
  color: var(--forest);
  border: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}
.btn.primary-light:hover {
  background: var(--gold-light);
  color: var(--forest);
}

/* —— Docs section: pillars, demo, types —— */
.docs-vault__pillars {
  margin: 0;
  align-self: stretch;
}
.vault-pillars {
  list-style: none;
  margin: 0;
  padding: 0;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}
.vault-pillar {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: clamp(1.05rem, 2vw, 1.2rem) clamp(1.1rem, 2.2vw, 1.35rem);
}
.vault-pillar + .vault-pillar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.vault-pillar__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 14px;
  background: rgba(245, 230, 184, 0.16);
  color: var(--gold-light);
}
.vault-pillar__icon--shield {
  background: rgba(133, 163, 140, 0.22);
  color: #c8e6d0;
}
.vault-pillar__icon--smart {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.vault-pillar__icon svg {
  display: block;
}
.vault-pillar__title {
  margin: 0 0 0.3rem;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
}
.vault-pillar__desc {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.48;
  color: rgba(255, 255, 255, 0.62);
}
@media (max-width: 900px) {
  .docs-vault__pillars {
    max-width: 28rem;
    margin-inline: auto;
    width: 100%;
  }
}
@media (max-width: 480px) {
  .docs-vault__showcase .docs-vault__cta {
    flex-wrap: wrap;
  }
  .docs-vault__showcase .docs-vault__btn {
    flex: 1 1 100%;
    white-space: normal;
    text-align: center;
  }
}
.docs-vault__demo {
  margin-top: 0;
  padding: clamp(1.75rem, 4vw, 2.5rem) clamp(1.5rem, 4vw, 2.25rem) clamp(2rem, 4vw, 2.75rem);
  border-radius: var(--radius-card);
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.docs-demo__head {
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
  padding-bottom: 0.25rem;
}
.docs-demo__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}
.docs-demo__lead {
  margin: 0;
  font-size: clamp(0.92rem, 1.8vw, 1rem);
  line-height: 1.58;
  color: rgba(255, 255, 255, 0.82);
  max-width: 42rem;
}
.docs-vault__demo .docs-demo__grid {
  display: grid;
  grid-template-columns: minmax(240px, 272px) minmax(260px, 300px) minmax(240px, 272px);
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: start;
  justify-content: center;
  padding: 0 clamp(0.5rem, 2vw, 1.5rem);
}
@media (max-width: 1100px) {
  .docs-vault__demo .docs-demo__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    justify-items: center;
    padding: 0;
  }
}
@media (max-width: 900px) {
  .docs-vault__demo .docs-demo__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    justify-items: center;
    padding: 0;
  }
}
.docs-vault__demo .docs-demo__grid .iphone,
.docs-demo__phone.iphone {
  margin: 0 auto;
  justify-self: center;
  --phone-w: var(--phone-display-w, 272px);
}
.docs-demo__panel {
  min-height: 0;
  width: 100%;
  max-width: 380px;
}
.section--docs-vault .docs-demo__panel.demo-playground__panel {
  padding: clamp(1.5rem, 3vw, 1.85rem);
}
.docs-panel__label {
  margin: 0 0 1rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.docs-panel__steps {
  list-style: none;
  margin: 0 0 1.35rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.docs-panel__step {
  width: 100%;
  text-align: left;
  padding: 0.7rem 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: var(--fog);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.docs-panel__step.is-on,
.docs-panel__step:hover {
  background: rgba(45, 75, 50, 0.08);
  border-color: rgba(45, 75, 50, 0.25);
  color: var(--forest);
}
.docs-panel__kinds {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.1rem;
}
.docs-panel__kind {
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius-chip);
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--ink-muted);
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
}
.docs-panel__kind.is-on {
  background: var(--forest);
  color: #fff;
  border-color: var(--forest);
}
.docs-panel__mismatch {
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  border: 1px dashed rgba(139, 58, 58, 0.35);
  background: rgba(139, 58, 58, 0.08);
  color: #8b3a3a;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}
.docs-panel__mismatch.is-on {
  background: rgba(139, 58, 58, 0.18);
  border-style: solid;
}
.docs-panel__hint {
  margin: 0;
  font-size: 0.72rem;
  color: var(--ink-muted);
  line-height: 1.5;
  padding-top: 0.25rem;
}
.vault-panel__file {
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}
.vault-panel__file:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 2px;
}
.vault-panel__file--pulse {
  animation: vault-file-pulse 0.9s ease;
}
@keyframes vault-file-pulse {
  0% { transform: scale(1); }
  40% { transform: scale(1.02); background: rgba(245, 230, 184, 0.22); }
  100% { transform: scale(1); }
}
.docs-vault__types {
  margin-top: 0;
  text-align: center;
  padding: 0 clamp(0.5rem, 2vw, 1rem);
}
.docs-vault__types-title {
  margin: 0 0 1.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}
.docs-type-list {
  list-style: none;
  margin: 0 auto 1.35rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  max-width: 52rem;
}
.docs-type-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-chip);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}
.docs-type-list__icon {
  color: var(--gold-light);
  display: flex;
}
.docs-vault__types-note {
  margin: 0 auto;
  max-width: 32rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.65);
}
.docs-vault__quote {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem 1.5rem;
  align-items: start;
  margin: 0;
  padding: clamp(1.35rem, 3vw, 1.75rem) clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 4px solid var(--gold);
}
.docs-vault__quote img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  grid-row: span 2;
}
.docs-vault__quote p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
  font-style: italic;
}
.docs-vault__quote footer {
  grid-column: 2;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  font-style: normal;
}
@media (max-width: 520px) {
  .docs-vault__quote {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .docs-vault__quote img {
    margin: 0 auto;
    grid-row: auto;
  }
  .docs-vault__quote footer { grid-column: 1; }
}
.section--docs-vault .demo-playground__panel {
  background: rgba(255, 255, 255, 0.97);
  color: var(--ink);
  border: none;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}
