@font-face {
  font-family: Inter;
  src: url("inter.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 850;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #111827;
  --body: #4b5563;
  --quiet: #596577;
  --brand: #5b5bd6;
  --brand-dark: #4f46e5;
  --brand-text: #4d4cc3;
  --brand-soft: #eeedff;
  --surface: #f8f9fc;
  --line: #e5e7eb;
  --green: #14783e;
  --green-soft: #eaf8ef;
  --shell: 1248px;
  --shadow: 0 18px 45px -27px #29256749, 0 3px 12px #17173d09;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 98px; }
body { margin: 0; background: var(--surface); color: var(--ink); font: 400 16px/1.55 Inter, system-ui, sans-serif; }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: default; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, h4, ul { margin: 0; }
ul { padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--brand-dark); outline-offset: 4px; }
.icon { display: inline-block; width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: 12px; z-index: 20; padding: 10px 15px; border-radius: 8px; background: #fff; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.shell { width: min(calc(100% - 96px), var(--shell)); margin-inline: auto; }
h1, h2, h3, h4 { font-weight: 740; }
em { color: var(--brand); font-style: normal; }
#main { scroll-margin-top: 75px; }

.site-header { position: sticky; top: 0; z-index: 10; background: #ffffffed; backdrop-filter: blur(16px); border-bottom: 1px solid #eaeaf1; }
.header-inner { min-height: 75px; display: grid; grid-template-columns: 1fr 2fr 1fr; align-items: center; }
.wordmark { display: inline-flex; align-items: center; justify-self: start; gap: 9px; color: var(--ink); letter-spacing: -.055em; font-size: 24px; line-height: 1; font-weight: 810; white-space: nowrap; }
.logo { width: 37px; height: 37px; border-radius: 50%; background: var(--brand); color: white; display: inline-grid; place-items: center; flex: 0 0 auto; }
.logo .icon { width: 21px; height: 21px; }
.header-nav { display: contents; }
.header-nav nav, .header-actions { display: flex; align-items: center; }
.header-nav nav { justify-content: center; gap: clamp(20px, 3.05vw, 45px); }
.header-actions { justify-content: flex-end; gap: clamp(13px, 1.65vw, 26px); }
.header-nav nav a { color: #374151; font-size: 14px; font-weight: 590; white-space: nowrap; }
.icon-button { display: inline-grid; place-items: center; border: 0; background: transparent; color: var(--quiet); border-radius: 9px; width: 40px; height: 40px; }
.icon-button:hover { color: var(--brand-text); background: var(--brand-soft); }
.menu-toggle, .header-inner .header-testen { display: none; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 50px; padding: 12px 17px; border: 1px solid transparent; border-radius: 10px; font-size: 14px; font-weight: 680; line-height: 1.35; text-align: center; transition: background-color .18s, box-shadow .18s, border-color .18s; }
.button .icon { width: 18px; height: 18px; }
.button-primary { background: var(--brand); color: white; box-shadow: 0 3px 5px #4b45ba25; }
.button-primary:hover { background: var(--brand-dark); box-shadow: 0 5px 12px #4b45ba35; }
.button-primary:disabled { background: var(--brand-soft); color: var(--brand-text); box-shadow: none; }
.button-outline { background: #fff; border-color: #d8d8f5; color: var(--brand-text); }
.button-outline:hover { border-color: var(--brand); background: #f7f6ff; }
.button-small { padding: 9px 13px; min-height: 41px; font-size: 13px; white-space: nowrap; }
.button-small .icon { width: 15px; height: 15px; }

.hero { position: relative; isolation: isolate; overflow: clip; background: linear-gradient(117deg, #f9fafd 28%, #f4f4ff 71%, #eeeefe 100%); border-bottom: 1px solid #eaeaf4; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0 0 0 48%; background: radial-gradient(circle, #5b5bd620 1px, transparent 1.25px) 10px 9px / 20px 20px; mask-image: radial-gradient(ellipse at 62% 49%, #000 8%, transparent 74%); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.13fr) minmax(0, 1fr); gap: clamp(36px, 5.45vw, 78px); align-items: center; padding-block: clamp(68px, 7vw, 101px); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--brand-text); font-size: 11px; line-height: 1.45; font-weight: 760; letter-spacing: .115em; text-transform: uppercase; }
.eyebrow .icon { width: 16px; height: 16px; }
.hero-eyebrow { color: #525f74; margin-bottom: 19px; }
.hero-eyebrow span { width: 7px; height: 7px; background: var(--brand); border-radius: 50%; box-shadow: 0 0 0 4px #5b5bd614; margin-inline: 4px 2px; }
.hero h1 { max-width: 670px; font-size: clamp(32px, 2.95vw, 42px); letter-spacing: -.066em; line-height: 1.045; font-weight: 770; text-wrap: pretty; hyphens: none; }
.hero-lede { color: var(--body); max-width: 570px; margin-top: 24px; font-size: clamp(16px, 1.26vw, 18px); line-height: 1.65; text-wrap: pretty; }
.hero-actions { margin-top: 28px; display: flex; align-items: center; flex-wrap: wrap; gap: 16px 23px; }
.chat-link { display: inline-flex; align-items: center; gap: 4px; color: var(--brand-text); font-size: 13px; line-height: 1.4; font-weight: 670; padding-block: 6px; }
.chat-link .icon { width: 16px; height: 16px; margin-left: 2px; }
.chat-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.bubble { width: fit-content; max-width: 94%; margin-bottom: 9px; padding: 8px 10px; border-radius: 11px; color: #273046; font-size: 12.5px; line-height: 1.5; overflow-wrap: anywhere; box-shadow: 0 1px 2px #20204b06; }
.bubble small { margin-left: 6px; font-size: 9px; color: #637086; white-space: nowrap; font-variant-numeric: tabular-nums; }
.bubble strong { font-variant-numeric: tabular-nums; }
.bubble-user { margin-left: auto; background: #e9ebf4; border: 1px solid #e2e5f0; border-bottom-right-radius: 3px; }
.bubble-agent { background: #fff; border: 1px solid #e7e8f0; border-bottom-left-radius: 3px; }
.query-options button { border: 1px solid #dfddf5; padding: 5px 8px; line-height: 1.25; border-radius: 40px; background: #f8f7ff; color: #5049aa; font-size: 10.5px; font-weight: 610; transition: background-color .18s, border-color .18s; }
.query-options button:hover { background: #eeebff; border-color: #bdb9ef; }
.query-field:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px #5b5bd619; }
.query-field input { min-width: 0; width: 100%; color: var(--ink); background: transparent; border: 0; outline: 0; padding: 6px 8px; font-size: 13px; }

.section { padding-block: clamp(72px, 7vw, 107px); }
.section-heading { max-width: 800px; margin-bottom: 37px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading h2 { margin-top: 11px; font-size: clamp(33px, 3.3vw, 49px); letter-spacing: -.062em; line-height: 1.105; text-wrap: balance; }
.section-heading:not(.centered) h2 { text-wrap: pretty; }
.section-heading > p:not(.eyebrow) { color: var(--body); line-height: 1.67; margin-top: 16px; font-size: 16px; max-width: 690px; text-wrap: pretty; }
.section-heading.centered > p { margin-inline: auto; }
.sources-section { background: #fff; }
.sources-section .section-heading { max-width: 900px; }
.flow { display: grid; grid-template-columns: minmax(0, 1.6fr) auto minmax(0, .95fr) auto minmax(0, .84fr); gap: clamp(12px, 2.2vw, 31px); align-items: center; padding: clamp(20px, 3vw, 39px); border: 1px solid var(--line); border-radius: 19px; background: #fcfcfe; box-shadow: var(--shadow); }
.flow-label { display: block; margin-bottom: 9px; color: var(--quiet); font-size: 11px; font-weight: 690; letter-spacing: .07em; text-transform: uppercase; }
.source-badges { display: flex; flex-wrap: wrap; gap: 7px; }
.source-badges span { min-height: 33px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border: 1px solid #e6e8f0; background: #fff; border-radius: 7px; white-space: nowrap; font-size: 12px; font-weight: 620; }
.source-badges .icon { width: 15px; height: 15px; color: #626e83; }
.source-badges .meta-icon, .source-badges .google-icon { color: #2167c9; }
.source-badges .tiktok-icon { color: #242330; }
.flow-arrow { display: grid; place-items: center; color: #7772ce; }
.flow-arrow .icon { width: 24px; height: 24px; }
.flow-hub, .flow-result { display: flex; align-items: center; gap: 11px; min-height: 86px; padding: 13px; border-radius: 13px; }
.flow-hub { background: #edebff; border: 1px solid #e0ddfb; }
.flow-result { background: #edf9f1; border: 1px solid #daefe1; }
.flow-hub strong, .flow-result strong { display: block; font-size: 15px; font-weight: 760; letter-spacing: -.035em; }
.flow-hub small, .flow-result small { display: block; color: var(--quiet); font-size: 11px; line-height: 1.35; margin-top: 3px; }
.flow-result strong { color: #17663b; }
.flow-result-icon { display: grid; place-items: center; width: 37px; height: 37px; border-radius: 10px; background: #dcf2e4; color: var(--green); flex: 0 0 auto; }

.tile-icon { width: 43px; height: 43px; flex: 0 0 auto; display: inline-grid; place-items: center; border-radius: 11px; background: #eeedff; color: var(--brand-text); }
.tile-icon .icon { width: 22px; height: 22px; }
.step-num { color: var(--brand-text); font-size: 13px; font-weight: 760; letter-spacing: .06em; font-variant-numeric: tabular-nums; }

.portfolio-section { background: #fff; }
.portfolio-layout { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(27px, 5vw, 73px); align-items: center; }
.portfolio-heading { margin: 0; }
.portfolio-features { margin-top: 22px; display: grid; gap: 10px; }
.portfolio-features li { display: flex; align-items: center; gap: 9px; color: #374151; font-size: 13.5px; font-weight: 590; }
.feature-icon { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 8px; color: var(--brand-text); background: #f2f0fe; flex: 0 0 auto; }
.feature-icon .icon { width: 16px; height: 16px; }
.portfolio-heading > p.portfolio-footnote:not(.eyebrow) { font-size: 13px; color: var(--quiet); margin-top: 20px; }
.portfolio-card { min-width: 0; background: #fff; padding: clamp(17px, 2.15vw, 29px); border: 1px solid #e2e2ef; border-radius: 20px; box-shadow: 0 0 0 6px #f7f6fe, var(--shadow); }
.card-heading { display: flex; align-items: center; gap: 11px; margin-bottom: 17px; }
.card-heading p { color: var(--quiet); font-size: 12px; margin-top: 3px; }
.query-field { display: flex; align-items: center; padding: 2px 3px 2px 10px; border: 1px solid #dad8f2; border-radius: 9px; background: #faf9ff; color: var(--brand-text); }
.query-field > .icon { width: 17px; height: 17px; }
.query-field .icon-button { width: 34px; height: 34px; color: var(--brand-text); flex: 0 0 auto; }
.query-options { display: flex; flex-wrap: wrap; gap: 5px; margin: 10px 0 15px; }
.query-options button { padding: 5px 8px; text-align: left; }
.query-options button[aria-pressed="true"] { background: #eae8ff; border-color: #d4cffd; color: #4338a7; }
.query-feedback { color: var(--quiet); font-size: 13px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.stats > div { display: grid; align-content: center; gap: 3px; min-width: 0; padding: 11px; border-radius: 9px; border: 1px solid #e8e8f2; background: #f8f8fc; }
.stats > div:nth-child(2) { border-color: #dceee2; background: #f1faf4; }
.stats strong { font-size: 29px; line-height: 1; letter-spacing: -.08em; font-weight: 760; font-variant-numeric: tabular-nums; }
.stats span { display: flex; align-items: center; gap: 4px; font-size: 11px; color: #4b5563; line-height: 1.35; }
.stats > div:nth-child(2) span { color: #17643b; }
.stats .icon { width: 14px; height: 14px; }
.message-preview { margin-top: 12px; border: 1px solid #e5e8ed; border-radius: 9px; padding: 10px 11px; }
.message-preview div { display: flex; align-items: center; gap: 6px; color: var(--green); font-size: 11.5px; font-weight: 690; }
.message-preview .icon { height: 15px; width: 15px; }
.message-preview p { color: #4b5563; font-size: 12.5px; margin-top: 4px; }
.approve-button { min-height: 40px; padding: 8px 11px; margin-top: 13px; font-size: 12px; }
.approval-status { color: var(--green); font-size: 12px; font-weight: 560; margin-top: 6px; }


.comparison-section { background: #fff; }
.comparison-card { max-width: 1020px; margin-inline: auto; border: 1px solid var(--line); border-radius: 16px; overflow-x: auto; box-shadow: var(--shadow); }
.comparison-card table { border-collapse: collapse; width: 100%; min-width: 520px; table-layout: fixed; text-align: left; }
.comparison-card thead th:first-child { width: 30%; }
.comparison-card sup a { color: var(--brand-text); padding-inline: 2px; }
.comparison-card th, .comparison-card td { vertical-align: middle; border-bottom: 1px solid #eaebf3; padding: 13px clamp(10px, 2.5vw, 26px); font-size: 14px; }
.comparison-card thead th { background: #f9f9fc; font-weight: 720; }
.comparison-card thead th:last-child { background: #eae7ff; color: #342d8d; }
.comparison-card td:last-child { background: #f7f6ff; }
.comparison-card th .logo { width: 23px; height: 23px; vertical-align: middle; margin-right: 2px; }
.comparison-card th .logo .icon { width: 13px; height: 13px; }
.comparison-card tbody tr:last-child > * { border-bottom: 0; }
.comparison-card tbody th { font-weight: 590; color: #384254; }
.table-answer { display: flex; align-items: flex-start; gap: 6px; color: #483da7; font-weight: 720; }
.table-answer .icon { width: 15px; height: 15px; color: var(--green); margin-top: 3px; }
.table-answer small { display: inline; font-size: 11.5px; font-weight: 540; color: #4d476e; }
.muted-answer { color: var(--quiet); }

.closing-section { background: linear-gradient(145deg, #f9f9fd, #f0eeff); border-top: 1px solid #ebe9f6; }
.closing-section .section-heading { max-width: 645px; }
.header-nav nav a:hover { color: var(--brand-text); }
.start-card { padding: clamp(19px, 2.45vw, 32px); border-radius: 17px; border: 1px solid var(--line); background: #fff; min-width: 0; }
.start-card h3 { margin-top: 11px; font-size: 23px; line-height: 1.18; letter-spacing: -.05em; }
.start-card > p { font-size: 14px; color: var(--body); margin: 6px 0 16px; }

.site-footer { background: white; border-top: 1px solid #eeedf4; }
.footer-inner { padding-block: 26px; display: flex; align-items: center; flex-wrap: wrap; gap: 12px 22px; }
.footer-inner .wordmark { font-size: 20px; }
.footer-inner .logo { width: 29px; height: 29px; }
.footer-inner .logo .icon { width: 16px; height: 16px; }
.footer-inner p, .footer-link { font-size: 12px; color: var(--quiet); }
.footer-link { margin-left: auto; color: var(--brand-text); font-weight: 650; white-space: nowrap; }
.footer-link .icon { width: 14px; height: 14px; }

dialog { position: fixed; color: var(--ink); width: min(calc(100% - 30px), 470px); max-height: calc(100% - 30px); padding: 23px; border: 1px solid #deddf3; border-radius: 17px; box-shadow: 0 22px 70px #1412273d; }
dialog::backdrop { background: #1b1a37a0; backdrop-filter: blur(3px); }
dialog .dialog-close { position: absolute; top: 11px; right: 11px; }
dialog h2 { margin-top: 9px; font-size: 24px; line-height: 1.15; letter-spacing: -.045em; }
dialog > p { margin: 8px 0 15px; color: var(--body); font-size: 14px; }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 8px; }

@media (min-width: 1100px) {
  .hero h1 em { display: block; }
}
@media (max-width: 1190px) {
  .shell { width: min(calc(100% - 72px), var(--shell)); }
  .hero-inner { gap: clamp(28px, 4.4vw, 54px); }
  .hero-actions { gap: 11px 16px; }
}
@media (max-width: 990px) {
  .hero h1 { font-size: clamp(38px, 4.55vw, 48px); letter-spacing: -.067em; }
  .hero-inner { grid-template-columns: minmax(0, 1.11fr) minmax(0, 1fr); padding-block: 62px; }
  .flow { grid-template-columns: minmax(0, 1.28fr) auto minmax(0, 1fr) auto minmax(0, .9fr); }
  .flow-hub, .flow-result { padding: 9px; gap: 7px; }
}
@media (max-width: 790px) {
  html { scroll-padding-top: 79px; }
  .shell { width: calc(100% - 44px); }
  .header-inner { min-height: 65px; display: flex; justify-content: space-between; }
  .header-inner .wordmark { font-size: 22px; }
  .header-inner .logo { width: 33px; height: 33px; }
  .header-inner .wordmark { margin-right: auto; }
  .header-inner .header-testen { display: inline-flex; order: 2; margin-right: 6px; min-height: 36px; padding: 6px 12px; }
  .menu-toggle { display: inline-grid; order: 3; }
  .header-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: white; padding: 9px 22px 18px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .header-nav.is-open { display: block; }
  .header-nav nav { flex-direction: column; align-items: stretch; gap: 0; margin-bottom: 10px; }
  .header-nav nav a { padding: 10px 0; }
  .header-actions { justify-content: flex-start; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 34px; padding-block: 49px 55px; }
  .hero-copy { max-width: 650px; }
  .hero h1 { font-size: clamp(36px, 7vw, 53px); }
  .hero-lede { margin-top: 17px; }
  .hero-actions { margin-top: 21px; }
  .hero::before { inset: 43% 0 0 0; }
  .portfolio-layout { grid-template-columns: minmax(0, 1fr); }
  .flow { grid-template-columns: minmax(0, 1.1fr) auto minmax(0, .9fr) auto minmax(0, .8fr); gap: 8px; }
  .flow-arrow .icon { width: 18px; height: 18px; }
  .flow-hub .logo, .flow-result-icon { width: 28px; height: 28px; }
  .flow-hub .icon, .flow-result-icon .icon { width: 17px; height: 17px; }
  .flow-hub strong, .flow-result strong { font-size: 13px; }
}
@media (max-width: 555px) {
  .shell { width: calc(100% - 32px); }
  .hero-inner { padding-block: 37px 44px; gap: 26px; }
  .hero h1 { font-size: clamp(32px, 9.6vw, 46px); letter-spacing: -.062em; }
  .hero-eyebrow { margin-bottom: 13px; font-size: 9.5px; letter-spacing: .09em; }
  .hero-lede { font-size: 15px; }
  .hero-actions { gap: 9px 16px; }
  .hero-actions .button { min-height: 46px; }
  .section { padding-block: 58px; }
  .section-heading { margin-bottom: 24px; }
  .section-heading h2 { font-size: clamp(29px, 8.4vw, 37px); margin-top: 8px; letter-spacing: -.056em; }
  .section-heading > p:not(.eyebrow) { font-size: 14px; margin-top: 12px; }
  .flow { grid-template-columns: 1fr; gap: 8px; padding: 15px; }
  .flow-arrow { transform: rotate(90deg); }
  .flow-hub, .flow-result { min-height: 60px; }
  .flow-hub .logo, .flow-result-icon { width: 32px; height: 32px; }
  .portfolio-heading { margin-bottom: 0; }
  .comparison-card th, .comparison-card td { font-size: 12px; padding: 10px 8px; }
  .comparison-card th .logo { width: 17px; height: 17px; margin-right: 1px; }
  .comparison-card th .logo .icon { width: 10px; height: 10px; }
  .table-answer { gap: 3px; }
  .table-answer .icon { width: 12px; height: 12px; margin-top: 2px; }
  .table-answer small { display: block; font-size: 10px; }
  .footer-inner { padding-block: 20px; }
  .footer-inner p { width: 100%; order: 3; }
}
@media (max-width: 360px) {
}

@media (max-width: 555px) { .plan-beispiel { border-radius: 12px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Ergänzungen für die Anbindung an die echten Dienste. */

/* Siegelband direkt unter dem ersten Bildschirm: eine ruhige Zeile mit drei Zeichen, keine Karten. */
.siegel-band { padding: 18px 20px; background: transparent; }
.siegel { max-width: 1180px; margin: 0 auto; padding: 0; list-style: none; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 44px; }
.siegel-karte { display: flex; align-items: center; gap: 11px; }
.siegel-karte strong { display: block; font-size: 0.9rem; font-weight: 620; letter-spacing: -0.005em; color: #273046; line-height: 1.2; }
.siegel-karte p { margin: 1px 0 0; font-size: 0.78rem; color: #637086; line-height: 1.35; }
.siegel-flagge { flex: none; width: 30px; height: 20px; border-radius: 4px; box-shadow: 0 0 0 1px #00000014; }
.siegel-eu { flex: none; width: 30px; height: 30px; }
.siegel-meta { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: #0866ff; color: #fff; }
.siegel-meta .icon { width: 18px; height: 18px; }
.siegel-punkte { margin: 1px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; font-size: 0.78rem; color: #637086; }
.siegel-punkte li + li::before { content: "·"; margin: 0 6px; }
@media (max-width: 760px) {
  .siegel { flex-direction: column; align-items: flex-start; gap: 12px; max-width: 340px; }
}


/* ─── Chatfenster: Ersteinschätzung ───────────────────────────────────────────
   Dunkle Bühne direkt hinter dem ersten Bildschirm. Die Bewegung zeigt, was die KI tut: Schritte laufen und haken ab,
   danach erscheint der Plan. Bei reduzierter Bewegung steht alles sofort da. */
@keyframes ki-schimmer { to { background-position: -200% 0; } }

.ki-form { margin: 0; }
.ki-leiste { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 18px; border-radius: 20px; background: #14162e; box-shadow: 0 0 0 1px #ffffff26, 0 30px 80px -30px #5b5bd6; }
.ki-leiste::before { content: ""; position: absolute; inset: -2px; z-index: -1; border-radius: 22px; background: linear-gradient(90deg, #5b5bd6, #3ee6b4, #a26bff, #5b5bd6); background-size: 300% 100%; opacity: .55; filter: blur(10px); animation: ki-schimmer 7s linear infinite; }
.ki-leiste.ki-laeuft::before { opacity: 1; filter: blur(16px); animation-duration: 1.6s; }
.ki-leiste:focus-within { box-shadow: 0 0 0 2px #a9a4ff, 0 30px 80px -30px #5b5bd6; }
.ki-leiste textarea { flex: 1; min-width: 0; min-height: 30px; max-height: 120px; resize: none; padding: 9px 0; border: 0; background: transparent; color: #fff; font: inherit; font-size: clamp(1rem, 1.7vw, 1.15rem); line-height: 1.4; field-sizing: content; }
.ki-leiste textarea::placeholder { color: #8f93b3; }
.ki-leiste textarea:focus { outline: 0; }
.ki-los { display: inline-flex; align-items: center; justify-content: center; gap: 9px; flex: none; min-height: 50px; padding: 0 22px; border: 0; border-radius: 14px; background: linear-gradient(135deg, #6c6cf0, #5b5bd6); color: #fff; font: inherit; font-size: 1rem; font-weight: 720; cursor: pointer; box-shadow: 0 10px 24px -10px #6c6cf0; transition: transform .15s, box-shadow .15s; }
.ki-los:hover { transform: translateY(-1px); box-shadow: 0 16px 30px -10px #6c6cf0; }
.ki-los:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.ki-los .icon { width: 18px; height: 18px; }
.ki-beispiele { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; }
.ki-beispiele .plan-beispiel { max-width: 100%; padding: 8px 14px; border: 1px solid #ffffff26; border-radius: 999px; background: #ffffff0a; color: #d6d7f5; font: inherit; font-size: 13.5px; font-weight: 560; cursor: pointer; transition: background .15s, border-color .15s; }
.ki-beispiele .plan-beispiel:hover { background: #ffffff17; border-color: #a9a4ff; }
.plan-fenster .plan-rest { margin-top: 12px; text-align: center; color: #8f93b3; font-size: 12.5px; }
.ki-meldung { margin: 18px auto 0; max-width: 760px; padding: 12px 16px; border: 1px solid #ffffff26; border-radius: 12px; background: #ffffff0d; color: #eef0ff; font-size: 15px; text-align: center; }

/* Die Schritte der KI */
.ki-tippt::after { content: "▍"; margin-left: 1px; color: #a9a4ff; animation: ki-blink .7s steps(1) infinite; }
@keyframes ki-blink { 50% { opacity: 0; } }

/* Ergebnis: Antwort und Prozessbaum */

.plan-fenster .plan-quelle { font-size: 13.5px; color: #9aa0c2; }
.plan-fenster .plan-uebernahme { margin-top: 22px; text-decoration: none; min-height: 54px; padding: 0 26px; font-size: 1.05rem; background: linear-gradient(135deg, #3ee6b4, #23c79a); color: #06241b; box-shadow: 0 14px 34px -12px #3ee6b4; }
.ki-ein { animation: ki-ein .5s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes ki-ein { from { opacity: 0; transform: translateY(12px); } }

@media (max-width: 760px) {
}
@media (prefers-reduced-motion: reduce) {
  .ki-leiste::before, .ki-ein, .knoten, .baum-detail-neu { animation: none !important; }
  .baum-linie { animation: none !important; stroke-dashoffset: 0; }
  .baum-licht { display: none; }
}

/* ─── Weniger Karten ─────────────────────────────────────────────────────────
   Rahmen, Flächen und Schatten bleiben nur dort, wo ein Stück Produkt gezeigt wird (Chat, Bestandsabfrage, Formular).
   Inhalt steht frei auf der Seite, gegliedert durch Linien, Abstand und Schrift. */

/* Kanal-Stecker: Diagramm ohne Kasten drumherum */
.flow { padding: 6px 0 0; border: 0; border-radius: 0; background: none; box-shadow: none; }


/* Vergleich: Tabelle ohne Kartenrahmen und Schatten */
.comparison-card { border: 0; border-top: 2px solid var(--ink); border-radius: 0; box-shadow: none; }
.comparison-card thead th { background: none; }


/* Start: nur das Formular ist eine Fläche, die Begleitung steht daneben als Text */

/* KI-Bühne: Schritte ohne Kästen */

@media (max-width: 760px) {
}

/* Ablauf: fünf Stationen von der Anfrage bis zur Übergabe, eine Spalte mit großer Ziffer und Trennlinie */
.ablauf-section { background: #fff; border-block: 1px solid #ebeef4; }
.ablauf-section .section-heading { max-width: 775px; }
.ablauf-liste { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.ablauf-liste li { display: grid; grid-template-columns: clamp(58px, 7vw, 96px) minmax(0, 1fr); gap: 0 12px; align-items: start; padding: 22px 0; border-bottom: 1px solid var(--line); }
.ablauf-liste .step-num { font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1; letter-spacing: -.05em; font-weight: 780; color: var(--brand); }
.ablauf-liste h3 { font-size: 20px; line-height: 1.25; letter-spacing: -.04em; }
.ablauf-liste p { max-width: 720px; margin-top: 6px; color: var(--body); font-size: 15px; }
.ablauf-note { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; padding: 6px 8px; border-radius: 7px; background: #f1f0fe; color: var(--brand-text); font-size: 12px; font-weight: 680; line-height: 1.35; font-variant-numeric: tabular-nums; }
.ablauf-note.positive { background: var(--green-soft); color: #146738; }
.ablauf-note .icon { width: 14px; height: 14px; }

/* Vergleich: eingeklappt, bis jemand ihn aufmacht */
.comparison-section { padding-block: clamp(36px, 4vw, 56px); }
.vergleich { max-width: 1020px; margin-inline: auto; }
.vergleich summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-top: 2px solid var(--ink); font-size: 17px; font-weight: 700; letter-spacing: -.03em; cursor: pointer; list-style: none; }
.vergleich summary::-webkit-details-marker { display: none; }
.vergleich summary::after { content: "+"; color: var(--brand-text); font-size: 24px; font-weight: 500; line-height: 1; }
.vergleich[open] summary::after { content: "\2212"; }
.vergleich .comparison-card { border-top: 1px solid var(--line); }

/* Plan: gesicherter Plan auf der Startkarte */

/* Plan-Ergebnis der Bühne: kompakte Zeilen statt Karten */
.plan-fenster .plan-quelle a { color: #a9a4ff; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 760px) {
  .ablauf-liste li { grid-template-columns: 1fr; gap: 6px; }
}


/* Termin: die einzige Startkarte */
.termin-card { display: flex; gap: 16px; align-items: flex-start; max-width: 720px; margin-inline: auto; border-color: #9290e6; box-shadow: 0 0 0 4px #dedbfb7a; }
.termin-card ul { display: grid; gap: 8px; margin: 3px 0 20px; }
.termin-card li { display: flex; align-items: flex-start; gap: 6px; color: #374151; font-size: 14px; }
.termin-card li .icon { width: 16px; height: 16px; color: var(--green); margin-top: 3px; }
@media (max-width: 555px) { .termin-card { flex-direction: column; } .termin-card .button { width: 100%; } }

/* Prozessbaum: Knoten als schlanke Karten, Linien als SVG dahinter. Bewegung nur mit transform, opacity und stroke-dashoffset. */
.baum-marke { display: inline-block; width: fit-content; margin: 0 0 0 12px; padding: 3px 10px; border: 1px dashed #3ee6b499; border-radius: 999px; color: #7ff0cc; font-size: 12.5px; font-weight: 680; letter-spacing: .04em; text-transform: uppercase; }
.baum { position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 30px; max-width: min(100%, 460px); margin: 34px auto 0; padding: 8px 0; min-height: 300px; }
.baum-linien { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.baum-linie { fill: none; stroke: #ffffff2e; stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: linie-zeichnen .6s var(--d, 0s) ease-out forwards; }
.baum-linie.aktiv { stroke: #3ee6b4; stroke-width: 2.2; }
.baum-wartet .baum-linie { stroke: #a9a4ff66; }
.baum-licht { fill: #d9fff3; opacity: 0; filter: drop-shadow(0 0 6px #3ee6b4); }
.baum-licht.laeuft { opacity: 1; }
@keyframes linie-zeichnen { to { stroke-dashoffset: 0; } }
.baum-stufe { z-index: 1; display: flex; flex-direction: column; justify-content: center; align-items: stretch; gap: 14px; min-width: 0; }
.baum-aeste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.baum-aeste .knoten { flex-direction: column; }
.knoten { position: relative; display: flex; align-items: flex-start; gap: 10px; width: 100%; min-width: 0; padding: 12px; border: 1px solid #ffffff2e; border-radius: 14px; background: #12142b; color: #eef0ff; font: inherit; text-align: left; animation: knoten-ein .5s calc(var(--i, 0) * 260ms) cubic-bezier(.2, .8, .2, 1) both; transition: border-color .15s, background-color .15s; }
button.knoten { cursor: pointer; }
button.knoten:hover { border-color: #a9a4ff; }
button.knoten[aria-pressed="true"] { border-color: #a9a4ff; background: #1b1d44; box-shadow: 0 0 0 2px #a9a4ff55; }
.knoten:focus-visible { outline: 3px solid #3ee6b4; outline-offset: 3px; }
.knoten-aktiv { border-color: #3ee6b4; background: linear-gradient(145deg, #15324a, #12142b); box-shadow: 0 0 28px -8px #3ee6b4; }
.knoten-gedimmt { --end: .55; border-style: dashed; }
.knoten-zeichen { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 10px; background: #ffffff14; color: #c9c8ff; }
.knoten-aktiv .knoten-zeichen { background: #3ee6b426; color: #7ff0cc; }
.knoten-zeichen .icon { width: 18px; height: 18px; }
.knoten-text { display: grid; gap: 2px; min-width: 0; overflow-wrap: normal; word-break: normal; hyphens: manual; }
.knoten-text small { color: #a8abc9; font-size: 10.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.knoten-text strong { color: #fff; font-size: 14px; line-height: 1.3; font-weight: 700; }
.knoten-meta, .knoten-tag { color: #a9a4ff; font-size: 12px; }
.knoten-tag { color: #f6c890; font-weight: 640; }
.knoten-tag .icon { width: 12px; height: 12px; margin-right: 4px; }
.knoten-liste { display: grid; gap: 4px; margin-top: 4px; color: #c3c6de; font-size: 12px; line-height: 1.35; }
.knoten-liste li::before { content: "\2192\00a0"; color: #7ff0cc; }
.knoten-skelett { --end: .8; animation: knoten-ein .5s calc(var(--i, 0) * 260ms) both, knoten-puls 1.5s calc(var(--i, 0) * 260ms + 700ms) ease-in-out infinite; }
.knoten-skelett .knoten-text { flex: 1; align-content: center; gap: 7px; }
.skelett-balken { display: block; height: 8px; border-radius: 4px; background: #ffffff1f; }
.skelett-balken.kurz { width: 55%; }
@keyframes knoten-ein { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: var(--end, 1); } }
@keyframes knoten-puls { 50% { opacity: .45; } }
.baum-detail { max-width: 820px; min-height: 112px; margin: 28px auto 0; padding-top: 16px; border-top: 1px solid #ffffff1f; }
.baum-detail h3 { color: #a9a4ff; font-size: 12px; line-height: 1.5; letter-spacing: .08em; text-transform: uppercase; }
.baum-detail ul { display: grid; gap: 5px; margin-top: 8px; }
.baum-detail li, .baum-hinweis { color: #dfe1f5; font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.baum-detail li::before { content: "\2713\00a0"; color: #7ff0cc; }
.baum-hinweis { color: #a8abc9; }
.baum-detail-neu { animation: ki-ein .35s both; }
.baum-detail .plan-quelle { margin-top: 8px; }


/* Frage nach Werbung, zwischen Baum und Termin-Knopf */
.werbung-wahl { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.werbung-chip { padding: 9px 16px; border: 1px solid #ffffff3d; border-radius: 999px; background: #ffffff0a; color: #e6e8ff; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: background-color .15s, border-color .15s; }
.werbung-chip:hover { border-color: #a9a4ff; }
.werbung-chip[aria-pressed="true"] { border-color: #3ee6b4; background: #3ee6b41f; color: #fff; }
.werbung-chip:focus-visible { outline: 3px solid #3ee6b4; outline-offset: 3px; }

/* Verlauf nach dem Absenden: schmale Spalte, Besucher rechts, agenturpilot links; die Karte mit dem Baum ist breiter als die Spalte. */
.aus { opacity: 0; transform: translateY(-10px); pointer-events: none; transition: opacity .3s, transform .3s; }
.verlauf { display: grid; gap: 18px; margin-top: 36px; }
.zeile { display: flex; gap: 12px; width: 100%; max-width: 760px; margin-inline: auto; animation: ki-ein .4s cubic-bezier(.2, .8, .2, 1) both; }
.zeile-besucher { justify-content: flex-end; }
.zeile-spalte { display: grid; gap: 5px; min-width: 0; justify-items: start; }
.verlauf-logo { width: 34px; height: 34px; margin-top: 18px; }
.verlauf-logo .icon { width: 19px; height: 19px; }
.blase-name { color: #a8abc9; font-size: 12px; font-weight: 650; letter-spacing: .04em; }
.blase { max-width: 100%; padding: 13px 17px; border-radius: 18px; font-size: 16px; line-height: 1.55; overflow-wrap: normal; }
.blase-besucher { max-width: 85%; border-bottom-right-radius: 5px; background: #5b5bd6; color: #fff; }
.blase-agent { border: 1px solid #ffffff1f; border-bottom-left-radius: 5px; background: #ffffff0f; color: #eef0ff; }
.blase-text { display: block; }
.blase-agent .plan-uebernahme { display: flex; width: fit-content; margin-top: 14px; }
.tipp-punkte { display: inline-flex; gap: 5px; padding: 6px 0; }
.tipp-punkte span { width: 8px; height: 8px; border-radius: 50%; background: #a9a4ff; animation: tipp 1.1s ease-in-out infinite; }
.tipp-punkte span:nth-child(2) { animation-delay: .18s; }
.tipp-punkte span:nth-child(3) { animation-delay: .36s; }
@keyframes tipp { 0%, 70%, 100% { opacity: .35; transform: translateY(0); } 35% { opacity: 1; transform: translateY(-4px); } }
.zeile-karte { max-width: none; }
.baum-karte { width: 100%; padding: 22px clamp(14px, 2.4vw, 28px) 20px; border: 1px solid #ffffff1f; border-radius: 22px; background: #ffffff08; }
.baum-karte > h3 { color: #a9a4ff; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.baum-karte .baum { margin-top: 18px; }
.baum-karte .baum-detail { margin-top: 20px; }
.werbung-schnell { justify-content: flex-start; margin-top: 12px; }
.verlauf-neu { justify-self: center; margin-top: 6px; padding: 8px 14px; border: 0; background: none; color: #c9c8ff; font: inherit; font-size: 14px; font-weight: 620; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.verlauf-neu:hover { color: #fff; }
.verlauf-neu:focus-visible { outline: 3px solid #3ee6b4; outline-offset: 3px; }
@media (max-width: 760px) { .blase { font-size: 15px; } .blase-besucher { max-width: 92%; } .verlauf-logo { display: none; } }
@media (prefers-reduced-motion: reduce) { .zeile, .tipp-punkte span { animation: none !important; } .aus { transition: none; } }

/* Kontaktformular in der Abschluss-Blase: kompakt, nicht bildschirmbreit */
.kontakt-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; width: min(100%, 440px); margin-top: 12px; }
.kontakt-form input:not([hidden]) { min-width: 0; min-height: 42px; padding: 8px 12px; border: 1px solid #ffffff3d; border-radius: 10px; background: #0b0c1d99; color: #fff; font: inherit; font-size: 15px; }
.kontakt-form input::placeholder { color: #a8abc9; }
.kontakt-form input:focus-visible { outline: 3px solid #3ee6b4; outline-offset: 2px; }
.kontakt-form input[name="email"], .kontakt-form input[name="telefon"], .kontakt-form .ki-los, .kontakt-schutz { grid-column: 1 / -1; }
.kontakt-form .ki-los { min-height: 46px; font-size: .95rem; }
.kontakt-schutz { color: #b9bcd6; font-size: 12.5px; line-height: 1.45; }
.kontakt-schutz a, .kontakt-ohne { color: #c9c8ff; text-decoration: underline; text-underline-offset: 3px; }
.kontakt-ohne { display: block; width: fit-content; margin-top: 12px; font-size: 13px; }
@media (max-width: 480px) { .kontakt-form { grid-template-columns: 1fr; } }
.ki-beispiele .plan-beispiel-ansehen { border-color: #3ee6b4aa; color: #7ff0cc; }

/* Hero: zwei belegte Kennzahlen mit Fußnote */

/* Schwebender Knopf und Chatfenster */
.chat-start { position: fixed; right: 20px; bottom: 20px; z-index: 30; display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border: 1px solid #ffffff2e; border-radius: 999px; background: #14162e; color: #fff; font: inherit; font-size: 14px; font-weight: 650; cursor: pointer; box-shadow: 0 14px 40px -12px #1b1a5acc, 0 0 0 1px #5b5bd655; transition: transform .2s, opacity .2s; }
.chat-start:hover { transform: translateY(-2px); }
.chat-start.weg, .chat-start.verborgen { opacity: 0; transform: scale(.9); pointer-events: none; visibility: hidden; }
.chat-start:focus-visible { outline: 3px solid #3ee6b4; outline-offset: 3px; }
.chat-start-kurz { display: none; }
.plan-fenster { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: flex; flex-direction: column; width: 420px; height: min(640px, calc(100dvh - 40px)); overflow: hidden; border: 1px solid #ffffff2e; border-radius: 22px; background: radial-gradient(500px 300px at 90% -10%, #5b5bd640, transparent 70%), #0b0c1d; color: #eef0ff; box-shadow: 0 30px 80px -20px #0b0c1dcc, 0 0 0 1px #5b5bd633; opacity: 0; transform: translateY(16px) scale(.98); transform-origin: bottom right; transition: opacity .25s, transform .25s; }
.plan-fenster.offen { opacity: 1; transform: none; }
.fenster-kopf { display: flex; align-items: center; gap: 11px; padding: 14px 14px 14px 18px; border-bottom: 1px solid #ffffff1f; }
.fenster-kopf h2 { color: #fff; font-size: 16px; letter-spacing: -.03em; }
.fenster-kopf p { color: #a8abc9; font-size: 12px; }
.fenster-zu { margin-left: auto; color: #c9c8ff; }
.fenster-zu:hover { background: #ffffff14; color: #fff; }
.fenster-koerper { flex: 1; min-height: 0; overflow-y: auto; padding: 16px; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #ffffff33 transparent; }
.fenster-fuss { display: grid; gap: 10px; padding: 12px 14px 14px; border-top: 1px solid #ffffff1f; background: #0b0c1d; }
.plan-fenster .verlauf { margin-top: 0; gap: 14px; }
.plan-fenster .zeile { max-width: none; }
.plan-fenster .verlauf-logo { width: 28px; height: 28px; margin-top: 18px; }
.plan-fenster .verlauf-logo .icon { width: 16px; height: 16px; }
.plan-fenster .blase { font-size: 15px; }
.plan-fenster .ki-meldung { margin: 0; max-width: none; font-size: 14px; }
.plan-fenster .ki-beispiele { justify-content: flex-start; margin: 0; gap: 6px; }
.plan-fenster .ki-beispiele .plan-beispiel { padding: 6px 11px; font-size: 13px; }
.plan-fenster .ki-leiste { padding: 6px 6px 6px 14px; border-radius: 16px; gap: 8px; }
.plan-fenster .ki-leiste textarea { font-size: 15px; }
.plan-fenster .ki-los { min-height: 42px; padding: 0 14px; border-radius: 11px; font-size: .9rem; }
.plan-fenster .plan-rest { margin: 0; text-align: left; }
.plan-fenster .baum-karte { padding: 16px 12px 14px; }
.plan-fenster .baum { gap: 26px; }
@media (max-width: 760px) {
  .chat-start { right: 12px; bottom: 12px; padding-right: 14px; }
  .chat-start-lang { display: none; }
  .chat-start-kurz { display: inline; }
  .plan-fenster { inset: 0; width: auto; height: auto; border: 0; border-radius: 0; transform: translateY(100%); transform-origin: bottom center; }
  .plan-fenster.offen { transform: none; }
  body.fenster-offen { overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) { .plan-fenster, .chat-start { transition: none; } }
.site-footer { padding-bottom: 64px; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { color: var(--quiet); font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.footer-links a:hover { color: var(--brand-text); }

/* Service, Cockpit-Vorschau, Team */
.service-section { background: #fff; border-bottom: 1px solid #ebeef4; }
.cockpit-section { background: linear-gradient(155deg, #f7f8ff 10%, #f1effe 90%); border-block: 1px solid #eae9f5; }
.mock { min-width: 0; padding: clamp(16px, 2.2vw, 26px); border: 1px solid #e2e2ef; border-radius: 20px; background: #fff; box-shadow: 0 0 0 6px #f7f6fe, var(--shadow); }
.mock-kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.mock-kopf strong { font-size: 22px; letter-spacing: -.045em; }
.mock-kopf span { color: var(--quiet); font-size: 12px; }
.mock-zeile { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.mock-zeile h3 { font-size: 14px; line-height: 1.3; }
.mock-zeile p { color: var(--body); font-size: 12.5px; margin-top: 2px; }
.mock-zeichen { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: #eeedff; color: var(--brand-text); }
.mock-zeichen .icon { width: 18px; height: 18px; }
.mock-marke { padding: 4px 9px; border-radius: 7px; background: #eeedff; color: var(--brand-text); font-size: 11px; font-weight: 680; white-space: nowrap; }
.mock-gruen { background: var(--green-soft); color: var(--green); }
.mock-gelb { background: #fff2de; color: #7b4a10; }
@media (max-width: 555px) { .mock-zeile { grid-template-columns: auto minmax(0, 1fr); } .mock-marke { grid-column: 2; justify-self: start; } }
.person { display: flex; align-items: center; gap: 16px; }
.person h3 { font-size: 19px; letter-spacing: -.04em; }
.person p { color: var(--body); font-size: 14px; }

/* Platzhalterseiten Impressum und Datenschutz */
.rechtsseite { max-width: 760px; margin: 0 auto; padding: 40px 22px 80px; }
.rechtsseite .entwurf { padding: 12px 16px; border: 1px solid #f0c987; border-radius: 10px; background: #fff6e6; color: #6b430d; font-weight: 650; }
.rechtsseite h1 { margin-top: 24px; font-size: 34px; letter-spacing: -.05em; }
.rechtsseite h2 { margin-top: 28px; font-size: 19px; letter-spacing: -.03em; }
.rechtsseite p { margin-top: 6px; color: var(--body); }
.rechtsseite .zurueck { display: inline-block; margin-bottom: 20px; color: var(--brand-text); font-weight: 650; }
.belegzeile { margin-top: 18px; color: var(--quiet); font-size: 13px; }
.belegzeile sup a { color: var(--brand-text); padding-inline: 2px; }
.fussnote { width: 100%; order: 3; color: var(--quiet); font-size: 11.5px; line-height: 1.5; }

/* Hero links: wechselnde Zeile und Punkte. Alle Zeilen liegen in einer Rasterzelle, die Höhe der längsten bleibt stabil. */
.hero h1 em.hero-wechsel { display: grid; }
/* Zeilenwechsel als Hochrollen: die alte Zeile rollt nach oben hinaus, die neue von unten herein, nichts überlappt. */
.hero h1 em.hero-wechsel { overflow: hidden; padding-bottom: .12em; }
.wechsel-zeile { grid-area: 1 / 1; transform: translateY(105%); transition: transform .5s cubic-bezier(.6, 0, .2, 1); }
.wechsel-zeile.aktiv { transform: none; }
.wechsel-zeile.weg { transform: translateY(-105%); }
.wechsel-statisch { display: none; }
.wechsel-punkte { display: flex; gap: 4px; margin-top: 12px; }
.wechsel-punkte button { position: relative; width: 28px; height: 20px; padding: 0; border: 0; background: none; cursor: pointer; }
.wechsel-punkte button::before { content: ""; position: absolute; left: 4px; right: 4px; top: 8px; height: 4px; border-radius: 4px; background: #c9c8ee; transition: background-color .2s; }
.wechsel-punkte button[aria-pressed="true"]::before { background: var(--brand); }
.wechsel-punkte button:focus-visible { outline: 3px solid var(--brand-dark); outline-offset: 1px; }
@media (prefers-reduced-motion: reduce) { .wechsel-zeile { display: none; } .wechsel-statisch { display: block; } .wechsel-punkte { display: none; } }

/* Hero rechts: Fähigkeitskarte */
.hero-buehne { position: relative; display: grid; gap: 14px; justify-self: end; width: 100%; max-width: 560px; }
.faehig { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 150px minmax(0, 1fr); grid-template-rows: repeat(3, auto) auto; gap: 12px 0; align-items: center; padding: 6px 0; }
.faehig-linien { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.faehig-linie { fill: none; stroke: #cdccf0; stroke-width: 1.6; stroke-linecap: round; transition: stroke .3s; }
.faehig-linie.aktiv { stroke: var(--brand); stroke-width: 2.2; }
.faehig-licht { fill: var(--brand); opacity: 0; filter: drop-shadow(0 0 5px #5b5bd6aa); }
.faehig-licht.laeuft { opacity: 1; }
.faehig-hub { grid-column: 2; grid-row: 1 / span 3; z-index: 1; display: grid; justify-items: center; gap: 8px; padding: 16px 10px; border: 1px solid #d8d6f7; border-radius: 18px; background: #fff; box-shadow: 0 14px 34px -18px #4943a7aa; text-align: center; }
.faehig-hub .logo { width: 44px; height: 44px; }
.faehig-hub strong { font-size: 15px; letter-spacing: -.04em; }
.kachel { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; width: calc(100% - 22px); min-height: 62px; padding: 9px 11px; border: 1px solid #e0e1ee; border-radius: 14px; background: #fff; color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.kachel[data-seite="l"] { grid-column: 1; justify-self: start; }
.kachel[data-seite="r"] { grid-column: 3; justify-self: end; }
.kachel[data-kachel="anfragen"], .kachel[data-kachel="schaden"] { grid-row: 1; }
.kachel[data-kachel="tarif"], .kachel[data-kachel="dokumente"] { grid-row: 2; }
.kachel[data-kachel="antrag"], .kachel[data-kachel="bestand"] { grid-row: 3; }
.kachel:hover { border-color: #b8b5ee; }
.kachel[aria-pressed="true"] { border-color: var(--brand); box-shadow: 0 0 0 3px #5b5bd62b, 0 12px 28px -16px #4943a7cc; }
.kachel:focus-visible { outline: 3px solid var(--brand-dark); outline-offset: 2px; }
.kachel-zeichen { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 9px; background: var(--brand-soft); color: var(--brand-text); }
.kachel-zeichen .icon { width: 17px; height: 17px; }
.kachel[aria-pressed="true"] .kachel-zeichen { background: var(--brand); color: #fff; }
.kachel-text { min-width: 0; font-size: 13px; font-weight: 640; line-height: 1.3; letter-spacing: -.01em; }
.faehig-team { grid-column: 2; grid-row: 4; z-index: 1; display: flex; align-items: center; gap: 10px; margin-top: 22px; padding: 10px 11px; border: 1px solid #cfe7d8; border-radius: 14px; background: #f0faf3; }
.faehig-team .kachel-zeichen { background: var(--green-soft); color: var(--green); }
.faehig-team .kachel-text small { display: block; margin-top: 1px; color: #3d6b52; font-size: 11px; font-weight: 520; }
.faehig-team.eingang { animation: team-puls .9s ease-out; }
@keyframes team-puls { 40% { transform: scale(1.04); } }
.faehig-vorschau { display: flex; flex-direction: column; gap: 8px; height: 270px; overflow: hidden; padding: 14px; border: 1px solid #e2e2ee; border-radius: 18px; background: linear-gradient(115deg, #f7f8fd, #f4f4fc); box-shadow: var(--shadow); }
.vorschau-titel { color: var(--quiet); font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.vorschau-neu { opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .4s; }
.vorschau-neu.da { opacity: 1; transform: none; }
.faehig-vorschau .bubble { margin: 0; font-size: 13px; max-width: 88%; }
.faehig-vorschau .bubble-user, .faehig-vorschau .foto-kachel, .faehig-vorschau .sprach-kachel { align-self: flex-end; }
.foto-kachel { position: relative; justify-self: end; display: grid; align-items: end; width: 150px; height: 84px; overflow: hidden; border-radius: 12px; background: linear-gradient(160deg, #8fb4d9, #4d7aa6 55%, #34567a); }
.foto-kachel::before { content: ""; position: absolute; left: 50%; top: 14px; width: 26px; height: 26px; margin-left: -13px; border-radius: 50% 0 50% 50%; background: #d7ecfb; transform: rotate(-45deg); opacity: .85; }
.foto-kachel span { position: relative; padding: 4px 8px; background: #0b1f3399; color: #fff; font-size: 11px; font-weight: 600; }
.sprach-kachel { justify-self: end; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; background: #e9ebf4; font-size: 12px; font-variant-numeric: tabular-nums; }
.sprach-kachel i { display: block; width: 90px; height: 14px; background: repeating-linear-gradient(90deg, #7b7fb8 0 2px, transparent 2px 5px); mask-image: linear-gradient(90deg, #000, #000); }
@media (prefers-reduced-motion: reduce) { .vorschau-neu { opacity: 1; transform: none; transition: none; } .faehig-team.eingang { animation: none; } }
@media (max-width: 790px) {
  .hero-buehne { justify-self: center; max-width: 440px; }
  .faehig { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; gap: 8px; }
  .faehig-linien { display: none; }
  .faehig-hub, .faehig-team { grid-column: 1 / -1; grid-row: auto; }
  .faehig-hub { grid-template-columns: auto auto; justify-content: center; align-items: center; padding: 10px; }
  .faehig-hub .logo { width: 32px; height: 32px; }
  .kachel[data-seite], .kachel[data-kachel] { grid-column: auto; grid-row: auto; justify-self: stretch; width: auto; }
  .faehig-team { margin-top: 0; order: 9; }
}

/* Startknöpfe im Chatfenster */
.start-knoepfe { display: grid; gap: 10px; margin-top: 16px; }
.start-knopf { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; border: 1px solid #ffffff2e; border-radius: 14px; background: #ffffff0d; color: #fff; font: inherit; font-size: 15px; font-weight: 640; line-height: 1.35; text-align: left; cursor: pointer; transition: border-color .15s, background-color .15s; }
.start-knopf .icon { width: 22px; height: 22px; flex: none; color: #7ff0cc; }
.start-knopf:hover { border-color: #a9a4ff; background: #ffffff17; }
.start-knopf:focus-visible { outline: 3px solid #3ee6b4; outline-offset: 3px; }

/* Service als Bühne: drei Karten links, Vorher-Nachher-Karte rechts */
.service-karten { display: grid; margin-top: 24px; border-top: 2px solid var(--ink); }
.service-karten article { display: flex; align-items: flex-start; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.service-karten h3 { font-size: 17px; letter-spacing: -.04em; }
.service-karten p { margin-top: 3px; color: var(--body); font-size: 14px; }
.vorher-nachher { position: relative; display: grid; gap: 14px; min-width: 0; padding: clamp(16px, 2.2vw, 26px); border: 1px solid #e2e2ef; border-radius: 20px; background: #fff; box-shadow: 0 0 0 6px #f7f6fe, var(--shadow); }
.vn-chat { display: grid; gap: 8px; padding: 14px; border-radius: 14px; background: linear-gradient(115deg, #f7f8fd, #f4f4fc); }
.vn-chat .bubble { margin: 0; justify-self: end; }
.vn-anhang { justify-self: end; display: flex; align-items: center; gap: 8px; padding: 7px 12px 7px 8px; border: 1px solid #e2e5f0; border-radius: 12px; background: #fff; font-size: 12.5px; font-weight: 600; }
.vn-anhang .kachel-zeichen { width: 28px; height: 28px; }
.vn-pfeil { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--brand-text); font-size: 13px; font-weight: 680; }
.vn-pfeil .icon { transform: rotate(90deg); width: 18px; height: 18px; }
.vn-karte { padding: 16px; border: 1px solid #cfe7d8; border-radius: 14px; background: #f7fcf9; }
.vn-karte-titel { display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 720; }
.vn-karte-titel .icon { width: 17px; height: 17px; color: var(--green); }
.vn-karte dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; margin: 12px 0 0; }
.vn-karte dt { color: var(--quiet); font-size: 11px; font-weight: 650; letter-spacing: .05em; text-transform: uppercase; }
.vn-karte dd { margin: 2px 0 0; font-size: 13.5px; font-weight: 620; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.vn-badge { width: fit-content; margin-top: 14px; padding: 5px 10px; border-radius: 8px; background: var(--green-soft); color: #146738; font-size: 12px; font-weight: 650; }
.vn-animiert .vn-teil { opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .5s; transition-delay: calc(var(--i, 0) * 350ms); }
.vn-animiert.sichtbar .vn-teil { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .vn-animiert .vn-teil { opacity: 1; transform: none; transition: none; } }

/* WhatsApp-Selbsttest: nur sichtbar, wenn konfiguriert */
.wa-section { background: linear-gradient(145deg, #f9f9fd, #f0eeff); border-block: 1px solid #ebe9f6; }
.wa-inner { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; max-width: 920px; }
.wa-qr { margin: 0; padding: 14px; border: 1px solid #e2e2ef; border-radius: 18px; background: #fff; box-shadow: var(--shadow); text-align: center; }
.wa-qr svg { display: block; width: 190px; height: 190px; }
.wa-qr figcaption { margin-top: 6px; color: var(--body); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.wa-text h2 { text-wrap: balance; font-size: clamp(28px, 3vw, 40px); letter-spacing: -.055em; line-height: 1.1; }
.wa-text > p { margin-top: 10px; color: var(--body); font-size: 16px; }
.wa-knoepfe { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.wa-oeffnen { display: none; }
.wa-klein { margin-top: 14px; color: var(--quiet); font-size: 12px; line-height: 1.5; }
.wa-klein a, .wa-text > .wa-klein a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 790px) {
  .wa-inner { grid-template-columns: 1fr; }
  .wa-qr { display: none; }
  .wa-oeffnen { display: inline-flex; width: 100%; min-height: 54px; font-size: 16px; }
  .wa-knoepfe .button { width: 100%; }
}
.vorschau-liste { display: flex; flex: 1; flex-direction: column; gap: 8px; min-height: 0; overflow-y: auto; scrollbar-width: none; }
.vorschau-liste::-webkit-scrollbar { display: none; }
.vorschau-liste > * { flex: none; }
.faehig-vorschau .bubble-agent { align-self: flex-start; }
.vorschau-karte { align-self: flex-start; max-width: 92%; padding: 10px 13px; border: 1px solid #cfe7d8; border-radius: 12px; background: #f1faf4; color: #146738; font-size: 13.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.faehig-vorschau .tipp-punkte span { background: #8c8ad8; }
@media (max-width: 790px) { .faehig-vorschau { height: 290px; } }
@media (max-width: 790px) { .kachel-text { font-size: 12.5px; } }
.team-karte { position: absolute; z-index: 3; padding: 7px 12px; border: 1px solid #cfe7d8; border-radius: 10px; background: #f1faf4; color: #146738; font-size: 12.5px; font-weight: 650; white-space: nowrap; box-shadow: 0 10px 24px -12px #146738aa; pointer-events: none; }
