/* Robot IQ · Komponenten. Alle Farben kommen aus tokens.css. Mobile zuerst, Erweiterung per min-width. */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; min-width: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; overflow-x: clip; }
body { background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--accent); }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
input, select, textarea, button { font: inherit; color: inherit; }
input, textarea { caret-color: var(--accent); }
html { scrollbar-color: color-mix(in srgb, var(--brand) 35%, transparent) transparent; }
.num, output, .facts dd, .calc-result { font-variant-numeric: tabular-nums; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Typo */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: var(--display-weight); font-stretch: var(--display-stretch); letter-spacing: var(--display-track); line-height: 1.05; text-wrap: balance; }
h1 { font-size: clamp(38px, 10vw, 76px); }
h2 { font-size: clamp(30px, 7vw, 52px); }
h3 { font-size: 21px; letter-spacing: -.02em; line-height: 1.2; }
p { text-wrap: pretty; }
.lead { font-size: 18px; color: var(--muted); max-width: 62ch; }
.mark { background: linear-gradient(transparent 64%, color-mix(in srgb, var(--accent) 30%, transparent) 64%); padding: 0 .04em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.small { font-size: 14px; color: var(--muted); }

/* Raster */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.section { padding-block: 64px; }
.section-tight { padding-block: 40px; }
.section-alt { background: var(--surface-2); }
.head { display: grid; gap: 14px; margin-bottom: 32px; }
.head .lead { margin: 0; }
.grid { display: grid; gap: 14px; }
.stack { display: grid; gap: 12px; }

/* Knöpfe */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: var(--radius-btn); font-weight: 700; font-size: 16px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s, background .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-primary:hover { box-shadow: 0 10px 24px -12px var(--brand); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { box-shadow: 0 10px 24px -12px var(--accent); }
.btn-ghost { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn-ghost:hover { background: var(--brand-soft); }
.btn-block { width: 100%; }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(3px); }
.btn[disabled] { opacity: .55; cursor: progress; transform: none; }
.ctas { display: flex; flex-direction: column; gap: 10px; }
.link-more { font-weight: 700; color: var(--brand); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.link-more:hover { color: var(--accent-text); }

/* Kopf */
.site-head { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.logo img { height: 30px; width: auto; }
.nav-main { display: none; }
.nav-toggle { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; transition: background .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); transition: transform .25s; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }
.head-cta { display: none; }
.nav-panel { display: none; border-top: 1px solid var(--line); background: var(--bg); }
.nav-open .nav-panel { display: block; }
.nav-panel ul { list-style: none; padding: 8px 0 18px; }
.nav-panel a { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: 18px; }
.nav-panel .btn { margin-top: 16px; }

/* Hero */
.hero { padding-block: 32px 48px; }
.hero .wrap { display: grid; gap: 28px; }
.hero h1 { margin: 0 0 18px; }
.hero .ctas { margin-top: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 22px; font-size: 14px; color: var(--muted); list-style: none; }
.chips li { display: inline-flex; align-items: center; gap: 8px; }
.chips li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.chips li:nth-child(2)::before { background: var(--accent); }
.stage { position: relative; background: radial-gradient(120% 90% at 50% 100%, var(--surface) 0%, var(--surface-2) 70%); border-radius: var(--radius-lg); padding: 36px 20px 24px; overflow: hidden; display: grid; place-items: end center; min-height: 300px; }
.stage img { position: relative; z-index: 1; max-height: 420px; width: auto; filter: drop-shadow(0 26px 22px color-mix(in srgb, var(--ink) 18%, transparent)); animation: rise 1.2s cubic-bezier(.16,1,.3,1) both; }
.stage .floor { position: absolute; left: 10%; right: 10%; bottom: 22px; height: 20px; border-radius: 50%; background: color-mix(in srgb, var(--ink) 10%, transparent); filter: blur(8px); }
.stage-badge { position: absolute; left: 14px; top: 14px; z-index: 2; display: flex; gap: 10px; align-items: center; background: var(--surface); border-radius: 14px; padding: 9px 12px; font-size: 13px; font-weight: 700; box-shadow: var(--shadow); }
.stage-badge img { height: 16px; width: auto; animation: none; filter: none; }
.live { position: absolute; right: 14px; bottom: 14px; z-index: 2; display: flex; align-items: center; gap: 8px; background: var(--surface); border-radius: 999px; padding: 8px 12px; font-size: 12.5px; font-weight: 600; box-shadow: var(--shadow); }
.live i { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent); } 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@keyframes rise { from { transform: translateY(24px) scale(.98); filter: blur(6px); } to { transform: none; } }

/* Partnerleiste */
.partner { border-block: 1px solid var(--line); background: var(--surface); }
.partner .wrap { display: grid; gap: 14px; padding-block: 22px; align-items: center; }
.partner-logo { display: flex; align-items: center; gap: 14px; }
.partner-logo img { height: 26px; width: auto; }
.partner-logo span { font-weight: 700; font-size: 15px; }
.partner dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.partner dt { font: 700 24px/1 var(--font-display); letter-spacing: -.02em; }
.partner dd { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* Roboterkarten */
.robots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.robot-card { position: relative; display: flex; flex-direction: column; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 14px 16px; text-decoration: none; transition: transform .25s cubic-bezier(.2,.8,.2,1), border-color .25s, box-shadow .25s; }
.robot-card:hover { transform: translateY(-3px); border-color: var(--brand); box-shadow: var(--shadow); }
.robot-card .pic { aspect-ratio: 1 / 1; background: var(--surface-2); border-radius: calc(var(--radius) - 6px); display: grid; place-items: end center; padding: 12px 10px 8px; overflow: hidden; }
.robot-card .pic img { max-height: 100%; width: auto; object-fit: contain; }
.robot-card .pic.photo { padding: 0; }
.robot-card .pic.photo img { width: 100%; height: 100%; object-fit: cover; }
.robot-card h3 { font-size: 18px; }
.robot-card p { font-size: 14px; color: var(--muted); line-height: 1.45; }
.robot-card .more { margin-top: auto; font-size: 14px; font-weight: 700; color: var(--brand); }
.status { display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); }
.status.sofort::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status.sofort { background: color-mix(in srgb, var(--ok) 12%, var(--surface)); color: var(--ok); }
.filters { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 20px; scrollbar-width: none; }
.filters button { flex: 0 0 auto; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); font-weight: 600; font-size: 15px; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.robot-card[hidden] { display: none; }
.cat-title { font-size: 24px; margin: 28px 0 14px; }

/* Einsatzbereiche */
.areas { display: grid; gap: 12px; }
.area { position: relative; display: flex; align-items: flex-end; min-height: 260px; border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: var(--brand-ink); isolation: isolate; }
.area img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s cubic-bezier(.16,1,.3,1); }
.area::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, color-mix(in srgb, var(--brand) 88%, transparent)); }
.area:hover img { transform: scale(1.04); }
.area .t { padding: 20px; }
.area h3 { font-size: 26px; color: var(--brand-ink); }
.area p { font-size: 15px; opacity: .9; margin-top: 4px; }

