/* Hero nach Billow-Vorlage (22.10.2026): Pille, Highlight im Untertitel,
   eine Haupt-CTA mit Mikrozeile, blaue Wolke hinter dem Dashboard,
   Ankündigungs-Pille, Handnotiz und Sidebar-Layout der Demo.
   Nur kirrovo-Tokens und Space Grotesk. Lädt nach dem Inline-CSS. */

#hero .hero-pill svg,
#hero .hero-announce svg,
#hero .hero-primary__chevron,
#hero .hero-handnote svg,
#hero .dash-workspace svg,
#hero .dash-tab__icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* Intro */
#hero .hero-pill,
#hero .hero-announce {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px 7px 14px;
  border: 1px solid var(--hair2);
  border-radius: 999px;
  background: rgb(255 255 255 / .86);
  color: var(--ink2);
  font: 500 14px/1.4 var(--sans);
  text-decoration: none;
  box-shadow: 0 1px 2px rgb(20 24 31 / .04);
  transition: background-color .2s ease, border-color .2s ease;
}
#hero .hero-pill:hover,
#hero .hero-announce:hover { background: var(--paper2); border-color: #c5d5ff; }
#hero .hero-pill__icon { width: 16px; height: 16px; color: var(--gold); }
#hero .hero-pill__chevron,
#hero .hero-announce__chevron { width: 14px; height: 14px; color: var(--muted); transition: transform .2s ease; }
#hero .hero-pill:hover .hero-pill__chevron,
#hero .hero-announce:hover .hero-announce__chevron { transform: translateX(2px); }

