/* Somicus – Landingpage
   Marke: brand/README.md · Layout Startbereich: brand/landingpage/somicus-landingpage-startbereich.pdf (1440 × 900)
   Gestaltung: Papier, Tinte, Orange nur für das, was zeigt. Linien und Typografie statt Karten. */

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/Manrope-Variable.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --accent: #E65E00;          /* Orange: alles, was zeigt (Klammern, Markierung, Nummern) */
  --accent-text: #B64A00;     /* Schrift in Akzentfarbe auf Papier (≥ 4,5:1) */
  --ink: #111111;
  --ink-hover: #2B2B2F;
  --paper: #FAF9F6;
  --white: #FFFFFF;
  --sand: #F1EFEA;
  --line: #E2E0DA;
  --line-strong: #CFCCC4;
  --text-2: #3A3B40;
  --muted: #6B6C72;
  --quiet: #A09E98;           /* zweiter Teil großer Aussagen */
  --muted-on-ink: #A3A4AA;
  --success: #17774A;
  --success-mark: #1F9D5C;

  --container: 1184px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 20px;
  --strip-gap: clamp(64px, 7vw, 104px);   /* Abstand über und unter der Software-Leiste (gleich groß) */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --font: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='black' stroke-width='14' stroke-linecap='round'%3E%3Cpath d='M10 40 V26 A16 16 0 0 1 26 10 H40'/%3E%3Cpath d='M60 10 H74 A16 16 0 0 1 90 26 V40'/%3E%3Cpath d='M90 60 V74 A16 16 0 0 1 74 90 H60'/%3E%3Cpath d='M40 90 H26 A16 16 0 0 1 10 74 V60'/%3E%3C/g%3E%3C/svg%3E");
  /* Bildmarke auf der Spitze (45°, auf 84 % verkleinert) – Aufzählungszeichen wie Favicon und Startbereich */
  --mark-diamond: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg transform='translate(50 50) rotate(45) scale(.84) translate(-50 -50)'%3E%3Cg fill='none' stroke='black' stroke-width='16' stroke-linecap='round'%3E%3Cpath d='M10 40 V26 A16 16 0 0 1 26 10 H40'/%3E%3Cpath d='M60 10 H74 A16 16 0 0 1 90 26 V40'/%3E%3Cpath d='M90 60 V74 A16 16 0 0 1 74 90 H60'/%3E%3Cpath d='M40 90 H26 A16 16 0 0 1 10 74 V60'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
/* VORÜBERGEHEND AUSGEBLENDET – Farbtest (Varianten für <html data-accent>, Umschalter in index.html/main.js):
:root[data-accent="violett"] { --accent: #6E3FD8; --accent-text: #6E3FD8; }
:root[data-accent="gelb"] { --accent: #F0B800; --accent-text: #86620A; }
:root[data-accent="orchidee"] { --accent: #A82898; --accent-text: #A82898; }
.accent-switch { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); }
.accent-switch button { width: 22px; height: 22px; border: 0; border-radius: 50%; cursor: pointer; padding: 0; box-shadow: inset 0 0 0 2px var(--white); }
.accent-switch [data-accent-choice="gedeckt"] { background: #E65E00; }
.accent-switch [data-accent-choice="violett"] { background: #6E3FD8; }
.accent-switch [data-accent-choice="gelb"] { background: #F0B800; }
.accent-switch [data-accent-choice="orchidee"] { background: #A82898; }
.accent-switch button[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--white), 0 0 0 1.5px var(--ink); }
*/

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 450;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -0.03em; }
p { margin: 0; }
[hidden] { display: none !important; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--white);
  padding: 10px 16px; border-radius: 999px; text-decoration: none; font-weight: 700; }
.skip-link:focus { top: 12px; }

/* Fokus: Kontur in Akzentfarbe – wie die Klammern, die zeigen */
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }

/* ---------- Icons (Pfeile als Strich-Icons, keine Schriftzeichen) ---------- */
.i-arrow-ne, .i-arrow-e, .i-arrow-s { display: inline-block; width: 1em; height: 1em; vertical-align: -0.12em;
  background: currentColor; -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.i-arrow-ne { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M9 7h8v8'/%3E%3C/svg%3E"); }
.i-arrow-e { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h16M14 6l6 6-6 6'/%3E%3C/svg%3E"); }
.i-arrow-s { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v16M6 14l6 6 6-6'/%3E%3C/svg%3E"); }

/* ---------- Buttons & Links ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; border-radius: 999px; text-decoration: none;
  font-weight: 600; font-size: 16px; line-height: 1; padding: 15px 24px; white-space: nowrap;
  transition: background-color .2s, transform .2s var(--ease-out), box-shadow .2s; }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--ink-hover); }
.btn-paper { background: var(--paper); color: var(--ink); }
.btn-paper:hover { background: var(--white); }
.btn:active { transform: translateY(1px); }
.btn-lg { font-size: 18px; padding: 21px 30px; }
.btn .i-arrow-ne { transition: transform .25s var(--ease-out); }
.btn:hover .i-arrow-ne { transform: translate(2px, -2px); }

.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 18px;
  text-decoration: none; padding: 6px 0; border-bottom: 2px solid var(--ink); }
.link-arrow .i-arrow-e { transition: transform .25s var(--ease-out); }
.link-arrow:hover .i-arrow-e { transform: translateX(4px); }

/* ---------- Kopfzeile ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .25s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 104px;
  transition: height .25s var(--ease-out); }
.site-header.is-scrolled .header-inner { height: 76px; }
.logo { display: block; height: auto; color: var(--accent); }
.logo-header { width: 140px; }
.header-actions { display: flex; align-items: center; gap: 20px; }
.site-nav { display: flex; gap: 56px; }
.site-nav a { text-decoration: none; font-weight: 500; font-size: 16px; position: relative; padding: 6px 0; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease-out); }
.site-nav a:hover::after { transform: scaleX(1); }
.site-nav .nav-cta-mobile { display: none; }
.header-cta { padding: 16px 24px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: transparent; cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 20px; height: 2px; background: var(--ink);
  border-radius: 2px; margin: auto; position: relative; transition: transform .25s var(--ease-out), opacity .2s; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(20px, 3.4vw, 48px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: center; gap: 24px;
}
.hero-title { font-size: clamp(54px, 8.6vw, 124px); line-height: 0.93; letter-spacing: -0.052em; font-weight: 800; max-width: 8.6em; }
.hero-lead { margin-top: 40px; max-width: 500px; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.45; color: var(--text-2);
  font-weight: 450; letter-spacing: -0.005em; }
.hero-actions { margin-top: 44px; display: flex; align-items: center; gap: 36px; flex-wrap: wrap; }

.hero-mark { display: grid; place-items: center; color: var(--accent); }
.mark-hero { width: min(31vw, 440px); aspect-ratio: 1; transform: rotate(45deg); overflow: visible; }
.mark-hero .c { transform-box: view-box; transform-origin: 50px 50px; }
@media (prefers-reduced-motion: no-preference) {
  /* Die Ecken atmen: wie der Agent, der auf ein Ziel zeigt */
  .mark-hero .c { animation: breathe 3.6s cubic-bezier(.45, 0, .55, 1) infinite; }
  .mark-hero .c-tl { --dx: -2.6px; --dy: -2.6px; }
  .mark-hero .c-tr { --dx: 2.6px; --dy: -2.6px; }
  .mark-hero .c-br { --dx: 2.6px; --dy: 2.6px; }
  .mark-hero .c-bl { --dx: -2.6px; --dy: 2.6px; }
  .hero-title, .hero-lead, .hero-actions { animation: rise .9s var(--ease-out) both; }
  .hero-lead { animation-delay: .08s; }
  .hero-actions { animation-delay: .16s; }
  .mark-hero { animation: settle 1.1s cubic-bezier(.34, 1.4, .64, 1) both .1s; }
}
@keyframes breathe { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(var(--dx), var(--dy)); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { opacity: 0; transform: rotate(0deg) scale(.6); } to { opacity: 1; transform: rotate(45deg) scale(1); } }

.works-with { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 40px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: var(--strip-gap); padding: 18px 0; }
.eyebrow { font-size: 11.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.works-list { list-style: none; margin: 0; padding: 0 32px 0 0; display: flex; align-items: center; justify-content: space-between;
  gap: 20px 36px; flex-wrap: wrap; border-right: 1px solid var(--line); }
/* Produktnamen: nur Text in der eigenen Schrift, einheitlich grau */
.wm { font-size: 21px; font-weight: 700; letter-spacing: -0.03em; color: #8C8B86; line-height: 48px; white-space: nowrap; }
.works-more { font-size: 13px; line-height: 1.35; color: var(--muted); }
.works-more a { text-decoration: none; }
.works-more a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.scroll-down { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 999px; font-size: 20px; text-decoration: none; }
.scroll-down:hover { background: var(--sand); }
@media (prefers-reduced-motion: no-preference) {
  .scroll-down .i-arrow-s { animation: nudge 2.4s ease-in-out infinite; }
}
@keyframes nudge { 0%, 70%, 100% { transform: none; } 80% { transform: translateY(4px); } 90% { transform: none; } }

/* ---------- Abschnitte ---------- */
.section { padding: clamp(64px, 7vw, 104px) 0; }
#problem { padding-top: var(--strip-gap); }
.section-sand { background: var(--sand); }
.section-ink { background: var(--ink); color: var(--white); }

/* Kopf eines Abschnitts: Linie, Nummer in Orange, Bezeichnung – darunter die große Überschrift */
.sec-label { display: flex; align-items: baseline; gap: 14px;
  font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.sec-no { font-weight: 800; letter-spacing: .04em; color: var(--accent-text); font-variant-numeric: tabular-nums; }
.section-ink .sec-label { color: var(--muted-on-ink); }
.section-ink .sec-no { color: var(--accent); }
.section-title { margin-top: 22px; font-size: clamp(38px, 5.4vw, 76px); line-height: 1; letter-spacing: -0.05em; max-width: 13.5em;
  text-wrap: balance; }
.section-lead { margin-top: 28px; max-width: 620px; font-size: clamp(18px, 1.4vw, 20px); line-height: 1.5; color: var(--text-2); }
.section-ink .section-lead { color: var(--muted-on-ink); }

/* Ausgangslage: große Aussage, zweiter Teil leiser */
.section-title-wide { max-width: none; }
.points { list-style: none; margin: clamp(44px, 5vw, 64px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.mk { display: flex; gap: 12px; align-items: baseline; }
.mk::before { content: ""; flex: none; width: 15px; height: 15px; background: var(--accent); -webkit-mask: var(--mark-diamond) center / contain no-repeat;
  mask: var(--mark-diamond) center / contain no-repeat; transform: translateY(2px); }
.points h3 { font-size: 21px; line-height: 1.25; letter-spacing: -0.025em; }
.points p { margin-top: 10px; color: var(--text-2); max-width: 30em; padding-left: 27px; }

/* So funktioniert's */
.steps { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.step-no { display: block; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-text); }
.step h3 { margin-top: 10px; font-size: 22px; line-height: 1.2; letter-spacing: -0.025em; }
.step p { margin-top: 10px; color: var(--text-2); }

/* Live-Vorschau: frei erfundene Business-Anwendung (Design-Maß 1040 × 620, wird auf die Breite skaliert).
   Eigene, nüchterne Gestaltung wie echte Unternehmenssoftware – kein Somicus-Orange außer beim Agenten. */
.demo { margin: clamp(44px, 5vw, 64px) 0 0; }
.demo-stage { position: relative; width: 100%; aspect-ratio: 1040 / 620; }
.demo-scale { position: absolute; left: 0; top: 0; width: 1040px; height: 620px; transform-origin: 0 0; transform: scale(var(--s, 1)); }
.mock { --app: #1D5C74; --app-soft: #E8F1F4; --tx: #1F2328; --tx-2: #57606A; --tx-3: #8A929B; --bd: #E1E4E8; --bd-2: #D0D5DB;
  position: absolute; inset: 0; background: var(--white); border-radius: 12px; overflow: hidden; border: 1px solid #DCDAD4;
  box-shadow: 0 2px 4px rgba(17, 17, 17, .04), 0 40px 80px -40px rgba(17, 17, 17, .35);
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif; font-size: 12.5px; line-height: 1.3; color: var(--tx); font-weight: 400;
  display: grid; grid-template-rows: 44px 38px auto auto 1fr; }
.app-icons { position: absolute; }
.mock .ico { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round;
  stroke-linejoin: round; }

/* Kopfzeile der Anwendung */
.app-top { display: flex; align-items: center; gap: 14px; padding: 0 16px; background: #1F2933; color: #E6EAEE; }
.app-grid { width: 16px; height: 16px; opacity: .85; }
.app-org { font-weight: 600; font-size: 13px; letter-spacing: .01em; }
.app-search { margin-left: 28px; width: 300px; height: 28px; display: flex; align-items: center; gap: 8px; padding: 0 10px; border-radius: 6px;
  background: rgba(255, 255, 255, .1); color: #AEB6BF; }
.app-top-right { margin-left: auto; display: flex; align-items: center; gap: 16px; color: #C9D0D6; }
.app-user { width: 26px; height: 26px; border-radius: 50%; background: #3E6F86; color: #fff; display: grid; place-items: center; font-size: 11px;
  font-weight: 600; }

/* Bereichs-Navigation */
.app-nav { display: flex; align-items: stretch; gap: 4px; padding: 0 12px; border-bottom: 1px solid var(--bd); color: var(--tx-2); }
.app-nav span { display: flex; align-items: center; padding: 0 12px; font-weight: 500; border-bottom: 2px solid transparent; }
.app-nav .is-active { color: var(--tx); font-weight: 600; border-bottom-color: var(--app); }

/* Seitenkopf und Aktionsleiste */
.app-head { padding: 14px 20px 4px; }
.app-crumb { font-size: 11.5px; color: var(--tx-3); }
.app-title { margin-top: 3px; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; display: flex; align-items: center; gap: 10px; }
.app-actions { display: flex; align-items: center; gap: 2px; padding: 8px 14px 10px; border-bottom: 1px solid var(--bd); }
.mock-btn { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border-radius: 5px; color: var(--tx);
  font-weight: 500; transition: background-color .15s, transform .15s; }
.mock-btn .ico { color: var(--app); }
.mock-btn-icon { padding: 0 8px; }
.mock-btn.is-pressed { background: #E7EBEF; transform: translateY(1px); }
.app-sep { width: 1px; height: 18px; background: var(--bd-2); margin: 0 6px; }
.app-filter { margin-left: auto; width: 190px; height: 28px; display: flex; align-items: center; gap: 7px; padding: 0 10px; border: 1px solid var(--bd-2);
  border-radius: 5px; color: var(--tx-3); }

/* Inhalt: Liste bzw. Formular, rechts die Infobox */
.app-body { display: grid; grid-template-columns: 1fr 232px; min-height: 0; }
.app-main { padding: 12px 20px 0; min-width: 0; }
.app-chips { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; color: var(--tx-2); }
.app-chips span { padding: 4px 11px; border-radius: 999px; border: 1px solid var(--bd); font-size: 12px; }
.app-chips .is-on { background: var(--app-soft); border-color: transparent; color: var(--app); font-weight: 600; }
.app-chips .ico { margin-left: 4px; color: var(--tx-3); }
.mock-row { display: grid; grid-template-columns: 78px 1.5fr 1.05fr 1.05fr .85fr .95fr; align-items: center; height: 34px; padding: 0 10px;
  border-bottom: 1px solid #EEF0F2; white-space: nowrap; }
.mock-row span { overflow: hidden; text-overflow: ellipsis; }
.mock-row span:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.mock-row-head { height: 30px; color: var(--tx-3); font-size: 11.5px; font-weight: 600; border-bottom-color: var(--bd); }
.mock-row.is-selected { background: var(--app-soft); box-shadow: inset 2px 0 0 var(--app); }
.lnk { color: var(--app); font-weight: 500; }
.st { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 600; }
.st-open { background: #FFF3D6; color: #7A5300; }
.st-rel { background: #E2F3E8; color: #1E6B43; }
.st-part { background: #E4EDF7; color: #2D5B88; }

.app-tabs { display: flex; gap: 22px; border-bottom: 1px solid var(--bd); margin-bottom: 14px; color: var(--tx-2); }
.app-tabs span { padding: 2px 0 8px; border-bottom: 2px solid transparent; font-weight: 500; }
.app-tabs .is-active { color: var(--tx); font-weight: 600; border-bottom-color: var(--app); }
.app-fields { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; row-gap: 9px; }
.mock-field { display: grid; grid-template-columns: 112px 1fr; align-items: center; color: var(--tx-2); }
.mock-input { position: relative; height: 28px; display: flex; align-items: center; padding: 0 9px; border: 1px solid var(--bd-2); border-radius: 4px;
  color: var(--tx); background: var(--white); transition: background-color .3s; }
.mock-input.is-autofilled { background: var(--app-soft); }
.mock-caret { display: none; width: 1.5px; height: 15px; background: var(--tx); margin-left: 1px; }
.mock-input.is-typing .mock-caret { display: block; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.app-sub { margin: 16px 0 4px; font-size: 13px; font-weight: 600; }
.mock-lines .mock-row { grid-template-columns: 70px 80px 1.8fr .6fr .8fr .8fr; }
.mock-row.is-empty { color: var(--tx-3); }
.mock-cell { display: flex; align-items: center; height: 26px; margin-left: -8px; padding: 0 8px; border: 1px solid transparent;
  border-radius: 4px; }
.mock-cell em { font-style: normal; color: var(--tx-3); }
.mock-cell.is-typing { border-color: var(--bd-2); background: var(--white); }
.mock-cell.is-typing em, .mock-row:not(.is-empty) .mock-cell em { display: none; }
.mock-cell.is-typing .mock-caret { display: block; animation: blink 1s steps(1) infinite; }
.app-total { display: flex; justify-content: flex-end; gap: 24px; padding: 10px 10px 0; color: var(--tx-2); }
.app-total b { color: var(--tx); font-weight: 600; }
.mock-badge { font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 4px; background: #EEF0F2; color: var(--tx-2); }
.mock-badge.is-done { background: #E2F3E8; color: #1E6B43; }

.app-facts { border-left: 1px solid var(--bd); padding: 14px 16px; background: #FAFBFC; }
.facts-title { font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--tx-3); }
.facts-name { margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--app); min-height: 18px; }
.app-facts dl { margin: 10px 0 0; }
.app-facts dl div { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid #EEF0F2; }
.app-facts dt { color: var(--tx-2); }
.app-facts dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.facts-sub { margin-top: 18px; }
.facts-bars { margin-top: 10px; height: 64px; display: flex; align-items: flex-end; gap: 8px; }
.facts-bars i { flex: 1; height: calc(var(--h) * 100%); background: #A9C6D2; border-radius: 2px 2px 0 0; transition: height .5s var(--ease-out); }
.facts-bars i:last-child { background: var(--app); }

/* Somicus-Avatar unten rechts in der Anwendung */
.mock-avatar { position: absolute; right: 16px; bottom: 14px; display: flex; align-items: center; gap: 12px; font-family: var(--font); }
/* Avatar: nur die Bildmarke, keine Fläche (wie in der App) */
.avatar-tile { position: relative; width: 50px; height: 50px; border-radius: 50%; background: transparent; display: grid;
  place-items: center; color: var(--accent); }
.avatar-mark { width: 32px; height: 32px; transition: opacity .2s; }
.avatar-dot { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); opacity: 0; transition: opacity .2s; }
.mock-avatar.is-away .avatar-mark { opacity: 0; }
.mock-avatar.is-away .avatar-dot { opacity: 1; }
.mock-avatar.is-done .avatar-tile { color: var(--success-mark); }
.mock-avatar.is-done .avatar-dot { background: var(--success-mark); }
.mock-avatar.is-thinking .avatar-mark { animation: quarter 1.7s infinite; }
@keyframes quarter {
  0% { transform: rotate(0deg); animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  50% { transform: rotate(90deg); animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  100% { transform: rotate(180deg); }
}
.mock-ask { max-width: 260px; background: var(--white); border: 1px solid var(--line); border-radius: 14px 14px 4px 14px; padding: 9px 13px;
  font-size: 13px; font-weight: 600; color: var(--ink); box-shadow: 0 10px 24px -14px rgba(17, 17, 17, .35); opacity: 0;
  transform: translateY(6px); transition: opacity .25s, transform .3s var(--ease-out); }
.mock-ask.is-visible { opacity: 1; transform: none; }

/* Agent (SVG über der Vorschau) */
.agent-layer { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.agent-halo { fill: none; stroke: rgba(250, 249, 246, .82); stroke-linecap: round; stroke-linejoin: round; }
.agent-stroke, .agent-ghost { fill: none; stroke: var(--accent); stroke-linecap: round; stroke-linejoin: round; }
.agent-fill { fill: var(--accent); opacity: 0; }
.agent-layer.is-done .agent-stroke, .agent-layer.is-green .agent-stroke { stroke: var(--success-mark); }
.agent-check { fill: none; stroke: var(--success-mark); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.agent-layer.is-done .agent-fill { fill: var(--success-mark); }

/* Hinweis am Agenten: Tinte-Karte wie in der App */
.tip { position: absolute; left: 0; top: 0; max-width: 300px; background: rgba(17, 17, 17, .96); color: var(--white); border-radius: 12px;
  padding: 11px 15px 12px; box-shadow: 0 14px 30px -12px rgba(17, 17, 17, .55); opacity: 0; transform: translateY(4px);
  transition: opacity .22s, transform .3s var(--ease-out); pointer-events: none; }
.tip.is-visible { opacity: 1; transform: none; }
.tip-label { display: flex; align-items: center; gap: 7px; font-size: 9.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); }
.tip-label svg { width: 10px; height: 10px; }
.tip.is-done .tip-label { color: #3DD68C; }
.tip-text { display: block; margin-top: 5px; font-size: 13px; line-height: 1.4; font-weight: 500; }
.tip-next { display: none; margin: 10px 0 -2px auto; width: max-content; background: var(--paper); color: var(--ink); border-radius: 999px;
  padding: 6px 13px; font-size: 12px; font-weight: 700; transition: background-color .15s, transform .15s; }
.tip.has-next .tip-next { display: block; }
.tip-next.is-pressed { background: var(--white); box-shadow: 0 0 0 2px var(--accent); transform: translateY(1px); }

/* Mauszeiger der Person (sie klickt selbst) */
.pointer { position: absolute; left: 0; top: 0; width: 22px; height: 22px; opacity: 0; transition: opacity .25s; pointer-events: none;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .25)); }
.pointer.is-visible { opacity: 1; }

.demo-stage { cursor: pointer; border-radius: 12px; }
.demo-stage:focus-visible { outline-offset: 6px; border-radius: 14px; }
/* Bedienknopf: beim Überfahren klein oben rechts (Pause), angehalten groß in der Mitte (Abspielen) */
.demo-toggle { position: absolute; right: 14px; top: 58px; width: 40px; height: 40px; border-radius: 50%; background: rgba(17, 17, 17, .78);
  color: var(--white); display: grid; place-items: center; opacity: 0; transform: scale(.92); pointer-events: none;
  transition: opacity .2s, transform .25s var(--ease-out); }
.demo-toggle i { grid-area: 1 / 1; width: 14px; height: 14px; background: currentColor; }
.demo-toggle .ic-pause { -webkit-mask: linear-gradient(90deg, #000 0 35%, transparent 35% 65%, #000 65%); mask: linear-gradient(90deg, #000 0 35%, transparent 35% 65%, #000 65%); }
.demo-toggle .ic-play { display: none; clip-path: polygon(18% 6%, 18% 94%, 92% 50%); width: 18px; height: 18px; margin-left: 3px; }
.demo-stage:hover .demo-toggle, .demo-stage:focus-visible .demo-toggle { opacity: 1; transform: none; }
.demo-stage.is-paused .demo-toggle { opacity: 1; transform: translate(-50%, -50%); left: 50%; top: 50%; right: auto; width: 72px; height: 72px; }
.demo-stage.is-paused .ic-pause { display: none; }
.demo-stage.is-paused .ic-play { display: block; }

/* Der Unterschied: Vergleich, die Somicus-Spalte von den Klammern eingerahmt */
.cmp { position: relative; margin-top: clamp(44px, 5vw, 64px); display: grid;
  grid-template-columns: minmax(0, 1.7fr) repeat(4, minmax(0, 1fr)); }
.cmp-row { display: contents; }
.cmp-row > span { display: flex; align-items: center; justify-content: center; padding: 16px 12px; text-align: center; }
.cmp-row > .cmp-crit { justify-content: flex-start; text-align: left; padding-left: 0; font-weight: 600; font-size: 17px; line-height: 1.35; }
.cmp-head > span { padding-top: 0; padding-bottom: 12px; font-size: 14px; font-weight: 600; color: var(--muted); line-height: 1.3; }
.cmp-head > .cmp-us { font-size: 18px; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.cmp i, .cmp-legend i { display: inline-block; flex: none; width: 22px; height: 22px; }
.cmp i.yes, .cmp-legend i.yes { background: var(--ink); -webkit-mask: var(--check) center / contain no-repeat; mask: var(--check) center / contain no-repeat; }
.cmp .cmp-us i.yes { background: var(--accent); width: 26px; height: 26px; }
.cmp i.no, .cmp-legend i.no { width: 14px; height: 2px; background: var(--line-strong); border-radius: 2px; }
.cmp i.part, .cmp-legend i.part { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--muted);
  background: linear-gradient(90deg, var(--muted) 50%, transparent 50%); }
/* absolut positioniert: nimmt den Bereich der Spalte ein, ohne die übrigen Zellen zu verschieben */
.cmp-frame { position: absolute; grid-column: 5; grid-row: 1 / span 7; inset: -16px 4px -12px; pointer-events: none; }
.cmp-frame i { position: absolute; width: 26px; height: 26px; border: 0 solid var(--accent); }
.cmp-frame i:nth-child(1) { left: 0; top: 0; border-width: 3px 0 0 3px; border-top-left-radius: 12px; }
.cmp-frame i:nth-child(2) { right: 0; top: 0; border-width: 3px 3px 0 0; border-top-right-radius: 12px; }
.cmp-frame i:nth-child(3) { right: 0; bottom: 0; border-width: 0 3px 3px 0; border-bottom-right-radius: 12px; }
.cmp-frame i:nth-child(4) { left: 0; bottom: 0; border-width: 0 0 3px 3px; border-bottom-left-radius: 12px; }
.cmp-legend { display: flex; gap: 24px; margin-top: 20px; font-size: 14px; color: var(--muted); }
.cmp-legend span { display: inline-flex; align-items: center; gap: 8px; }
.cmp-legend i.yes { width: 16px; height: 16px; background: var(--muted); }

/* Einsatz */
.cases { margin-top: clamp(44px, 5vw, 64px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.case-tag { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-text); }
.case-tag::before { content: ""; width: 15px; height: 15px; background: var(--accent); -webkit-mask: var(--mark-diamond) center / contain no-repeat;
  mask: var(--mark-diamond) center / contain no-repeat; }
.case h3 { margin-top: 14px; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.12; letter-spacing: -0.035em; }
.case p { margin-top: 14px; color: var(--text-2); }


/* Sicherheit */
.trust { list-style: none; margin: clamp(44px, 5vw, 64px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 40px; }
.trust h3 { font-size: 20px; line-height: 1.25; letter-spacing: -0.02em; display: flex; gap: 12px; align-items: baseline; }
.trust h3::before { content: ""; flex: none; width: 14px; height: 14px; background: var(--accent); -webkit-mask: var(--mark-diamond) center / contain no-repeat;
  mask: var(--mark-diamond) center / contain no-repeat; transform: translateY(2px); }
.trust p { margin-top: 10px; color: var(--muted-on-ink); padding-left: 26px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.faq-grid .sec-head { position: sticky; top: 110px; }
.faq { margin-top: 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child summary { padding-top: 0; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 20px 0; font-size: 19px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; background:
  linear-gradient(var(--ink), var(--ink)) center / 14px 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2px 14px no-repeat;
  transition: transform .25s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--accent-text); }
.faq details p { padding: 0 48px 26px 0; color: var(--text-2); max-width: 40em; }

/* Kontakt */
/* Kontakt */
.section-cta { padding-top: 0; }
.cta { background: var(--ink); color: var(--white); border-radius: 28px; padding: clamp(36px, 5vw, 64px);
  display: flex; align-items: center; justify-content: space-between; gap: 32px; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; right: -60px; bottom: -90px; width: 300px; height: 300px; background: var(--accent); opacity: .14;
  -webkit-mask: var(--mark) center / contain no-repeat; mask: var(--mark) center / contain no-repeat; transform: rotate(45deg); pointer-events: none; }
.cta-title { font-size: clamp(32px, 4vw, 52px); line-height: 1.02; letter-spacing: -0.045em; }
.cta p { margin-top: 12px; color: var(--muted-on-ink); font-size: 18px; }
.cta .btn { position: relative; z-index: 1; }

/* Fußzeile */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: 14px; }
.footer-inner { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.footer-inner nav { display: flex; gap: 24px; margin-left: auto; }
.footer-inner a { text-decoration: none; }
.footer-inner a:hover { color: var(--ink); }
.footer-legal { flex-basis: 100%; font-size: 12.5px; color: var(--muted); margin-top: -12px; }

/* Erscheinen beim Scrollen (nur mit Bewegung; ohne JS bleibt alles sichtbar) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease-out), transform .9s var(--ease-out); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}

/* ---------- Responsiv ---------- */
@media (max-width: 1100px) {
  .site-nav { gap: 32px; }
  .works-with { grid-template-columns: 1fr auto; }
  .works-with .eyebrow { grid-column: 1 / -1; }
  .trust { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
  .header-inner { height: 76px; }
  .header-cta { display: none; }
  .nav-toggle { display: block; }
  .site-nav { position: fixed; inset: 76px 0 auto 0; flex-direction: column; gap: 0; background: var(--paper); padding: 8px var(--gutter) 24px;
    border-bottom: 1px solid var(--line); transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .25s var(--ease-out), visibility .2s; }
  .site-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .site-nav a { font-size: 20px; font-weight: 600; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav a::after { display: none; }
  .site-nav .nav-cta-mobile { display: inline-flex; margin-top: 20px; justify-content: center; border-bottom: 0; color: var(--white); font-size: 17px; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; padding-top: 8px; }
  .hero-mark { position: absolute; right: -90px; top: 40px; opacity: .14; z-index: -1; }
  .mark-hero { width: 320px; }
  .hero { isolation: isolate; overflow: hidden; }
  .points, .steps, .cases { grid-template-columns: 1fr; gap: 32px; }
  .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .faq-grid .sec-head { position: static; }
  .cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 720px) {
  /* Vergleich: Kriterium über die ganze Breite, darunter die vier Bewertungen mit Kurzbezeichnung */
  .cmp { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cmp-head, .cmp-frame { display: none !important; }
  .cmp-row > .cmp-crit { grid-column: 1 / -1; padding: 22px 0 8px; font-size: 16px; }
  .cmp-row > span:not(.cmp-crit) { border-top: 0; flex-direction: column; gap: 8px; padding: 8px 4px 22px; }
  .cmp-row > span[data-label]::before { content: attr(data-label); font-size: 11px; font-weight: 600; color: var(--muted); }
  .cmp-row > .cmp-us[data-label]::before { color: var(--accent-text); font-weight: 800; }
  .cmp-row:last-of-type > span { border-bottom: 0; }
  .cmp-row:last-of-type > span:not(.cmp-crit) { border-bottom: 1px solid var(--line); }
  .cmp i { height: 20px; }
  .cmp i.no { height: 2px; margin: 9px 0; }
  .cmp i.part { height: 14px; margin: 3px 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .header-actions { gap: 8px; }
  .logo-header { width: 118px; }
  .hero-lead { margin-top: 28px; }
  .hero-actions { gap: 24px; margin-top: 32px; }
  .btn-lg { font-size: 17px; padding: 18px 26px; }
  .works-with { grid-template-columns: 1fr; gap: 16px; }
  .works-list { display: grid; grid-template-columns: auto auto; justify-content: start; gap: 2px 32px; border-right: 0; padding-right: 0; }
  .wm { font-size: 19px; line-height: 40px; }
  .works-more { grid-column: 1 / -1; margin-top: 8px; }
  .works-more br { display: none; }
  .scroll-down { display: none; }
  .trust { grid-template-columns: 1fr; }
  .section-title { margin-top: 28px; }
  .faq summary { font-size: 17px; }
  .faq details p { padding-right: 0; }

  .footer-inner nav { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* ---------- Rechtliche Seiten (Impressum, Datenschutz) ---------- */
.link-back { font-size: 16px; border-bottom-width: 1.5px; }
.link-back .i-arrow-e { transform: rotate(180deg); }
.link-back:hover .i-arrow-e { transform: rotate(180deg) translateX(4px); }
.legal { max-width: 760px; padding: clamp(56px, 8vw, 104px) 0 clamp(80px, 10vw, 128px); }
.legal h1 { margin-top: 32px; font-size: clamp(40px, 6vw, 72px); line-height: 1; letter-spacing: -0.05em; }
.legal h2 { margin-top: 44px; font-size: 20px; letter-spacing: -0.02em; }
.legal p { margin-top: 12px; color: var(--text-2); }
.legal .legal-lead { margin-top: 28px; font-size: 19px; }
.legal a { text-underline-offset: 3px; }
.legal-date { margin-top: 48px !important; color: var(--muted) !important; font-size: 14px; }