/* Rechner */
.calc { display: grid; gap: 16px; }
.calc-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 18px; display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 600; font-size: 15px; }
.field-row output { font-weight: 700; color: var(--brand); }
input[type=range] { width: 100%; height: 28px; accent-color: var(--brand); }
.calc-result { background: var(--brand); color: var(--brand-ink); border-radius: var(--radius-lg); padding: 24px; display: grid; gap: 6px; align-content: center; }
.calc-result .big { font: 700 clamp(44px, 12vw, 72px)/1 var(--font-display); letter-spacing: -.03em; }
.calc-result .big em { font-style: normal; color: var(--accent); }
.calc-result small { opacity: .85; font-size: 14px; }
.calc-result .btn { margin-top: 14px; }

/* Ablauf */
.steps { list-style: none; display: grid; gap: 12px; counter-reset: s; }
.steps li { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px 20px 72px; }
.steps li::before { counter-increment: s; content: counter(s); position: absolute; left: 20px; top: 20px; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; font: 700 17px/1 var(--font-display); }
.steps li:last-child::before { background: var(--accent); color: var(--accent-ink); }
.steps p { font-size: 15px; color: var(--muted); margin-top: 4px; }

/* Einsatzbeispiele + Video */
.cases { display: grid; gap: 14px; }
.case { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.case .body { padding: 16px 18px 20px; display: grid; gap: 6px; }
.case .place { font-size: 13px; font-weight: 700; color: var(--accent-text); }
.case p { font-size: 15px; color: var(--muted); }
.case a { font-size: 14px; font-weight: 700; color: var(--brand); text-decoration: none; }
.video { position: relative; aspect-ratio: 16 / 9; background: var(--brand); overflow: hidden; }
.video button { all: unset; cursor: pointer; position: absolute; inset: 0; display: grid; place-items: center; }
.video button:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px; }
.video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.16,1,.3,1); }
.video button:hover img { transform: scale(1.03); }
.video .play { position: relative; width: 64px; height: 64px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--ink) 60%, transparent); }
.video .play::after { content: ""; margin-left: 5px; border-left: 18px solid var(--accent-ink); border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vnote { font-size: 12px; color: var(--muted); padding: 8px 2px 0; }
.videos { display: grid; gap: 18px; }
.videos figure figcaption { font-weight: 700; font-size: 15px; margin-top: 8px; }
.video-wrap .video { border-radius: var(--radius); }

/* Produktseite */
.crumbs { font-size: 14px; color: var(--muted); padding-top: 18px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--line); }
.crumbs a { text-decoration: none; }
.p-hero { padding-block: 20px 48px; }
.p-hero .wrap { display: grid; gap: 24px; }
.p-hero .stage { min-height: 320px; }
.p-hero .stage.photo { padding: 0; display: block; background: var(--surface-2); }
.p-hero .stage.photo img { width: 100%; height: 100%; max-height: 520px; object-fit: cover; filter: none; }
.p-hero h1 { font-size: clamp(36px, 9vw, 64px); margin: 12px 0 10px; }
.p-hero h1 + .status { margin-bottom: 14px; }
.p-hero .claim { font: 600 21px/1.35 var(--font-display); letter-spacing: -.01em; margin-bottom: 14px; }
.points { list-style: none; display: grid; gap: 10px; margin-top: 20px; }
.points li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; font-size: 16px; }
.points li::before { content: ""; width: 22px; height: 22px; margin-top: 1px; background: var(--brand); -webkit-mask: url("/assets/icons/check-circle.svg") center / contain no-repeat; mask: url("/assets/icons/check-circle.svg") center / contain no-repeat; }
.facts { display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: 15px; }
.facts dd { font-weight: 700; font-size: 15px; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
.gallery img:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.tags a { display: inline-flex; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: 15px; }
.tags a:hover { border-color: var(--brand); }
.source { font-size: 13px; color: var(--muted); margin-top: 14px; }

/* Einsatzseite */
.pains { list-style: none; display: grid; gap: 10px; }
.pains li { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; font-size: 16px; }
.fit { background: var(--accent-soft); border-radius: 16px; padding: 16px 18px; font-size: 16px; }
.fit strong { color: var(--accent-text); }
.cover { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

/* Finder */
.finder { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 18px; }
.steps-bar { display: flex; gap: 6px; margin-bottom: 18px; }
.steps-bar i { flex: 1; height: 4px; border-radius: 4px; background: var(--line); transition: background .3s; }
.steps-bar i.on { background: var(--brand); }
.q-title { font-size: 21px; margin-bottom: 14px; }
.opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.opt { min-height: 56px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--bg); text-align: left; font-weight: 600; font-size: 15px; cursor: pointer; transition: border-color .2s, background .2s; }
.opt:hover { border-color: var(--brand); }
.opt[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-soft); }
.finder-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 18px; }
.rec { display: grid; gap: 14px; }
.rec .robots { margin-top: 6px; }
.note { font-size: 15px; padding: 12px 14px; border-radius: 12px; background: var(--accent-soft); }

