/* Beckon Billing landing page — "Onyx Ink" (cool onyx, gold as the only accent)
   Tokens mirror the product theme (beckonbilling-portal/web/src/assets/main.css). */

:root {
  --bg: #090a0d;
  --bg-elev: #0f1116;
  --surface: #14161d;
  --surface-2: #1a1d26;
  --line: rgba(236, 187, 84, 0.14);
  --line-strong: rgba(236, 187, 84, 0.32);
  --gold: #ecbb54;
  --gold-bright: #ffd47a;
  --gold-deep: #c99a34;
  --gold-glow: rgba(236, 187, 84, 0.3);
  --alert: #e56a63;
  --on-gold: #0d1016;
  --ink: #e9edf3;
  --muted: #939cad;
  --font-display: 'Archivo', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.container {
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* ---------- shared type ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow::before {
  content: '';
  width: 30px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
}

/* "coming soon" tag appended to an eyebrow (e.g. the app section) */
.eyebrow-soon {
  color: var(--gold-bright);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0;
}

h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.12;
  max-width: 24ch;
  text-wrap: balance;
}

section {
  padding-block: clamp(4rem, 9vw, 7.5rem);
}

/* gradient hairline — the product's top-bar signature, used as the page's thread */
.problem,
.solution,
.breadth,
.how,
.mcp,
.app-teaser,
.faq {
  position: relative;
}

/* .phone::after is a decorative glow inset -30% either side; on a 375px screen it
   reached x=399 and was the last 24px of horizontal page scroll. Clip the bleed at
   the section edge - `clip` rather than `hidden` so no scroll container is created. */
.app-teaser {
  overflow-x: clip;
}

.problem::before,
.solution::before,
.breadth::before,
.how::before,
.mcp::before,
.app-teaser::before,
.faq::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1160px, calc(100% - 3rem));
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(236, 187, 84, 0.4), rgba(201, 154, 52, 0.3), transparent);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-radius: 10px;
  padding: 0.85rem 1.6rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.btn-primary {
  color: var(--on-gold);
  background: linear-gradient(180deg, var(--gold-bright), var(--gold-deep));
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 236, 0.5),
    0 1px 0 rgba(0, 0, 0, 0.4),
    0 10px 30px rgba(201, 154, 52, 0.18);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 236, 0.5),
    0 1px 0 rgba(0, 0, 0, 0.4),
    0 14px 38px rgba(201, 154, 52, 0.32);
}

.btn-ghost {
  color: var(--ink);
  border: 1px solid var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--gold);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 1rem 2.1rem;
  font-size: 1.02rem;
}

.btn-sm {
  padding: 0.55rem 1.05rem;
  font-size: 0.85rem;
  border-radius: 8px;
}

/* ---------- Open Beta announcement bar ---------- */

.beta-topbar {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1rem;
  text-align: center;
  background: linear-gradient(90deg, rgba(236, 187, 84, 0.12), rgba(201, 154, 52, 0.06));
  border-bottom: 1px solid var(--line-strong);
  font-size: 0.83rem;
  line-height: 1.85;
  color: var(--ink);
}

.beta-msg {
  max-width: 92ch;
}

/* star + label stay glued and never wrap apart. Plain inline (not inline-flex)
   so "Open Beta" keeps the same text baseline as the rest of the bar - an
   inline-flex box led by an SVG baseline-aligns by its bottom edge and rides
   high. The star is centered to the text with vertical-align. */
.beta-lead {
  white-space: nowrap;
}

.beta-spark {
  width: 13px;
  height: 13px;
  margin-right: 0.4rem;
  vertical-align: -0.18em;
  color: var(--gold-bright);
}

