/* =========================================================
   BRES — styles.css (v4, helles SaaS-Layout)
   ========================================================= */
:root {
  --bg: #ffffff;
  --soft: #f6f6fb;
  --ink: #12121c;
  --text: #2e3040;
  --muted: #5c5f70;
  --line: #e6e6ef;
  --accent: #5b4fe8;
  --accent-600: #4a3fd6;
  --accent-50: #efedfd;
  --deep: #1d1847;
  --deep-2: #262058;
  --deep-line: #3a3375;
  --deep-text: #b9b4f5;
  --deep-muted: #a8a3c9;
  --danger: #b3261e;
  --max: 1160px;
  --header-h: 68px;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: Inter, "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, dl, dd, dt { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
h1, h2, h3 { color: var(--ink); letter-spacing: -.03em; text-wrap: balance; font-weight: 650; }
h2 { font-size: clamp(32px, 3.6vw, 46px); line-height: 1.12; }
h3 { line-height: 1.25; }
p { text-wrap: pretty; }
em { font-style: italic; color: var(--accent); font-weight: inherit; }
::selection { background: var(--accent-50); color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.section-deep :focus-visible, .cta :focus-visible { outline-color: #fff; }

.container { width: min(var(--max), calc(100% - 64px)); margin-inline: auto; }
.narrow { max-width: 820px; }
.skip { position: absolute; z-index: 1000; left: 16px; top: -80px; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 16px; }

/* ---------- Announcement + Header ---------- */
.announce { background: var(--accent); color: #fff; font-size: 14px; text-align: center; padding: 8px 0; }
.announce a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; margin-left: 6px; }
.header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(18,18,28,.05); }
.nav-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 800; color: var(--ink); letter-spacing: -.05em; min-height: 44px; }
.brand-mark { width: 24px; height: 22px; display: flex; flex-direction: column; gap: 3px; justify-content: center; transform: skew(-15deg); }
.brand-mark > span { display: block; height: 4px; background: var(--accent); border-radius: 2px; }
.brand-mark > span:nth-child(1) { width: 14px; }
.brand-mark > span:nth-child(2) { width: 22px; }
.brand-mark > span:nth-child(3) { width: 17px; }
.nav-links { display: flex; align-items: center; gap: 4px; font-size: 15px; font-weight: 550; }
.nav-links > a:not(.nav-contact) { color: var(--muted); padding: 8px 12px; border-radius: 8px; transition: color .2s, background .2s; }
.nav-links > a:not(.nav-contact):hover { color: var(--ink); background: var(--soft); }
.nav-links > a[aria-current="true"] { color: var(--accent); background: var(--accent-50); }
.nav-contact { margin-left: 10px; background: var(--accent); color: #fff; padding: 10px 18px; border-radius: 999px; font-weight: 650; transition: background .2s; }
.nav-contact:hover { background: var(--accent-600); }
.menu-toggle { display: none; }
.back-link { font-size: 15px; font-weight: 600; color: var(--muted); padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; }
.back-link:hover { color: var(--ink); border-color: var(--ink); }

/* ---------- Buttons ---------- */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; border-radius: 999px; font-weight: 650; font-size: 16px; line-height: 1.2; border: 1px solid transparent; transition: background .2s, border-color .2s, color .2s; }
.button-dark { background: var(--ink); color: #fff; }
.button-dark:hover { background: #2b2b3d; }
.button-ghost { color: var(--ink); border-color: var(--line); background: #fff; }
.button-ghost:hover { border-color: var(--ink); }
.button-accent { width: 100%; background: var(--accent); color: #fff; border-radius: 10px; min-height: 52px; }
.button-accent:hover { background: var(--accent-600); }
.button-light { background: #fff; color: var(--deep); }
.button-light:hover { background: var(--accent-50); }
.button-outline { color: #fff; border-color: rgba(255,255,255,.4); }
.button-outline:hover { border-color: #fff; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 40px; background: radial-gradient(60% 50% at 50% 0%, var(--accent-50), transparent 70%); }
.hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border: 1px solid var(--line); background: #fff; border-radius: 999px; font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.pill-tag { background: var(--accent); color: #fff; font-weight: 700; font-size: 12px; padding: 3px 10px; border-radius: 999px; }
.hero h1 { font-size: clamp(42px, 6.2vw, 78px); line-height: 1.04; letter-spacing: -.045em; font-weight: 700; }
.hero-intro { max-width: 640px; margin: 24px auto 32px; font-size: 19px; line-height: 1.65; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: 28px; font-size: 15px; color: var(--muted); }
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.5 2.5L13 6.5' fill='none' stroke='%235b4fe8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }

.hero-shot { margin-top: 64px; }
.hero-shot figcaption { text-align: center; margin-top: 16px; font-size: 14px; color: var(--muted); }

/* Fenster-Mockup */
.window { max-width: 1040px; margin-inline: auto; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 30px 80px -20px rgba(45,35,140,.25), 0 0 0 8px rgba(91,79,232,.05); color: var(--text); }
.window-bar, .mini-bar { display: grid; grid-template-columns: 80px 1fr 80px; align-items: center; height: 40px; padding: 0 16px; background: #fafafd; border-bottom: 1px solid var(--line); font-size: 13px; color: #8a8ca0; }
.window-url { text-align: center; }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #e2e2ea; }
.app { display: grid; grid-template-columns: 200px 1fr; min-height: 440px; }
.app-side { border-right: 1px solid var(--line); padding: 20px 14px; display: flex; flex-direction: column; gap: 4px; background: #fcfcfe; }
.app-logo { width: 32px; height: 32px; border-radius: 8px; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 800; margin-bottom: 18px; }
.side-item { padding: 8px 10px; border-radius: 8px; font-size: 14px; color: var(--muted); }
.side-item.is-active { background: var(--accent-50); color: var(--accent); font-weight: 600; }
.app-main { padding: 24px 28px; min-width: 0; }
.app-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.app-head small { display: block; font-size: 13px; color: var(--muted); }
.app-head strong { font-size: 20px; color: var(--ink); letter-spacing: -.02em; }
.app-btn { background: var(--accent); color: #fff; font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 8px; white-space: nowrap; }
.app-btn.sm { padding: 6px 10px; font-size: 12px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.kpis > div { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.kpis small { display: block; font-size: 13px; color: var(--muted); }
.kpis strong { display: block; font-size: 26px; color: var(--ink); letter-spacing: -.03em; line-height: 1.3; }
.kpis span { font-size: 12px; color: var(--muted); }
.kpis .up { color: #2f855a; }
.app-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px; margin-top: 12px; }
.card-chart, .card-list { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; min-width: 0; }
.card-title { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.muted { color: var(--muted); font-weight: 400; font-size: 13px; }
.card-chart svg { display: block; width: 100%; height: 150px; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 0; border-top: 1px solid #f0f0f5; font-size: 13px; }
.tag { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.tag.violet { background: var(--accent-50); color: var(--accent-600); }
.tag.green { background: #e6f6ec; color: #23704a; }
.tag.amber { background: #fdf1dc; color: #8a5a0b; }

/* ---------- Fakten ---------- */
.facts { padding: 72px 0; }
.facts-inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: center; border-top: 1px solid var(--line); padding-top: 64px; }
.facts-copy h2 { font-size: clamp(28px, 3vw, 38px); }
.facts-copy p { margin-top: 14px; color: var(--muted); }
.facts-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.facts-list > div { border-left: 1px solid var(--line); padding-left: 24px; }
.facts-list dt { font-size: 56px; font-weight: 700; color: var(--ink); letter-spacing: -.05em; line-height: 1; }
.facts-list dd { margin-top: 10px; font-size: 15px; color: var(--muted); line-height: 1.5; }
.facts-list strong { display: block; color: var(--ink); font-size: 16px; }

/* ---------- Sektionen ---------- */
.section { padding: 104px 0; }
.section-soft { background: var(--soft); }
.center-head { text-align: center; max-width: 760px; margin: 0 auto 64px; }
.center-head > p { margin-top: 16px; color: var(--muted); font-size: 18px; }
.center-head.left { text-align: left; margin-left: 0; }

.feature { display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: center; }
.feature + .feature { margin-top: 104px; }
.feature.reverse .feature-copy { order: 2; }
.feature-copy h3, .feature-copy h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.15; }
.feature-copy > p { margin-top: 16px; color: var(--muted); font-size: 18px; }
.checks { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.checks li { position: relative; padding-left: 30px; color: var(--muted); }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.5 2.5L13 6.5' fill='none' stroke='%235b4fe8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }
.checks strong { color: var(--ink); font-weight: 600; }
.link { display: inline-flex; align-items: center; gap: 6px; margin-top: 24px; color: var(--accent); font-weight: 650; min-height: 44px; }
.link span { transition: transform .2s; font-size: 20px; line-height: 1; }
.link:hover span { transform: translateX(3px); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; padding-top: 20px; border-top: 1px solid var(--line); }
.chips li { font-size: 13px; font-weight: 550; color: var(--text); border: 1px solid var(--line); padding: 4px 12px; border-radius: 999px; background: #fff; }

.feature-media { background: linear-gradient(135deg, var(--deep) 0%, #3b2f9c 100%); border-radius: 20px; padding: 40px; }
.mini { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.mini-bar { grid-template-columns: 60px 1fr 60px; height: 34px; font-size: 12px; }
.mini-bar span:last-child { text-align: center; }
.mini-body { padding: 18px 20px 20px; }
.mini-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.mini-head strong { color: var(--ink); font-size: 17px; }
.mini-table > div { display: grid; grid-template-columns: 1.4fr 1fr .9fr; align-items: center; gap: 8px; padding: 10px 0; border-top: 1px solid #f0f0f5; font-size: 14px; }
.mini-table .tag { justify-self: start; }
.mini-table > div > span:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.mini-table .th { border-top: 0; font-size: 12px; color: var(--muted); padding-top: 0; }
.orders > div { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid #f0f0f5; }
.order-ico { width: 36px; height: 36px; border-radius: 10px; background: var(--accent-50); }
.orders strong { display: block; font-size: 14px; color: var(--ink); }
.orders small { font-size: 12px; color: var(--muted); }
.plan > div { display: grid; grid-template-columns: 1fr 90px; grid-template-rows: auto auto; gap: 6px 12px; padding: 10px 0; border-top: 1px solid #f0f0f5; font-size: 14px; }
.plan span { color: var(--ink); font-weight: 500; }
.plan small { grid-row: 1; grid-column: 2; text-align: right; font-size: 12px; color: var(--muted); }
.plan i { grid-column: 1 / -1; height: 6px; border-radius: 6px; background: #ececf3; position: relative; overflow: hidden; }
.plan i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--accent); border-radius: 6px; }
.plan .done small { color: #23704a; }

/* ---------- Dunkler Bereich ---------- */
.section-deep { background: var(--deep); color: var(--deep-muted); }
.section-deep h2, .section-deep h3 { color: #fff; }
.section-deep em { color: var(--deep-text); }
.split-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end; margin-bottom: 56px; }
.split-head p { font-size: 18px; }
.usecase-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--deep-line); border-left: 1px solid var(--deep-line); }
.usecase-grid li { border-right: 1px solid var(--deep-line); border-bottom: 1px solid var(--deep-line); }
.usecase { display: flex; flex-direction: column; height: 100%; padding: 32px 28px; transition: background .2s; }
.usecase h3 { font-size: 22px; margin-bottom: 10px; }
.usecase p { font-size: 16px; line-height: 1.6; }
.usecase-link { margin-top: auto; padding-top: 24px; color: var(--deep-text); font-weight: 650; font-size: 15px; display: inline-flex; gap: 6px; }
.usecase:hover { background: var(--deep-2); }
.usecase:hover .usecase-link { color: #fff; }
.usecase-open { background: rgba(185,180,245,.06); }
.footnote { margin-top: 20px; font-size: 14px; color: var(--deep-muted); }

/* Schritte */
.steps { margin-top: 28px; display: flex; flex-direction: column; gap: 18px; }
.steps li { display: flex; gap: 16px; }
.step-ico { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--accent-50); color: var(--accent); font-weight: 700; display: grid; place-items: center; font-size: 15px; }
.steps strong { color: var(--ink); font-size: 17px; }
.steps p { color: var(--muted); font-size: 16px; }

/* Warum */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why-grid li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.why-ico { width: 40px; height: 40px; border-radius: 10px; background: var(--accent-50); color: var(--accent); display: grid; place-items: center; font-size: 18px; margin-bottom: 18px; }
.why-grid h3 { font-size: 20px; margin-bottom: 8px; }
.why-grid p { color: var(--muted); font-size: 16px; }

/* ---------- Kontakt ---------- */
.contact .center-head { margin-bottom: 40px; }
.contact-panel { max-width: 720px; margin-inline: auto; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 36px; box-shadow: 0 20px 60px -30px rgba(45,35,140,.25); }
.contact-panel form { display: flex; flex-direction: column; gap: 18px; }
.form-legend { font-size: 14px; color: var(--muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: 15px; font-weight: 600; color: var(--ink); }
.optional { font-weight: 400; color: var(--muted); font-size: 14px; margin-left: 4px; }
.label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.char-count { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.contact-panel input, .contact-panel select, .contact-panel textarea { width: 100%; min-width: 0; min-height: 48px; padding: 11px 14px; border: 1px solid #d6d7e3; background: #fff; border-radius: 10px; color: var(--ink); font-size: 16px; outline: none; transition: border-color .15s, box-shadow .15s; }
.contact-panel input::placeholder, .contact-panel textarea::placeholder { color: #8a8ca0; }
.contact-panel select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2312121c' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.contact-panel input:focus, .contact-panel select:focus, .contact-panel textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(91,79,232,.15); }
.contact-panel textarea { resize: vertical; min-height: 130px; line-height: 1.55; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(179,38,30,.12); }
.field-error { color: var(--danger); font-size: 14px; font-weight: 600; }
.field-error:empty { display: none; }
.select-flash { animation: flash 1.2s ease; }
@keyframes flash { 0%, 40% { box-shadow: 0 0 0 4px rgba(91,79,232,.4); } 100% { box-shadow: 0 0 0 0 rgba(91,79,232,0); } }
.form-info { padding: 16px 18px; background: var(--accent-50); border: 1px solid #d5d1fb; border-radius: 10px; color: var(--ink); font-size: 15px; line-height: 1.55; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.form-info[hidden] { display: none; }
.form-info a { color: var(--accent-600); text-decoration: underline; font-weight: 600; }
.copy-button { min-height: 38px; padding: 7px 14px; border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; font-size: 14px; font-weight: 600; }
.copy-button:hover { border-color: var(--ink); }
.contact-alt { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 12px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.contact-alt a { color: var(--accent-600); font-weight: 650; }

/* ---------- FAQ ---------- */
.section-soft .center-head { margin-bottom: 40px; }
.faq-items details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
.faq-items summary { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 20px 22px; font-size: 17px; font-weight: 600; color: var(--ink); list-style: none; cursor: pointer; border-radius: 12px; }
.faq-items summary::-webkit-details-marker { display: none; }
.faq-icon { flex-shrink: 0; width: 12px; height: 12px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s; }
.faq-items details[open] .faq-icon { transform: rotate(225deg) translate(-3px, -3px); border-color: var(--accent); }
.faq-items details p { padding: 0 22px 22px; color: var(--muted); font-size: 16px; line-height: 1.7; }

/* ---------- CTA ---------- */
.cta { padding: 88px 0; }
.cta-box { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 48px 56px; border-radius: 24px; background: radial-gradient(80% 140% at 100% 0%, #3b2f9c, var(--deep) 60%); color: var(--deep-muted); }
.cta-box h2 { color: #fff; font-size: clamp(28px, 3vw, 40px); }
.cta-box em { color: var(--deep-text); }
.cta-box p { margin-top: 10px; font-size: 17px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; flex-shrink: 0; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 100; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 10px; font-size: 15px; font-weight: 600; box-shadow: 0 10px 30px rgba(0,0,0,.2); }
.toast[hidden] { display: none; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); background: #fff; }
.footer-main { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; padding-block: 56px 40px; }
.footer-brand p { margin-top: 14px; font-size: 15px; color: var(--muted); max-width: 300px; }
.footer-mail a { color: var(--accent-600); font-weight: 600; }
.footer-col { display: flex; flex-direction: column; gap: 2px; }
.footer-col h3 { font-size: 13px; font-weight: 700; color: var(--ink); letter-spacing: 0; margin-bottom: 8px; }
.footer-col a { font-size: 15px; color: var(--muted); padding: 6px 0; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--line); padding-block: 20px 28px; display: flex; justify-content: space-between; gap: 15px; font-size: 13px; color: var(--muted); }

/* ---------- Rechtliches ---------- */
.legal-page { min-height: 70vh; padding: 72px 0 96px; }
.legal-content { max-width: 760px; }
.legal-kicker { color: var(--accent); font-weight: 650; font-size: 15px; margin-bottom: 12px; }
.legal-content h1 { font-size: clamp(38px, 5vw, 56px); line-height: 1.1; }
.legal-content .legal-lead { font-size: 18px; margin: 16px 0 28px; color: var(--muted); }
.legal-warning { padding: 16px 20px; background: #fff6dd; border: 1px solid #e6ce89; border-radius: 10px; color: #5f4a12; margin: 28px 0; font-size: 15px; }
.legal-content h2 { font-size: 24px; margin: 34px 0 8px; }
.legal-content p, .legal-content li { color: var(--text); line-height: 1.75; font-size: 17px; margin: 8px 0; }
.legal-content a { text-decoration: underline; }
.legal-content [data-required] { background: #fff1c9; padding: 2px 4px; border-radius: 3px; color: #6a4b13; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .app { grid-template-columns: 160px 1fr; }
  .feature { gap: 48px; }
  .feature-media { padding: 28px; }
  .footer-main { grid-template-columns: repeat(4, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .menu-toggle { display: flex; width: 48px; height: 48px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
  .menu-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-links { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; height: calc(100dvh - var(--header-h)); overflow-y: auto; background: #fff; flex-direction: column; align-items: stretch; padding: 12px 32px 32px; gap: 0; font-size: 20px; border-top: 1px solid var(--line); }
  .nav-links.is-open { display: flex; }
  .nav-links > a:not(.nav-contact) { padding: 16px 4px; border-bottom: 1px solid var(--line); border-radius: 0; color: var(--ink); }
  .nav-links > a[aria-current="true"] { background: transparent; color: var(--accent); }
  .nav-links .nav-contact { margin: 24px 0 0; padding: 16px; text-align: center; }

  .app { grid-template-columns: 1fr; }
  .app-side { display: none; }
  .facts-inner { grid-template-columns: 1fr; gap: 36px; }
  .feature, .feature.reverse { grid-template-columns: 1fr; gap: 36px; }
  .feature.reverse .feature-copy { order: 0; }
  .split-head { grid-template-columns: 1fr; gap: 16px; }
  .usecase-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .cta-box { flex-direction: column; align-items: flex-start; padding: 40px 32px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 40px); }
  .announce { font-size: 13px; }
  .hero { padding: 48px 0 24px; }
  .pill { font-size: 13px; margin-bottom: 22px; }
  .hero h1 { font-size: clamp(38px, 11vw, 52px); }
  .hero-intro { font-size: 17px; margin: 18px auto 26px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .button { width: 100%; }
  .hero-facts { flex-direction: column; align-items: center; gap: 8px; }
  .hero-shot { margin-top: 40px; }
  .window-bar { grid-template-columns: 50px 1fr 0; font-size: 11px; }
  .app { min-height: 0; }
  .app-main { padding: 16px; }
  .app-head strong { font-size: 17px; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpis > div:nth-child(3) { display: none; }
  .kpis strong { font-size: 22px; }
  .app-grid { grid-template-columns: 1fr; }
  .card-list { display: none; }
  .card-chart svg { height: 110px; }
  .facts { padding: 48px 0; }
  .facts-inner { padding-top: 48px; }
  .facts-list { grid-template-columns: 1fr; gap: 0; }
  .facts-list > div { border-left: 0; border-top: 1px solid var(--line); padding: 18px 0; display: grid; grid-template-columns: 56px 1fr; align-items: center; gap: 12px; }
  .facts-list dt { font-size: 44px; }
  .facts-list dd { margin: 0; }
  .section { padding: 72px 0; }
  .center-head { margin-bottom: 40px; }
  .center-head > p, .feature-copy > p, .split-head p { font-size: 17px; }
  .feature + .feature { margin-top: 72px; }
  .feature-media { padding: 16px; border-radius: 16px; }
  .mini-body { padding: 14px; }
  .mini-table > div { font-size: 13px; }
  .usecase-grid { grid-template-columns: 1fr; }
  .usecase { padding: 24px 20px; }
  .contact-panel { padding: 22px 18px; border-radius: 14px; }
  .form-row { grid-template-columns: 1fr; }
  .faq-items summary { font-size: 16px; padding: 18px; }
  .faq-items details p { padding: 0 18px 18px; }
  .cta { padding: 56px 0; }
  .cta-box { padding: 32px 22px; border-radius: 18px; }
  .cta-actions { flex-direction: column; width: 100%; }
  .cta-actions .button { width: 100%; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 28px 20px; padding-block: 44px 28px; }
  .footer-bottom { flex-direction: column; gap: 4px; }
  .legal-page { padding: 48px 0 72px; }
}

@media (hover: none) { .usecase:hover { background: transparent; } .usecase-open:hover { background: rgba(185,180,245,.06); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- KI-Bereich (v5) ---------- */
.kicker { color: var(--accent); font-weight: 650; font-size: 15px; margin-bottom: 12px; }
.feature-copy h3.sub { margin-top: 36px; font-size: clamp(22px, 2.2vw, 28px); }
.feature-copy h3 + .checks { margin-top: 18px; }
.editor .code { background: #15132e; color: #d9d7f2; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 13px; line-height: 1.9; padding: 14px 0; overflow-x: auto; }
.editor .code > div { display: flex; gap: 14px; padding: 0 16px; white-space: nowrap; }
.editor .code i { font-style: normal; color: #6f6b9a; width: 14px; text-align: right; flex-shrink: 0; }
.editor .code .ai { background: rgba(91,79,232,.28); box-shadow: inset 3px 0 0 #9d94ff; }
.editor .k { color: #b7aaff; font-weight: 400; }
.editor .f { color: #8fd3ff; font-weight: 400; }
.editor .s { color: #b6e38c; font-weight: 400; }
.ai-note { display: flex; align-items: center; gap: 10px; padding: 12px 16px; font-size: 13px; color: var(--ink); background: var(--accent-50); }
.ai-badge { background: var(--accent); color: #fff; font-weight: 700; font-size: 11px; padding: 2px 8px; border-radius: 999px; }
.review { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--ink); }
.review > div { display: flex; align-items: center; gap: 10px; }
.review .ok { width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0; background: #e6f6ec url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.5 2.5L13 6.5' fill='none' stroke='%2323704a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.review .merge { margin-top: 6px; justify-content: center; background: #23704a; color: #fff; font-weight: 600; border-radius: 8px; padding: 9px; }
.benefit-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 72px; }
.benefit-row li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; border-top: 3px solid var(--accent); }
.benefit-row h3 { font-size: 20px; margin-bottom: 8px; }
.benefit-row p { color: var(--muted); font-size: 16px; }
@media (max-width: 900px) { .benefit-row { grid-template-columns: 1fr; margin-top: 48px; } }
@media (max-width: 640px) { .editor .code { font-size: 12px; } .feature-copy h3.sub { margin-top: 28px; } }
.feature > * { min-width: 0; }