/* Formular */
.form { display: grid; gap: 14px; }
.form .row { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.form input, .form select, .form textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-btn); background: var(--surface); font-weight: 400; font-size: 16px; }
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.form .check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; font-weight: 400; font-size: 14px; color: var(--muted); align-items: start; }
.form .check input { min-height: 0; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--brand); }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { font-size: 15px; padding: 12px 14px; border-radius: 12px; }
.form-msg.err { background: var(--err-soft); color: var(--err); }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 18px; }
.contact-list { list-style: none; display: grid; gap: 12px; }
.contact-list li { display: grid; gap: 2px; }
.contact-list span { font-size: 14px; color: var(--muted); }
.contact-list a, .contact-list strong { font-weight: 700; font-size: 18px; text-decoration: none; }

/* Über uns */
.timeline { list-style: none; display: grid; gap: 0; border-left: 2px solid var(--line); margin-left: 8px; }
.timeline li { position: relative; padding: 0 0 24px 26px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--brand); }
.timeline li:last-child::before { background: var(--accent); }
.timeline b { font: 700 22px/1.1 var(--font-display); display: block; margin-bottom: 4px; }
.timeline p { color: var(--muted); font-size: 16px; }
.big-quote { font: 600 clamp(24px, 5vw, 36px)/1.25 var(--font-display); letter-spacing: -.02em; max-width: 26ch; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding-block: 18px; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-weight: 700; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent-text); font-size: 26px; line-height: .9; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin-top: 10px; max-width: 70ch; }
.faq .list { border-top: 1px solid var(--line); }