#hero.hero-showcase .hero-title { margin-top: 30px; }
#hero .hero-description { max-width: 680px; margin-top: 40px; font-size: 19px; line-height: 1.7; }
#hero .hero-highlight {
  padding: .12em .4em;
  border-radius: 6px;
  background: var(--dash-tint, #e7eeff);
  color: var(--ink);
  font-weight: 600;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

#hero.hero-showcase .hero-ctas { margin-top: 44px; }
#hero .hero-ctas .liquid-button.hero-primary { min-width: 0; min-height: 56px; padding: 2px 30px; border-radius: 999px; font-size: 16px; }
#hero .hero-primary .liquid-button__label { display: inline-flex; align-items: center; gap: 8px; }
#hero .hero-primary__chevron { width: 18px; height: 18px; stroke-width: 2.4; transition: transform .2s ease; }
#hero .hero-primary:hover .hero-primary__chevron { transform: translateX(3px); }
#hero .hero-microcopy { margin-top: 14px; color: var(--muted); font-size: 13px; line-height: 1.5; }
#hero .hero-microcopy span { margin: 0 4px; }

@media (prefers-reduced-motion: no-preference) {
  .hero-intro > :nth-child(5) { animation-delay: .28s; }
}

/* Blaue Wolke: der vorhandene Mesh-Shader sitzt jetzt hinter der Oberkante
   des Dashboards statt hinter der Headline. Die Maske formt die Hügel. */
#hero .hero-intro > .hero-background {
  inset-block: auto;
  bottom: -30svh;
  height: min(640px, 78svh);
  background:
    radial-gradient(ellipse at 20% 70%, #4d82ff 0%, transparent 60%),
    radial-gradient(ellipse at 80% 60%, #2e6bff 0%, transparent 62%),
    radial-gradient(ellipse at 50% 40%, #a8c1ff 0%, transparent 70%),
    #7fa3ff;
  -webkit-mask-image:
    linear-gradient(to bottom, #000 72%, transparent 100%),
    radial-gradient(ellipse 30% 50% at 13% 100%, #000 66%, transparent 100%),
    radial-gradient(ellipse 19% 70% at 47% 100%, #000 64%, transparent 100%),
    radial-gradient(ellipse 34% 96% at 88% 100%, #000 66%, transparent 100%),
    linear-gradient(to top, #000 0%, #000 26%, transparent 52%);
  -webkit-mask-composite: source-in, source-over, source-over, source-over;
  mask-image:
    linear-gradient(to bottom, #000 72%, transparent 100%),
    radial-gradient(ellipse 30% 50% at 13% 100%, #000 66%, transparent 100%),
    radial-gradient(ellipse 19% 70% at 47% 100%, #000 64%, transparent 100%),
    radial-gradient(ellipse 34% 96% at 88% 100%, #000 66%, transparent 100%),
    linear-gradient(to top, #000 0%, #000 26%, transparent 52%);
  mask-composite: intersect, add, add, add;
}
/* Weiße Stellen des Shaders blau einfärben, damit die Wolke kräftig wirkt */
#hero .hero-background::after {
  content: "";
  background: #2e6bff;
  mix-blend-mode: multiply;
  opacity: .42;
}
@media (max-width: 599px) {
  #hero .hero-background::after { background: #2e6bff; }
}

/* Dashboard-Rahmen hell auf der Wolke */
#hero .hero-dashboard-frame {
  position: relative;
  border-color: rgb(255 255 255 / .9);
  background: rgb(255 255 255 / .62);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 30px 70px -30px rgb(20 24 31 / .35);
}

/* Ankündigung links, Handnotiz rechts über dem Rahmen */
#hero .hero-dashboard-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% + 14px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  pointer-events: none;
}
#hero .hero-announce { pointer-events: auto; padding: 6px 11px 6px 12px; font-size: 13px; color: var(--gold-deep); border-color: rgb(255 255 255 / .9); }
#hero .hero-announce > svg:first-child { width: 15px; height: 15px; }
#hero .hero-handnote {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  position: absolute;
  left: auto;
  right: -1%;
  bottom: 120px;
  margin: 0;
  color: #fff;
  text-shadow: 0 1px 8px rgb(20 24 31 / .25);
  font: 600 16px/1.15 var(--sans);
  letter-spacing: -.01em;
  white-space: nowrap;
  transform: rotate(-7deg);
  transform-origin: 100% 100%;
}
#hero .hero-handnote svg { width: 92px; height: 75px; stroke-width: 2.2; margin: 0 -14px -70px 0; }

/* Kurze Fenster: Intro etwas kompakter, damit Mikrozeile und Pille Platz haben */
@media (min-width: 1024px) and (max-height: 820px) {
  #hero.hero-showcase .hero-title { margin-top: 22px; }
  #hero .hero-description { margin-top: 30px; font-size: 17px; }
  #hero.hero-showcase .hero-ctas { margin-top: 34px; }
}

@media (max-width: 1023px) {
  #hero .hero-handnote { display: none; }
  #hero .hero-dashboard-pin { margin-top: 56px; }
  #hero .hero-intro > .hero-background { bottom: -120px; height: 420px; }
}
@media (max-width: 767px) {
  #hero .hero-pill { font-size: 12px; padding: 6px 10px 6px 12px; }
  #hero .hero-description { font-size: 16px; line-height: 1.65; }
  #hero .hero-ctas .liquid-button.hero-primary { width: auto; min-height: 52px; padding-inline: 26px; font-size: 15px; }
  #hero .hero-microcopy { font-size: 12px; }
  #hero .hero-announce { font-size: 12px; }
  #hero .hero-intro > .hero-background { bottom: -230px; height: 400px; }
}

@media (prefers-reduced-motion: reduce) {
  #hero .hero-pill__chevron, #hero .hero-announce__chevron, #hero .hero-primary__chevron { transition: none; }
}
@media (prefers-contrast: more), (prefers-reduced-transparency: reduce) {
  #hero .hero-dashboard-frame { background: var(--paper2); -webkit-backdrop-filter: none; backdrop-filter: none; }
  #hero .hero-handnote { color: var(--ink); text-shadow: none; }
}

/* Demo-App nach Billow-Vorbild (22.10.2026). Eigene Klassen (kd-), damit die
   alten Inline-Regeln für .dash-* nichts verändern. Desktop: feste 16:9-Fläche
   ohne inneres Scrollen. Darunter fließt alles untereinander. */
#hero .kd { position: relative; }
#hero .kd svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#hero .kd button { font: inherit; color: inherit; cursor: pointer; }
#hero .kd .kd-i { width: 15px; height: 15px; flex: none; }
#hero .kd-app { display: flex; flex-direction: column; min-height: 0; transition: filter .2s ease; }
#hero .kd-app.is-blurred { filter: blur(5px); pointer-events: none; user-select: none; }
#hero .kd-muted { color: var(--muted); font-size: 12px; }
#hero .kd-h3 { margin: 0; font-size: 16px; font-weight: 600; letter-spacing: -.015em; color: var(--ink); }

/* Seitenleiste */
#hero .kd-side { padding: 12px; background: #fbfcfe; }
#hero .kd-workspace { display: none; align-items: center; gap: 9px; padding: 8px 10px; border: 1px solid var(--hair); border-radius: 10px; background: #fff; font-size: 13px; font-weight: 600; }
#hero .kd-workspace img { width: 22px; height: 22px; border-radius: 6px; }
#hero .kd-workspace span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#hero .kd-workspace svg { width: 14px; height: 14px; color: var(--muted); }
#hero .kd-nav { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
#hero .kd-nav__label { display: none; margin: 18px 10px 6px; color: var(--muted); font-size: 11px; font-weight: 500; }
#hero .kd-nav__item { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 38px; padding: 8px 10px; border: 0; border-radius: 9px; background: transparent; color: var(--ink2); font-size: 13px; font-weight: 500; text-align: left; white-space: nowrap; }
#hero .kd-nav__item svg { width: 17px; height: 17px; color: var(--muted); flex: none; }
#hero .kd-nav__item:hover { background: #f1f3f8; }
#hero .kd-nav__item[aria-current="page"] { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 0 0 1px var(--hair), 0 1px 2px rgb(20 24 31 / .05); }
#hero .kd-nav__item[aria-current="page"] svg { color: var(--gold); }
#hero .kd-nav__item kbd, #hero .kd-count { margin-left: auto; padding: 1px 6px; border: 1px solid var(--hair); border-radius: 6px; background: #fff; color: var(--muted); font: 500 11px/1.4 var(--sans); }

/* Kopfzeile und Ansicht */
#hero .kd-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
#hero .kd-bar { display: flex; align-items: center; gap: 14px; padding: 10px 18px; border-bottom: 1px solid var(--hair); }
#hero .kd-bar__toggle { display: inline-flex; padding-right: 14px; border-right: 1px solid var(--hair); color: var(--ink2); }
#hero .kd-bar__toggle svg { width: 18px; height: 18px; }
#hero .kd-bar h2 { margin: 0; flex: 1; font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
#hero .kd-icon-btn { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--hair); border-radius: 8px; background: #fbfcfe; }
#hero .kd-icon-btn svg { width: 16px; height: 16px; }
#hero .kd-view { flex: 1; min-height: 0; padding: 18px; }

/* Karten */
#hero .kd-card { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 4px; min-width: 0; padding: 14px 18px; border: 1px solid var(--hair); border-radius: 12px; background: #fff; text-align: left; box-shadow: 0 1px 2px rgb(20 24 31 / .03); }
#hero .kd-card--link:hover { border-color: #c5d5ff; }
#hero .kd-card__label { display: inline-flex; align-items: center; gap: 3px; color: var(--muted); font-size: 12px; font-weight: 500; }
#hero .kd-card__label .kd-i--chev { width: 12px; height: 12px; }
#hero .kd-card__label .kd-i--info { width: 13px; height: 13px; margin-left: 3px; }
#hero .kd-card__value { color: var(--ink); font-size: 21px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
#hero .kd-panel { border: 1px solid var(--hair); border-radius: 14px; background: #fff; box-shadow: 0 1px 2px rgb(20 24 31 / .03); }
#hero .kd-kpi-row { display: grid; gap: 12px; }
#hero .kd-kpi-row--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
#hero .kd-kpi-row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
#hero .kd-rule { margin: 16px 0; border: 0; border-top: 1px solid var(--hair); }

/* Übersicht */
#hero .kd-overview { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
#hero .kd-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
#hero .kd-chart-card { display: flex; flex-direction: column; min-height: 0; padding: 16px 18px 10px; }
#hero .kd-chart-card__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
#hero .kd-chart-card__value { display: flex; align-items: center; gap: 10px; margin-top: 2px; }
#hero .kd-chart-card__value strong { font-size: 30px; font-weight: 700; letter-spacing: -.035em; line-height: 1.15; font-variant-numeric: tabular-nums; }
#hero .kd-delta { display: inline-flex; align-items: center; gap: 3px; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; }
#hero .kd-delta .kd-i { width: 11px; height: 11px; stroke-width: 2.4; }
#hero .kd-delta--up { background: #e8f5ee; color: #1f8a5b; box-shadow: inset 0 0 0 1px #bfe3cf; }
#hero .kd-delta--down { background: #fbecec; color: #d64545; box-shadow: inset 0 0 0 1px #f2c4c4; }
#hero .kd-chart { position: relative; flex: 1; min-height: 190px; margin-top: 8px; outline-offset: 4px; touch-action: pan-y; }
#hero .kd-chart > svg { display: block; width: 100%; height: 100%; overflow: visible; }
#hero .kd-chart__grid { stroke: var(--hair2); stroke-width: 1; stroke-dasharray: 3 4; }
#hero .kd-chart__axis { fill: var(--muted); stroke: none; font: 500 10px var(--sans); }
#hero .kd-chart__line { fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linejoin: round; }
#hero .kd-chart__dot { fill: #fff; stroke: var(--ink); stroke-width: 1.6; }
#hero .kd-chart__dot.is-active { fill: var(--gold); stroke: #fff; stroke-width: 2; }
#hero .kd-chart__tip { position: absolute; z-index: 2; display: grid; gap: 1px; padding: 6px 10px; border: 1px solid var(--hair); border-radius: 8px; background: #fff; box-shadow: 0 8px 20px -10px rgb(20 24 31 / .3); font-size: 11px; color: var(--muted); white-space: nowrap; pointer-events: none; }
#hero .kd-chart__tip strong { color: var(--ink); font-size: 13px; }
#hero .kd-select { min-height: 32px; padding: 5px 28px 5px 10px; border: 1px solid var(--hair2); border-radius: 8px; background: #fbfcfe url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d6470' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 8px center / 13px; color: var(--ink2); font: 500 12px var(--sans); appearance: none; -webkit-appearance: none; cursor: pointer; }

/* Tabellen, Status */
#hero .kd-section { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
#hero .kd-table-wrap { overflow-x: auto; border: 1px solid var(--hair); border-radius: 12px; background: #fff; }
#hero .kd-table { width: 100%; border-collapse: collapse; font-size: 12px; text-align: left; }
#hero .kd-table th { padding: 9px 14px; background: #fbfcfe; border-bottom: 1px solid var(--hair); color: var(--muted); font-size: 11px; font-weight: 500; white-space: nowrap; }
#hero .kd-table td { padding: 9px 14px; border-top: 1px solid var(--hair); color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
#hero .kd-table tbody tr:first-child td { border-top: 0; }
#hero .kd-row { cursor: pointer; }
#hero .kd-row:hover td { background: #f8faff; }
#hero .kd-link { padding: 0; border: 0; background: none; color: var(--ink); font-weight: 500; text-align: left; }
#hero .kd-link:hover { color: var(--gold-deep); text-decoration: underline; }
#hero .kd-cell-more { width: 40px; text-align: right; }
#hero .kd-more { display: inline-grid; place-items: center; width: 28px; height: 28px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); }
#hero .kd-more:hover { background: #f1f3f8; color: var(--ink); }
#hero .kd-more svg { width: 16px; height: 16px; fill: currentColor; stroke: none; }
#hero .kd-pill { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 999px; font-size: 11px; font-weight: 500; white-space: nowrap; }
#hero .kd-pill--success { background: #e8f5ee; color: #1f8a5b; box-shadow: inset 0 0 0 1px #bfe3cf; }
#hero .kd-pill--danger { background: #fbecec; color: #d64545; box-shadow: inset 0 0 0 1px #f2c4c4; }
#hero .kd-pill--info { background: #e7eeff; color: var(--gold-deep); box-shadow: inset 0 0 0 1px #c5d5ff; }
#hero .kd-pill--neutral { background: #fbfcfe; color: var(--ink2); box-shadow: inset 0 0 0 1px var(--hair2); }
#hero .kd-pill--action { border: 0; background: #d64545; color: #fff; }
#hero .kd-pill--action .kd-i { width: 11px; height: 11px; }
#hero .kd-pill-group { display: inline-flex; align-items: center; padding: 1px; border-radius: 999px; background: #fbecec; box-shadow: inset 0 0 0 1px #f2c4c4; }
#hero .kd-pill-group .kd-pill--danger { box-shadow: none; background: transparent; }
#hero .kd-campaign { display: flex; align-items: center; gap: 10px; }
#hero .kd-campaign img { width: 24px; height: 30px; border-radius: 4px; object-fit: cover; }
#hero .kd-campaign strong { display: block; font-weight: 600; }
#hero .kd-campaign small { display: block; color: var(--muted); font-size: 11px; }
#hero .kd-empty { padding: 22px 14px !important; color: var(--muted) !important; text-align: center; }
#hero .kd-cell-bar { width: 32%; }
#hero .kd-bar-track { display: block; height: 6px; border-radius: 99px; background: #eef1f6; overflow: hidden; }
#hero .kd-bar-fill { display: block; height: 100%; border-radius: inherit; background: var(--gold); }

/* Werkzeugleiste, Tabs, Knöpfe */
#hero .kd-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
#hero .kd-toolbar__end { display: flex; align-items: center; gap: 8px; }
#hero .kd-tabs { display: flex; flex-wrap: wrap; gap: 4px; }
#hero .kd-tab { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; padding: 5px 11px; border: 1px solid transparent; border-radius: 9px; background: transparent; color: var(--muted); font-size: 13px; font-weight: 500; }
#hero .kd-tab[aria-pressed="true"] { border-color: var(--hair); background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgb(20 24 31 / .05); }
#hero .kd-tab__count { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border: 1px solid var(--hair2); border-radius: 999px; color: var(--muted); font-size: 10px; }
#hero .kd-primary { min-height: 32px; padding: 6px 14px; border: 0; border-radius: 8px; background: var(--ink); color: #fff !important; font-size: 13px; font-weight: 600; white-space: nowrap; }
#hero .kd-primary:hover { background: #2b303b; }
#hero .kd-toggle { display: inline-flex; padding: 2px; border: 1px solid var(--hair); border-radius: 8px; background: #fbfcfe; }
#hero .kd-toggle button { display: grid; place-items: center; width: 28px; height: 26px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); }
#hero .kd-toggle button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 0 0 1px var(--hair); }
#hero .kd-pager { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
#hero .kd-pager__btn { width: 30px; height: 28px; border: 1px solid var(--hair); border-radius: 7px; background: #fff; }
#hero .kd-pager__btn:disabled { opacity: .4; cursor: default; }

/* Anfragen-Spalten */
#hero .kd-board { display: grid; gap: 12px; align-items: start; }
#hero .kd-board--3 { grid-template-columns: repeat(3, minmax(220px, 1fr)); overflow-x: auto; }
#hero .kd-board--1 { grid-template-columns: minmax(0, 420px); }
#hero .kd-column { display: flex; flex-direction: column; gap: 8px; padding: 10px; border: 1px solid var(--hair); border-radius: 14px; background: #fbfcfe; }
#hero .kd-column__head { display: flex; align-items: center; gap: 7px; padding: 2px 4px 4px; }
#hero .kd-column__head h3 { margin: 0; font-size: 13px; font-weight: 600; }
#hero .kd-column__count { color: var(--muted); font-size: 12px; }
#hero .kd-column__add { display: grid; place-items: center; width: 24px; height: 24px; margin-left: auto; border: 0; border-radius: 6px; background: transparent; color: var(--muted); }
#hero .kd-column__add svg { width: 15px; height: 15px; }
#hero .kd-column__rest { padding: 6px; border: 1px dashed var(--hair2); border-radius: 9px; background: transparent; color: var(--muted); font-size: 12px; }
#hero .kd-dot { width: 8px; height: 8px; border-radius: 50%; }
#hero .kd-dot--new { background: var(--gold); }
#hero .kd-dot--contacted { background: #d9862e; }
#hero .kd-dot--appointment { background: #1f8a5b; }
#hero .kd-lead { display: flex; flex-direction: column; gap: 8px; padding: 11px 12px; border: 1px solid var(--hair); border-radius: 11px; background: #fff; box-shadow: 0 1px 2px rgb(20 24 31 / .04); }
#hero .kd-lead__head { display: flex; align-items: center; gap: 6px; min-width: 0; }
#hero .kd-lead__title { flex: 1; min-width: 0; padding: 0; border: 0; background: none; font-size: 13px; font-weight: 600; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#hero .kd-lead__title:hover { color: var(--gold-deep); }
#hero .kd-lead__facts { display: grid; gap: 5px; margin: 0; padding: 0; list-style: none; color: var(--ink2); font-size: 12px; }
#hero .kd-lead__facts li { display: flex; align-items: center; gap: 8px; }
#hero .kd-lead__facts .kd-i { width: 13px; height: 13px; color: var(--muted); }
#hero .kd-lead__action { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 30px; border: 1px solid var(--hair2); border-radius: 8px; background: #fbfcfe; font-size: 12px; font-weight: 600; }
#hero .kd-lead__action:hover { background: #f1f3f8; }

/* Suche */
#hero .kd-search { position: absolute; inset: 0; z-index: 5; display: flex; justify-content: center; align-items: flex-start; padding: 60px 16px 16px; background: rgb(251 252 254 / .45); border-radius: inherit; }
#hero .kd-search[hidden] { display: none; }
#hero .kd-search__panel { width: min(420px, 100%); border: 1px solid var(--hair); border-radius: 12px; background: #fff; box-shadow: 0 20px 50px -20px rgb(20 24 31 / .35); overflow: hidden; }
#hero .kd-search__field { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--hair); }
#hero .kd-search__field svg { width: 17px; height: 17px; color: var(--muted); }
#hero .kd-search__field input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: var(--ink); font: 400 16px var(--sans); }
#hero .kd-search__hello { padding: 16px; text-align: center; font-size: 13px; font-weight: 500; color: var(--ink); }
#hero .kd-search__hint { padding: 0 16px 16px; margin-top: -10px; text-align: center; }
#hero .kd-search__list { margin: 0; padding: 6px; list-style: none; }
#hero .kd-search__list button { display: flex; justify-content: space-between; gap: 12px; width: 100%; padding: 9px 10px; border: 0; border-radius: 8px; background: none; text-align: left; font-size: 13px; }
#hero .kd-search__list button:hover, #hero .kd-search__list button:focus-visible { background: #f1f3f8; }
#hero .kd-search__list small { color: var(--muted); font-size: 11px; white-space: nowrap; }

/* Demo-Hinweis */
#hero .kd-toast { position: absolute; right: 14px; bottom: 14px; z-index: 6; display: flex; align-items: center; gap: 12px; max-width: min(400px, calc(100% - 28px)); padding: 10px 10px 10px 16px; border: 1px solid var(--hair); border-radius: 12px; background: #fff; box-shadow: 0 16px 40px -18px rgb(20 24 31 / .4); font-size: 12px; line-height: 1.45; color: var(--ink); }
#hero .kd-toast[hidden] { display: none; }
#hero .kd-toast p { flex: 1; margin: 0; }
#hero .kd-toast__link { flex: none; padding: 7px 12px; border-radius: 8px; background: var(--ink); color: #fff; font-weight: 600; text-decoration: none; white-space: nowrap; }
#hero .kd-toast__link:hover { background: #2b303b; }
#hero .kd-toast__close { display: grid; place-items: center; width: 26px; height: 26px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); }
#hero .kd-toast__close svg { width: 14px; height: 14px; }
@media (prefers-reduced-motion: no-preference) {
  #hero .kd-toast:not([hidden]) { animation: kd-toast-in .35s cubic-bezier(.22,1,.36,1) both; }
}
@keyframes kd-toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Desktop: App mit Seitenleiste auf fester 16:9-Fläche */
@media (min-width: 1024px) and (min-height: 600px) {
  #hero .kd-app { flex: 1; display: grid; grid-template-columns: 200px minmax(0, 1fr); overflow: hidden; }
  #hero .kd-side { display: flex; flex-direction: column; padding: 14px 12px; border-right: 1px solid var(--hair); }
  #hero .kd-workspace { display: flex; margin-bottom: 14px; }
  #hero .kd-nav { flex-direction: column; gap: 2px; }
  #hero .kd-nav__label { display: block; }
  #hero .kd-view { overflow: hidden; }
  #hero .kd-overview { height: 100%; grid-template-columns: minmax(0, 1fr) minmax(190px, .34fr); grid-template-rows: minmax(0, 1fr) auto; }
  #hero .kd-chart-card { grid-column: 1; grid-row: 1; }
  #hero .kd-kpis { grid-column: 2; grid-row: 1; grid-template-columns: minmax(0, 1fr); grid-auto-rows: minmax(0, 1fr); gap: 10px; min-height: 0; }
  #hero .kd-kpis .kd-card { padding: 8px 16px; }
  #hero .kd-overview > .kd-section { grid-column: 1 / -1; }
  #hero .kd-chart { min-height: 0; }
  #hero .kd-board--3 { overflow: visible; grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) and (max-width: 1279px) and (min-height: 600px) {
  #hero .kd-app { grid-template-columns: 172px minmax(0, 1fr); }
  #hero .kd-workspace { font-size: 12px; padding-inline: 8px; }
}
/* Kompakte Desktop-Flächen: alles knapper, damit nichts abgeschnitten wird */
@media (min-width: 1024px) and (min-height: 600px) and (max-width: 1399px),
       (min-width: 1024px) and (min-height: 600px) and (max-height: 820px) {
  #hero .kd-view { padding: 12px 14px; }
  #hero .kd-bar { padding: 7px 14px; }
  #hero .kd-overview { gap: 10px; }
  #hero .kd-kpis { gap: 7px; }
  #hero .kd-kpis .kd-card { padding: 4px 14px; gap: 1px; }
  #hero .kd-card__value { font-size: 18px; }
  #hero .kd-card { padding: 10px 14px; }
  #hero .kd-chart-card { padding: 12px 14px 6px; }
  #hero .kd-chart-card__value strong { font-size: 24px; }
  #hero .kd-h3 { font-size: 14px; }
  #hero .kd-section { gap: 6px; }
  #hero .kd-table th, #hero .kd-table td { padding: 6px 12px; }
  #hero .kd-rule { margin: 10px 0; }
  #hero .kd-toolbar { margin-bottom: 8px; }
  #hero .kd-lead { padding: 8px 10px; gap: 6px; }
  #hero .kd-lead__facts { gap: 3px; }
  #hero .kd-column { padding: 8px; gap: 6px; }
}

/* Handy und Tablet: Bereiche als waagerechte Leiste, Inhalte untereinander */
@media not all and (min-width: 1024px) and (min-height: 600px) {
  #hero .kd-side { border-bottom: 1px solid var(--hair); border-radius: 17px 17px 0 0; }
  #hero .kd-side .kd-nav, #hero .kd-side { overflow-x: auto; scrollbar-width: none; }
  #hero .kd-side { display: flex; gap: 4px; padding: 8px; }
  #hero .kd-nav__item kbd { display: none; }
  #hero .kd-bar { display: none; }
  #hero .kd-view { padding: 14px; }
  #hero .kd-chart { height: 210px; }
  #hero .kd-kpi-row--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #hero .kd-kpi-row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #hero .kd-board--3 { grid-template-columns: repeat(3, minmax(240px, 82%)); scroll-snap-type: x mandatory; padding-bottom: 4px; }
  #hero .kd-board--3 .kd-column { scroll-snap-align: start; }
  #hero .kd-board--1 { grid-template-columns: minmax(0, 1fr); }
  #hero .kd-toast { position: sticky; margin: 0 10px 10px auto; right: auto; bottom: 10px; }
}
@media (max-width: 599px) {
  #hero .kd-kpi-row--3 { grid-template-columns: minmax(0, 1fr); }
  #hero .kd-card__value { font-size: 19px; }
  #hero .kd-chart-card__head { flex-wrap: wrap; }
  #hero .kd-toast { flex-wrap: wrap; }
  #hero .kd-toolbar__end { width: 100%; justify-content: space-between; }
}

#hero .kd-chart__area { stroke: none; }
#hero .kd-section--spaced { margin-top: 18px; }
#hero .kd-cell-action { width: 120px; text-align: right; }
#hero .kd-ghost { min-height: 28px; padding: 4px 12px; border: 1px solid var(--hair2); border-radius: 8px; background: #fbfcfe; font-size: 12px; font-weight: 600; }
#hero .kd-ghost:hover { background: #f1f3f8; }
#hero .kd-cell-bar { width: 44%; }
#hero .kd-bar-cell { display: flex; align-items: center; gap: 12px; }
#hero .kd-bar-value { flex: none; width: 56px; }
#hero .kd-bar-cell .kd-bar-track { flex: 1; }
@media (min-width: 1400px) and (min-height: 600px) {
  #hero .kd-app { grid-template-columns: 220px minmax(0, 1fr); }
}
@media (min-width: 1024px) and (min-height: 600px) and (max-width: 1399px),
       (min-width: 1024px) and (min-height: 600px) and (max-height: 820px) {
  #hero .kd-section--spaced { margin-top: 10px; }
}
#hero .kd-pill--warning { background: #fdf3e7; color: #a85f14; box-shadow: inset 0 0 0 1px #f2d3ae; }
#hero .kd-deco { cursor: default; pointer-events: none; display: inline-grid; place-items: center; }
#hero .kd-primary.kd-deco { display: inline-flex; align-items: center; }

/* Web-App-Abschnitt nach Billow „Getting started“ (22.10.2026):
   Pille, große Headline, drei Karten mit eigenen UI-Grafiken auf blauer Wolke. */
#hero .ka { display: flex; flex-direction: column; align-items: center; text-align: center; }
#hero .ka svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#hero .ka-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border: 1px solid var(--hair2); border-radius: 999px; background: #fff; color: var(--ink2); font-size: 14px; font-weight: 500; }
#hero .ka-pill svg { width: 16px; height: 16px; color: var(--gold); }
#hero .customer-app-intro.ka > h2 { max-width: 1100px; margin-top: 0; font-size: clamp(34px, 4.6vw, 66px); line-height: 1.02; letter-spacing: -.055em; }
#hero .customer-app-intro.ka > p { max-width: 720px; margin-top: 22px; color: var(--muted); font-size: 19px; }
#hero .ka-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; width: 100%; margin-top: clamp(40px, 6vw, 84px); }
#hero .ka-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--hair); border-radius: 24px; background: #fff; box-shadow: 0 1px 2px rgb(20 24 31 / .03); text-align: center; }
#hero .ka-card h3 { margin: 4px 24px 0; font-size: clamp(21px, 1.9vw, 27px); font-weight: 700; letter-spacing: -.035em; }
#hero .ka-card > p { margin: 12px 28px 34px; color: var(--muted); font-size: 16px; line-height: 1.6; text-wrap: balance; }

/* Grafikfläche: helle blaue Wolke oben, nach unten weiß */
#hero .ka-art {
  position: relative; height: 300px; overflow: hidden;
  background:
    radial-gradient(ellipse 55% 45% at 20% 0%, #cddcff 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 85% 5%, #dbe6ff 0%, transparent 70%),
    radial-gradient(ellipse 70% 40% at 50% 20%, #eef3ff 0%, transparent 80%),
    #fff;
}
/* Nur die Hintergrund-Elemente laufen unten aus, schwebende Karten bleiben voll sichtbar */
#hero .ka-grid, #hero .ka-sheet, #hero .ka-panel {
  bottom: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 70px), transparent 100%);
  mask-image: linear-gradient(to bottom, #000 calc(100% - 70px), transparent 100%);
}

/* Karte 1: Anfragen-Tabelle mit Status und blauem Chip */
#hero .ka-chip-top { position: absolute; left: 7%; top: 30px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 12px 4px 8px; border-radius: 999px; background: #fff; color: var(--gold); font-size: 10px; font-weight: 600; box-shadow: 0 1px 3px rgb(20 24 31 / .08); }
#hero .ka-chip-top i { width: 8px; height: 8px; border-radius: 2px; background: var(--gold); }
#hero .ka-grid { position: absolute; left: 7%; right: 7%; top: 50px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--hair2); border-left: 1px solid var(--hair2); background: #fff; }
#hero .ka-grid > * { position: relative; display: flex; align-items: center; justify-content: center; height: 37px; border-right: 1px solid var(--hair2); border-bottom: 1px solid var(--hair2); }
#hero .ka-grid > span::after { content: ""; width: 58%; height: 8px; border-radius: 99px; background: #e8ebf1; }
#hero .ka-grid > span.is-dark::after { background: #6b7079; }
#hero .ka-grid > span.is-soft::after { background: #f1f3f7; }
#hero .ka-s { margin: 0; font-size: 10px; font-weight: 600; }
#hero .ka-s::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; vertical-align: 0; }
#hero .ka-s--new { color: var(--gold-deep); background: #f3f6ff; box-shadow: inset 0 0 0 1.5px #9db8ff; }
#hero .ka-s--new::before { background: var(--gold); }
#hero .ka-s--contacted { color: #a85f14; }
#hero .ka-s--contacted::before { background: #d9862e; }
#hero .ka-s--appointment { color: #1f8a5b; }
#hero .ka-s--appointment::before { background: #1f8a5b; }
#hero .ka-badge { position: absolute; left: 50%; top: 130px; transform: translateX(-50%) rotate(-2deg); display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 16px; background: linear-gradient(180deg, #4d82ff, #2e6bff); color: #fff; font-size: clamp(18px, 1.7vw, 24px); font-weight: 700; letter-spacing: -.02em; white-space: nowrap; box-shadow: 0 0 0 4px rgb(46 107 255 / .18), 0 14px 30px -10px rgb(46 107 255 / .7); }
#hero .ka-badge svg { width: 24px; height: 24px; stroke-width: 2; }

/* Karte 2: Kennzahl-Blatt mit runder Plakette */
#hero .ka-sheet { position: absolute; left: 50%; top: 56px; width: 64%; transform: translateX(-50%); padding: 16px 18px 0; border-radius: 12px 12px 0 0; background: #fff; box-shadow: 0 10px 30px -14px rgb(20 24 31 / .25); text-align: center; }
#hero .ka-sheet__bar { display: flex; align-items: center; gap: 8px; margin-bottom: 26px; }
#hero .ka-sheet__bar i { width: 16px; height: 16px; border-radius: 4px; background: #eef1f6; }
#hero .ka-sheet__bar span { width: 32%; height: 7px; border-radius: 99px; background: #eef1f6; }
#hero .ka-sheet__bar span.is-right { width: 18%; margin-left: auto; }
#hero .ka-line { display: block; height: 7px; border-radius: 99px; background: #eef1f6; }
#hero .ka-line--short { width: 22%; margin: 0 auto 12px; }
#hero .ka-sheet > strong { display: block; color: var(--ink); font-size: clamp(26px, 2.4vw, 34px); font-weight: 700; letter-spacing: -.035em; }
#hero .ka-tag { display: inline-block; margin-top: 8px; padding: 2px 9px; border-radius: 999px; background: #e7eeff; color: var(--gold-deep); font-size: 9px; font-weight: 600; }
#hero .ka-sheet__rows { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 22px -18px 0; border-top: 1px solid var(--hair); }
#hero .ka-sheet__rows span { height: 36px; border-bottom: 1px solid var(--hair); position: relative; }
#hero .ka-sheet__rows span::after { content: ""; position: absolute; left: 12px; top: 14px; width: 55%; height: 7px; border-radius: 99px; background: #eef1f6; }
#hero .ka-sheet__rows span.is-blue::after { background: #9db8ff; }
#hero .ka-circle { position: absolute; right: 13%; top: 30px; display: grid; place-items: center; align-content: center; width: 78px; height: 78px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #4d82ff, #1f56e6); color: #fff; box-shadow: 0 0 0 5px rgb(46 107 255 / .16), 0 14px 26px -8px rgb(46 107 255 / .7); }
#hero .ka-circle strong { font-size: 30px; line-height: 1; font-weight: 700; }
#hero .ka-circle small { font-size: 10px; font-weight: 600; }

/* Karte 3: Kurve mit schwebender Karte */
#hero .ka-panel { position: absolute; left: 10%; right: 6%; top: 56px; padding: 18px 0 0 20px; border-radius: 12px 12px 0 0; background: #fff; box-shadow: 0 10px 30px -14px rgb(20 24 31 / .25); text-align: left; }
#hero .ka-panel .ka-line--short { width: 26%; margin: 0 0 10px; }
#hero .ka-panel__value { display: flex; align-items: center; gap: 8px; }
#hero .ka-panel__value strong { font-size: clamp(24px, 2.2vw, 30px); font-weight: 700; letter-spacing: -.035em; }
#hero .ka-up { padding: 2px 7px; border-radius: 999px; background: #e7eeff; color: var(--gold-deep); font-size: 9px; font-weight: 600; }
#hero .ka-chart { display: block; width: 100%; height: 150px; margin-top: 10px; }
#hero .ka-chart__grid { stroke: var(--hair2); stroke-width: 1; }
#hero .ka-chart__area { fill: #e7eeff; stroke: none; }
#hero .ka-chart__line { stroke: var(--gold); stroke-width: 2.5; }
#hero .ka-chart circle { fill: var(--gold); stroke: #fff; stroke-width: 2; }
#hero .ka-float { position: absolute; right: 3%; top: 196px; display: grid; gap: 4px; padding: 14px 20px; border-radius: 12px; background: #fff; box-shadow: 0 16px 34px -12px rgb(20 24 31 / .3); text-align: left; }
#hero .ka-float small { color: var(--muted); font-size: 12px; }
#hero .ka-float strong { color: var(--ink); font-size: clamp(20px, 1.9vw, 26px); font-weight: 700; letter-spacing: -.03em; }

@media (max-width: 1023px) {
  #hero .ka-cards { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
}
@media (max-width: 767px) {
  #hero .ka-br { display: none; }
  #hero .customer-app-intro.ka > p { font-size: 16px; }
  #hero .ka-art { height: 270px; }
  #hero .ka-float { top: 140px; padding: 10px 16px; }
  #hero .ka-card > p { margin: 10px 22px 28px; font-size: 15px; }
}
/* Kartengrafiken kleiner (Levi, 22.10.2026): Fläche niedriger, Inhalte auf 78 % */
#hero .ka-art { height: 240px; }
#hero .ka-art > * { zoom: .78; }
@media (max-width: 767px) {
  #hero .ka-art { height: 220px; }
}
/* Sprung über „Die Web-App für unsere Kunden“: Headline landet oben im Fenster
   (gleicht das seitenweite scroll-padding-top von 6,75rem aus). */
#hero #kunden-webapp { scroll-margin-top: calc(28px - 6.75rem); }
@media (max-width: 767px) { #hero #kunden-webapp { scroll-margin-top: -60px; } }

/* Vorteile-Abschnitt (#pillars) nach dunkler Karten-Vorlage (22.10.2026):
   Navy-Fläche, Headline mit blauen Wörtern, drei Karten mit eigenen UI-Grafiken,
   Titel unten links, „+“ klappt die Beschreibung auf. */
#pillars.pv { --pv-bg: #14181f; --pv-card: #1a1f28; --pv-line: rgb(255 255 255 / .09); --pv-soft: rgb(255 255 255 / .55); --pv-blue: #4d82ff; background: var(--pv-bg); color: #fff; }
#pillars.pv .sec-inner { border-inline: 1px solid var(--pv-line); }
#pillars.pv svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#pillars .pv-head { max-width: 860px; }
#pillars .pv-title { margin: 0; color: #fff; font-size: clamp(34px, 4.4vw, 60px); font-weight: 700; line-height: 1.06; letter-spacing: -.045em; text-wrap: balance; }
#pillars .pv-title span { color: var(--pv-blue); }
#pillars .pv-sub { max-width: 720px; margin: 22px 0 0; color: var(--pv-soft); font-size: 18px; line-height: 1.65; }
#pillars .pv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: clamp(40px, 5vw, 64px); }
#pillars .pv-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 520px; padding: 28px; overflow: hidden; border: 1px solid var(--pv-line); border-radius: 28px; background: linear-gradient(180deg, #1d232d 0%, var(--pv-card) 100%); }
#pillars .pv-card__title { position: relative; z-index: 2; max-width: 78%; margin: 0; color: #fff; font-size: clamp(22px, 2vw, 30px); font-weight: 600; line-height: 1.15; letter-spacing: -.03em; }
#pillars .pv-toggle { position: absolute; z-index: 3; right: 24px; bottom: 24px; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgb(255 255 255 / .12); color: #fff; cursor: pointer; transition: background-color .2s ease, transform .25s ease; }
#pillars .pv-toggle:hover { background: rgb(255 255 255 / .2); }
#pillars .pv-toggle svg { width: 22px; height: 22px; transition: transform .25s ease; }
#pillars .pv-card.is-open .pv-toggle svg { transform: rotate(45deg); }
#pillars .pv-toggle:focus-visible { outline: 2px solid var(--pv-blue); outline-offset: 3px; }
#pillars .pv-more { position: absolute; z-index: 1; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 32px 32px 120px; background: rgb(20 24 31 / .94); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
#pillars .pv-more[hidden] { display: none; }
#pillars .pv-more p { margin: 0; color: #fff; font-size: 21px; line-height: 1.45; }
#pillars .pv-more span { color: var(--pv-blue); font-size: 14px; font-weight: 500; }
#pillars .pv-art { position: absolute; inset: 0 0 110px; pointer-events: none; }

/* Karte 1: gestapelte Anzeigen mit Ortsmarke */
#pillars .pv-post { position: absolute; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 2px 10px; width: 66%; padding: 14px 16px; border: 1px solid rgb(77 130 255 / .35); border-radius: 14px; background: #1e2633; color: var(--pv-soft); font-size: 12px; }
#pillars .pv-ava { grid-row: span 2; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgb(255 255 255 / .1); color: #fff; font-size: 12px; font-weight: 700; }
#pillars .pv-ava.is-blue { background: var(--pv-blue); }
#pillars .pv-post__name { color: #fff; font-weight: 600; font-size: 13px; }
#pillars .pv-post__meta { font-size: 11px; }
#pillars .pv-post--back { left: 22%; top: -14px; transform: rotate(8deg); opacity: .55; }
#pillars .pv-post--mid { left: 8%; top: 74px; transform: rotate(-12deg); background: #222a36; border-color: var(--pv-line); }
#pillars .pv-bars { grid-column: 1 / -1; display: grid; gap: 6px; margin-top: 10px; }
#pillars .pv-bars i { height: 6px; border-radius: 99px; background: rgb(255 255 255 / .1); }
#pillars .pv-bars i + i { width: 60%; }
#pillars .pv-post--front { left: 18%; top: 168px; width: 70%; display: block; transform: rotate(6deg); background: linear-gradient(160deg, #24365e, #1c2a49); border-color: rgb(77 130 255 / .6); box-shadow: 0 20px 40px -18px rgb(0 0 0 / .6); }
#pillars .pv-post__top { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 2px 10px; }
#pillars .pv-car { display: block; width: 62%; margin: 14px auto 10px; color: #cfdcff; stroke-width: 2; }
#pillars .pv-post__cta { display: block; padding: 8px; border-radius: 8px; background: var(--pv-blue); color: #fff; font-size: 12px; font-weight: 600; text-align: center; }
#pillars .pv-pin { position: absolute; right: 9%; top: 112px; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--pv-blue); background: rgb(77 130 255 / .18); color: #fff; box-shadow: 0 0 0 6px rgb(77 130 255 / .12); }
#pillars .pv-pin svg { width: 26px; height: 26px; }

/* Karte 2: Smartphone mit Anfrageformular */
#pillars .pv-phone { position: absolute; left: 50%; top: 40px; width: 74%; transform: translateX(-50%); padding: 14px; border: 1px solid var(--pv-line); border-radius: 22px; background: #1f2530; box-shadow: 0 24px 50px -20px rgb(0 0 0 / .7); }
#pillars .pv-phone__head { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgb(255 255 255 / .05); }
#pillars .pv-phone__head div { display: grid; flex: 1; }
#pillars .pv-phone__head strong { color: #fff; font-size: 13px; }
#pillars .pv-phone__head small { color: var(--pv-soft); font-size: 11px; }
#pillars .pv-check { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--pv-blue); color: #fff; }
#pillars .pv-check svg { width: 14px; height: 14px; stroke-width: 2.6; }
#pillars .pv-phone__text { margin: 14px 4px; color: var(--pv-soft); font-size: 11.5px; line-height: 1.5; }
#pillars .pv-field { display: block; height: 30px; margin: 8px 0; border: 1px solid var(--pv-line); border-radius: 8px; background: rgb(255 255 255 / .03); }
#pillars .pv-field--short { width: 60%; }
#pillars .pv-phone__btn { display: block; margin-top: 12px; padding: 9px; border-radius: 9px; background: var(--pv-blue); color: #fff; font-size: 12px; font-weight: 600; text-align: center; }
#pillars .pv-phone__note { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 9px 12px; border: 1px solid rgb(77 130 255 / .55); border-radius: 10px; color: #cfdcff; font-size: 11.5px; }
#pillars .pv-phone__note svg { width: 15px; height: 15px; color: var(--pv-blue); }

/* Karte 3: Anfrage, persönlicher Rückruf und Termin auf einer Achse. */
#pillars .pv-art--call { display: grid; place-items: center; padding: 24px 12px 8px; }
#pillars .pv-flow { display: block; width: 100%; height: 100%; max-width: 380px; max-height: 340px; overflow: visible; }
#pillars .pv-flow__line { stroke: #a3b2c7; stroke-width: 1.5; }
#pillars .pv-flow__node { color: var(--ink); }
#pillars .pv-flow__node > rect { fill: url(#pv-glass-clear); stroke: url(#pv-glass-edge); stroke-width: 1.25; filter: drop-shadow(0 5px 7px rgb(35 51 81 / .07)); }
#pillars .pv-flow__node svg { stroke-width: 1.8; }
#pillars .pv-flow__node text { fill: currentColor; stroke: none; font-family: var(--sans); font-size: 19px; font-weight: 600; letter-spacing: -.025em; }
#pillars .pv-flow__node .pv-flow__caption { font-size: 12px; font-weight: 400; letter-spacing: 0; }
#pillars .pv-flow__node--call { color: #3d3d3d; }
#pillars .pv-flow__node--call > rect { fill: url(#pv-glass-telepunkt); }
#pillars .pv-flow__node--result { color: #34445e; }
#pillars .pv-flow__node--result > rect { fill: url(#pv-glass-blue); }

@media (max-width: 1023px) {
  #pillars .pv-grid { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
  #pillars .pv-card { min-height: 480px; }
}
@media (max-width: 767px) {
  #pillars .pv-sub { font-size: 16px; }
  #pillars .pv-card { padding: 22px; border-radius: 22px; }
  #pillars .pv-toggle { right: 18px; bottom: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  #pillars .pv-toggle, #pillars .pv-toggle svg { transition: none; }
}

/* Kundenstimme unter den Vorteilen (22.10.2026), nach Zitat-Vorlage:
   Zitat links, 2×2-Kachelraster rechts (Foto, Anführungszeichen, Muster, Firma). */
#kundenstimme.qs { background: #f8f9fb; }
#kundenstimme .qs-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(32px, 6vw, 120px); }
#kundenstimme .qs-quote { margin: 0; }
#kundenstimme blockquote { margin: 0; }
#kundenstimme blockquote p { margin: 0; color: var(--ink); font-size: clamp(21px, 2vw, 28px); font-weight: 500; line-height: 1.4; letter-spacing: -.015em; text-wrap: pretty; }
#kundenstimme figcaption { margin-top: 22px; color: var(--muted); font-size: 15px; }
#kundenstimme figcaption strong { color: var(--ink2); font-weight: 600; }
#kundenstimme .qs-grid { display: grid; grid-template-columns: repeat(2, 176px); grid-template-rows: repeat(2, 176px); border: 1px solid var(--hair); }
#kundenstimme .qs-tile { position: relative; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--hair); margin: -1px 0 0 -1px; background: #f8f9fb; }
#kundenstimme .qs-tile--photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
#kundenstimme .qs-tile--mark span { color: #d3d8e2; font-size: 120px; font-weight: 700; line-height: 1; transform: translateY(24px); }
#kundenstimme .qs-tile--mark::before, #kundenstimme .qs-tile--mark::after { content: ""; position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--hair2); box-shadow: 140px 0 0 var(--hair2); left: 14px; }
#kundenstimme .qs-tile--mark::before { top: 14px; }
#kundenstimme .qs-tile--mark::after { bottom: 14px; }
#kundenstimme .qs-tile--pattern svg { width: 100%; height: 100%; fill: none; stroke: var(--hair2); stroke-width: .8; }
#kundenstimme .qs-tile--pattern circle { fill: var(--hair2); }
#kundenstimme .qs-tile--label { background: #fff; }
#kundenstimme .qs-tile--label span { padding: 0 14px; color: var(--ink); font-size: 21px; font-weight: 700; letter-spacing: -.03em; text-align: center; hyphens: manual; }
@media (max-width: 899px) {
  #kundenstimme .qs-inner { grid-template-columns: minmax(0, 1fr); }
  #kundenstimme .qs-grid { grid-template-columns: repeat(2, minmax(0, 150px)); grid-template-rows: repeat(2, 150px); }
  #kundenstimme .qs-tile--mark::before, #kundenstimme .qs-tile--mark::after { box-shadow: 116px 0 0 var(--hair2); }
}
#kundenstimme .qs-grid { width: max-content; justify-self: start; }

/* #pillars hell (Levi, 22.10.2026): heller Grund, keine Seitenlinien */
#pillars.pv { --pv-line: var(--hair); --pv-soft: var(--muted); --pv-blue: #2e6bff; background: #fff; color: var(--ink); }
#pillars.pv .sec-inner { border-inline: 0; }
#pillars .pv-title { color: var(--ink); }
#pillars .pv-card { background: linear-gradient(180deg, #f8faff 0%, #f2f5fa 100%); }
#pillars .pv-card__title { color: var(--ink); }
#pillars .pv-toggle { background: var(--ink); color: #fff; }
#pillars .pv-toggle:hover { background: #2b303b; }
#pillars .pv-more { background: rgb(248 250 255 / .96); }
#pillars .pv-more p { color: var(--ink); }
/* Helles Liquid Glass für die drei Illustrationen, mit zurückhaltenden Markenakzenten. */
#pillars .pv-post, #pillars .pv-phone {
  background: linear-gradient(145deg, rgb(255 255 255 / .91), rgb(255 255 255 / .48));
  border-color: rgb(255 255 255 / .94);
  -webkit-backdrop-filter: blur(16px) saturate(110%);
  backdrop-filter: blur(16px) saturate(110%);
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgb(160 177 202 / .16), 0 16px 32px -22px rgb(33 48 72 / .3);
  color: var(--muted);
}
#pillars .pv-post--mid { background: linear-gradient(145deg, rgb(255 255 255 / .92), rgb(242 246 252 / .5)); }
#pillars .pv-post--front { background: linear-gradient(145deg, rgb(255 255 255 / .97), rgb(235 242 254 / .58)); box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgb(160 177 202 / .18), 0 20px 36px -24px rgb(58 85 128 / .32); }
#pillars .pv-post__name, #pillars .pv-phone__head strong { color: var(--ink); }
#pillars .pv-ava { background: rgb(225 232 242 / .42); color: #46536a; box-shadow: inset 0 1px 0 rgb(255 255 255 / .95); }
#pillars .pv-ava.is-blue { background: linear-gradient(145deg, rgb(255 255 255 / .82), rgb(46 107 255 / .1)); color: #465b7b; }
#pillars .pv-bars i { background: rgb(182 197 219 / .22); }
#pillars .pv-car { color: #46536a; }
#pillars .pv-post__cta, #pillars .pv-phone__btn {
  color: #3f5575;
  background: linear-gradient(155deg, rgb(255 255 255 / .9), rgb(215 228 252 / .6));
  border: 1px solid rgb(255 255 255 / .9);
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgb(139 163 200 / .17), 0 4px 10px -8px rgb(40 65 100 / .18);
}
#pillars .pv-phone__head { background: rgb(255 255 255 / .42); box-shadow: inset 0 1px 0 rgb(255 255 255 / .85); }
#pillars .pv-check { background: linear-gradient(145deg, rgb(255 255 255 / .9), rgb(46 107 255 / .1)); color: #526b8e; box-shadow: inset 0 1px 0 #fff; }
#pillars .pv-field { background: rgb(255 255 255 / .28); border-color: rgb(177 192 213 / .4); box-shadow: inset 0 1px 3px rgb(95 115 145 / .04); }
@media (prefers-reduced-transparency: reduce) {
  #pillars .pv-post, #pillars .pv-phone { background: #f9fbfd; -webkit-backdrop-filter: none; backdrop-filter: none; }
  #pillars .pv-flow__node > rect { fill: #f9fbfd; }
  #pillars .pv-flow__node--call > rect { fill: #f2f5e9; }
  #pillars .pv-flow__node--result > rect { fill: #edf2fb; }
}

/* „Planbar statt abhängig“ nach Levis Bildkarten-Referenz, 22.10.2026. */
#stats.stats-outcomes { background: #fff; border: 0; }
#stats .outcomes-head { max-width: 760px; }
#stats .outcomes-head .sec-title { margin: 0; }
#stats .outcomes-head .sec-sub { margin-top: 24px; }
#stats .outcome-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 12px; margin-top: 32px; }
#stats .outcome-card { position: relative; isolation: isolate; grid-column: span 5; min-width: 0; min-height: 280px; overflow: hidden; border-radius: 16px; background: #20252d; color: #fff; }
#stats .outcome-card--start, #stats .outcome-card--call { grid-column: span 7; }
#stats .outcome-card__image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; filter: saturate(.72); }
#stats .outcome-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(12 16 22 / .48) 0%, rgb(12 16 22 / .3) 36%, rgb(12 16 22 / .9) 100%); }
#stats .outcome-card--start .outcome-card__image { object-position: 55% 48%; }
#stats .outcome-card--call .outcome-card__image { object-position: 68% 40%; }
#stats .outcome-card--leads .outcome-card__image { object-position: 66% 50%; }
#stats .outcome-card__content { display: flex; flex-direction: column; height: 100%; min-height: inherit; padding: 22px 24px; }
#stats .outcome-card__label { margin: 0; color: #fff; font-size: 13px; font-weight: 500; line-height: 1.45; }
#stats .outcome-card__metric { margin: 24px 0; font-size: clamp(38px, 3.4vw, 48px); font-weight: 500; line-height: 1.02; letter-spacing: -.05em; text-wrap: balance; }
#stats .outcome-card--call .outcome-card__metric { max-width: 8em; }
#stats .outcome-card__bottom { margin-top: auto; }
#stats .outcome-card__bottom h3 { margin: 0; color: #fff; font-size: clamp(20px, 1.6vw, 23px); font-weight: 500; line-height: 1.18; letter-spacing: -.025em; }
#stats .outcome-card__bottom p { margin: 14px 0 0; color: #e0e4ea; font-size: 12px; line-height: 1.5; }
@media (min-width: 1024px) {
  #stats .outcome-card--leads .outcome-card__metric { font-size: clamp(38px, 3.2vw, 46px); }
}
@media (max-width: 1023px) {
  #stats .outcome-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #stats .outcome-card, #stats .outcome-card--start, #stats .outcome-card--call { grid-column: auto; min-height: 280px; }
  #stats .outcome-card__content { padding: 22px; }
  #stats .outcome-card__metric { font-size: 40px; }
  #stats .outcome-card__bottom h3 { font-size: 21px; }
  #stats .outcome-card__bottom h3 br { display: none; }
}
@media (max-width: 599px) {
  #stats .outcome-grid { grid-template-columns: minmax(0, 1fr); margin-top: 28px; gap: 12px; }
  #stats .outcome-card { min-height: 280px; border-radius: 16px; }
  #stats .outcome-card__content { padding: 22px; }
  #stats .outcome-card__metric { font-size: 40px; margin-top: 24px; }
  #stats .outcome-card__bottom h3 { font-size: 21px; }
}
#kundenstimme .qs-tile--icon svg { width: 72%; fill: none; stroke: var(--ink2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
#pillars .pv-sub { max-width: none; }
@media (min-width: 900px) { #pillars .pv-sub { white-space: nowrap; } }
/* „Planbar statt abhängig“: Bilder zurücknehmen, Text im Vordergrund (Levi, 25.10.2026) */
#stats .outcome-card__image { filter: blur(1.35px); transform: scale(1.03); }
#stats .outcome-card__label, #stats .outcome-card__metric, #stats .outcome-card__bottom h3 { color: #fff; }
#stats .outcome-card__bottom p { color: #e0e4ea; }
#stats .outcome-card::after { content: ""; background:
  radial-gradient(ellipse 85% 65% at 0% 0%, rgb(12 16 22 / .62) 0%, rgb(12 16 22 / .28) 45%, rgb(12 16 22 / 0) 78%),
  radial-gradient(ellipse 90% 70% at 0% 100%, rgb(12 16 22 / .72) 0%, rgb(12 16 22 / .3) 48%, rgb(12 16 22 / 0) 80%); }
#stats .outcome-card__label, #stats .outcome-card__metric, #stats .outcome-card__bottom h3, #stats .outcome-card__bottom p { text-shadow: 0 1px 2px rgb(12 16 22 / .45), 0 2px 14px rgb(12 16 22 / .35); }
#stats .outcome-card--call .outcome-card__image { object-position: 100% 25%; }

/* Anzeigen-Ordner: Generierungs-Effekt nach Vorlage „ImageGeneration“ (26.10.2026).
   Starke Unschärfe über dem Motiv, deren Oberkante mit weichem Übergang von oben
   nach unten wandert; schimmernder Statustext. Ablauf und Dauer (JS) unverändert. */
@property --gen-p { syntax: "<number>"; inherits: false; initial-value: 0; }
#ad-gallery .adfolder-card.is-generation-running .adfolder-card__media img { transform: none; filter: none; }
#ad-gallery .adfolder .adfolder-card__generation:before {
  inset: -25% 0 0;
  background: rgb(255 255 255 / .06);
  -webkit-backdrop-filter: blur(40px) saturate(1.1);
  backdrop-filter: blur(40px) saturate(1.1);
  clip-path: polygon(0 calc(var(--gen-p) * 1%), 100% calc(var(--gen-p) * 1%), 100% 100%, 0 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent calc((var(--gen-p) - 5) * 1%), transparent calc(var(--gen-p) * 1%), #000 calc((var(--gen-p) + 5) * 1%));
  mask-image: linear-gradient(to bottom, transparent calc((var(--gen-p) - 5) * 1%), transparent calc(var(--gen-p) * 1%), #000 calc((var(--gen-p) + 5) * 1%));
}
#ad-gallery .adfolder-card.is-generation-running .adfolder-card__generation:before { animation: adfolder-gen-sweep var(--ad-generation-duration, 4s) linear forwards; }
@keyframes adfolder-gen-sweep { from { --gen-p: 0; } to { --gen-p: 100; } }
#ad-gallery .adfolder-card__generation:after,
#ad-gallery .adfolder-card__generation-progress { display: none; }
#ad-gallery .adfolder-card__generation-label { padding: 0; border: 0; background: none; font-size: .78rem; font-weight: 500; letter-spacing: 0; text-shadow: 0 1px 6px rgb(12 16 22 / .35); }
#ad-gallery .adfolder-card.is-generation-waiting .adfolder-card__generation-label:before { content: "Wird vorbereitet."; color: rgb(255 255 255 / .8); }
#ad-gallery .adfolder-card.is-generation-running .adfolder-card__generation-label:before {
  content: "Anzeige wird erstellt. Einen Moment.";
  background: linear-gradient(110deg, rgb(255 255 255 / .6) 35%, #fff 50%, rgb(255 255 255 / .6) 75%, rgb(255 255 255 / .6));
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  animation: adfolder-gen-shimmer 3s linear infinite;
}
@keyframes adfolder-gen-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
#ad-gallery .adfolder-card__generation { align-content: end; }
#ad-gallery .adfolder-card__generation-label { align-self: end; }
/* Problem-Karten: kein blauer Rand beim Überfahren (Levi, 26.10.2026) */
#problem .prob-card:hover { border-color: var(--hair); }
/* Anzeigen-Ordner: Pfeile entfernt (Levi, 26.10.2026) */
#ad-gallery .adfolder-arrow, #ad-gallery .adfolder.is-open.is-generation-complete .adfolder-arrow { display: none !important; }
