:root {
  --ink: #1E2933;
  --muted: #5B6670;
  --line: #D7DDD8;
  --canvas: #F6F7F5;
  --card: #ffffff;
  --green: #0F5B4C;
  --green-dark: #0a473b;
  --green-soft: #2E8B78;
  --accent: #C9A227;
  --mint: #cce9da;
  --lime: #c8e75a;
  --shadow: 0 16px 42px rgba(16, 61, 43, 0.08);
  --demo-panel-height: clamp(580px, calc(100vh - 340px), 700px);
  --map-field-height: 27px;
  --map-field-radius: 999px;
  --map-field-border: rgba(31, 64, 56, 0.18);
  --map-field-bg: rgba(255, 255, 255, 0.72);
  --map-field-text: #1f332d;
  --map-field-placeholder: rgba(31, 51, 45, 0.58);
}

* { box-sizing: border-box; }

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

html {
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: "Inter", system-ui, sans-serif;
  overflow-x: hidden;
}

button, input, select { font: inherit; }
button, label[for] { -webkit-tap-highlight-color: transparent; }

.shell {
  min-height: 100vh;
  padding-top: 58px;
}
.site-header {
  position: fixed;
  top: 0;
  left: 4px;
  right: 4px;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 58px;
  padding: 12px 24px;
  background: rgba(246, 247, 245, .82);
  border-bottom: 1px solid rgba(215, 221, 216, .52);
  box-shadow: 0 8px 24px rgba(30, 41, 51, .035);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.site-logo { color: var(--ink); font: 800 15px/1 Inter, sans-serif; letter-spacing: .1em; text-decoration: none; white-space: nowrap; }
.site-logo span { color: #078844; }
.site-nav { display: flex; align-items: center; gap: clamp(10px, 1.25vw, 20px); font-size: 13px; font-weight: 650; }
.site-nav a { color: #3f4b45; text-decoration: none; white-space: nowrap; }
.site-nav a:hover { color: var(--green); }
.site-nav .nav-cta { padding: 8px 13px; border-radius: 8px; background: var(--green); color: #fff; }
.site-nav .nav-cta:hover { color: #fff; background: var(--green-dark); }
.topbar {
  height: 72px;
  padding: 0 clamp(20px, 4vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(15, 84, 61, 0.1);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand-inline {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  padding-bottom: 0;
}
.brand-title-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-width: 0;
}
.brand-name { font: 800 14px/1 Inter, sans-serif; letter-spacing: 0.09em; color: var(--ink); }
.brand-name span { color: var(--green); }
.brand-category { font: 800 20px/1.12 Inter, sans-serif; color: #25382f; letter-spacing: -.02em; }
.brand-sub { margin-top: 3px; font: 500 12px/1.35 Inter, sans-serif; color: var(--muted); letter-spacing: 0; }

.topbar-tabs { display: flex; align-items: center; gap: 4px; }
.source-actions, .source-meta { display: flex; align-items: center; gap: 12px; }
.source-meta { font-size: 13px; color: var(--muted); }
.file-select { border: 1px solid var(--line); border-radius: 8px; background: #f7faf8; color: var(--ink); font-size: 13px; padding: 5px 28px 5px 10px; max-width: 220px; cursor: pointer; appearance: none; background-image: linear-gradient(45deg, transparent 50%, #627169 50%), linear-gradient(135deg, #627169 50%, transparent 50%); background-position: calc(100% - 12px) 50%, calc(100% - 7px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.file-select:focus { outline: none; border-color: #75aa95; box-shadow: 0 0 0 3px rgba(11,107,79,.08); }
.file-delete-btn { border: none; background: none; color: #b0b8b4; cursor: pointer; font-size: 18px; line-height: 1; padding: 0; transition: color .15s; }
.file-delete-btn:hover { color: #c0392b; }
.upload-loading { opacity: 0.6; pointer-events: none; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #2db67c; box-shadow: 0 0 0 4px rgba(45, 182, 124, .12); }

main { width: 100%; margin: 0; padding: 0 24px 64px; }
main.legal-page { padding: 0; }
#top,
#produkt,
#ausprobieren,
#anwendungsfaelle,
#vertrauen,
#preise,
#kontakt {
  scroll-margin-top: 82px;
}
.marketing-hero, .framing-section, .usecases-section, .pricing-section, .trust-section, .secure-section {
  width: min(1440px, 100%);
  margin: 0 auto;
}
.marketing-hero {
  min-height: clamp(720px, calc(100svh - 72px), 940px);
  display: flex; align-items: center;
  padding: clamp(104px, 14vh, 168px) 16px clamp(112px, 15vh, 180px);
}
.hero { display: flex; justify-content: space-between; gap: 32px; align-items: end; margin-bottom: 30px; }
.hero-copy { max-width: 1120px; }
.eyebrow { margin: 0 0 26px; color: var(--green); font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
h1, h2 { font-family: Inter, sans-serif; margin: 0; }
h1 { max-width: 1120px; font-size: clamp(56px, 6.4vw, 96px); line-height: .96; letter-spacing: -.05em; }
h2 { font-size: clamp(24px, 3vw, 42px); line-height: 1.06; letter-spacing: -.035em; }
.hero-claim {
  max-width: 920px;
  margin: clamp(28px, 3.4vw, 46px) 0 0;
  color: var(--green);
  font-size: clamp(28px, 3.2vw, 48px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.035em;
}
.subtitle { max-width: 820px; margin: clamp(22px, 2.5vw, 34px) 0 0; color: var(--muted); font-size: clamp(18px, 1.35vw, 22px); line-height: 1.58; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 44px; }
.hero-hint { margin: 24px 0 0; color: #728078; font-size: 13px; }

.button { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 10px; padding: 11px 16px; font-weight: 700; font-size: 13px; cursor: pointer; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.button:hover { transform: translateY(-1px); }
#exportXlsx[hidden] { display: none !important; }
.button-primary { color: #fff; background: var(--green); box-shadow: 0 8px 20px rgba(11, 107, 79, .2); }
.button-primary:hover { background: var(--green-dark); }
.button-secondary { color: var(--green); background: #eef6f1; border: 1px solid #d5e7dc; }
.hero-actions .button { padding: 15px 22px; font-weight: 750; font-size: 15px; }

.story-motion .story-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .85s cubic-bezier(.22, 1, .36, 1), transform .85s cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--story-delay, 0ms);
}
.story-motion .story-reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.section-copy { max-width: 760px; }
.framing-section, .usecases-section, .pricing-section, .trust-section, .secure-section {
  padding: clamp(56px, 8vw, 96px) 16px;
  border-top: 1px solid rgba(215, 221, 216, .48);
}
.framing-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(34px, 4vw, 58px);
  align-items: center;
  min-height: min(840px, calc(100svh - 72px));
  padding: clamp(104px, 12vw, 156px) 16px clamp(104px, 12vw, 156px);
  border-top: 0;
}
.framing-section .section-copy h2,
.usecases-section .section-copy h2 {
  font-size: clamp(24px, 1.8vw, 32px);
  line-height: 1.16;
  letter-spacing: -.025em;
}
.framing-section .section-copy {
  display: grid;
  gap: 14px;
  max-width: 980px;
}
.framing-section .section-copy h2 {
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.04;
  letter-spacing: -.045em;
}
.framing-lead {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 1.35vw, 24px);
  font-weight: 650;
  line-height: 1.35;
}
.framing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(48px, .22fr) minmax(300px, 1.12fr);
  gap: 12px clamp(16px, 1.7vw, 26px);
  align-items: stretch;
}
.framing-section .section-copy,
.framing-grid { min-width: 0; }
.instrument-gap {
  grid-column: 4;
  grid-row: 1;
  display: grid;
  place-items: center;
  min-width: 0;
}
.instrument-gap::before {
  content: "";
  grid-area: 1 / 1;
  width: 1px;
  height: 86%;
  background: rgba(31, 64, 56, .12);
}
.instrument-gap span {
  grid-area: 1 / 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 28px;
  border: 1px solid rgba(15,91,76,.18);
  border-radius: 999px;
  background: #fff;
  color: #3a7d60;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.instrument-card {
  grid-row: 1;
  min-height: clamp(300px, 25vw, 370px); padding: clamp(70px, 5vw, 82px) clamp(20px, 2.4vw, 34px) clamp(28px, 3vw, 44px); border: 1px solid rgba(215, 221, 216, .62); border-radius: 10px;
  background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(10px, 1.1vw, 16px);
  position: relative; text-align: center; box-shadow: 0 14px 32px rgba(30, 41, 51, .035);
  transform-origin: center;
  transition: opacity .9s cubic-bezier(.22, 1, .36, 1), transform .9s cubic-bezier(.22, 1, .36, 1), border-color .9s ease, box-shadow .9s ease;
}
.instrument-card-known::before {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}
.instrument-card-known::before {
  content: "✓";
  border: 1px solid rgba(15,91,76,.18);
  background: rgba(15,91,76,.08);
  color: #3a7d60;
}
.instrument-card span, .pricing-card span { color: var(--muted); font-size: 12px; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.instrument-card strong { max-width: 260px; font-size: clamp(22px, 1.65vw, 31px); line-height: 1.08; letter-spacing: -.035em; }
.instrument-card > span {
  position: absolute;
  top: 18px;
  left: 20px;
  right: 64px;
  display: flex;
  align-items: center;
  min-height: 34px;
  color: #3a7d60;
  font-size: 11px;
  font-weight: 850;
  line-height: 1.15;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.instrument-card-note {
  max-width: 300px;
  margin: 2px auto 0;
  color: var(--muted);
  font-size: clamp(13px, .95vw, 15px);
  font-weight: 600;
  line-height: 1.45;
}
.instrument-card em {
  position: absolute; top: 18px; right: 18px; order: -1;
  width: 42px; height: 42px; border-radius: 999px; color: #fff; background: var(--green);
  display: inline-flex; align-items: center; justify-content: center;
  font-style: normal; font-size: 24px; font-weight: 900; letter-spacing: 0;
  opacity: .88;
  box-shadow: 0 12px 28px rgba(15,91,76,.18);
  transition: opacity .8s ease;
}
.story-motion .framing-section:not(.in-view) .instrument-card em {
  opacity: 0;
}
.instrument-visual {
  width: min(178px, 70%);
  height: clamp(86px, 8.4vw, 122px);
  margin: 0 auto clamp(12px, 1.8vw, 22px);
  color: #879493;
  opacity: .86;
}
.instrument-visual svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.instrument-visual path,
.instrument-visual circle,
.instrument-visual rect {
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.instrument-visual rect,
.instrument-visual circle {
  fill: rgba(255,255,255,.32);
}
.instrument-visual-map {
  width: min(210px, 82%);
  height: clamp(106px, 9.8vw, 138px);
  margin-bottom: clamp(10px, 1.4vw, 18px);
  color: var(--green);
  opacity: .95;
}
.instrument-visual-map .map-tile {
  stroke: rgba(255,255,255,.92);
  stroke-width: 3;
}
.instrument-visual-map .map-tile-soft { fill: rgba(15,91,76,.18); }
.instrument-visual-map .map-tile-strong { fill: rgba(15,91,76,.82); }
.instrument-visual-map circle {
  fill: rgba(255,255,255,.88);
  stroke: var(--green);
  stroke-width: 7;
}
.instrument-visual-map path {
  stroke: var(--green);
  stroke-width: 8;
}
.instrument-card-accent {
  grid-column: 5;
  border-color: rgba(15,91,76,.52);
  background: linear-gradient(180deg, #ffffff 0%, #f4faf7 100%);
  box-shadow: 0 34px 86px rgba(15,91,76,.16);
}
.framing-section.in-view .instrument-card.in-view:not(.instrument-card-accent) {
  opacity: .68;
  transform: scale(.975);
  border-color: rgba(166, 181, 172, .58);
  box-shadow: 0 18px 42px rgba(30, 41, 51, .055);
}
.framing-section.in-view .instrument-card-accent.in-view {
  opacity: 1;
  transform: scale(1.06);
  border-color: rgba(15,91,76,.58);
  box-shadow: 0 34px 86px rgba(15,91,76,.16);
}
.framing-section.in-view .instrument-card-accent.in-view em {
  opacity: 1;
}
.usecases-section {
  display: grid; grid-template-columns: minmax(260px, .72fr) minmax(0, 2.2fr);
  align-items: start; gap: clamp(54px, 6vw, 96px);
  padding: clamp(104px, 12vw, 156px) 16px clamp(96px, 11vw, 142px);
}
.usecases-layout { display: block; margin-top: 0; min-width: 0; }
.usecase-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(130px, 1fr));
  gap: clamp(26px, 2.8vw, 46px);
  position: relative;
}
.usecase-list::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 8px;
  height: 1px;
  background: linear-gradient(90deg, rgba(15,91,76,.2), rgba(215,221,216,.9));
}
.usecase-list article, .pricing-card {
  background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 18px;
}
.usecase-list article {
  display: flex; flex-direction: column; align-items: flex-start; gap: 9px;
  padding: 34px 0 0; border: 0; background: transparent;
  position: relative;
}
.usecase-list article::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 7px rgba(15,91,76,.08);
}
.usecase-list strong { display: block; font-size: 16px; line-height: 1.25; margin-bottom: 0; }
.usecase-list span, .pricing-card p { color: var(--muted); font-size: 13px; line-height: 1.62; }
.story-motion .instrument-reveal,
.story-motion .usecase-reveal,
.story-motion .pricing-reveal,
.story-motion .trust-step-reveal,
.story-motion .security-step-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .95s cubic-bezier(.22, 1, .36, 1), transform .95s cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--story-delay, 0ms);
}
.story-motion .instrument-reveal.in-view,
.story-motion .usecase-reveal.in-view,
.story-motion .pricing-reveal.in-view,
.story-motion .trust-step-reveal.in-view,
.story-motion .security-step-reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
.demo-workspace {
  width: 100%;
  margin: 0 auto;
  padding: clamp(38px, 5vw, 72px) 0 clamp(92px, 10vw, 136px);
  position: relative;
}
.demo-kicker {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 0 16px clamp(24px, 3vw, 38px);
}
.demo-kicker h2 {
  max-width: 960px;
  font-size: clamp(38px, 4.7vw, 72px);
  line-height: .98;
  letter-spacing: -.05em;
}
.demo-kicker p:not(.eyebrow) {
  max-width: 740px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1.52;
}
.demo-entry-cue {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 0 16px clamp(14px, 1.7vw, 24px);
}
.demo-entry-cue::before {
  content: "";
  display: block;
  width: 1px;
  height: clamp(32px, 4vw, 54px);
  margin: 0 0 12px 24px;
  background: linear-gradient(180deg, rgba(15,91,76,0), rgba(15,91,76,.45));
}
.demo-entry-cue span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 30px;
  padding: 6px 11px;
  border: 1px solid rgba(15,91,76,.18);
  border-radius: 999px;
  color: var(--green);
  background: rgba(15,91,76,.055);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.demo-entry-cue span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(15,91,76,.08);
}
.mobile-demo-notice {
  display: none;
  gap: 16px;
  width: 100%;
  margin: 0;
  padding: 28px 24px;
  border: 1px solid rgba(15,91,76,.18);
  border-top: 3px solid rgba(15,91,76,.62);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(238,246,241,.72));
  box-shadow: 0 20px 54px rgba(15,91,76,.08);
}
.mobile-demo-notice > span {
  color: var(--green);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.mobile-demo-notice h3 {
  max-width: 320px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(26px, 7.4vw, 34px);
  line-height: 1.06;
  letter-spacing: -.035em;
}
.mobile-demo-notice p {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.58;
}
.mobile-demo-notice .button {
  width: 100%;
  justify-content: center;
}
.demo-workspace .chart-card {
  clear: both;
  width: min(1440px, calc(100% - 32px));
  margin: 0 auto;
  border-color: rgba(15,91,76,.2);
  border-top: 3px solid rgba(15,91,76,.62);
  box-shadow: 0 26px 74px rgba(15,91,76,.09), 0 12px 42px rgba(30,41,51,.045);
}
.standalone-demo-brand {
  position: static;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 34px;
  margin-left: auto;
  text-decoration: none;
  pointer-events: auto;
  align-self: center;
}
.standalone-demo-brand:hover span { color: var(--green); }
.standalone-demo-brand span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .11em;
}
.standalone-demo-brand i {
  color: #078844;
  font-style: normal;
}
.pricing-section .section-copy p:not(.eyebrow) {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.25vw, 20px);
  line-height: 1.6;
}
.pricing-model {
  display: grid;
  grid-template-columns: minmax(0, 1.48fr) minmax(330px, .86fr);
  gap: clamp(28px, 4vw, 58px);
  margin-top: clamp(34px, 5vw, 62px);
  padding: clamp(26px, 4vw, 54px);
  border: 1px solid rgba(215, 221, 216, .78);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(30, 41, 51, .055);
}
.pricing-phases {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr);
  gap: clamp(18px, 2vw, 28px);
  align-items: stretch;
}
.pricing-phase {
  display: grid;
  align-content: start;
  gap: 14px;
  min-width: 0;
}
.pricing-phase > span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--green);
  background: rgba(15,91,76,.06);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.pricing-phase h3 {
  margin: 4px 0 0;
  max-width: 420px;
  font-size: clamp(22px, 2vw, 32px);
  line-height: 1.08;
  letter-spacing: -.035em;
}
.pricing-phase p {
  max-width: 470px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}
.pricing-phase strong {
  display: block;
  margin-top: 8px;
  color: var(--green);
  font-size: clamp(42px, 4.6vw, 72px);
  line-height: .9;
  letter-spacing: -.06em;
}
.pricing-phase small {
  display: block;
  margin-top: -2px;
  color: #3f4b45;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.48;
}
.pricing-connector {
  display: grid;
  place-items: center;
  min-height: 100%;
}
.pricing-connector span {
  position: relative;
  display: block;
  width: 100%;
  height: 1px;
  background: rgba(15,91,76,.18);
}
.pricing-connector span::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 8px;
  height: 8px;
  border-top: 1.5px solid var(--green);
  border-right: 1.5px solid var(--green);
  transform: translateY(-50%) rotate(45deg);
}
.pricing-ratio {
  display: grid;
  gap: 26px;
  align-content: start;
  padding: clamp(22px, 3vw, 34px);
  border-radius: 14px;
  background: linear-gradient(180deg, #f6faf8 0%, #eef6f1 100%);
  border: 1px solid rgba(15,91,76,.1);
}
.ratio-copy span {
  color: var(--green);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.ratio-copy strong {
  display: block;
  margin-top: 12px;
  font-size: clamp(26px, 2.5vw, 42px);
  line-height: 1;
  letter-spacing: -.045em;
}
.ratio-copy p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.62;
}
.pricing-examples {
  display: grid;
  gap: 12px;
}
.pricing-examples article {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 12px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(15,91,76,.1);
}
.pricing-examples h4 {
  margin: 0 0 2px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.25;
}
.example-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
  padding-top: 6px;
  border-top: 1px solid rgba(215,221,216,.72);
}
.example-row span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}
.example-row strong {
  color: var(--green);
  font-size: 16px;
  line-height: 1.15;
  text-align: right;
  white-space: nowrap;
}
.pricing-examples p {
  margin: -3px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}
.pricing-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  padding-top: clamp(2px, 1vw, 10px);
}
.trust-section {
  padding: clamp(104px, 12vw, 156px) 16px clamp(96px, 11vw, 142px);
}
.trust-intro {
  max-width: 960px;
}
.trust-intro h2 {
  max-width: 860px;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.04;
  letter-spacing: -.045em;
}
.trust-intro p:not(.eyebrow) {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.35vw, 22px);
  line-height: 1.58;
}
.trust-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 4vw, 58px);
  align-items: stretch;
  margin-top: clamp(52px, 6vw, 82px);
}
.trust-flow {
  grid-column: 1 / -1;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.trust-flow ol {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 34px);
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}
.trust-flow ol::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  height: 1px;
  background: linear-gradient(90deg, rgba(15,91,76,.2), rgba(15,91,76,.08), rgba(215,221,216,.9));
}
.trust-flow li {
  position: relative;
  display: grid;
  gap: 18px;
  align-content: start;
}
.trust-flow span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(15,91,76,.2);
  border-radius: 50%;
  color: var(--green);
  background: #fff;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 0 0 8px rgba(246,247,245,.9);
}
.trust-flow strong {
  max-width: 190px;
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.25;
}
.trust-flow p {
  max-width: 230px;
  margin: -7px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
.secure-processing {
  display: grid;
  gap: clamp(30px, 4vw, 56px);
  padding-top: 0;
}
.secure-processing-copy {
  max-width: 900px;
}
.secure-processing-copy h2 {
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.04;
  letter-spacing: -.045em;
}
.secure-processing-copy p:not(.eyebrow) {
  max-width: 740px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.3vw, 22px);
  line-height: 1.58;
}
.security-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 44px);
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}
.security-timeline::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(15,91,76,.2), rgba(215,221,216,.9));
}
.security-timeline li {
  position: relative;
  display: grid;
  gap: 12px;
  align-content: start;
  padding-top: 34px;
}
.security-timeline li > span {
  position: absolute;
  top: 3px;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 7px rgba(15,91,76,.08);
}
.security-timeline strong {
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.25;
}
.security-timeline p {
  max-width: 240px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
.site-footer {
  display: grid;
  grid-template-columns: minmax(320px, 1.45fr) minmax(220px, .8fr) minmax(260px, .9fr);
  gap: clamp(42px, 6vw, 104px);
  width: 100%;
  margin-top: clamp(52px, 8vw, 92px);
  padding: clamp(58px, 7vw, 86px) clamp(24px, 8vw, 128px);
  color: rgba(255,255,255,.76);
  background: #121d17;
}
.footer-brand strong {
  display: block;
  color: rgba(255,255,255,.9);
  font: 700 20px/1 Inter, sans-serif;
  letter-spacing: 0;
}
.footer-brand strong sup {
  margin-left: 2px;
  font-size: .8em;
  line-height: 0;
  vertical-align: super;
}
.footer-brand strong span { color: #078844; }
.footer-brand p,
.footer-column p {
  margin: 0;
  color: rgba(255,255,255,.68);
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.55;
}
.footer-claim {
  margin-top: 22px !important;
  color: rgba(255,255,255,.9) !important;
  font-size: clamp(20px, 1.8vw, 28px) !important;
  font-weight: 650;
  line-height: 1.18 !important;
}
.footer-benefit {
  margin-top: 10px !important;
  color: rgba(255,255,255,.82) !important;
  font-size: clamp(18px, 1.45vw, 22px) !important;
  font-weight: 560;
}
.footer-origin {
  margin-top: clamp(42px, 5vw, 72px) !important;
}
.footer-data {
  display: grid;
  gap: 14px;
  margin-top: clamp(42px, 5vw, 72px);
}
.footer-data span {
  color: #a8c49d;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .28em;
  text-transform: uppercase;
}
.footer-data ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-data li {
  position: relative;
  padding-left: 18px;
  color: rgba(255,255,255,.7);
  font-size: clamp(15px, 1.08vw, 17px);
  line-height: 1.5;
}
.footer-data li::before {
  content: "";
  position: absolute;
  top: .72em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #a8c49d;
}
.footer-column {
  display: grid;
  align-content: start;
  gap: 18px;
}
.footer-column > span {
  margin-bottom: 18px;
  color: #a8c49d;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .32em;
  text-transform: uppercase;
}
.site-footer a {
  color: rgba(255,255,255,.88);
  text-decoration-color: rgba(168,196,157,.52);
  text-underline-offset: 5px;
}
.site-footer a:hover { color: #fff; text-decoration-color: #a8c49d; }
.footer-tech {
  max-width: 340px;
  color: rgba(255,255,255,.72) !important;
}
.legal-section {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: clamp(88px, 10vw, 138px) clamp(16px, 5vw, 72px) clamp(72px, 9vw, 120px);
  background: var(--canvas);
}
.legal-section-muted { background: var(--canvas); }
.legal-content {
  max-width: 980px;
}
.legal-content h1,
.legal-content h2 {
  font-family: Inter, sans-serif;
  color: var(--ink);
  font-weight: 750;
}
.legal-content h1 {
  max-width: 740px;
  margin: 10px 0 18px;
  font-size: clamp(42px, 5.6vw, 86px);
  line-height: 1.04;
  letter-spacing: -.045em;
}
.legal-content h2 {
  margin: clamp(32px, 4vw, 52px) 0 10px;
  padding-top: clamp(24px, 3vw, 34px);
  border-top: 1px solid rgba(215, 221, 216, .72);
  font-size: clamp(20px, 1.65vw, 27px);
  line-height: 1.16;
  letter-spacing: -.025em;
}
.legal-content p {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.72;
}
.legal-content p + p { margin-top: 16px; }
.legal-lead {
  max-width: 760px !important;
  margin-bottom: clamp(44px, 5vw, 68px) !important;
  font-size: clamp(18px, 1.6vw, 24px) !important;
  line-height: 1.55 !important;
}
.legal-block {
  margin: clamp(34px, 4vw, 52px) 0 0;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(215, 221, 216, .72);
  border-radius: 14px;
  background: rgba(255,255,255,.74);
  box-shadow: 0 18px 52px rgba(30, 41, 51, .045);
}
.legal-block h2 {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.legal-block-primary {
  border-color: rgba(15,91,76,.16);
  background: linear-gradient(180deg, rgba(255,255,255,.88), rgba(238,246,241,.58));
}
.legal-content a {
  color: var(--green);
  text-decoration-color: rgba(15,91,76,.3);
  text-underline-offset: 4px;
}
.legal-content a:hover { color: var(--green-dark); }

.kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.kpi-card { min-height: 128px; padding: 22px; display: flex; flex-direction: column; border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(16, 61, 43, .04); }
.kpi-card span { color: var(--muted); font-size: 13px; font-weight: 600; }
.kpi-card strong { margin-top: 10px; font: 700 clamp(24px, 2.4vw, 34px)/1 Inter, sans-serif; letter-spacing: -.04em; }
.kpi-card small { margin-top: auto; color: #87928d; }
.kpi-accent { color: #fff; border-color: var(--green); background: linear-gradient(135deg, #0a6048, #0c7b59); }
.kpi-accent span, .kpi-accent small { color: rgba(255,255,255,.7); }

.workspace { display: block; }
.tab-switcher { display: flex; gap: 4px; margin-left: 20px; }
.tab-switcher[hidden] { display: none; }
.heading-total {
  display: grid;
  grid-template-columns: max-content max-content minmax(72px, 1fr) auto minmax(260px, 360px);
  grid-template-rows: 10px var(--map-field-height);
  align-items: end;
  justify-content: stretch;
  gap: 4px 16px;
  width: 100%;
  margin-top: 2px;
  padding-top: 0;
  border-top: 0;
  margin-left: 0;
  padding-left: 0;
  position: relative;
}
.heading-total > span {
  grid-column: 1 / 3;
  grid-row: 1;
  align-self: end;
}
.kpi-tooltip-wrap {
  position: relative;
  display: flex;
  align-items: center;
  grid-column: 2;
  grid-row: 2;
  align-self: center;
}
.kpi-info-btn { display: flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; border: 1px solid #c8d8d0; background: #f7faf8; color: #627169; cursor: pointer; padding: 0; flex-shrink: 0; transition: border-color .1s, color .1s; }
.kpi-info-btn:hover { border-color: #3a7d60; color: #3a7d60; }
.kpi-tooltip { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); background: #fff; border: 1px solid #d9e4de; border-radius: 10px; box-shadow: 0 4px 16px rgba(0,0,0,.10); padding: 10px 14px; min-width: 220px; z-index: 100; }
.kpi-tooltip[hidden] { display: none; }
.kpi-row { display: flex; justify-content: space-between; gap: 16px; padding: 3px 0; border-bottom: 1px solid #f0f5f2; font-size: 12px; }
.kpi-row:last-child { border-bottom: none; }
.kpi-label { color: var(--muted); }
.kpi-value { font-weight: 700; color: var(--ink); }
.heading-total > span {
  color: #3a7d60;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
}
.heading-total strong {
  color: var(--green);
  font-size: 24px;
  font-weight: 850;
  letter-spacing: -.035em;
  line-height: 1.05;
  grid-column: 1;
  grid-row: 2;
  align-self: center;
}
.heading-total .map-filter-control {
  grid-column: 4;
  grid-row: 1 / 3;
  align-self: start;
  justify-self: end;
  width: min(100%, 360px);
  min-width: 260px;
  margin-left: 0;
}
.heading-total > .volume-control {
  grid-column: 5;
  grid-row: 1 / 3;
  align-self: end;
  justify-self: end;
  display: flex;
  gap: 7px;
  min-width: max-content;
  margin-left: 4px;
  padding-left: 0;
  border-left: 0;
}
.heading-total > .volume-control .volume-control-label {
  color: #3a7d60;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
}
.heading-total > .volume-control .volume-toggle {
  flex-wrap: nowrap;
  min-height: var(--map-field-height);
  gap: 5px;
}
.heading-total > .volume-control .volume-toggle-btn {
  height: var(--map-field-height);
  min-height: var(--map-field-height);
  padding: 0 8px;
  font-size: 10.5px;
}
.map-filter-control .search-wrap > span {
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .08em;
  line-height: 1;
}
.map-filter-control .search-wrap {
  width: 100%;
  min-width: 0;
  max-width: none;
  margin-left: 0;
}
#panelTreemap {
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  height: var(--demo-panel-height);
  min-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  overflow: hidden;
  isolation: isolate;
}
#panelTreemap[hidden] { display: none !important; }
#panelTreemap #treemap {
  flex: 1 1 auto;
  height: auto;
  min-height: 0;
}
#panelTreemap.leaf-detail-active #treemap {
  display: block;
}
#panelPositions {
  height: var(--demo-panel-height);
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-top: 4px;
}
#panelPositions[hidden] { display: none !important; }
.chart-subheading { display: flex; align-items: center; gap: 12px; padding: 12px 0 8px; flex-wrap: wrap; }
.chart-subheading h3 { margin: 0; font-size: 16px; font-weight: 700; }
.pos-context { font-size: 11px; color: var(--muted); display: flex; gap: 6px 18px; flex-wrap: wrap; align-items: center; line-height: 1.45; }
.pos-context-group { color: var(--ink); }
.pos-context-group strong { color: var(--muted); font-weight: 800; }
.pos-context-more { color: var(--green); font-weight: 800; white-space: nowrap; }
.pos-context-label { background: none !important; color: var(--muted) !important; font-weight: 700; padding: 0 !important; margin-left: 6px; }
.pos-context-label:first-child { margin-left: 0; }
.pos-context:not([hidden]) { display: flex; }
.back-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 13px 6px 9px;
  border: 1px solid #82b89f;
  border-radius: 8px;
  background: #dcefe6;
  color: var(--green);
  cursor: pointer;
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: inset 0 0 0 1px rgba(15,91,76,.06);
  transition: background .1s, border-color .1s, color .1s;
}
.back-btn:hover {
  border-color: #0f5b4c;
  background: #cde7da;
  color: #0f5b4c;
}
.positions-heading {
  align-items: flex-start;
  margin: 8px 0 10px;
  padding: 14px 16px;
  border: 1px solid rgba(15,91,76,.13);
  border-left: 4px solid var(--green);
  border-radius: 12px;
  background: linear-gradient(180deg, #f4faf7 0%, #eef6f1 100%);
  box-shadow: 0 10px 24px rgba(16,61,43,.055);
}
.positions-heading-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
  flex: 1;
}
.export-excel-btn {
  margin-left: auto;
  flex: 0 0 auto;
  color: #1f6f43;
  background: #f3faf5;
  border-color: #b8d9c5;
}
.export-excel-btn:hover:not(:disabled) {
  background: #dff2e6;
  border-color: #74b78d;
}
.export-excel-btn:disabled {
  opacity: .45;
  cursor: default;
}
.detail-kicker {
  color: var(--green);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.positions-title-line {
  display: flex;
  align-items: baseline;
  gap: 12px;
  min-width: 0;
  flex-wrap: wrap;
}
.positions-title-line h3 {
  margin: 0;
  max-width: min(720px, 100%);
  font-size: clamp(18px, 1.5vw, 24px);
  line-height: 1.15;
  letter-spacing: -.025em;
}
.positions-title-line #posTotal {
  display: inline-flex;
  align-items: center;
  padding: 2px 0;
  color: var(--green);
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}
.positions-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}
.positions-controls { display: flex; align-items: center; }
.tab-btn { border: 1px solid var(--line); border-radius: 10px; padding: 8px 18px; font-size: 13px; font-weight: 700; background: var(--card); color: var(--muted); cursor: pointer; display: flex; align-items: center; gap: 8px; transition: background .12s, color .12s, border-color .12s; }
.tab-btn:hover:not(.active) { background: #eef6f1; color: var(--ink); }
.tab-btn.active { background: var(--green); color: #fff; border-color: var(--green); }
.tab-badge { background: rgba(255,255,255,0.25); color: #fff; border-radius: 20px; padding: 1px 7px; font-size: 11px; font-weight: 700; }
.tab-btn:not(.active) .tab-badge { background: var(--mint); color: var(--green); }
/* Positions-Tab aufleuchten wenn Badge sichtbar und Tab inaktiv */
#tabPositions:not(.active):not(:has(.tab-badge[hidden])) { border-color: #3a7d60; color: #1e3a2e; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.filters { padding: 22px; }
.section-heading, .chart-heading, .details-heading { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.text-button { border: 0; padding: 4px 0; color: var(--green); background: transparent; font-size: 12px; font-weight: 700; cursor: pointer; }
.field { display: grid; gap: 7px; margin-top: 22px; }
.field > span, .field-label { color: #4d5c56; font-size: 12px; font-weight: 700; }
select, input[type="search"] { width: 100%; min-width: 0; border: 1px solid #d9e4de; border-radius: 10px; outline: none; color: var(--ink); background: #fbfdfc; }
select { appearance: none; padding: 10px 34px 10px 11px; background-image: linear-gradient(45deg, transparent 50%, #627169 50%), linear-gradient(135deg, #627169 50%, transparent 50%); background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
select:focus, input:focus { border-color: #75aa95; box-shadow: 0 0 0 3px rgba(11, 107, 79, .08); }
.search-wrap { position: relative; }
.search-wrap svg { width: 17px; height: 17px; position: absolute; left: 11px; top: 50%; transform: translateY(-50%); fill: none; stroke: #809088; stroke-width: 1.8; }
.search-wrap input { padding: 10px 10px 10px 35px; }
.legend-block { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.legend { display: grid; gap: 10px; margin-top: 12px; }
.legend-item { display: grid; grid-template-columns: 9px minmax(0, 1fr) auto; align-items: center; gap: 8px; font-size: 11px; color: var(--muted); }
.legend-swatch { width: 9px; height: 9px; border-radius: 3px; }
.legend-item span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.legend-item strong { color: var(--ink); font-weight: 700; }

.chart-card {
  padding: clamp(22px, 2.1vw, 34px) clamp(22px, 2.2vw, 34px) clamp(20px, 1.9vw, 28px);
  min-width: 0;
  position: relative;
}
.map-header-brand {
  display: grid;
  grid-template-columns: max-content max-content;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(18px, 2.2vw, 32px);
  padding-bottom: 12px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(31, 64, 56, .10);
}
.standalone-demo-brand {
  justify-self: end;
}
.chart-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: flex-start;
  justify-content: start;
  margin-bottom: 0;
  padding: 0 0 4px;
  row-gap: 0;
}
.chart-title-block {
  display: contents;
}
.brand-inline { grid-column: 1; grid-row: 1; }
.heading-total { grid-column: 1; grid-row: 1; }
.chart-title-line { display: flex; align-items: baseline; gap: 10px; }
.chart-title-line h2 { font-size: 18px; margin: 0; }
.chart-title-line span { color: var(--green); font: 700 18px/1.2 Inter, sans-serif; }
.chart-total-line { display: flex; align-items: baseline; gap: 10px; padding: 10px 0 4px; }
.chart-total-line h2 { font-size: 16px; margin: 0; color: var(--muted); font-weight: 600; }
.chart-total-line span { color: var(--green); font: 700 16px/1.2 Inter, sans-serif; }

/* Suche */
.search-wrap {
  position: relative;
  display: grid;
  grid-template-rows: 10px var(--map-field-height);
  gap: 3px;
  z-index: 120;
  flex: 0 0 220px;
  width: 220px;
  min-width: 190px;
  max-width: 240px;
  margin-left: 2px;
}
.search-wrap > span {
  display: block;
  color: #3a7d60;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .06em;
}
#globalSearch {
  height: var(--map-field-height); padding: 0 30px 0 28px; border: 1px solid var(--map-field-border); border-radius: var(--map-field-radius);
  font-size: 11px; font-weight: 500; font-family: inherit; color: var(--map-field-text); background-color: var(--map-field-bg);
  width: 100%; transition: border-color .2s; box-sizing: border-box;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' viewBox='0 0 24 24' fill='none' stroke='%23627169' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: 8px center;
}
.search-clear-btn {
  position: absolute;
  right: 5px;
  bottom: 3px;
  z-index: 2;
  width: 20px;
  height: 20px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #627169;
  cursor: pointer;
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
}
.search-clear-btn:hover {
  background: #e7f2eb;
  color: var(--green);
}
.search-clear-btn[hidden] {
  display: none;
}
#globalSearch::placeholder {
  color: var(--map-field-placeholder);
  font-weight: 500;
  opacity: 1;
}
#globalSearch::-webkit-search-cancel-button,
#globalSearch::-webkit-search-decoration,
#globalSearch::-webkit-search-results-button,
#globalSearch::-webkit-search-results-decoration {
  display: none;
}
#globalSearch:focus { outline: none; border-color: #75aa95; box-shadow: 0 0 0 3px rgba(11,107,79,.08); }
.search-results {
  position: absolute; top: calc(100% + 10px); right: 0; left: auto; width: min(92vw, 640px); min-width: min(420px, 92vw);
  background: #fff; border: 1px solid #d9e4de; border-radius: 10px;
  box-shadow: 0 8px 24px rgba(16,61,43,.12); z-index: 2000; overflow: hidden;
}
.search-results:not([hidden]) { display: block; }
.search-result-section {
  padding: 7px 12px 5px;
  background: #f6faf8;
  color: #3a7d60;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .06em;
  line-height: 1;
  text-transform: uppercase;
}
.search-result-group { border-bottom: 1px solid #edf2ee; cursor: pointer; }
.search-result-group:last-child { border-bottom: none; }
.search-result-item {
  display: grid; gap: 4px; padding: 8px 12px;
  font-size: 12px;
}
.search-result-block { background: #fff; }
.search-result-element,
.search-result-supplier {
  background: #fbfdfc;
  border-top: 1px solid #f3f6f4;
}
.search-result-group:hover .search-result-item { background: #f3f7f4; }
.search-result-main { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.search-result-label { font-weight: 600; color: var(--ink); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-result-element .search-result-label { font-weight: 500; }
.search-result-label mark { background: #c8e75a; color: var(--ink); border-radius: 2px; padding: 0 1px; }
.search-result-type { font-size: 11px; color: var(--muted); font-weight: 500; white-space: nowrap; }
.search-result-value { font-size: 11px; color: var(--green); font-weight: 600; white-space: nowrap; }
.search-result-context { display: flex; flex-wrap: wrap; gap: 4px 10px; color: #627169; font-size: 10px; line-height: 1.35; }
.search-result-context strong { color: #3f4d47; font-weight: 800; margin-right: 3px; }
.search-result-path { font-size: 10px; color: var(--muted); flex-basis: 100%; margin-top: 1px; }
.search-result-more { padding: 6px 12px 8px 30px; color: var(--muted); font-size: 10px; background: #fbfdfc; }
.search-no-results { padding: 12px; font-size: 12px; color: var(--muted); text-align: center; }
.search-results .search-result-item {
  font-size: 12px;
  line-height: 1.25;
}
.search-results .search-result-context,
.search-results .search-result-context span,
.search-results .search-result-context strong {
  font-size: 10px !important;
  line-height: 1.35 !important;
}
.search-results .search-result-context strong {
  display: inline;
  color: #3f4d47;
  font-weight: 800;
  margin-right: 3px;
  text-transform: none;
  letter-spacing: 0;
}
.control-label {
  color: #3a7d60; font-size: 10px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .06em;
  flex: 0 0 auto;
}

/* Volumenbereich */
.volume-control {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
}
.volume-control-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 0;
}
.volume-toggle {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  min-width: 0;
}
.volume-split {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}
.volume-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 27px;
  min-height: 27px;
  padding: 0 9px;
  border: 1px solid #d9e4de;
  border-radius: 999px;
  background: #f7faf8;
  color: #5d6b64;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  transition: background .12s, border-color .12s, color .12s, box-shadow .12s;
}
.volume-split .volume-toggle-btn {
  border-radius: 0;
}
.volume-split .volume-split-main {
  border-radius: 999px 0 0 999px;
  border-right-color: rgba(31, 64, 56, .12);
}
.volume-split .volume-split-rest {
  min-width: 32px;
  border-left: 0;
  border-radius: 0 999px 999px 0;
  color: #6c7973;
}
.volume-split .volume-split-rest.active {
  color: var(--green);
}
.volume-toggle-btn:hover:not(.active):not(:disabled) { border-color: #75aa95; background: #e7f2eb; }
.volume-toggle-btn.active {
  background: #dbece4;
  color: var(--green);
  border-color: #6fae98;
  box-shadow: inset 0 0 0 1px rgba(15,91,76,.10), 0 1px 3px rgba(15,91,76,.10);
}
.volume-toggle-btn:disabled {
  cursor: default;
  background: #f4f7f5;
  border-color: #d9e4de;
  color: #9aa8a1;
  box-shadow: none;
  opacity: .72;
}
.volume-toggle-btn:focus { outline: none; box-shadow: 0 0 0 3px rgba(11,107,79,.10); }
.demo-popout-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: static;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: #627169;
  cursor: pointer;
  transition: background .12s, border-color .12s, color .12s, box-shadow .12s;
  z-index: 65;
}
.demo-popout-btn:hover {
  border-color: #d9e4de;
  background: #f3f8f5;
  color: var(--green);
  box-shadow: inset 0 0 0 1px rgba(15,91,76,.05);
}
.demo-popout-btn svg { flex-shrink: 0; }

#treemap {
  position: relative;
  z-index: 1;
  width: 100%;
  height: var(--demo-panel-height);
}
#treemap .hoverlayer .hovertext,
#treemap .hoverlayer .hovertext path {
  opacity: 1 !important;
  fill-opacity: 1 !important;
  stroke-opacity: 1 !important;
}
.map-level-path {
  position: relative;
  z-index: 80;
  top: auto;
  left: auto;
  right: auto;
  display: flex;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
  min-width: 0;
  min-height: 34px;
  margin: 0;
  padding: 4px 8px;
  border: 1px solid rgba(15, 91, 76, .12);
  border-radius: 10px;
  background: rgba(238, 247, 242, .72);
  color: #214036;
  pointer-events: auto;
  transition: opacity .08s ease;
  overflow: visible;
}
.map-level-path[hidden] {
  display: none !important;
}
.map-level-path button {
  font-family: inherit;
}
.map-config-panel {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 3px 10px;
  min-height: 32px;
  margin-top: 6px;
  padding: 2px 6px 2px 8px;
  overflow: visible;
  isolation: isolate;
}
.map-config-field {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.map-config-field > span {
  color: #43534c;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}
.map-labeled-control {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}
.map-inline-label {
  color: #43534c;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}
.map-config-map {
  width: 290px;
  margin-right: 8px;
}
.map-config-map .map-labeled-control {
  width: 100%;
}
.map-config-map .map-config-select {
  flex: 1 1 auto;
  min-width: 0;
}
.map-config-detail {
  width: auto;
  margin-left: 8px;
  margin-right: 18px;
}
.map-config-view {
  width: auto;
  margin: 0 26px 0 4px;
}
.map-config-depth {
  flex: 0 1 456px;
  min-width: min(100%, 260px);
}
.map-config-depth.has-one-level {
  flex-basis: 270px;
}
.map-config-depth.has-one-level .map-drill-select {
  max-width: 190px;
}
.map-config-depth.has-two-levels {
  flex-basis: 456px;
}
.map-config-panel .volume-control {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  min-width: 0;
  margin-left: auto;
  margin-right: 0;
  padding-left: clamp(12px, 1.8vw, 24px);
  border-left: 0;
  position: relative;
}
.map-config-panel .volume-control::before {
  content: "";
  flex: 0 0 auto;
  width: 1px;
  height: 16px;
  margin-right: 10px;
  background: rgba(15, 91, 76, .13);
}
.map-config-panel .volume-control-label {
  color: #43534c;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  text-transform: none;
  letter-spacing: 0;
}
.map-config-panel .volume-control-row {
  display: flex;
  align-items: center;
  min-width: 0;
}
.map-config-panel .volume-toggle {
  min-height: 28px;
  gap: 5px;
  flex-wrap: nowrap;
}
.map-config-panel .volume-toggle-btn {
  height: 28px;
  min-height: 28px;
  padding: 0 8px;
  font-size: 10.5px;
}
.map-config-panel .volume-split .volume-split-rest {
  min-width: 28px;
}
.map-view-toggle .map-view-btn {
  height: 28px;
  min-height: 28px;
  padding: 0 10px;
  font-size: 10.5px;
}
.map-view-toggle .volume-split-main {
  min-width: 72px;
}
.map-view-toggle .volume-split-rest {
  min-width: 76px;
}
.map-config-select {
  position: relative;
  z-index: 85;
  width: 100%;
  height: 28px;
  min-height: 28px;
  padding: 0 30px 0 10px;
  border: 1px solid var(--map-field-border);
  border-radius: var(--map-field-radius);
  background-color: var(--map-field-bg);
  color: var(--map-field-text);
  cursor: pointer;
  font-size: 11px;
  font-weight: 650;
}
.map-config-select:focus {
  z-index: 95;
}
.map-segmented {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}
.map-segment-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  min-width: 74px;
  padding: 0 10px;
  border: 1px solid #d9e4de;
  border-radius: var(--map-field-radius);
  background: #f7faf8;
  color: #4b5a53;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}
.map-segment-btn:hover:not(.active) {
  border-color: #75aa95;
  background: #eef7f2;
}
.map-segment-btn.active {
  border-color: #6fae98;
  background: #dbece4;
  color: var(--green);
  box-shadow: inset 0 0 0 1px rgba(15,91,76,.10);
}
.map-segment-btn:focus,
.map-config-select:focus {
  outline: none;
  border-color: #75aa95;
  box-shadow: 0 0 0 3px rgba(11,107,79,.08);
}
.map-drill-row {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.map-drill-label {
  flex: 0 0 auto;
  color: #43534c;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}
.map-drill-select {
  flex: 1 1 150px;
  min-width: 130px;
}
.map-drill-separator {
  flex: 0 0 auto;
  color: rgba(15, 91, 76, .54);
  font-size: 12px;
  font-weight: 850;
}
@media (max-width: 1280px) {
  .map-config-panel {
    gap: 5px 8px;
  }
  .map-config-map {
    width: clamp(170px, 26vw, 260px);
  }
  .map-config-detail {
    flex: 0 1 auto;
    max-width: min(100%, 410px);
    overflow-x: auto;
    scrollbar-width: none;
  }
  .map-config-detail::-webkit-scrollbar {
    display: none;
  }
  .map-config-detail .map-labeled-control {
    width: max-content;
  }
  .map-config-depth {
    flex: 1 1 420px;
    min-width: min(100%, 320px);
  }
  .map-config-panel .volume-control {
    flex: 0 0 auto;
    margin-left: auto;
    justify-content: flex-end;
  }
}
@media (max-width: 900px) {
  .map-config-panel {
    align-items: stretch;
  }
  .map-config-map,
  .map-config-detail,
  .map-config-view {
    flex: 1 1 180px;
    width: auto;
    margin-left: 0;
    margin-right: 0;
  }
  .map-config-depth {
    flex: 1 1 100%;
  }
  .map-config-panel .volume-control {
    flex: 0 0 auto;
    justify-content: flex-end;
    margin-left: auto;
    padding-left: 0;
    border-left: 0;
  }
  .map-config-panel .volume-control::before {
    content: none;
  }
  .map-drill-row {
    flex-wrap: wrap;
  }
  .map-drill-separator {
    display: none;
  }
}
.treemap-position-preview {
  --treemap-preview-bg: #00304b;
  --treemap-preview-text: #f7faf8;
  --treemap-preview-muted: rgba(247,250,248,.74);
  --treemap-preview-subtle: rgba(247,250,248,.10);
  --treemap-preview-row-hover: rgba(247,250,248,.08);
  position: absolute;
  z-index: 12;
  left: 3px;
  right: 3px;
  top: 42px;
  bottom: 4px;
  flex: 0 0 auto;
  min-height: 0;
  padding: 12px 18px 12px;
  border: 0;
  border-radius: 0;
  background: var(--treemap-preview-bg);
  color: var(--treemap-preview-text);
  overflow: hidden;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transition: opacity .18s ease .32s;
}
.treemap-position-preview.is-visible { opacity: 1; }
.treemap-position-preview[hidden] { display: none !important; }
.treemap-preview-meta {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: absolute;
  top: 12px;
  left: 18px;
  right: 18px;
  z-index: 2;
  margin: 0;
  padding: 0;
  color: var(--treemap-preview-muted);
  font-size: 10px;
  font-weight: 520;
}
.treemap-preview-backtitle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: min(680px, 92%);
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--treemap-preview-text);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 780;
  line-height: 1.1;
  text-align: left;
}
.treemap-preview-backtitle span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.treemap-preview-backtitle:hover span:last-child {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.treemap-position-preview.is-sunburst-detail .treemap-preview-meta {
  justify-content: center;
}
.treemap-position-preview.is-sunburst-detail .treemap-preview-backtitle {
  justify-content: center;
  gap: 8px;
  max-width: min(420px, calc(100% - 80px));
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(247, 250, 248, .10);
}
.treemap-position-preview.is-sunburst-detail .treemap-preview-backtitle span:first-child {
  font-size: 13px;
  line-height: 1;
}
.treemap-position-preview.is-sunburst-detail .treemap-preview-export {
  position: absolute;
  top: 0;
  right: 0;
}
.treemap-preview-summary {
  flex: 0 0 auto;
  width: min(600px, calc(100% - 46px));
  max-width: calc(100% - 46px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  gap: 4px 28px;
  margin: 30px 0 16px;
  padding: 0 4px 0;
  background: var(--treemap-preview-bg);
  color: rgba(247,250,248,.80);
  font-size: 11px;
  line-height: 1.2;
}
.treemap-preview-summary div {
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
}
.treemap-preview-summary dt {
  margin: 0;
  font-weight: 750;
  opacity: .72;
}
.treemap-preview-summary dd {
  margin: 0;
  color: var(--treemap-preview-text);
  font-weight: 900;
}
.treemap-preview-actions {
  flex: 0 0 auto;
  display: flex;
  justify-content: flex-end;
  padding: 0 4px 5px;
}
.treemap-preview-backhint {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  opacity: .82;
}
.treemap-preview-backhint > span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.treemap-preview-backhint-arrow {
  flex: 0 0 auto;
  color: var(--treemap-preview-text);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}
.treemap-preview-export {
  flex: 0 0 auto;
  height: 24px;
  width: 28px;
  padding: 0;
  border: 1px solid rgba(247,250,248,.62);
  border-radius: 999px;
  background: rgba(247,250,248,.92);
  color: #0f5b4c;
  font: inherit;
  font-size: 16px;
  font-weight: 850;
  line-height: 1;
  cursor: pointer;
}
.treemap-preview-export:hover {
  background: #fff;
}
.treemap-preview-export:disabled {
  cursor: default;
  opacity: .45;
}
.treemap-preview-scroll {
  min-height: 0;
  flex: 1 1 auto;
  overflow-x: hidden;
  overflow-y: auto;
  border: 0;
  border-radius: 0;
  background: var(--treemap-preview-bg);
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.treemap-preview-scroll::-webkit-scrollbar { display: none; }
.treemap-preview-scroll:focus { outline: none; }
.treemap-preview-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 11px;
}
.treemap-preview-table-head {
  flex: 0 0 auto;
  background: var(--treemap-preview-bg);
}
.treemap-preview-table-body {
  margin-top: 0;
  background: var(--treemap-preview-bg);
}
.treemap-preview-table th,
.treemap-preview-table td {
  overflow: hidden;
  text-overflow: ellipsis;
}
.treemap-preview-table th:nth-child(1),
.treemap-preview-table td:nth-child(1) { width: 13%; }
.treemap-preview-table th:nth-child(2),
.treemap-preview-table td:nth-child(2) { width: 9%; }
.treemap-preview-table th:nth-child(3),
.treemap-preview-table td:nth-child(3) { width: 8%; }
.treemap-preview-table th:nth-child(4),
.treemap-preview-table td:nth-child(4) { width: 31%; }
.treemap-preview-table th:nth-child(5),
.treemap-preview-table td:nth-child(5) { width: 7%; }
.treemap-preview-table th:nth-child(6),
.treemap-preview-table td:nth-child(6) { width: 9%; }
.treemap-preview-table th:nth-child(7),
.treemap-preview-table td:nth-child(7),
.treemap-preview-table th:nth-child(8),
.treemap-preview-table td:nth-child(8),
.treemap-preview-table th:nth-child(9),
.treemap-preview-table td:nth-child(9) { width: 7.66%; }
.treemap-preview-table th {
  position: static;
  background: transparent !important;
  color: var(--treemap-preview-text);
}
.treemap-preview-table td {
  background: transparent !important;
  color: var(--treemap-preview-text);
  border-bottom-color: var(--treemap-preview-subtle);
}
.treemap-preview-table tbody tr:hover td {
  background: var(--treemap-preview-row-hover) !important;
}
.treemap-preview-table .beleg-link {
  color: var(--treemap-preview-text);
  font-weight: 850;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.treemap-preview-table .beleg-link:hover { color: #d8f0e5; }
.treemap-preview-empty {
  padding: 14px 12px;
  color: rgba(247,250,248,.72);
  font-weight: 750;
}
.treemap-mobile-note {
  flex: 0 0 auto;
  width: min(100%, 420px);
  display: grid;
  gap: 8px;
  margin: 8px 4px 0;
  color: var(--treemap-preview-text);
}
.treemap-mobile-note strong {
  font-size: 15px;
  font-weight: 850;
  line-height: 1.18;
}
.treemap-mobile-note p {
  max-width: 36ch;
  margin: 0;
  color: var(--treemap-preview-muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.45;
}
.empty-state { position: absolute; inset: 110px 22px 22px; place-content: center; text-align: center; background: #fafcfb; border-radius: 12px; color: var(--muted); }
.empty-state:not([hidden]) { display: grid; gap: 8px; }

.beleg-link { color: var(--green); font-weight: 700; text-decoration: underline; }
.beleg-link:hover { color: var(--green-dark); }
th.sortable { cursor: pointer; user-select: none; }
th.sortable:hover { background: #1e4e3d; }
th.sortable::after { content: " ⇅"; opacity: 0.4; font-size: 10px; }
th.sort-asc::after { content: " ↑"; opacity: 1; }
th.sort-desc::after { content: " ↓"; opacity: 1; }
.details-card { margin-top: 16px; padding: 24px 24px 14px; }
.details-heading { align-items: center; margin-bottom: 20px; }
.details-heading p:last-child { margin: 7px 0 0; color: var(--muted); font-size: 13px; }
.table-wrap { overflow: auto; max-height: 560px; border: 1px solid var(--line); border-radius: 12px; }
#panelPositions .table-wrap { flex: 1; min-height: 0; max-height: none; }
table { width: max-content; min-width: 100%; border-collapse: separate; border-spacing: 0; font-size: 12px; }
th, td { padding: 10px 12px; text-align: left; white-space: nowrap; border-bottom: 1px solid #edf1ef; }
td { max-width: 220px; overflow: hidden; text-overflow: ellipsis; }
td.number, th.number { max-width: none; white-space: nowrap; text-align: right; }
th { position: sticky; top: 0; z-index: 2; color: #f4faf7; background: #173e31; font-weight: 700; }
th:first-child { border-top-left-radius: 10px; } th:last-child { border-top-right-radius: 10px; }
tbody tr:hover td { background: #f4f9f6; }
.position-detail-cell {
  position: relative;
  overflow: visible;
}
.position-detail-text {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.position-detail-cell::after {
  content: attr(data-fulltext);
  position: absolute;
  left: 12px;
  top: calc(100% + 8px);
  z-index: 12;
  display: none;
  width: max-content;
  max-width: min(620px, 72vw);
  padding: 10px 12px;
  border: 1px solid rgba(15,91,76,.18);
  border-radius: 10px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 14px 36px rgba(30,41,51,.14);
  white-space: normal;
  line-height: 1.45;
}
.position-detail-cell:hover::after,
.position-detail-cell:focus::after {
  display: block;
}
.node-table-row { cursor: pointer; }
.node-table-row:focus { outline: 2px solid rgba(15,91,76,.25); outline-offset: -2px; }
td.number { text-align: right; font-variant-numeric: tabular-nums; }
.pagination { min-height: 52px; display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 12px; }
.pagination > div { display: flex; gap: 8px; }
.icon-button { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 9px; color: var(--green); background: #fff; cursor: pointer; }
.icon-button:disabled { opacity: .35; cursor: default; }
.toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 120px); padding: 12px 18px; border-radius: 10px; color: #fff; background: var(--ink); box-shadow: var(--shadow); font-size: 13px; opacity: 0; transition: .25s ease; z-index: 50; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

@media (max-width: 1280px) and (min-width: 681px) {
  .usecases-section {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .usecase-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .usecase-list strong,
  .trust-flow strong,
  .security-timeline strong {
    font-size: 18px;
    line-height: 1.24;
  }
  .usecase-list span,
  .trust-flow p,
  .security-timeline p,
  .pricing-card p {
    font-size: 15px;
    line-height: 1.56;
  }
}

@media (max-width: 1050px) {
  :root { --demo-panel-height: clamp(505px, calc(100vh - 360px), 595px); }
  .site-header { gap: 16px; padding: 12px 24px; }
  .site-nav { min-width: 0; overflow-x: auto; padding-bottom: 2px; }
  .marketing-hero { min-height: calc(100svh - 58px); padding-top: 72px; padding-bottom: 72px; }
  .framing-section, .usecases-section, .trust-section { grid-template-columns: 1fr; }
  .framing-section { min-height: auto; gap: 32px; }
  .framing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .instrument-gap,
  .instrument-card-accent {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .instrument-gap {
    min-height: 44px;
  }
  .instrument-gap::before {
    width: min(420px, 100%);
    height: 1px;
  }
  .instrument-card {
    grid-row: auto;
  }
  .instrument-card { min-height: 280px; }
  .usecases-layout, .pricing-model { grid-template-columns: 1fr; }
  .pricing-phases { grid-template-columns: 1fr; }
  .pricing-connector { display: none; }
  .usecase-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trust-layout { grid-template-columns: 1fr; }
  .trust-flow ol { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trust-flow ol::before, .security-timeline::before { display: none; }
  .security-timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer { grid-template-columns: 1fr; gap: 42px; }
  .footer-brand p { margin-top: 36px; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) and (min-width: 681px) {
  .usecase-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .instrument-card-known::before {
    top: 14px;
    right: 14px;
    width: 30px;
    height: 30px;
    font-size: 16px;
  }
  .instrument-card > span {
    top: 14px;
    left: 16px;
    right: 56px;
    min-height: 30px;
    font-size: 10px;
    line-height: 1.18;
  }
}

@media (max-width: 1500px) {
  html.demo-standalone .chart-heading {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 900px) {
  .chart-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    row-gap: 12px;
  }
  .chart-title-block {
    display: grid;
    grid-column: 1;
    gap: 12px;
  }
  .brand-inline,
  .heading-total {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 680px) {
  :root { --demo-panel-height: 575px; }
  .shell { padding-top: 56px; }
  .site-header { min-height: 56px; padding: 10px 12px; }
  .site-nav a:not(.nav-cta) { display: none; }
  .marketing-hero { min-height: calc(100svh - 56px); padding: 48px 0 52px; }
  h1 { font-size: clamp(32px, 9vw, 38px); line-height: 1.03; }
  .hero-actions .button { width: 100%; }
  .framing-section, .usecases-section, .pricing-section, .trust-section, .secure-section { padding-left: 0; padding-right: 0; }
  .framing-section .section-copy {
    padding: 0 12px;
    max-width: 100%;
  }
  .framing-section .section-copy h2 {
    max-width: 100%;
    font-size: clamp(30px, 8.4vw, 38px);
    hyphens: auto;
    overflow-wrap: anywhere;
  }
  .framing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .instrument-gap {
    min-height: 38px;
  }
  .instrument-gap span {
    min-width: 40px;
    height: 26px;
  }
  .instrument-card-accent {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .usecase-list { grid-template-columns: 1fr; }
  .usecase-list::before { left: 5px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .instrument-card { min-height: 230px; padding: 64px 12px 22px; }
  .instrument-card-known::before {
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    font-size: 15px;
  }
  .instrument-card > span {
    top: 12px;
    left: 12px;
    right: 48px;
    min-height: 28px;
    font-size: 9px;
    line-height: 1.18;
    letter-spacing: .06em;
  }
  .instrument-card strong { font-size: clamp(17px, 5.2vw, 22px); }
  .instrument-card em {
    width: 34px;
    height: 34px;
    padding: 0;
    font-size: 20px;
  }
  .instrument-visual { width: min(138px, 76%); height: 78px; margin-bottom: 8px; }
  .instrument-visual-map { width: min(150px, 84%); height: 94px; }
  .instrument-card-note { font-size: 12px; line-height: 1.35; }
  .trust-flow { padding: 22px; }
  .trust-flow ol { grid-template-columns: 1fr; gap: 22px; }
  .trust-flow li { grid-template-columns: 36px minmax(0, 1fr); gap: 14px; align-items: center; }
  .trust-flow strong { max-width: none; }
  .trust-flow p { grid-column: 2; max-width: none; margin-top: -8px; }
  .secure-processing { padding-top: 28px; }
  .security-timeline { grid-template-columns: 1fr; gap: 22px; }
  .security-timeline li { gap: 9px; align-items: start; padding: 0 0 0 30px; }
  .security-timeline li > span { top: 4px; left: 0; }
  .security-timeline p { max-width: none; }
  .site-footer { padding: 48px 20px; }
  .footer-brand p, .footer-column p { font-size: 17px; }
  .legal-section { padding: 54px 20px; }
  .legal-content h1 { font-size: 42px; }
  .legal-content h2 { font-size: 24px; margin-top: 40px; }
  .legal-content p { font-size: 17px; }
  .legal-block { padding: 22px; }
  .usecase-list article { padding: 0 0 0 30px; }
  .usecase-list article::before { top: 4px; left: 0; }
  .pricing-model { padding: 22px; }
  .pricing-phase strong { font-size: 44px; }
  .pricing-ratio { padding: 20px; }
  .example-row { align-items: flex-start; flex-direction: column; gap: 4px; }
  .example-row strong { text-align: left; white-space: normal; }
  .demo-workspace { padding-left: 0; padding-right: 0; }
  .demo-kicker { padding-left: 0; padding-right: 0; }
  .demo-entry-cue,
  .demo-workspace .chart-card {
    display: none;
  }
  .mobile-demo-notice {
    display: grid;
  }
  .topbar { height: auto; min-height: 68px; padding: 14px 18px; }
  .source-meta { display: none; }
  main { width: 100%; padding: 0 12px 48px; }
  .hero { display: block; }
  .kpi-grid { grid-template-columns: 1fr 1fr; gap: 10px; }.kpi-card { min-height: 116px; padding: 17px; }
  .chart-heading { align-items: start; }
  .chart-title-block { width: 100%; flex-direction: column; align-items: flex-start; gap: 10px; margin-right: 0; }
  .heading-total { margin-left: 0; padding-left: 0; border-left: 0; }
  .volume-control-row {
    flex-wrap: wrap;
    gap: 6px 9px;
  }
  .volume-toggle {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 1px;
  }
  .map-config-panel .volume-control {
    justify-content: flex-start;
  }
  .map-config-panel .volume-control-row {
    flex: 1 1 auto;
    width: 100%;
  }
  .map-config-panel .volume-toggle {
    flex-wrap: wrap;
    justify-content: flex-start;
    overflow-x: visible;
  }
  .chart-heading { flex-direction: column; }
  .details-heading { align-items: start; flex-direction: column; }
}

@media (max-width: 900px) and (max-height: 520px) {
  .demo-workspace {
    padding-left: 0;
    padding-right: 0;
  }
  .demo-kicker {
    padding-left: 0;
    padding-right: 0;
  }
  .demo-entry-cue,
  .demo-workspace .chart-card {
    display: none;
  }
  .mobile-demo-notice {
    display: grid;
  }
}

html.demo-standalone {
  --demo-panel-height: clamp(540px, calc(100svh - 140px), 940px);
}
html.demo-standalone,
html.demo-standalone body {
  width: 100%;
  height: 100%;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: hidden;
}
html.demo-standalone .site-header,
html.demo-standalone .marketing-hero,
html.demo-standalone .framing-section,
html.demo-standalone .usecases-section,
html.demo-standalone .trust-section,
html.demo-standalone .secure-section,
html.demo-standalone .pricing-section,
html.demo-standalone .site-footer,
html.demo-standalone .demo-kicker,
html.demo-standalone .demo-entry-cue,
html.demo-standalone .mobile-demo-notice {
  display: none !important;
}
html.demo-standalone .shell {
  height: 100svh;
  min-height: 100svh;
  padding-top: 0;
}
html.demo-standalone main {
  height: 100%;
  width: 100%;
  padding: 0;
}
html.demo-standalone .demo-workspace {
  display: flex;
  align-items: stretch;
  width: 100%;
  height: 100%;
  min-height: 100svh;
  padding: 0;
}
html.demo-standalone .demo-workspace .chart-card {
  display: flex !important;
  flex-direction: column;
  width: 100%;
  height: 100svh;
  min-height: 100svh;
  margin: 0;
  padding: clamp(20px, 2vw, 32px) clamp(22px, 2.2vw, 34px) 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}
html.demo-standalone .standalone-demo-brand {
  display: flex;
  align-items: center;
  min-height: 34px;
}
html.demo-standalone .standalone-demo-brand span {
  color: var(--ink);
  font-size: 17px;
  font-weight: 850;
  letter-spacing: .11em;
}
html.demo-standalone .standalone-demo-brand i {
  color: #078844;
  font-style: normal;
}
html.demo-standalone .chart-heading {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: flex-start;
  justify-content: start;
  padding: 0 0 4px;
  row-gap: 0;
  width: 100%;
  margin-bottom: 10px;
  z-index: 3;
}
html.demo-standalone .map-header-brand {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: max-content max-content;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(18px, 2.2vw, 32px);
  padding-bottom: 12px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(31, 64, 56, .10);
}
html.demo-standalone .brand-inline {
  grid-column: 1;
}
html.demo-standalone .standalone-demo-brand {
  grid-column: 2;
  justify-self: end;
}
html.demo-standalone .chart-title-block {
  flex-basis: 420px;
}
html.demo-standalone #mapLevelPath {
  flex: 0 0 auto;
  width: 100%;
  max-width: 100%;
}
html.demo-standalone #mapLevelPath.map-config-panel {
  flex-wrap: wrap;
}
html.demo-standalone .demo-popout-btn {
  display: none;
}
html.demo-standalone #panelTreemap {
  flex: 1 1 auto;
  height: auto;
  min-height: 0;
  display: flex;
}
html.demo-standalone #panelTreemap #treemap,
html.demo-standalone #treemap {
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
}
html.demo-standalone #panelPositions {
  flex: 1 1 auto;
  height: auto;
  min-height: 0;
}
html.demo-standalone .heading-total {
  grid-template-columns: max-content max-content minmax(72px, 1fr) auto minmax(260px, 360px);
  grid-template-rows: 10px var(--map-field-height);
  align-items: end;
  justify-content: stretch;
  gap: 4px 16px;
}
html.demo-standalone .heading-total > span {
  grid-column: 1 / 3;
  grid-row: 1;
}
html.demo-standalone .heading-total strong {
  grid-column: 1;
  grid-row: 2;
  align-self: center;
}
html.demo-standalone .kpi-tooltip-wrap {
  grid-column: 2;
  grid-row: 2;
  align-self: center;
}
html.demo-standalone .heading-total .map-filter-control {
  grid-column: 4;
  grid-row: 1 / 3;
  align-self: start;
  justify-self: end;
  margin-top: 0;
  margin-left: 0;
  width: min(100%, 360px);
  min-width: 260px;
  max-width: 360px;
}

html.demo-standalone.demo-layout-compact .demo-workspace .chart-card {
  padding: 10px 8px 0;
}
html.demo-standalone.demo-layout-compact .map-header-brand {
  grid-template-columns: minmax(0, 1fr);
  gap: 4px;
  padding-bottom: 7px;
  margin-bottom: 7px;
}
html.demo-standalone.demo-layout-compact .brand-title-row {
  gap: 8px;
}
html.demo-standalone.demo-layout-compact .brand-category {
  font-size: 22px;
}
html.demo-standalone.demo-layout-compact .brand-sub,
html.demo-standalone.demo-layout-compact .standalone-demo-brand {
  display: none;
}
html.demo-standalone.demo-layout-compact .chart-heading {
  margin-bottom: 7px;
}
html.demo-standalone.demo-layout-compact .heading-total {
  grid-template-columns: max-content max-content minmax(0, 1fr);
  grid-template-rows: 10px var(--map-field-height) auto auto;
  align-items: start;
  gap: 4px 10px;
}
html.demo-standalone.demo-layout-compact .heading-total > span {
  grid-column: 1 / -1;
  grid-row: 1;
}
html.demo-standalone.demo-layout-compact .heading-total strong {
  grid-column: 1;
  grid-row: 2;
  font-size: clamp(22px, 7vw, 29px);
}
html.demo-standalone.demo-layout-compact .kpi-tooltip-wrap {
  grid-column: 2;
  grid-row: 2;
}
html.demo-standalone.demo-layout-compact .kpi-tooltip {
  position: fixed;
  top: 148px;
  right: 12px;
  bottom: auto;
  left: 12px;
  width: auto;
  max-width: calc(100vw - 24px);
  min-width: 0;
  transform: none;
  z-index: 1000;
}
html.demo-standalone.demo-layout-compact .heading-total > .volume-control {
  grid-column: 1 / -1;
  grid-row: 4;
  justify-self: start;
  margin-top: 3px;
  margin-left: 0;
  padding-left: 0;
  border-left: 0;
}
html.demo-standalone.demo-layout-compact .heading-total .map-filter-control {
  grid-column: 1 / -1;
  grid-row: 3;
  justify-self: start;
  width: min(100%, 360px);
  min-width: 0;
  max-width: 360px;
  margin-top: 3px;
}
html.demo-standalone.demo-layout-compact .map-filter-control .search-wrap {
  grid-template-rows: 10px 30px;
}
html.demo-standalone.demo-layout-compact .search-results {
  top: calc(100% + 6px);
  right: auto;
  left: 0;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  max-height: min(56vh, 420px);
  overflow-y: auto;
}
html.demo-standalone.demo-layout-compact #mapLevelPath.map-config-panel {
  align-items: stretch;
  gap: 5px 7px;
  min-height: 0;
  margin-top: 4px;
  padding: 5px 6px;
}
html.demo-standalone.demo-layout-compact .map-config-map {
  flex: 1 1 160px;
  width: auto;
  margin-right: 0;
}
html.demo-standalone.demo-layout-compact .map-config-detail,
html.demo-standalone.demo-layout-compact .map-config-view {
  flex: 1 1 auto;
  width: auto;
}
html.demo-standalone.demo-layout-compact .map-config-detail {
  flex: 1 1 100%;
  max-width: 100%;
  order: 10;
  overflow-x: visible;
}
html.demo-standalone.demo-layout-compact .map-config-view {
  margin: 0;
}
html.demo-standalone.demo-layout-compact .map-config-detail .map-labeled-control {
  width: 100%;
}
html.demo-standalone.demo-layout-compact .map-segmented {
  width: 100%;
}
html.demo-standalone.demo-layout-compact .map-segment-btn {
  min-width: 0;
  flex: 1 1 0;
  padding: 0 7px;
  font-size: 10px;
}
html.demo-standalone.demo-layout-compact .map-config-depth {
  display: none;
}
html.demo-standalone.demo-layout-compact .map-config-panel .volume-control {
  flex: 1 1 100%;
  justify-content: flex-start;
  margin-left: 0;
  padding-left: 0;
  order: 20;
}
html.demo-standalone.demo-layout-compact .map-config-panel .volume-control::before {
  content: none;
}
html.demo-standalone.demo-layout-compact .map-config-panel .volume-control-row,
html.demo-standalone.demo-layout-compact .map-config-panel .volume-toggle {
  width: 100%;
}
html.demo-standalone.demo-layout-compact .map-config-panel .volume-toggle {
  overflow-x: auto;
  flex-wrap: nowrap;
  justify-content: flex-start;
  padding-bottom: 1px;
}
html.demo-standalone.demo-layout-compact .volume-toggle-btn {
  padding: 0 9px;
}
html.demo-standalone.demo-layout-compact .tab-switcher {
  display: none !important;
}
html.demo-standalone.demo-layout-compact #panelPositions:not([hidden]) {
  display: flex !important;
  flex: 1 1 auto;
  height: auto;
  min-height: 0;
}
html.demo-standalone.demo-layout-compact .treemap-position-preview {
  position: fixed;
  top: auto;
  left: 12px;
  right: 12px;
  bottom: 8px;
  z-index: 90;
  box-sizing: border-box;
  min-height: 132px;
  max-height: min(46%, 220px);
  padding: 12px 14px 14px;
  border-top: 1px solid rgba(247,250,248,.32);
}
html.demo-standalone.demo-layout-compact .treemap-position-preview .treemap-preview-meta {
  position: static;
  padding: 0;
  margin-bottom: 2px;
}
html.demo-standalone.demo-layout-compact .treemap-position-preview .treemap-preview-backtitle {
  max-width: 100%;
  font-size: 13px;
}
html.demo-standalone.demo-layout-compact .treemap-position-preview .treemap-preview-summary,
html.demo-standalone.demo-layout-compact .treemap-position-preview .treemap-preview-actions,
html.demo-standalone.demo-layout-compact .treemap-position-preview .treemap-preview-table,
html.demo-standalone.demo-layout-compact .treemap-position-preview .treemap-preview-scroll {
  display: none;
}

.demo-workspace.demo-layout-too-narrow {
  align-items: center;
  justify-content: center;
  min-height: min(720px, 100svh);
}
.demo-workspace.demo-layout-too-narrow .demo-entry-cue,
.demo-workspace.demo-layout-too-narrow .chart-card,
html.demo-standalone.demo-layout-too-narrow .demo-workspace .chart-card {
  display: none !important;
}

.demo-workspace.demo-layout-too-narrow .mobile-demo-notice {
  display: grid !important;
  width: min(100%, 560px);
  margin: 0 auto;
}
.demo-workspace.demo-layout-too-narrow .mobile-demo-notice h3 {
  max-width: 460px;
}
.demo-workspace.demo-layout-too-narrow .mobile-demo-notice p {
  max-width: 500px;
}
html.demo-standalone.demo-layout-too-narrow,
html.demo-standalone.demo-layout-too-narrow body {
  overflow-y: auto;
}
html.demo-standalone.demo-layout-too-narrow .shell,
html.demo-standalone.demo-layout-too-narrow main,
html.demo-standalone.demo-layout-too-narrow .demo-workspace {
  min-height: 100svh;
  height: auto;
}
html.demo-standalone.demo-layout-too-narrow .demo-workspace {
  padding: 22px;
}