.beta-topbar .beta-k {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.beta-sep {
  margin: 0 0.45rem;
  color: var(--muted);
}

.beta-promo {
  white-space: nowrap;
}

.beta-code {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-left: 0.2rem;
  color: var(--gold-bright);
  background: rgba(236, 187, 84, 0.12);
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  padding: 0.08rem 0.4rem;
}

/* ---------- header ---------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(9, 10, 13, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-head::after {
  content: '';
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(236, 187, 84, 0.5), rgba(201, 154, 52, 0.4), transparent);
}

.head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.8rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  filter: drop-shadow(0 0 14px rgba(236, 187, 84, 0.28));
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.02;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold);
}

/* ---------- Beckon Access cross-promote sibling (restored 2026-07-25) ---------- */

.brand-divider {
  width: 1px;
  height: 24px;
  background: var(--line-strong);
}

.brand-sibling {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  opacity: 0.38;
  filter: grayscale(1);
  transition: opacity 0.2s ease, filter 0.2s ease;
}

/* muted state: plain flat gray label - no gradient, no decoration artifacts */
.brand-sibling .wordmark {
  background: none;
  -webkit-text-fill-color: currentColor;
  color: #8a8496;
}

.brand-sibling:hover,
.brand-sibling:focus-visible {
  opacity: 0.95;
  filter: grayscale(0) drop-shadow(0 0 12px rgba(176, 124, 214, 0.3));
  text-decoration: none;
}

/* highlighted: Access' original violet, exactly like its own header wordmark */
.brand-sibling:hover .wordmark,
.brand-sibling:focus-visible .wordmark {
  background: linear-gradient(180deg, #d0a8ec, #7b4397);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #b07cd6;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-links .btn-primary {
  color: var(--on-gold);
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px 8px;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  cursor: pointer;
}

.burger-bar {
  width: 18px;
  height: 2px;
  background: var(--gold);
}

/* Language switcher widget: a square button the size of the burger (36x31) that
   shows the CURRENT language. Two placements share this style - one in the desktop
   nav where the old text switch sat (.lang-widget-desk), one top-right on mobile
   (.lang-widget-mob) - each shown only at its breakpoint. Scoped under .nav so it
   wins over the muted `.nav-links a` colour when it sits inside nav-links. */
.nav .lang-widget {
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 31px;
  box-sizing: border-box;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
}

.nav .lang-widget:hover,
.nav .lang-widget:active {
  color: var(--gold-bright);
  border-color: var(--gold);
}

.lang-widget-desk {
  display: inline-flex;
}

.lang-widget-mob {
  display: none;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding-top: clamp(4rem, 8vw, 6.5rem);
  padding-bottom: 0;
  text-align: center;
  overflow: hidden;
}

.hero .eyebrow {
  justify-content: center;
}

.hero .eyebrow::after {
  content: '';
  width: 30px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold));
}

.hero h1 {
  margin-inline: auto;
  max-width: 17ch;
  font-size: clamp(2.4rem, 6vw, 4.3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.04;
  text-wrap: balance;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold);
}

.hero-sub {
  margin: 1.4rem auto 0;
  max-width: 62ch;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--muted);
}

.cta-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.2rem;
}

/* The secondary "Jetzt anmelden" CTA is desktop-only - on mobile the primary
   CTA stands alone (login is reachable via the header language-row / burger). */
@media (max-width: 760px) {
  .cta-secondary {
    display: none;
  }
}