/* Abschlussband */
.cta-band { background: var(--brand); color: var(--brand-ink); border-radius: var(--radius-lg); padding: 36px 22px; display: grid; gap: 18px; }
.cta-band h2 { color: var(--brand-ink); }
.cta-band p { opacity: .85; max-width: 52ch; }
.cta-band .btn-ghost { border-color: color-mix(in srgb, var(--brand-ink) 45%, transparent); color: var(--brand-ink); }
.cta-band .btn-ghost:hover { background: color-mix(in srgb, var(--brand-ink) 10%, transparent); }

/* Rechtstexte */
.legal { max-width: 760px; }
.legal h1 { font-size: clamp(34px, 8vw, 52px); margin-bottom: 24px; }
.legal h2 { font-size: 24px; margin: 32px 0 10px; }
.legal h3 { font-size: 18px; margin: 20px 0 6px; }
.legal p, .legal li { color: var(--muted); margin-bottom: 10px; }
.legal ul { padding-left: 20px; }

/* Fuß */
.site-foot { margin-top: 64px; padding-block: 44px calc(110px + env(safe-area-inset-bottom, 0px)); background: var(--surface); border-top: 1px solid var(--line); font-size: 15px; }
.site-foot .wrap { display: grid; gap: 28px; }
.site-foot .foot-h { font-weight: 700; font-size: 15px; margin-bottom: 10px; color: var(--ink); }
.site-foot ul { list-style: none; display: grid; gap: 8px; }
.site-foot a { text-decoration: none; color: var(--muted); }
.site-foot a:hover { color: var(--ink); }
.site-foot address { font-style: normal; color: var(--muted); }
.foot-partner { display: flex; align-items: center; gap: 12px; }
.foot-partner img { height: 22px; width: auto; }
.foot-form { display: grid; gap: 20px; border-top: 1px solid var(--line); padding-top: 28px; }
.foot-form .form { max-width: 640px; }
.foot-form .stack { align-content: start; }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 18px; font-size: 13px; color: var(--muted); }

/* Handy-Leiste */
.mcta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: minmax(0, 1fr) 52px; gap: 8px; padding: 10px max(12px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)); background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .3s cubic-bezier(.16,1,.3,1); }
.mcta.show { transform: none; }
.mcta .btn { min-height: 50px; padding: 0 12px; font-size: 15px; white-space: nowrap; }
.mcta .btn-ghost { padding: 0; }

