/* Gastro AI Control – Produktseite, Anmeldung, Download.
   Tokens aus DESIGN.md (schwarz, Mint sparsam, Manrope lokal). */
@font-face {
  font-family: "Manrope";
  src: url("assets/manrope-variable.ttf") format("truetype");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #080a0b;
  --surface: #121619;
  --surface-2: #1a2024;
  --line: #24282a;
  --line-strong: #34393c;
  --text: #eef1ef;
  --muted: #a4aeb1;
  --mint: #7ce8bf;
  --mint-hover: #a8f1d5;
  --mint-soft: rgba(124, 232, 191, .1);
  --on-mint: #06140f;
  --amber: #f2bd6b;
  --amber-soft: rgba(242, 189, 107, .1);
  --red: #ff9486;
  --sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 14px;
  --wide: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: radial-gradient(1200px 520px at 50% -120px, #13201c 0, transparent 70%) no-repeat, var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3 { font-weight: 650; line-height: 1.12; letter-spacing: -0.025em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--mint); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 6px; }
::selection { background: #2c5b4b; color: #fff; }

.wrap { width: 100%; max-width: var(--wide); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

.skip { position: absolute; left: 16px; top: -64px; z-index: 30; padding: 12px 16px; background: var(--mint); color: var(--on-mint); font-weight: 700; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 22px;
  border: 1px solid transparent; border-radius: 999px;
  background: var(--mint); color: var(--on-mint);
  font: inherit; font-weight: 700; font-size: .9375rem; line-height: 1.2;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, transform .15s ease;
}
.button:hover { background: var(--mint-hover); }
.button:active { transform: translateY(1px); }
.button-ghost { background: transparent; border-color: var(--line-strong); color: var(--text); font-weight: 650; }
.button-ghost:hover { background: var(--surface-2); }
.button-small { min-height: 38px; padding: 7px 16px; font-size: .875rem; }
.button-block { width: 100%; }

/* Tags */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: 999px;
  font-size: .75rem; font-weight: 650; line-height: 1.5; white-space: nowrap;
  border: 1px solid var(--line-strong); color: var(--muted);
}
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tag-live { color: #5bd69a; border-color: rgba(91, 214, 154, .35); background: rgba(91, 214, 154, .1); }
.tag-dev { color: var(--amber); border-color: rgba(242, 189, 107, .35); background: var(--amber-soft); }

.eyebrow { color: var(--mint); font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(8, 10, 11, .78);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; flex-shrink: 0; }
.brand img { width: 30px; height: 30px; }
.brand span { font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }
.brand b { font-weight: 750; }
.header-nav { display: flex; gap: 4px; }
.header-nav a { padding: 8px 12px; border-radius: 999px; color: var(--muted); font-size: .9rem; font-weight: 600; text-decoration: none; }
.header-nav a:hover { color: var(--text); background: var(--surface-2); }
.header-actions { display: flex; align-items: center; gap: 8px; }
@media (max-width: 900px) { .header-nav { display: none; } }
@media (max-width: 420px) { .header-actions .demo-link { display: none; } }

/* Hero */
.hero { padding: 72px 0 40px; text-align: center; }
.hero h1 { font-size: clamp(2.25rem, 6.2vw, 4.25rem); max-width: 15ch; margin: 18px auto 0; }
.hero h1 em { font-style: normal; color: var(--mint); }
.hero .lead { max-width: 640px; margin: 22px auto 0; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.hero-note { margin-top: 16px; color: var(--muted); font-size: .875rem; }

.hero-shot { margin: 56px auto 0; max-width: var(--wide); padding: 0 20px; }
.shot-frame {
  position: relative; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  box-shadow: 0 40px 120px -40px rgba(124, 232, 191, .18), 0 30px 80px -30px rgba(0, 0, 0, .8);
}
.shot-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.shot-bar span { margin-left: 8px; color: var(--muted); font-size: .8rem; font-weight: 600; }
.shot-caption { margin-top: 12px; color: var(--muted); font-size: .8125rem; text-align: center; }

/* Trust strip */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 56px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--line); }
.strip div { background: var(--bg); padding: 18px 16px; text-align: center; }
.strip strong { display: block; font-size: 1rem; }
.strip span { color: var(--muted); font-size: .8125rem; }
@media (max-width: 760px) { .strip { grid-template-columns: repeat(2, 1fr); } }

/* Sections */
.section { padding: 96px 0; }
.section-raised { background: linear-gradient(180deg, #0d1112, #0a0d0e); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); margin-top: 12px; }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 1.0625rem; }
@media (max-width: 600px) { .section { padding: 72px 0; } }

/* Why */
.why { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.why article { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.why .num { color: var(--mint); font-size: 2rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.why h3 { margin-top: 16px; font-size: 1.2rem; }
.why p { margin-top: 10px; color: var(--muted); }
@media (max-width: 760px) { .why { grid-template-columns: 1fr; } }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.feature-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.feature svg { width: 28px; height: 28px; color: var(--mint); flex-shrink: 0; }
.feature h3 { font-size: 1.0625rem; }
.feature p { color: var(--muted); font-size: .9375rem; }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .features { grid-template-columns: 1fr; } }
.legend { display: flex; flex-wrap: wrap; gap: 10px 16px; margin-top: 24px; color: var(--muted); font-size: .875rem; align-items: center; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.steps li { position: relative; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg); }
.steps li::before { counter-increment: s; content: "0" counter(s); display: block; color: var(--mint); font-weight: 700; font-size: .875rem; letter-spacing: .06em; }
.steps h3 { margin-top: 14px; font-size: 1.15rem; }
.steps p { margin-top: 8px; color: var(--muted); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Split media */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.split img { border-radius: var(--radius); border: 1px solid var(--line-strong); }
.checks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: var(--muted); }
.checks li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; background: var(--mint-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237ce8bf' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat; margin-top: 2px; }
.checks strong { color: var(--text); font-weight: 650; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }

/* Variants */
.variants { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.variant { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; gap: 12px; }
.variant h3 { font-size: 1.2rem; }
.variant p { color: var(--muted); font-size: .9375rem; }
.variant ul { margin: 4px 0 0; padding-left: 18px; color: var(--muted); font-size: .9375rem; display: grid; gap: 6px; }
@media (max-width: 900px) { .variants { grid-template-columns: 1fr; } }

/* Pricing */
.billing { display: inline-flex; padding: 4px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); margin: 0 auto 40px; }
.billing button { font: inherit; font-size: .875rem; font-weight: 650; padding: 8px 18px; border-radius: 999px; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.billing button[aria-pressed="true"] { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-strong); }
.billing small { color: var(--mint); font-weight: 700; }
.billing-wrap { text-align: center; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px 26px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); }
.plan.featured { border-color: rgba(124, 232, 191, .5); background: linear-gradient(180deg, #13201c, var(--surface) 55%); }
.plan .badge { position: absolute; top: -12px; left: 26px; padding: 3px 12px; border-radius: 999px; background: var(--mint); color: var(--on-mint); font-size: .75rem; font-weight: 750; }
.plan h3 { font-size: 1.15rem; }
.plan .for { margin-top: 6px; color: var(--muted); font-size: .9rem; min-height: 2.9em; }
.price { margin-top: 22px; display: flex; align-items: baseline; gap: 6px; }
.price strong { font-size: 2.6rem; letter-spacing: -0.03em; line-height: 1; }
.price span { color: var(--muted); font-size: .9rem; }
.price-note { margin-top: 6px; color: var(--muted); font-size: .8125rem; min-height: 1.3em; }
.plan ul { list-style: none; margin: 24px 0 28px; padding: 0; display: grid; gap: 10px; flex: 1; }
.plan li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: .9375rem; color: var(--muted); }
.plan li::before { content: "✓"; color: var(--mint); font-weight: 800; }
.plan li.soon::before { content: "◔"; color: var(--amber); }
.plans-foot { margin-top: 24px; text-align: center; color: var(--muted); font-size: .875rem; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 650; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--mint); font-size: 1.3rem; line-height: 1; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; color: var(--muted); }

/* CTA */
.cta { text-align: center; padding: 64px 28px; border-radius: 22px; border: 1px solid rgba(124, 232, 191, .3); background: radial-gradient(600px 240px at 50% 0, #15302a, var(--surface) 80%); }
.cta h2 { font-size: clamp(1.75rem, 4vw, 2.6rem); }
.cta p { margin: 14px auto 0; max-width: 520px; color: var(--muted); }
.cta .hero-actions { margin-top: 28px; }

/* Footer */
.site-footer { margin-top: 96px; padding: 36px 0 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-inner a { color: var(--muted); text-decoration: none; }
.footer-inner a:hover { color: var(--text); }

/* Auth + Download */
.auth { min-height: calc(100vh - 64px); display: grid; place-items: center; padding: 48px 20px; }
.card { width: 100%; max-width: 440px; padding: 36px 32px; border-radius: 20px; border: 1px solid var(--line-strong); background: var(--surface); }
.card h1 { font-size: 1.75rem; }
.card > p { margin-top: 10px; color: var(--muted); }
.field { display: grid; gap: 8px; margin-top: 22px; }
.field label { font-size: .875rem; font-weight: 650; }
.field input {
  font: inherit; color: var(--text); background: var(--bg);
  border: 1px solid var(--line-strong); border-radius: 12px; padding: 12px 14px; min-height: 48px;
}
.field input:focus { outline: none; border-color: var(--mint); box-shadow: 0 0 0 3px var(--mint-soft); }
.card form .button { margin-top: 20px; }
.notice { margin-top: 20px; padding: 14px 16px; border-radius: 12px; font-size: .9rem; border: 1px solid rgba(242, 189, 107, .35); background: var(--amber-soft); color: #f6d7a6; }
.notice[hidden] { display: none; }
.divider { display: flex; align-items: center; gap: 12px; margin: 26px 0 0; color: var(--muted); font-size: .8125rem; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.card .alt { margin-top: 18px; display: grid; gap: 10px; }
.fine { margin-top: 22px; color: var(--muted); font-size: .8125rem; text-align: center; }

.dl-hero { padding: 64px 0 24px; }
.dl-hero h1 { font-size: clamp(2rem, 5vw, 3rem); margin-top: 12px; }
.dl-hero p { margin-top: 14px; color: var(--muted); max-width: 640px; font-size: 1.0625rem; }
.dl-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; margin-top: 36px; }
.dl-card { padding: 28px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); }
.dl-card.primary { border-color: rgba(124, 232, 191, .45); }
.dl-card h2 { font-size: 1.3rem; }
.dl-card p { margin-top: 8px; color: var(--muted); }
.dl-card .button { margin-top: 22px; }
.meta { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: .8125rem; }
.install { margin: 18px 0 0; padding-left: 20px; display: grid; gap: 12px; color: var(--muted); }
.install strong { color: var(--text); }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .85em; padding: 2px 6px; border-radius: 6px; background: var(--bg); border: 1px solid var(--line); color: var(--text); }
@media (max-width: 860px) { .dl-grid { grid-template-columns: 1fr; } .card { padding: 28px 22px; } }

/* Sehr schmale Bildschirme */
@media (max-width: 380px) {
  .brand span { display: none; }
  .hero .tag { white-space: normal; text-align: left; }
  .wrap { padding: 0 16px; }
}
.auth { grid-template-columns: minmax(0, 1fr); justify-items: center; }
.button-block { white-space: normal; text-align: center; }
@media (max-width: 380px) { .auth { padding: 32px 16px; } .header-actions .button-ghost { padding: 7px 12px; } }

/* Showcase: Tableau, Küche, Schank */
.show { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.show.flip > :first-child { order: 2; }
.show h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-top: 12px; }
.show .lead2 { margin-top: 16px; color: var(--muted); font-size: 1.0625rem; }
.show .tag { margin-top: 18px; }
@media (max-width: 900px) { .show { grid-template-columns: 1fr; gap: 28px; } .show.flip > :first-child { order: 0; } }
.panel { border: 1px solid var(--line-strong); border-radius: 18px; background: var(--surface); overflow: hidden; box-shadow: 0 30px 80px -40px rgba(0,0,0,.9); }
.panel-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--line); background: var(--surface-2); font-size: .8rem; font-weight: 650; color: var(--muted); }
.panel-bar .live { color: var(--mint); }
.panel-bar .live::before { content: "● "; }
.panel-cap { padding: 10px 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: .75rem; }

.tray-wrap { display: grid; grid-template-columns: 1.1fr 1fr; }
.tray-wrap svg { width: 100%; height: auto; display: block; background: #2a1f17; }
.tray-list { padding: 18px; display: grid; gap: 8px; align-content: start; font-size: .875rem; border-left: 1px solid var(--line); }
.tray-list h3 { font-size: .8rem; color: var(--muted); font-weight: 650; letter-spacing: .04em; text-transform: uppercase; }
.tray-list .row { display: flex; justify-content: space-between; gap: 8px; padding: 6px 10px; border-radius: 8px; background: var(--bg); }
.tray-list .row b { color: var(--mint); }
.tray-list .total { margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; font-weight: 700; }
@media (max-width: 560px) { .tray-wrap { grid-template-columns: 1fr; } .tray-list { border-left: 0; border-top: 1px solid var(--line); } }

.kitchen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 14px; }
.kt { border-radius: 12px; padding: 12px; border: 1px solid var(--line); background: var(--bg); min-height: 98px; display: grid; align-content: start; gap: 4px; }
.kt strong { font-size: 1rem; }
.kt .st { font-size: .8rem; font-weight: 750; }
.kt small { color: var(--muted); font-size: .75rem; line-height: 1.35; }
.kt.red { border-color: rgba(255,148,134,.55); background: rgba(255,148,134,.12); }
.kt.red .st { color: var(--red); }
.kt.red { animation: pulse 2.4s ease-in-out infinite; }
.kt.amber { border-color: rgba(242,189,107,.45); background: var(--amber-soft); }
.kt.amber .st { color: var(--amber); }
.kt.green .st { color: var(--mint); }
.kt.free { opacity: .55; }
@keyframes pulse { 50% { box-shadow: 0 0 0 4px rgba(255,148,134,.12); } }
@media (prefers-reduced-motion: reduce) { .kt.red { animation: none; } }
@media (max-width: 460px) { .kitchen { grid-template-columns: repeat(2, 1fr); } }

.bar-table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.bar-table th, .bar-table td { padding: 10px 14px; text-align: right; border-bottom: 1px solid var(--line); }
.bar-table th:first-child, .bar-table td:first-child { text-align: left; }
.bar-table th { color: var(--muted); font-weight: 650; font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; }
.bar-table .ok { color: var(--mint); font-weight: 700; }
.bar-table .warn { color: var(--amber); font-weight: 700; }
.bar-table .bad { color: var(--red); font-weight: 700; }
.bar-sum { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; font-size: .875rem; }
.bar-sum b { color: var(--red); }

.addons { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.addon { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.addon span { color: var(--muted); font-size: .9rem; }
.addon strong { white-space: nowrap; font-size: .95rem; }
.addons-title { margin-top: 56px; text-align: center; font-size: 1.25rem; }
@media (max-width: 900px) { .addons { grid-template-columns: 1fr; } }
.roi { margin: 40px auto 0; max-width: 760px; padding: 20px 24px; border-radius: var(--radius); border: 1px dashed var(--line-strong); color: var(--muted); font-size: .9375rem; text-align: center; }
.roi strong { color: var(--text); }

/* ===== Produkt-Ausschnitte (bedienbar) im dunklen Luma-Stil ===== */
:root {
  --ink: #eef1ef; --accent: #7ce8bf; --accent-hover: #a8f1d5; --accent-ink: #06140f;
  --field-1: #080a0b; --field-1-surface: #1c2022; --field-1-surface-2: #262a2d; --field-1-muted: #a4aeb1;
  --ok: #1f7a4d; --warn: #e8a317; --bad: #e5484d; --ease: cubic-bezier(.16, 1, .3, 1);
}
/* Kamera-Fragment (data-ui) */
.cam { background: var(--field-1-surface); border-radius: 8px; overflow: hidden; font-size: 13px; color: #fff; }
.cam-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; background: var(--field-1-surface-2); color: var(--field-1-muted); font-weight: 500; }
.cam-top .rec { color: #fff; display: flex; align-items: center; gap: 8px; }
.cam-top .rec::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); animation: blink 2s infinite; }
@keyframes blink { 50% { opacity: .35; } }
.cam-view { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.cam-view img { width: 100%; height: 100%; object-fit: cover; transform-origin: 60% 50%; }
.box { position: absolute; border: 2px solid var(--ok); border-radius: 4px; background: transparent; padding: 0; cursor: pointer; transition: border-color .25s, background-color .25s; }
.box:hover { background: rgba(255,255,255,.08); }
.box .lbl { position: absolute; left: -2px; bottom: calc(100% + 4px); white-space: nowrap; padding: 4px 8px; border-radius: 4px; background: var(--ok); color: #fff; font: 500 12px/1.2 var(--sans); }
.box.bad { border-color: var(--bad); } .box.bad .lbl { background: var(--bad); }
.box.warn { border-color: var(--warn); } .box.warn .lbl { background: var(--warn); color: #1b1300; }
.box.free { border-color: rgba(255,255,255,.55); border-style: dashed; } .box.free .lbl { background: rgba(5,7,10,.75); }
.box.below .lbl { bottom: auto; top: calc(100% + 4px); }
.cam-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 10px 14px; color: var(--field-1-muted); }
.cam-foot b { color: #fff; font-weight: 500; }
.cam-foot .k { display: flex; gap: 14px; flex-wrap: wrap; }
.cam-foot .k span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 6px; background: var(--ok); }
.cam-foot .k .w::before { background: var(--warn); } .cam-foot .k .r::before { background: var(--bad); }
.hint { margin-top: 14px; color: var(--field-1-muted); font-size: var(--step-small); }

/* Küchen-Board (data-ui) */
.board-sec { background: var(--field-1); color: var(--field-1-ink); }
.board-sec .sec-head p { color: var(--field-1-ink); }
.board-sec .status { color: var(--field-1-muted); }
.board { display: grid; gap: 4px; font-size: 13px; }
.board-row {
  display: grid; grid-template-columns: 2.2fr 2fr 1fr 1.2fr 1.6fr; align-items: center; gap: 16px;
  width: 100%; min-height: 72px; padding: 0 20px; border: 0; border-radius: 4px; text-align: left;
  background: var(--field-1-surface); color: #fff; font: inherit; cursor: pointer;
  transition: background-color .25s var(--ease);
}
.board-row:hover { background: var(--field-1-surface-2); }
.board-row .t { font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); font-weight: 500; letter-spacing: -0.02em; }
.board-row .c { font-size: clamp(1rem, .9rem + .4vw, 1.25rem); color: var(--field-1-muted); }
.board-row .s { justify-self: end; padding: 8px 14px; border-radius: 4px; font-size: 14px; font-weight: 500; background: var(--ok); color: #fff; white-space: nowrap; }
.board-row .s.bad { background: var(--bad); }
.board-row .s.warn { background: var(--warn); color: #1b1300; }
.board-row .s.free { background: transparent; color: var(--field-1-muted); }
.board-row .more { display: none; }
.board-row[aria-expanded="true"] { background: var(--accent); color: var(--accent-ink); min-height: 216px; align-items: start; padding-top: 22px; padding-bottom: 22px; }
.board-row[aria-expanded="true"] .c { color: var(--accent-ink); }
.board-row[aria-expanded="true"] .more { display: block; grid-column: 1 / -1; font-size: 17px; line-height: 1.45; max-width: 70ch; }
.board-row[aria-expanded="true"] .more strong { font-weight: 500; }
.board-note { margin-top: 20px; color: var(--field-1-muted); font-size: var(--step-small); }
@media (max-width: 760px) {
  .board-row { grid-template-columns: 1fr auto; min-height: 64px; padding: 0 14px; }
  .board-row .c { display: none; }
  .board-row[aria-expanded="true"] { min-height: 200px; }
}

.tray { background: var(--field-1); border-radius: 8px; overflow: hidden; color: #fff; font-size: 13px; }
.tray-view { position: relative; aspect-ratio: 1600 / 1066; overflow: hidden; }
.tray-view img { width: 100%; height: 100%; object-fit: cover; }
.tray .box { cursor: default; }
.tray-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; }
.tray-panel > div { background: var(--field-1-surface); border-radius: 4px; padding: 14px 16px; }
.tray-panel h3 { font-size: 13px; font-weight: 500; color: var(--field-1-muted); letter-spacing: 0; margin-bottom: 8px; }
.tray-panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.tray-panel li { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.tray-panel li b { font-weight: 500; }
.tray-panel .big { font-size: 34px; font-weight: 500; letter-spacing: -0.03em; line-height: 1; }
.tray-panel .low { color: var(--warn); }
.tray-ctl { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px 14px; color: var(--field-1-muted); flex-wrap: wrap; }
.tray-ctl button { font: 500 14px var(--sans); padding: 10px 16px; border-radius: 4px; border: 0; background: #fff; color: var(--field-1); cursor: pointer; transition: transform .15s, background-color .2s; }
.tray-ctl button:hover { background: var(--accent); }
.tray-ctl button:active { transform: translateY(1px); }
.js .tray .box { opacity: 0; transform: scale(.92); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.js .tray.on .box { opacity: 1; transform: none; }
@media (max-width: 560px) { .tray-panel { grid-template-columns: 1fr; } .tray .box .lbl { font-size: 11px; padding: 3px 6px; } }

.report { background: #fff; border-radius: 8px; overflow: hidden; font-size: 14px; color: var(--ink); margin-top: -64px; position: relative; margin-left: 24px; margin-right: 24px; box-shadow: 0 18px 50px -24px rgba(31,43,77,.45); } /* taste-skill-ignore: data-ui Bericht liegt schwebend über dem Foto */
.report-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 18px 10px; }
.report-top b { font-weight: 500; font-size: 16px; }
.report-top span { color: var(--muted); font-size: 13px; }
.report table { width: 100%; border-collapse: collapse; }
.report th, .report td { padding: 9px 18px; text-align: right; border-top: 1px solid #ecebe7; }
.report th:first-child, .report td:first-child { text-align: left; }
.report th { font-size: 12.5px; color: var(--muted); font-weight: 500; }
.report td.d { font-weight: 500; }
.report tr.dev td.d { color: var(--bad); }
.report tr.small td.d { color: #b07a00; }
.report tr.sub td:first-child { padding-left: 34px; color: var(--muted); }
.report tr.hide { display: none; }
.report-sum { display: flex; justify-content: space-between; gap: 12px; padding: 14px 18px; background: #faf9f6; font-size: 14px; }
.report-sum b { font-weight: 500; color: #b3261e; }
.pin > *, .split > *, .hero-grid > *, .price-grid > *, .faq-grid > * { min-width: 0; }
.ctl { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 15px; }
.seg { display: inline-flex; background: #fff; border-radius: 6px; padding: 4px; }
.seg button { font: 500 15px var(--sans); min-height: 40px; padding: 8px 16px; border: 0; border-radius: 4px; background: transparent; color: var(--muted); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.sw { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 500; }
.sw input { appearance: none; width: 48px; height: 28px; border-radius: 14px; background: #cfcdc6; position: relative; cursor: pointer; transition: background-color .2s; margin: 0; }
.sw input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .2s var(--ease); }
.sw input:checked { background: var(--ink); }
.sw input:checked::after { transform: translateX(20px); }
.range { display: grid; gap: 8px; width: min(100%, 360px); font-weight: 500; }
.range input { width: 100%; accent-color: var(--ink); }
/* Bewegung: Eintritte nur mit JS, sonst sichtbar */
.js .rv { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js .rv.in { opacity: 1; transform: none; }
.js .hero h1 .ln > span { transform: translateY(105%); transition: transform .9s var(--ease); }
.js .hero h1 .ln:nth-child(2) > span { transition-delay: .11s; }
.js .hero.ready h1 .ln > span { transform: none; }
.js .hero .fade { opacity: 0; transform: translateY(12px); transition: opacity .7s var(--ease) .5s, transform .7s var(--ease) .5s; }
.js .hero.ready .fade { opacity: 1; transform: none; }
.cam-view img { animation: drift 24s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.06) translateX(-1%); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv, .js .hero h1 .ln > span, .js .hero .fade { opacity: 1 !important; transform: none !important; transition: none !important; }
  .cam-view img, .cam-top .rec::before { animation: none; }
}

/* Kleine Bildschirme: Erkennungs-Labels kompakt */
@media (max-width: 600px) {
  .box .lbl { font-size: 10px; padding: 2px 5px; }
  .cam-view .box[aria-hidden="true"], .cam-view .box.free .lbl { display: none; }
  .tray-view .box:nth-of-type(2) .lbl { left: auto; right: -2px; }
  .report { margin: -32px 0 0; }
  .report th, .report td { padding: 8px 10px; }
  .report-top, .report-sum { padding-left: 10px; padding-right: 10px; }
}


/* Anpassungen der Ausschnitte an den Luma-Stil */
.cam, .tray, .report { border: 1px solid var(--line-strong); border-radius: var(--radius); }
.cam { background: var(--surface); }
.tray { background: var(--surface); }
.tray-panel > div { background: var(--surface-2); }
.tray-ctl button { border-radius: 999px; background: var(--mint); color: var(--on-mint); font-weight: 700; }
.tray-ctl button:hover { background: var(--mint-hover); }
.board-row { border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
.board-row:hover { background: var(--surface-2); }
.board-row .t { font-size: 1.125rem; font-weight: 650; }
.board-row .c { font-size: .9375rem; }
.board-row { min-height: 60px; }
.board-row[aria-expanded="true"] { min-height: 150px; }
.board-row[aria-expanded="true"] .more { font-size: .9375rem; }
.report { margin: 0; background: var(--surface); color: var(--text); box-shadow: none; }
.report th, .report td { border-top: 1px solid var(--line); }
.report th { color: var(--muted); }
.report-top span { color: var(--muted); }
.report-sum { background: var(--surface-2); }
.report-sum b, .report tr.dev td.d { color: #ff9486; }
.report tr.small td.d { color: #f2bd6b; }
.report tr.sub td:first-child { color: var(--muted); }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); }
.seg button { font: inherit; font-size: .875rem; font-weight: 650; min-height: 36px; padding: 6px 16px; border-radius: 999px; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-strong); }
.sw input { background: var(--line-strong); }
.sw input:checked { background: var(--mint); }
.range input { accent-color: var(--mint); }
.controls { display: grid; gap: 22px; }
.controls h3 { font-size: 1.0625rem; }
.controls p { color: var(--muted); font-size: .9375rem; margin-top: 4px; }
.controls .ctl { margin-top: 10px; }
.schank-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 860px) { .schank-grid { grid-template-columns: 1fr; } }
.board-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.board-stats p { padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--muted); font-size: .875rem; }
.board-stats b { display: block; font-size: 1.75rem; font-weight: 700; color: var(--text); letter-spacing: -0.02em; }
.board-stats p:first-child b { color: #ff9486; }
@media (max-width: 560px) { .board-stats { grid-template-columns: 1fr; } }
.hint { text-align: center; }
.hero-shot .cam { box-shadow: 0 40px 120px -40px rgba(124, 232, 191, .18), 0 30px 80px -30px rgba(0, 0, 0, .8); }
.addon.soon strong::after { content: ""; display: inline-block; width: 8px; height: 8px; margin-left: 8px; border-radius: 50%; background: var(--amber); vertical-align: middle; }
.plan li.soon::before { content: "◔"; color: var(--amber); }
.plans.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .plans.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .plans.four { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }

/* Küchenliste: Gang fertig = ganze Zeile rot; geöffnete Zeile nur blau umrandet */
.board-row.is-bad { border: 1.5px solid #ff5a5f; }
.board-row.is-bad:hover { border-color: #ff7b7f; }
.board-row.is-bad .t { color: #ff6b70; }
.board-row[aria-expanded="true"] { background: var(--surface-2); color: var(--text); border: 1px solid var(--mint); }
.board-row[aria-expanded="true"] .c { color: var(--muted); }
.board-row.is-bad[aria-expanded="true"] { border-color: #ff7b7f; }

/* Tische als farbige Fläche (kein Kasten); Kästchen nur für Produkte */
.box.tbl { mix-blend-mode: normal; border: 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(63, 178, 127, .7), rgba(63, 178, 127, .42) 55%, rgba(63, 178, 127, 0) 100%); }
.box.tbl.warn { background: radial-gradient(closest-side, rgba(232, 163, 23, .78), rgba(232, 163, 23, .46) 55%, rgba(232, 163, 23, 0) 100%); }
.box.tbl.bad { background: radial-gradient(closest-side, rgba(229, 72, 77, .85), rgba(229, 72, 77, .55) 55%, rgba(229, 72, 77, 0) 100%); animation: tblpulse 2.4s ease-in-out infinite; }
.box.tbl.free { border: 0; background: radial-gradient(closest-side, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 100%); }
.box.tbl:hover { background-color: transparent; filter: brightness(1.15); }
.box.tbl .lbl { left: 50%; bottom: auto; top: 50%; transform: translate(-50%, -50%); border-radius: 999px; padding: 4px 10px; box-shadow: 0 2px 10px rgba(0, 0, 0, .35); }
.box.tbl.below .lbl { top: 50%; }
@keyframes tblpulse { 50% { filter: brightness(1.25); } }
@media (prefers-reduced-motion: reduce) { .box.tbl.bad { animation: none; } }

/* Tische: nur Schrift mit Ampelfarbe, keine Fläche. Produkte: Kästchen mit Analyse. */
.box.tbl, .box.tbl.warn, .box.tbl.bad, .box.tbl.free { background: none; border: 0; animation: none; filter: none; }
.box.tbl:hover { background: none; filter: none; }
.box.tbl .lbl { font-size: 13px; padding: 5px 12px; }
.box.tbl.bad .lbl { animation: lblpulse 2.4s ease-in-out infinite; }
@keyframes lblpulse { 50% { box-shadow: 0 0 0 5px rgba(229, 72, 77, .35); } }
.box.prod { border-width: 2px; border-radius: 3px; }
.box.prod .lbl { font-size: 11px; padding: 2px 6px; white-space: nowrap; }
.box.prod.right .lbl { left: calc(100% + 4px); bottom: auto; top: 0; }
@media (prefers-reduced-motion: reduce) { .box.tbl.bad .lbl { animation: none; } }
@media (max-width: 600px) { .box.prod .lbl { display: none; } }
.box.prod.left .lbl { left: auto; right: calc(100% + 4px); bottom: auto; top: 0; }
.box.tbl { overflow: visible; }

/* Kamerabild nur analytisch: Tischschild + farbige Kästchen; Details in der Liste daneben */
.cam-wrap { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(240px, 1fr); gap: 12px; align-items: stretch; }
@media (max-width: 900px) { .cam-wrap { grid-template-columns: 1fr; } }
.box.tbl .lbl { font-size: 12px; padding: 4px 10px; font-weight: 600; }
.box.prod .lbl { display: none; }
.box.prod { border-width: 2.5px; }
.cam-list { border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); font-size: 13px; color: var(--text); overflow: hidden; display: flex; flex-direction: column; }
.cam-list-top { padding: 10px 14px; background: var(--field-1-surface-2); color: var(--muted); font-weight: 600; }
.cam-list ul { list-style: none; margin: 0; padding: 8px; display: grid; gap: 6px; align-content: start; overflow: auto; }
.cl-row { padding: 9px 11px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); }
.cl-row[role="button"] { cursor: pointer; }
.cl-row.bad { border-color: rgba(229, 72, 77, .55); background: rgba(229, 72, 77, .12); }
.cl-row.warn { border-color: rgba(232, 163, 23, .45); }
.cl-row.free { opacity: .6; }
.cl-head { display: flex; align-items: center; gap: 8px; }
.cl-head b { font-weight: 700; }
.cl-st { margin-left: auto; color: var(--muted); text-align: right; }
.cl-row.bad .cl-st { color: #ff9e98; font-weight: 600; }
.cl-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); flex-shrink: 0; }
.cl-row.warn .cl-dot { background: var(--warn); }
.cl-row.bad .cl-dot { background: var(--bad); }
.cl-row.free .cl-dot { background: #6b7378; }
.cl-chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.cl-chip { font-size: 11.5px; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--ok); color: #9be3bf; }
.cl-chip.warn { border-color: var(--warn); color: #f6d48a; }
.cl-chip.bad { border-color: var(--bad); color: #ffb0ab; }

/* Volle Bildbreite; Liste nur per Knopf im Kamerakopf */
.cam-wrap { display: block; position: relative; }
.cam-wrap .cam-list { display: none; }
.cam-wrap.list-mode .cam-view { visibility: hidden; }
.cam-wrap.list-mode .cam-list { display: flex; position: absolute; left: 1px; right: 1px; top: 41px; bottom: 41px; border: 0; border-radius: 0; z-index: 2; }
.cam-wrap.list-mode .cam-list-top { display: none; }
.cam-wrap.list-mode .cam-list ul { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); padding: 12px; }
.cam-top-r { display: flex; align-items: center; gap: 12px; }
.cam-toggle { font: inherit; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); cursor: pointer; }
.cam-toggle:hover, .cam-toggle[aria-pressed="true"] { border-color: var(--mint); color: var(--mint); }
@media (max-width: 600px) { .cam-wrap.list-mode .cam-view { visibility: visible; display: none; } .cam-wrap.list-mode .cam-list { position: static; } }
.box.prod { border-width: 2px; border-radius: 4px; }

/* Kästchen müssen exakt auf dem Bild liegen: keine Zoom-Bewegung des Kamerabilds */
.cam-view img { animation: none !important; transform: none !important; }

/* Kauf und Rechtliches */
.buy { margin-bottom: 8px; }
.pilot { margin: 28px auto 0; max-width: 880px; display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; padding: 22px 26px; border: 1px solid rgba(124, 232, 191, .45); border-radius: var(--radius); background: var(--surface); }
.pilot h3 { font-size: 1.15rem; }
.pilot p { color: var(--muted); margin-top: 6px; max-width: 56ch; }
.buy-note { margin: 14px auto 0; max-width: 880px; text-align: center; color: var(--muted); font-size: .875rem; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
.legal h2 { font-size: 1.2rem; margin-top: 32px; }
.legal p { color: var(--muted); margin-top: 10px; }
.legal-note { font-size: .9rem; }