.microtrust {
  margin: 1rem 0 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* hero stage: screenshot + floating company switcher */

.stage {
  position: relative;
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
}

.stage::before {
  content: '';
  position: absolute;
  inset: auto -10% -12% -10%;
  height: 55%;
  background: radial-gradient(55% 90% at 50% 100%, var(--gold-glow), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}

.browser {
  position: relative;
  margin: 0;
  background: var(--bg-elev);
  border: 1px solid rgba(236, 187, 84, 0.18);
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255, 212, 122, 0.12) inset,
    0 30px 90px rgba(0, 0, 0, 0.6);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #111318;
  border-bottom: 1px solid rgba(236, 187, 84, 0.12);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-ember { background: var(--alert); }
.dot-gold { background: var(--gold); }
.dot-dim { background: #313846; }

.browser img {
  display: block;
  width: 100%;
}

.switcher {
  position: absolute;
  top: 52px;
  right: -26px;
  width: 272px;
  padding: 0.65rem;
  text-align: left;
  background: rgba(15, 17, 22, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), 0 0 40px rgba(236, 187, 84, 0.08);
}

.switcher-label {
  margin: 0.2rem 0 0.5rem;
  padding-inline: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.co {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0.55rem;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease;
}

.co-avatar {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: all 0.35s ease;
}

.co-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.co-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.co-meta {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--muted);
}

.co-check {
  margin-left: auto;
  font-family: var(--font-mono);
  color: var(--gold);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.co.active {
  background: var(--surface-2);
  border-color: rgba(236, 187, 84, 0.35);
  box-shadow: inset 2px 0 0 var(--gold);
}

.co.active .co-avatar {
  color: var(--on-gold);
  background: linear-gradient(180deg, var(--gold-bright), var(--gold-deep));
  border-color: transparent;
}

.co.active .co-check {
  opacity: 1;
}

/* ---------- problem: the ledger ---------- */

.problem h2 {
  margin-bottom: 2.5rem;
}

.entry {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 1.5rem 2rem;
  align-items: baseline;
  padding-block: 2rem;
  border-bottom: 1px solid var(--line);
}

/* Dividers sit only between entries - no line above the first or below the last. */
.entry:last-child {
  border-bottom: none;
}

.entry-no {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--gold);
}

.entry-no::before {
  content: '№ ';
  color: var(--muted);
}

.entry-body h3 {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.entry-body p {
  margin: 0.5rem 0 0;
  max-width: 58ch;
  color: var(--muted);
  font-size: 0.97rem;
}

.entry-tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--alert);
  white-space: nowrap;
}

/* ---------- solution: feature rows ---------- */

.solution .lead {
  margin: 1.2rem 0 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.feature {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-top: clamp(3rem, 6vw, 4.5rem);
}

.feature-flip .feature-text {
  order: 2;
}

.kicker {
  margin: 0 0 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.feature-text h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  max-width: 20ch;
}

.feature-text p {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 48ch;
}

.browser-mini .browser-bar {
  padding: 7px 12px;
}

.browser-mini {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* ---------- breadth: beyond invoices ---------- */

.breadth-head {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.breadth .lead {
  margin: 1.2rem 0 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.breadth-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem 2.5rem;
  margin-top: clamp(2.2rem, 5vw, 3.2rem);
}

.breadth-cell {
  border-top: 1px solid var(--line-strong);
  padding-top: 1rem;
}

/* Dividers sit above every cell except the topmost row. The grid reflows
   3 -> 2 -> 1 columns (see the 960px/760px queries), so which cells form the
   first row changes; those queries restore the border on cells that drop to
   row 2. */
.breadth-cell:nth-child(-n + 3) {
  border-top: none;
  padding-top: 0;
}

.breadth-cell h3 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.breadth-cell p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 34ch;
}

/* ---------- metrics ---------- */

.metrics {
  background: linear-gradient(180deg, #0e0f14, #0b0c10);
  border-block: 1px solid var(--line);
}

.metrics h2 {
  margin-bottom: 2.5rem;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.metric {
  padding: 0.4rem 0 0.4rem 1.4rem;
  border-left: 1px solid var(--line-strong);
}

.metric-figure {
  display: block;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(2.1rem, 3.8vw, 3rem);
  line-height: 1.1;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold);
}

.metric-label {
  display: block;
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 26ch;
}

/* ---------- how it works ---------- */

.how h2 {
  margin-bottom: 3.4rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.step {
  border-top: 1px solid var(--line-strong);
  padding-top: 1.5rem;
}

/* No divider above the first row. The step number normally straddles that line
   (negative margin + bg cutout); with no line it sits flush at the top instead.
   The grid collapses 3 -> 1 column at 960px, so steps 2/3 regain their divider
   there. */
.step:nth-child(-n + 3) {
  border-top: none;
  padding-top: 0;
}

.step:nth-child(-n + 3) .step-no {
  margin-top: 0;
}

.step-no {
  display: inline-block;
  margin-top: -2.32rem;
  padding-right: 0.8rem;
  background: var(--bg);
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--gold);
}

.step h3 {
  font-size: 1.15rem;
  font-weight: 700;
}

.step p {
  margin: 0.6rem 0 0;
  color: var(--muted);
  font-size: 0.93rem;
}

/* ---------- app teaser ---------- */

.app-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.app-body {
  margin: 1.2rem 0 0;
  max-width: 48ch;
  color: var(--muted);
  font-size: 1rem;
}

.app-platforms {
  margin: 1.6rem 0 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.phone {
  position: relative;
  width: 264px;
  justify-self: center;
  padding: 11px;
  border-radius: 46px;
  background: linear-gradient(180deg, #12141a, #0d0e12);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

/* dynamic-island notch, floating over the top of the screen */
.phone-island {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 82px;
  height: 24px;
  border-radius: 13px;
  background: #040507;
  z-index: 2;
  pointer-events: none;
}

.phone::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg, rgba(255, 212, 122, 0.6), rgba(201, 154, 52, 0.35), rgba(255, 212, 122, 0.15));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.phone::after {
  content: '';
  position: absolute;
  inset: auto -30% -18% -30%;
  height: 40%;
  background: radial-gradient(50% 80% at 50% 100%, var(--gold-glow), transparent 70%);
  filter: blur(26px);
  pointer-events: none;
  z-index: -1;
}

.phone-screen {
  position: relative;
  min-height: 468px;
  background: #0c0d11;
  border-radius: 36px;
  padding: 0.85rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

/* status bar: time left, system icons right, island floats in the gap */
.phone-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 24px;
  padding: 0 0.35rem;
  font-family: var(--font-mono);
}

.phone-time {
  font-size: 0.66rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.phone-sys {
  display: flex;
  align-items: center;
  gap: 4px;
}

.phone-sys .ic-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--muted);
}

.phone-sys .ic-dot:nth-child(1) { opacity: 0.5; }
.phone-sys .ic-dot:nth-child(2) { opacity: 0.75; }

.phone-sys .ic-batt {
  position: relative;
  width: 18px;
  height: 9px;
  margin-left: 3px;
  border: 1px solid var(--muted);
  border-radius: 2px;
}

.phone-sys .ic-batt::before {
  content: '';
  position: absolute;
  inset: 1.5px;
  width: 62%;
  border-radius: 1px;
  background: var(--gold);
}

.phone-sys .ic-batt::after {
  content: '';
  position: absolute;
  top: 2.5px;
  right: -2.5px;
  width: 1.5px;
  height: 4px;
  border-radius: 0 1px 1px 0;
  background: var(--muted);
}

.phone-top {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--line);
}

.phone-section {
  margin: 0.2rem 0 -0.1rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* home indicator, pinned to the bottom safe area */
.phone-home {
  margin-top: auto;
  align-self: center;
  width: 108px;
  height: 4px;
  border-radius: 2px;
  background: rgba(236, 239, 243, 0.4);
}

.phone-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.phone-kpi {
  padding: 0.9rem 0.85rem;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.phone-kpi-value {
  display: block;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1.45rem;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold);
}

.phone-kpi-label {
  display: block;
  margin-top: 0.3rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.phone-notif {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 0.7rem;
  border-radius: 12px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  font-size: 0.72rem;
  color: var(--ink);
}

.notif-icon {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex: none;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.notif-ok {
  color: #6fb98a;
  background: rgba(111, 185, 138, 0.12);
}

.notif-gold {
  color: var(--gold);
  background: rgba(236, 187, 84, 0.12);
}

.notif-sent {
  color: var(--muted);
  background: rgba(147, 156, 173, 0.12);
}

/* ---------- MCP / AI connector ---------- */

.mcp-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.mcp-points {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.mcp-points li {
  position: relative;
  padding-left: 1.7rem;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.45;
}

.mcp-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold-deep));
}

.mcp-chat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.15rem 1.15rem 1.25rem;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
}

.mcp-chat-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding-bottom: 0.9rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.mcp-spark {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--gold-bright);
}

.mcp-chat-head span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.mcp-ask {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  color: var(--ink);
  font-size: 0.93rem;
  line-height: 1.5;
}

.mcp-cap {
  margin: 0.95rem 0 0.6rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.mcp-doc {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1.1rem;
}

.mcp-doc-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.mcp-doc-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
}

.mcp-doc-sub {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.72rem;
}

.mcp-chip {
  flex: none;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-bright);
  background: rgba(236, 187, 84, 0.12);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.28rem 0.6rem;
}

.mcp-meta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.6rem 1rem;
  margin: 0.95rem 0;
}

.mcp-meta .lbl {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.mcp-meta .lbl-gap {
  margin-top: 0.5rem;
}

.mcp-meta .val {
  font-size: 0.82rem;
  color: var(--ink);
  line-height: 1.45;
}

.mcp-meta .r {
  text-align: right;
}

.mcp-pos {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--ink);
}

.mcp-pos .q {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.mcp-tot {
  border-top: 1px solid var(--line);
  margin-top: 0.35rem;
  padding-top: 0.6rem;
  display: grid;
  gap: 0.3rem;
}

.mcp-tot div {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.mcp-tot .grand {
  color: var(--ink);
  font-weight: 700;
  font-size: 0.98rem;
}

.mcp-tot .grand b {
  color: var(--gold-bright);
  font-weight: 800;
}

.mcp-reply {
  margin: 1rem 0 0;
  color: var(--ink);
  font-size: 0.88rem;
  line-height: 1.55;
}

.mcp-reply span {
  color: var(--gold-bright);
}

/* ---------- pricing ---------- */

.price-card {
  position: relative;
  max-width: 760px;
  margin-inline: auto;
  padding: clamp(2rem, 5vw, 3.2rem);
  border-radius: 20px;
  background: linear-gradient(180deg, #12141a, #0d0e12);
  text-align: center;
}

.price-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 212, 122, 0.65), rgba(201, 154, 52, 0.35), rgba(255, 212, 122, 0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.price-card .eyebrow {
  justify-content: center;
}

.price-card .eyebrow::after {
  content: '';
  width: 30px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold));
}

.price-card h2 {
  margin-inline: auto;
}

.price {
  margin: 1.8rem 0 0;
}

.price-figure {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(3rem, 7vw, 4.4rem);
  line-height: 1;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold);
}

.price-unit {
  display: block;
  margin-top: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.includes-label {
  margin: 2.2rem 0 1rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.includes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem 2rem;
  margin: 0 auto;
  padding: 0;
  max-width: 620px;
  list-style: none;
  text-align: left;
}

.includes li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.92rem;
  color: var(--ink);
}

.includes li::before {
  content: '✓';
  position: absolute;
  left: 0;
  font-family: var(--font-mono);
  color: var(--gold);
}

.risk-line {
  margin: 2.2rem 0 1.4rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--gold-bright);
}

/* ---------- faq ---------- */

.faq h2 {
  margin-bottom: 2rem;
}

.faq-list {
  max-width: 800px;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

/* Dividers between items only - no trailing line under the last question. */
.faq-list details:last-child {
  border-bottom: none;
}

.faq-list summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.3rem 0;
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: '+';
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--gold);
  flex: none;
}