/* Ab Tablet */
@media (min-width: 720px) {
  :root { --gutter: 32px; }
  .section { padding-block: 96px; }
  .ctas { flex-direction: row; flex-wrap: wrap; }
  .robots { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .areas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .area { min-height: 340px; }
  .cases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner .wrap { grid-template-columns: auto minmax(0, 1fr); gap: 32px; }
  .partner dl { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .form .row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .opts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .videos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-foot .wrap { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .foot-bottom { grid-column: 1 / -1; }
  .foot-form { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 40px; }
  .cta-band { padding: 56px 48px; grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
  .mcta { display: none; }
  .site-foot { padding-bottom: 44px; }
}

/* Ab Desktop */
@media (min-width: 1060px) {
  h1 { font-size: clamp(56px, 5.6vw, 80px); }
  .nav-main { display: flex; gap: 28px; font-weight: 600; font-size: 15px; }
  .nav-main a { text-decoration: none; color: var(--muted); }
  .nav-main a:hover, .nav-main a[aria-current="page"] { color: var(--ink); }
  .nav-toggle, .nav-panel { display: none !important; }
  .head-cta { display: inline-flex; min-height: 44px; padding: 0 18px; font-size: 15px; }
  .hero { padding-block: 64px 80px; }
  .hero .wrap { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 48px; }
  .stage { min-height: 520px; }
  .stage img { max-height: 470px; }
  .robots { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .robots.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .areas { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .area { min-height: 420px; }
  .cases { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .calc { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: stretch; }
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .p-hero .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 56px; }
  .split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
  .split-wide { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 56px; align-items: start; }
  .finder { padding: 32px; }
  .calc-panel, .form-card { padding: 32px; }
}

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

/* Werte (ohne Nummern, keine Reihenfolge) */
.values { list-style: none; display: grid; gap: 12px; }
.values li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.values p { font-size: 15px; color: var(--muted); margin-top: 4px; }
@media (min-width: 720px) { .values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1060px) { .values { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Feinschliff nach erster Sichtprüfung */
.btn { white-space: normal; text-align: center; line-height: 1.2; padding-block: 12px; }
.partner dl { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.partner dt { font-size: 21px; }
@media (min-width: 1060px) { .partner dt { font-size: 26px; } }
.split, .split-wide { display: grid; gap: 32px; }
@media (min-width: 1060px) { .split, .split-wide { gap: 56px; } }

/* Startseite: Video-Kopf (KEENON-Szenen, stumm, Schleife). Text liegt auf einem Verlauf in der Zweitfarbe. */
.hero-video { position: relative; isolation: isolate; overflow: hidden; background: var(--deep); color: var(--brand-ink); min-height: min(82svh, 720px); display: grid; align-items: end; padding-block: 180px 36px; }
.hero-video .wrap { display: block; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; z-index: -2; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, color-mix(in srgb, var(--deep) 20%, transparent) 0%, color-mix(in srgb, var(--deep) 55%, transparent) 38%, color-mix(in srgb, var(--deep) 94%, transparent) 78%); }
.hero-copy { max-width: 640px; }
.hero-video h1 { color: var(--brand-ink); text-shadow: 0 2px 24px color-mix(in srgb, var(--ink) 35%, transparent); }
.hero-video .mark { background: linear-gradient(transparent 66%, color-mix(in srgb, var(--accent) 75%, transparent) 66%); }
.hero-video .lead { color: color-mix(in srgb, var(--brand-ink) 86%, transparent); }
.hero-video .chips { color: color-mix(in srgb, var(--brand-ink) 80%, transparent); }
.hero-video .chips li::before { background: var(--brand-ink); }
.hero-video .chips li:nth-child(2)::before { background: var(--accent); }
.hero-video .btn-ghost { border-color: color-mix(in srgb, var(--brand-ink) 55%, transparent); color: var(--brand-ink); }
.hero-video .btn-ghost:hover { background: color-mix(in srgb, var(--brand-ink) 12%, transparent); }
.hero-meta { position: absolute; top: 16px; right: max(16px, env(safe-area-inset-right, 0px)); left: max(16px, env(safe-area-inset-left, 0px)); display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.hero-meta .stage-badge { position: static; }
.hero-pause { width: 40px; height: 40px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--brand-ink) 40%, transparent); background: color-mix(in srgb, var(--brand) 45%, transparent); color: var(--brand-ink); display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hero-pause .i-play { display: none; }
.hero-pause[aria-pressed="true"] .i-play { display: block; }
.hero-pause[aria-pressed="true"] .i-pause { display: none; }
@media (min-width: 1060px) {
  .hero-video { align-items: center; padding-block: 120px; min-height: min(86svh, 780px); }
  .hero-shade { background: linear-gradient(90deg, color-mix(in srgb, var(--deep) 92%, transparent) 0%, color-mix(in srgb, var(--deep) 70%, transparent) 38%, color-mix(in srgb, var(--deep) 10%, transparent) 72%); }
  .hero-bg { object-position: 50% 50%; }
  .hero-meta { top: auto; bottom: 24px; left: auto; right: max(32px, calc((100vw - var(--wrap)) / 2 + 32px)); }
}
.hero-meta .stage-badge { color: var(--ink); }


/* ===== Überarbeitung nach Taste-Audit (01.11.2026) ===== */
.i { display: inline-block; flex: none; vertical-align: -0.125em; }
.btn .arr { width: 1.05em; height: 1.05em; }
.link-more .i, .robot-card .more .i, .case a .i { transition: transform .2s; }
.link-more:hover .i, .robot-card:hover .more .i { transform: translateX(3px); }
.head .lead { max-width: 62ch; }

/* Partner: ein Satz statt Zahlenkacheln */
.partner .wrap { display: grid; gap: 14px; padding-block: 26px; align-items: center; }
.partner-mark { height: 28px; width: auto; }
.partner p { color: var(--muted); max-width: 70ch; font-size: 16px; }
.partner p strong { color: var(--ink); }
@media (min-width: 720px) { .partner .wrap { grid-template-columns: auto minmax(0, 1fr); gap: 36px; } }

/* Sofort verfügbar: auf dem Handy wischbar, die nächste Karte schaut hervor */
@media (max-width: 719px) {
  .robots.five { display: grid; grid-auto-flow: column; grid-auto-columns: 68%; grid-template-columns: none; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * max(var(--gutter), env(safe-area-inset-left, 0px))); padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px)); scroll-padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-bottom: 6px; scrollbar-width: none; }
  .robots.five::-webkit-scrollbar { display: none; }
  .robots.five .robot-card { scroll-snap-align: start; }
}

/* Ablauf: verbundene Schritte statt Karten */
.steps { gap: 0; position: relative; }
.steps li { background: none; border: 0; border-radius: 0; padding: 0 0 28px 64px; }
.steps li::before { left: 0; top: 0; width: 40px; height: 40px; font-size: 18px; }
.steps li::after { content: ""; position: absolute; left: 19px; top: 44px; bottom: 4px; width: 2px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps h3 { padding-top: 8px; }
@media (min-width: 1060px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
  .steps li { padding: 64px 0 0; }
  .steps li::after { left: 48px; right: -28px; top: 19px; bottom: auto; width: auto; height: 2px; }
  .steps li:last-child::after { display: none; }
}

/* Werte und Probleme: Typografie statt Kästen */
.values li { background: none; border: 0; border-top: 2px solid var(--ink); border-radius: 0; padding: 18px 0 0; }
.values li:first-child { border-top-color: var(--accent); }
.pains { gap: 0; }
.pains li { background: none; border: 0; border-radius: 0; padding: 14px 0; font-size: 18px; font-weight: 500; }
.pains li + li { border-top: 1px solid var(--line); }

/* FAQ-Seitenspalte ohne Karte */
.faq-aside { padding-top: 6px; }
@media (min-width: 1060px) { .faq-aside { border-left: 1px solid var(--line); padding-left: 40px; } }

/* Technische Daten: vier Kernwerte groß, Rest ruhig */
.key-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.key-facts div { display: flex; flex-direction: column-reverse; gap: 4px; background: var(--surface); border-radius: var(--radius); padding: 16px; }
.key-facts dd { font: 700 clamp(20px, 5vw, 26px)/1.15 var(--font-display); letter-spacing: -.02em; }
.key-facts dt { font-size: 14px; color: var(--muted); }
.more-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; margin-top: 22px; }
.more-facts dt { font-size: 13px; color: var(--muted); }
.more-facts dd { font-weight: 700; font-size: 15px; }

/* Kopf mit Video: weniger Polster oben */
@media (min-width: 1060px) { .hero-video { padding-block: 96px; } }
.hero-pause svg { width: 16px; height: 16px; }
.hero-pause .i-play { display: none; }
.hero-pause[aria-pressed="true"] .i-play { display: inline; }
.hero-pause[aria-pressed="true"] .i-pause { display: none; }
.hero-meta { justify-content: flex-end; }

.field-row output { white-space: nowrap; }

/* Marke (07.11.2026): Archivo breiter gestellt wie die Logo-Schrift. Steht am Ende,
   weil font-Kurzschreibweisen oben die Breite sonst zurücksetzen. */
.partner dt, .calc-result .big, .steps li::before, .p-hero .claim, .timeline b, .big-quote, .key-facts dd { font-stretch: var(--display-stretch); }
@media (min-width: 1060px) { .logo img { height: 34px; } }
/* Lange deutsche Wörter (Datenschutzerklärung, Verbraucherstreitbeilegung) auf dem Handy trennen statt überlaufen */
h1, h2 { hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 14 6 6; -webkit-hyphenate-limit-before: 6; -webkit-hyphenate-limit-after: 6; overflow-wrap: break-word; }
/* Produktnamen in den Zweierkarten: auf schmalen Handys ohne Verbreiterung, damit KLEENBOT in die Karte passt */
.robot-card h3 { font-size: clamp(15px, 4.6vw, 18px); font-stretch: 100%; }
@media (min-width: 720px) { .robot-card h3 { font-stretch: var(--display-stretch); } }
/* Kennzahlen auf Produktseiten: auf schmalen Handys kleiner und mit Trennung (Krankenhauslogistik) */
.key-facts dd { hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 12 5 5; overflow-wrap: break-word; }
.key-facts dd { font-size: 17px; font-stretch: 100%; } .key-facts div { padding: 14px 12px; }
@media (min-width: 420px) { .key-facts dd { font-size: clamp(20px, 5vw, 26px); font-stretch: var(--display-stretch); } .key-facts div { padding: 16px; } }