.faq-list details[open] summary::after {
  content: '−';
}

.faq-list details p {
  margin: 0;
  padding: 0 3rem 1.5rem 0;
  max-width: 68ch;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- final cta ---------- */

.final {
  position: relative;
  text-align: center;
  overflow: hidden;
}

.final::before {
  content: '';
  position: absolute;
  inset: auto -20% -50% -20%;
  height: 90%;
  background: radial-gradient(50% 70% at 50% 100%, var(--gold-glow), transparent 70%);
  filter: blur(28px);
  pointer-events: none;
}

.final h2 {
  margin-inline: auto;
  font-size: clamp(2rem, 4.5vw, 3rem);
}

.final p {
  margin: 1.2rem auto 0;
  max-width: 56ch;
  color: var(--muted);
}

/* ---------- legal pages (Impressum) ---------- */

.legal {
  padding-block: clamp(3rem, 7vw, 5rem) clamp(4rem, 9vw, 7rem);
  min-height: 55vh;
}

.legal h1 {
  font-size: clamp(1.9rem, 3.8vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -0.015em;
}

.legal-intro {
  /* generous bottom margin: clear break before the first block */
  margin: 1rem 0 3.4rem;
  color: var(--muted);
  max-width: 62ch;
}

.legal-block {
  /* .legal-block is a <section>: cancel the global section padding */
  padding-block: 0;
  margin-top: 2rem;
  max-width: 62ch;
}

.legal-block h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  max-width: none;
}

.legal-block p {
  margin: 0;
  color: var(--ink);
  line-height: 1.7;
}

.legal-block ul {
  margin: 0.6rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.legal-block a {
  color: var(--gold);
}

.legal-odr {
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

/* ---------- footer ---------- */

.site-foot {
  border-top: 1px solid var(--line);
  padding-block: 2.5rem;
}

.foot-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.foot-tagline {
  margin: 0.7rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 34ch;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
}

.foot-links a {
  font-size: 0.88rem;
  color: var(--muted);
  text-decoration: none;
}

.foot-links a:hover {
  color: var(--ink);
}

.foot-copy {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--muted);
}

/* ---------- cookie toast (Hauptbuch stamp) ---------- */

/* Fixed bottom-right, non-interactive decoration. Hidden until main.js adds
   .is-in (enter) once per session, then removes it (exit). The [hidden] attribute
   is dropped by main.js so no-JS users never see it. */
.cookie-toast {
  position: fixed;
  right: clamp(14px, 3vw, 26px);
  bottom: clamp(14px, 3vw, 26px);
  z-index: 60;
  text-align: right;
  pointer-events: none;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease, transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.cookie-toast.is-in {
  opacity: 1;
  transform: translateY(0);
}

.cookie-stamp {
  display: inline-block;
  transform: rotate(-6deg);
  padding: 8px 16px;
  border: 2px solid var(--gold-deep);
  border-radius: 8px;
  background: rgba(201, 154, 52, 0.08);
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5);
}

.cookie-cap {
  display: block;
  margin: 8px 2px 0;
  max-width: 30ch;
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.4;
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  .cookie-toast {
    transition: opacity 0.3s ease;
    transform: none;
  }
  .cookie-toast.is-in {
    transform: none;
  }
}

/* ---------- motion ---------- */

.rise {
  animation: rise 0.85s cubic-bezier(0.2, 0.6, 0.2, 1) both;
  animation-delay: calc(var(--d, 0) * 110ms);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1);
  transition-delay: calc(var(--d, 0) * 90ms);
}

[data-reveal].revealed {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .rise {
    animation: none;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- responsive ---------- */

@media (max-width: 1240px) {
  .switcher {
    right: 14px;
  }
}

@media (max-width: 960px) {
  .feature,
  .feature-flip {
    grid-template-columns: 1fr;
  }

  .feature-flip .feature-text {
    order: 0;
  }

  .entry {
    grid-template-columns: 48px 1fr;
  }

  .entry-tag {
    grid-column: 2;
    justify-self: start;
  }

  .metric-row,
  .steps {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .breadth-head {
    grid-template-columns: 1fr;
  }

  .breadth-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Two columns now: cell 3 is in row 2, so it regains its divider. */
  .breadth-cell:nth-child(3) {
    border-top: 1px solid var(--line-strong);
    padding-top: 1rem;
  }

  .app-grid {
    grid-template-columns: 1fr;
  }

  /* Stack the connector section; lead with the copy, mock below it. */
  .mcp-grid {
    grid-template-columns: 1fr;
  }

  .mcp-copy {
    order: -1;
  }

  .phone {
    margin-top: 1rem;
  }

  .step {
    max-width: 520px;
  }

  /* One column now: steps 2 and 3 are their own rows, so they get the divider
     (and the straddling number) back. */
  .step:nth-child(2),
  .step:nth-child(3) {
    border-top: 1px solid var(--line-strong);
    padding-top: 1.5rem;
  }

  .step:nth-child(2) .step-no,
  .step:nth-child(3) .step-no {
    margin-top: -2.32rem;
  }

  .switcher {
    position: static;
    width: auto;
    max-width: 340px;
    margin: 1rem auto 0;
  }
}

@media (max-width: 760px) {
  .nav-burger {
    display: flex;
  }

  /* Cross-promote sibling on mobile: show the Access logo only, drop its wordmark
     (keeps the header narrow enough to avoid horizontal scroll on phones). */
  .brand-sibling .wordmark {
    display: none;
  }

  /* Header folds into the burger: the mobile language widget sits left of it; the
     desktop-placed widget (inside nav-links) is hidden so it never lands in the
     dropdown. The .nav becomes a flex row for the widget + burger. */
  .nav {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .lang-widget-mob {
    display: inline-flex;
  }

  .lang-widget-desk {
    display: none;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.6rem 1.5rem 1.2rem;
    background: rgba(9, 10, 13, 0.97);
    border-bottom: 1px solid var(--line-strong);
    text-align: left;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 0.7rem 0;
    font-size: 1rem;
  }

  .nav-links .btn-primary {
    margin-top: 0.7rem;
    text-align: center;
  }

  .includes {
    grid-template-columns: 1fr;
  }

  .breadth-grid {
    grid-template-columns: 1fr;
  }

  /* One column now: only cell 1 is the first row; cell 2 regains its divider
     (cell 3 is already restored by the 960px query above). */
  .breadth-cell:nth-child(2) {
    border-top: 1px solid var(--line-strong);
    padding-top: 1rem;
  }

  .faq-list details p {
    padding-right: 0;
  }

  .foot-row {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Only two legal links remain (imprint + privacy), so they sit inline in the
     base flex row - no need for the old 5-link two-column grid - just a
     comfortable 44px tap height on mobile. */
  .foot-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 0.95rem;
  }
}
