/* ═══════════════════════════════════════════════════════════════════════════
   MANTODEUS — mantodeus.com
   Built on mantodeus.de: the same tokens, type, sheet, rows and cards.
   Dark by default, light by choice. Archivo Expanded for names and numbers,
   Kanit Light for reading. Few words; one line per row.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Fonts — self-hosted; a Google Fonts link would hand every visitor's IP
   to Google, the exposure the data section promises against. ──────────── */

@font-face { font-family: 'Kanit'; font-style: normal; font-weight: 300; font-display: swap;
  src: url('assets/fonts/kanit-300-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Kanit'; font-style: normal; font-weight: 300; font-display: swap;
  src: url('assets/fonts/kanit-300-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Kanit'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('assets/fonts/kanit-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Kanit'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('assets/fonts/kanit-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Archivo Expanded'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('assets/fonts/archivo-exp-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Archivo Expanded'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('assets/fonts/archivo-exp-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }


:root {
  color-scheme: dark;
  --font-display: "Archivo Expanded", "Kanit", sans-serif;
  --bg: #0F100F; --surface1: #171817; --surface2: #1F201F; --surface3: #262726; --surface-raised: #2A2B2A;
  --border: rgba(255,255,255,.09); --border-med: rgba(255,255,255,.14); --border-strong: rgba(255,255,255,.2);
  --text: #F3F2EE; --text-sub: #A9A9A6; --text-muted: #A3A3A0;
  --primary-tint: rgba(243,242,238,.08); --primary-tint-strong: rgba(243,242,238,.14);
  --bar-glass: rgba(15,16,15,.82); --sheet-shadow: 0 -14px 44px rgba(0,0,0,.42);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --seg-bg: #0B0C0B; --seg-on: #2A2B2A; --control-shadow: 0 2px 8px rgba(0,0,0,.3);
  /* One green (02.11.2026): neon #00E87B in both themes. In dark it may be text;
     in light it is only ever a fill with black on it, never green text on white. */
  --neon: #00E87B; --on-neon: #0B0C0B;
  --mantis: #00E87B; --mantis-on-media: #00E87B; --caution: #F0A030; --danger: #FF7A6E;
  --media-bg: #0B0C0B; --on-media: #F2F2F2; --on-media-sub: rgba(242,242,242,.88); --on-media-shadow: 0 1px 18px rgba(0,0,0,.5);
  --cover-scrim: linear-gradient(to bottom, rgba(0,0,0,.42) 0%, rgba(0,0,0,.38) 45%, rgba(0,0,0,.62) 100%);
  --hero-scrim: linear-gradient(to top, rgba(0,0,0,.8) 0%, rgba(0,0,0,.6) 40%, rgba(0,0,0,.42) 62%, rgba(0,0,0,.2) 80%, rgba(0,0,0,.42) 100%);
  --backdrop: rgba(0,0,0,.55);

  /* The phone: the app's own dark chat. */
  --ph-frame: #0B0C0B; --ph-canvas: #0F110F; --ph-dot: rgba(0,232,123,.07);
  --ph-them: #1F201F; --ph-me: #2A2B2A; --ph-card: #1A1B1A; --ph-line: rgba(255,255,255,.08);

  --nav-height: 64px; --gutter: 20px; --sec-start: 32px; --sec-end: 34px;
  --peek: calc(30svh + 40px); --callbar-space: calc(72px + env(safe-area-inset-bottom));
  --scr-h: min(580px, max(420px, calc(100svh - 360px)));
}
[data-theme=light] {
  color-scheme: light;
  --bg: #E7E6E2; --surface1: #F5F4F1; --surface2: #FFFFFF; --surface3: #EDECE8; --surface-raised: #FFFFFF;
  --border: rgba(0,0,0,.09); --border-med: rgba(0,0,0,.14); --border-strong: rgba(0,0,0,.2);
  --text: #141514; --text-sub: #545450; --text-muted: #5C5C58;
  --primary-tint: rgba(30,30,30,.06); --primary-tint-strong: rgba(30,30,30,.1);
  --bar-glass: rgba(245,244,241,.86); --sheet-shadow: 0 -14px 44px rgba(0,0,0,.14);
  --seg-bg: rgba(0,0,0,.07); --seg-on: #FFFFFF; --control-shadow: 0 1px 3px rgba(0,0,0,.12);
  --mantis: var(--text); --caution: #825000; --danger: #B42318; --backdrop: rgba(0,0,0,.35);
  --ph-frame: #FFFFFF; --ph-canvas: #EDECE8; --ph-dot: rgba(0,232,123,.24);
  --ph-them: #FFFFFF; --ph-me: #DDDCD7; --ph-card: #FFFFFF; --ph-line: rgba(0,0,0,.08);
}
@media (min-width: 900px) {
  :root { --peek: 34svh; --sec-start: 40px; --sec-end: 42px; --callbar-space: 0px; --scr-h: 600px; }
}

/* ── Base ─────────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-height) + 16px); scroll-padding-bottom: calc(var(--callbar-space) + 16px); }
body { background: var(--bg); color: var(--text); font-family: Kanit, sans-serif; font-weight: 300; font-size: 1rem; line-height: 1.6; min-height: 100vh; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
a, button { -webkit-tap-highlight-color: transparent; }
ul, ol { list-style: none; }
p, li, dd, address { overflow-wrap: break-word; }
address { font-style: normal; }
::selection { background: var(--text); color: var(--bg); }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
[tabindex="-1"]:focus { outline: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; letter-spacing: -.005em; color: var(--text); text-wrap: balance; }
h1 { font-size: clamp(2rem, 1.1rem + 3.6vw, 3.25rem); line-height: 1.04; }
h2 { font-size: clamp(1.375rem, 1.15rem + .9vw, 1.75rem); line-height: 1.15; }
p { color: var(--text-sub); }
b, strong { font-weight: 400; color: var(--text); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.i-16 { width: 18px; height: 18px; }
.flip { transform: scaleX(-1); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.nw { white-space: nowrap; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.fine { font-size: .8125rem; line-height: 1.5; color: var(--text-muted); }
.skip { position: fixed; left: 12px; top: -60px; z-index: 2000; padding: 10px 16px; border-radius: 10px; background: var(--text); color: var(--bg); transition: top .18s; }
.skip:focus { top: 12px; }

/* The mark: the traced mantis as a mask, so it takes the text colour. */
.mark {
  display: inline-block; flex: none; width: 30px; aspect-ratio: 1281 / 940; background: currentColor;
  -webkit-mask: url('assets/brand/mantodeus-logo-black.svg') center / contain no-repeat;
          mask: url('assets/brand/mantodeus-logo-black.svg') center / contain no-repeat;
}
/* Next to the name: the app icon, a neon mantis on a black tile, in both themes. */
.brand .mark, .desk-brand .mark { width: 36px; aspect-ratio: 1; border-radius: 9px; background: url('assets/brand/mantodeus-app-icon.svg') center / cover no-repeat; -webkit-mask: none; mask: none; }
:root:not([data-theme=light]) .brand .mark, :root:not([data-theme=light]) .desk-brand .mark { box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; }
.brand-lock { --wm: 15px; display: grid; line-height: 1; font-family: var(--font-display); font-weight: 500; }
.brand-word { font-size: var(--wm); letter-spacing: .08em; margin-right: -.08em; }
.brand-sub { display: flex; justify-content: space-between; margin-top: 4px; padding: 0 calc(var(--wm) * .032) 0 calc(var(--wm) * .053); font-size: calc(var(--wm) * .5); opacity: .72; }
.brand-sub i { font-style: normal; }
/* The letters come from CSS, so the link's name stays the plain „Mantodeus“. */
.brand-sub i::before { content: attr(data-l); }

/* ── Navbar ───────────────────────────────────────────────────────────── */

.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: var(--nav-height);
  color: var(--text); background: var(--bar-glass); border-bottom: 1px solid var(--border);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: background .35s, color .35s, border-color .35s;
}
.navbar--media:not(.is-solid) { color: var(--on-media); background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.navbar--media:not(.is-solid) :focus-visible { outline-color: var(--on-media); }
.navbar-inner { display: flex; align-items: center; gap: 12px; height: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.navbar .brand { margin-right: auto; }
.navbar-links { display: none; align-items: center; gap: 2px; margin-right: 8px; }
.nav-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 11px; border-radius: 10px; font-family: var(--font-display); font-weight: 500; font-size: .8125rem; opacity: .86; transition: opacity .2s, background .2s; }
.navbar--media:not(.is-solid) .nav-link { opacity: 1; }
.nav-link:hover, .nav-link[aria-current] { opacity: 1; background: var(--primary-tint-strong); }
.navbar-actions { flex: none; display: flex; align-items: center; margin-right: -8px; }
.icon-btn { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: inherit; transition: background .2s; }
.icon-btn:hover { background: var(--primary-tint-strong); }
.navbar-actions > .lang, .navbar-actions > .theme-toggle, .navbar-actions > .nav-signin, .navbar-actions > .nav-demo { display: none; }
.nav-demo { align-items: center; height: 34px; margin: 0 6px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border-strong); font-family: var(--font-display); font-weight: 500; font-size: .75rem; transition: background .2s; }
.nav-demo:hover { background: var(--primary-tint-strong); }
.navbar--media:not(.is-solid) .nav-demo { border-color: color-mix(in srgb, var(--on-media) 45%, transparent); }
.theme-toggle .i-moon, [data-theme=light] .theme-toggle .i-sun { display: none; }
[data-theme=light] .theme-toggle .i-moon { display: block; }
.theme-toggle .i { width: 19px; height: 19px; }

.lang { position: relative; display: inline-flex; align-items: center; gap: 2px; height: 32px; margin: 6px 4px; padding: 2px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--border-med); font-family: var(--font-display); font-weight: 500; font-size: .6875rem; letter-spacing: .06em; }
.lang-opt { display: grid; place-items: center; min-width: 32px; height: 100%; padding: 0 6px; border-radius: 999px; opacity: .6; transition: opacity .2s, background .2s; }
.lang-opt::after { content: ""; position: absolute; inset: -6px auto; width: 40px; }
.lang-opt[aria-current] { opacity: 1; background: var(--primary-tint-strong); }
.lang-opt:hover { opacity: 1; }
.navbar--media:not(.is-solid) .lang-opt:not([aria-current]) { opacity: .8; }

@media (min-width: 900px) {
  .navbar-actions > .lang { display: inline-flex; }
  .navbar-actions > .theme-toggle, .navbar-actions > .nav-signin { display: grid; }
  .navbar-actions > .nav-demo { display: inline-flex; }
  .brand-lock { --wm: 16px; }
  .navbar .mark { width: 32px; }
}
@media (min-width: 1100px) {
  .navbar-links { display: flex; }
  .menu-btn { display: none; }
}

/* The menu: a sheet from the bottom, as on mantodeus.de. */
.menu { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; overflow: hidden; background: transparent; color: var(--text); }
.menu::backdrop { background: var(--backdrop); }
.menu-sheet { position: absolute; left: 0; right: 0; bottom: 0; max-height: 88dvh; overflow-y: auto; overscroll-behavior: contain; padding: 0 20px calc(20px + env(safe-area-inset-bottom)); background: var(--surface1); border-radius: 22px 22px 0 0; box-shadow: var(--sheet-shadow); }
/* The dialog itself slides, not the sheet inside it: the browser would
   otherwise scroll the dialog to show the focused button while the sheet is
   still below the screen, and the sheet would shake on its way up. */
.menu[open] { animation: sheetUp .4s var(--ease-out) both; }
.menu[open]::backdrop { animation: fadeIn .3s ease both; }
@keyframes sheetUp { from { transform: translate3d(0, 100%, 0); } }
@keyframes fadeIn { from { opacity: 0; } }
.menu-grab { width: 40px; height: 4px; margin: 12px auto 0; border-radius: 2px; background: var(--border-strong); }
.menu-head { display: flex; align-items: center; justify-content: space-between; margin: 4px -8px 4px 0; }
.menu-title { font-family: var(--font-display); font-weight: 500; font-size: 1.125rem; }
.menu-list { border-top: 1px solid var(--border-med); }
.menu-list li + li { border-top: 1px solid var(--border); }
.menu-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 54px; font-family: var(--font-display); font-weight: 500; font-size: 1rem; }
.menu-row .i { color: var(--text-muted); }
.menu-row .lang { margin: 0; }
.menu-list li:last-child { border-bottom: 1px solid var(--border-med); }
/* The bottom of the menu, as on mantodeus.de: sign in, language, theme. */
.menu-foot { display: flex; align-items: center; gap: 8px; padding: 16px 0 4px; }
.pill-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--border-strong); font-family: var(--font-display); font-weight: 500; font-size: .8125rem; white-space: nowrap; }
.menu-foot .lang { margin: 0; height: 44px; }
.menu-foot .lang-opt { min-width: 38px; }
.round-btn { border: 1px solid var(--border-strong); border-radius: 50%; }
/* Anmelden sits bottom right, language and theme on the left (user 04.11.2026). */
.menu-foot .pill-btn { order: 3; margin-left: auto; }
.menu-foot .lang { order: 1; }
.menu-foot .round-btn { order: 2; }
@media (prefers-reduced-motion: reduce) { .menu[open], .menu[open]::backdrop { animation: none; } }

/* ── Hero and sheet ───────────────────────────────────────────────────── */

.hero {
  position: relative; height: 100svh; min-height: 560px; overflow: hidden;
  /* Behind the headline the app's own dark chat, whatever the page's theme. */
  --ph-canvas: #0F110F; --ph-dot: rgba(0,232,123,.08); --ph-them: #1F201F; --ph-me: #2A2B2A; --ph-card: #1A1B1A; --ph-line: rgba(255,255,255,.08); --ph-frame: #0B0C0B;
  --bg: #0F100F; --text: #F3F2EE; --text-sub: #A9A9A6; --text-muted: #A3A3A0; --border-med: rgba(255,255,255,.14); --primary-tint: rgba(243,242,238,.08); --mantis: #00E87B;
  background-color: var(--ph-canvas); background-image: radial-gradient(circle at center, var(--ph-dot) 1px, transparent 1.6px); background-size: 22px 22px;
}
/* Behind the headline (user 02.11.2026): the app icon, large and centred,
   pulls the job's things straight in, rests, throws them out into an
   exploded view, lets them hover, and pulls them in again. vortex.js. */
.hero-vx { position: absolute; inset: 0; overflow: hidden; --vx-cy: 34%; --vx-size: clamp(100px, 29vw, 140px); }
/* With JavaScript the hero fades in once, the icon already in its place. */
.hero-vx.fade { opacity: 0; transition: opacity 1.1s ease; }
.hero-vx.fade.is-on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hero-vx.fade { transition: none; } }
.vx-glow { position: absolute; left: 50%; top: var(--vx-cy); width: calc(var(--vx-size) * 3.4); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(0,232,123,.22) 0%, rgba(0,232,123,.08) 24%, rgba(0,232,123,.02) 46%, transparent 68%); }
.vx-field { position: absolute; inset: 0; }
/* Pieces reach up under the bar too; a soft shade keeps the bar readable. */
.hero-vx::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: calc(var(--nav-height) + 36px); pointer-events: none; background: linear-gradient(rgba(10,11,10,.82), rgba(10,11,10,.45) 55%, rgba(10,11,10,0)); }
.vx-it { position: absolute; left: 0; top: 0; will-change: transform, opacity; pointer-events: none; }
.vx-it:has(> .is-fitting) { transform: none !important; }
.vx-it > .d-ph { width: 64px; height: 64px; }
.vx-it > .d-ic { display: block; width: 22px; height: 22px; }
.vx-icon { position: absolute; left: 50%; top: var(--vx-cy); width: var(--vx-size); aspect-ratio: 1; translate: -50% -50%; border-radius: 22%; will-change: transform;
  box-shadow: 0 0 0 1px rgba(0,232,123,.3), 0 0 calc(var(--vx-size) * .14) rgba(0,232,123,.36), 0 0 calc(var(--vx-size) * .4) rgba(0,232,123,.2), 0 24px 70px rgba(0,0,0,.6); }
.vx-icon img { display: block; width: 100%; height: 100%; border-radius: inherit; }
.vx-icon::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(160deg, rgba(255,255,255,.08), transparent 42%); }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,11,10,.94) 0%, rgba(10,11,10,.78) calc(var(--peek) + 110px), rgba(10,11,10,0) calc(var(--peek) + 230px)); }
.hero-in { position: absolute; left: 0; right: 0; bottom: calc(var(--peek) + 32px); z-index: 1; color: var(--on-media); }
.hero h1 { color: var(--on-media); max-width: 14ch; text-shadow: var(--on-media-shadow); }
.hero-p .hero-l { display: block; }
.hero-p { margin-top: 14px; max-width: 40ch; font-size: 1.0625rem; line-height: 1.5; color: var(--on-media-sub); text-shadow: var(--on-media-shadow); }
.hero-pause { position: absolute; z-index: 1; top: calc(var(--nav-height) + 10px); right: var(--gutter); background: rgba(10,11,10,.5); }
@media (min-width: 900px) {
  .hero-vx { --vx-cy: 45%; --vx-size: clamp(176px, 24vmin, 264px); }
  .hero-scrim { background: radial-gradient(ellipse 62% 58% at 0% 100%, rgba(10,11,10,.92) 0%, rgba(10,11,10,.62) 45%, rgba(10,11,10,0) 78%); }
  .hero-in { bottom: calc(var(--peek) + 48px); }
  .hero-in > * { max-width: min(44%, 14ch); }
  .hero-in > .hero-p { max-width: min(44%, 40ch); font-size: 1.125rem; }
  .hero-pause { right: max(var(--gutter), calc((100% - 1120px) / 2 + var(--gutter))); }
}

.page-sheet { position: relative; z-index: 2; margin-top: calc(-1 * var(--peek)); padding: 12px 0 8px; background: var(--surface1); border-radius: 22px 22px 0 0; box-shadow: var(--sheet-shadow); }
.grab { width: 40px; height: 4px; margin: 0 auto; border-radius: 2px; background: var(--border-med); }
@media (min-width: 900px) {
  .page-sheet { max-width: 1180px; margin-inline: auto; border-radius: 26px 26px 0 0; }
  .grab { display: none; }
}

.sec { padding-block: var(--sec-start) var(--sec-end); }
.sec + .sec { border-top: 1px solid var(--border); }
.sec-h { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.sec-p { margin-top: 8px; max-width: 40ch; color: var(--text-muted); text-wrap: pretty; }
.sec-p a { color: var(--text); text-decoration: underline; text-underline-offset: .18em; }
.two { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 900px) {
  .two { gap: 18px; }
  .two > div > .sec-p { max-width: 60ch; }
  .two > .rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
  .two > .rows li { border-top: 1px solid var(--border); }
}
.more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 12px; font-family: var(--font-display); font-weight: 500; font-size: .875rem; }
.more .i { transition: transform .3s var(--ease-out); }
.more:hover .i { transform: translateX(4px); }

/* ── Rows: one line each, icon left, value or chevron right ───────────── */

.rows li + li { border-top: 1px solid var(--border); }
.row { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 50px; padding: 10px 6px 10px 4px; border-radius: 10px; color: inherit; text-align: left; transition: background .2s; }
a.row:hover, button.row:hover { background: var(--primary-tint); }
.row-ic { display: grid; place-items: center; width: 30px; height: 30px; flex: none; color: var(--text-muted); }
.row-ic .i { width: 20px; height: 20px; }
.row-t { flex: none; max-width: 55%; font-family: var(--font-display); font-weight: 500; font-size: .9375rem; line-height: 1.3; }
.row-s { color: var(--text-muted); font-size: .9375rem; }
.row-v { flex: 1; min-width: 0; color: var(--text-muted); font-size: .9375rem; text-align: left; overflow-wrap: anywhere; }

.row-v.us::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--caution); vertical-align: 2px; }
.row-chev { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--text-muted); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease-out); }
a.row:hover .row-chev { transform: translateX(3px); }
@media (max-width: 599px) { .row-v { text-align: right; } }
.rows--stack .row { flex-wrap: wrap; row-gap: 0; padding-top: 12px; padding-bottom: 12px; }
.rows--stack .row-t { max-width: none; }
.rows--stack .row-v { order: 3; flex: 0 0 100%; text-align: left; line-height: 1.4; margin-top: 2px; }
.rows--stack .row-ic ~ .row-v { flex-basis: calc(100% - 42px); margin-left: 42px; }
.rows--stack .row-chev { margin-left: auto; }
.row .eur { font-family: var(--font-display); font-weight: 500; color: var(--text); font-variant-numeric: tabular-nums; }
.tier .row-t { flex: 0 0 5.5rem; }
.tier .row-s { flex: 1; min-width: 0; }
@media (max-width: 479px) {
  .tier { flex-wrap: wrap; row-gap: 0; }
  .tier .row-t { flex: 1 1 auto; }
  .tier .row-v { order: 2; }
  .tier .row-s { order: 3; flex: 1 0 100%; font-size: .875rem; }
}

/* ── The stage: a line on the left, the phone running the app ─────────── */

.stage { padding-top: 32px; }
.stage-grid { display: grid; gap: 14px; }
.stage-cap { margin-top: 6px; max-width: 34ch; color: var(--text-sub); font-size: 1.0625rem; line-height: 1.5; text-wrap: pretty; }
.stage-cap b { font-family: var(--font-display); font-weight: 500; color: var(--text); }
.stage-tx .fine { margin-top: 12px; }
@media (max-width: 899px) { .stage-tx .sec-p, .stage-tx .fine { display: none; } }
@media (min-width: 900px) {
  .stage { padding-top: 48px; }
  .stage-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; }
  .stage-cap { margin-top: 28px; font-size: 1.25rem; }
}
/* The app's module colours as on dev (02.11.2026): Übersicht is the brand
   green by night and ink by day; Chats took the old teal. */
.phone { width: 100%; max-width: 360px; margin: 0 auto;
  --acc: #00E87B; --acc-on: #0B0C0B; }
.phone[data-screen=library] { --acc: #E4DC55; }
.phone[data-screen=chats] { --acc: #45C2D4; }
.phone[data-screen=mantodeus] { --acc: #00E87B; }
.phone[data-screen=finance] { --acc: #F2679F; }
.phone[data-screen=plan] { --acc: #A88CF0; }
[data-theme=light] .phone { --acc: #1A1A1A; --acc-on: #FFFFFF; }
[data-theme=light] .phone[data-screen=library] { --acc: #6E6B14; }
[data-theme=light] .phone[data-screen=chats] { --acc: #0D7A85; }
[data-theme=light] .phone[data-screen=mantodeus] { --acc: var(--neon); --acc-on: var(--on-neon); }
/* Light: neon is a fill only, so where the accent would be text it stays black. */
[data-theme=light] .phone[data-screen=mantodeus] :is(.app-nav .on, .ar.unread .ar-v, .ahead .more) { color: var(--text); }
[data-theme=light] .phone[data-screen=finance] { --acc: #C22E6E; }
[data-theme=light] .phone[data-screen=plan] { --acc: #6A4BC4; }

/* The arrows under the phone switch the part; its name between them. */
.stepper { display: flex; align-items: center; gap: 8px; max-width: 360px; margin: 12px auto 0; }
.stepper button { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border-med); color: var(--text); transition: background .2s; }
.stepper button:hover { background: var(--primary-tint); }
.stepper .i { width: 18px; height: 18px; }
.stepper .play .i-play { fill: currentColor; stroke-width: 1; }
.stepper .play[data-state="playing"] .i-play, .stepper .play[data-state="paused"] .i-pause { display: none; }
.stepper .play { border-color: transparent; }
.stepper .play[hidden] { display: none; }
.step-lbl { flex: 1; display: flex; align-items: baseline; justify-content: center; gap: 8px; min-width: 0; white-space: nowrap; color: var(--text); }
.step-lbl b { font-family: var(--font-display); font-weight: 500; font-size: .9375rem; overflow: hidden; text-overflow: ellipsis; }
.step-n { color: var(--text-muted); font-size: .8125rem; font-variant-numeric: tabular-nums; }
.hero-pause { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border-med); color: var(--text); }
.hero-pause .i { width: 18px; height: 18px; }
.hero-pause[hidden] { display: none; }
.hero-pause .i-play { fill: currentColor; stroke-width: 1; }
.hero-pause[data-state="playing"] .i-play, .hero-pause[data-state="paused"] .i-pause { display: none; }
@media (scripting: none) { .stepper button { visibility: hidden; } }

/* ── The phone ────────────────────────────────────────────────────────── */

.li { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.scr { position: relative; height: var(--scr-h); display: flex; flex-direction: column; overflow: hidden; background: var(--ph-canvas); border: 1px solid var(--border-med); border-radius: 32px; box-shadow: 0 24px 60px -24px rgba(0,0,0,.55); }
.scr-bar { display: flex; justify-content: space-between; padding: 10px 22px 0; font-family: var(--font-display); font-weight: 500; font-size: 11px; letter-spacing: .03em; font-variant-numeric: tabular-nums; color: var(--text-sub); }

/* The header, as on every page of the app: a big title, three icons. In a
   chat it turns into a back arrow and the chat's name. */
.app-head { display: flex; align-items: flex-end; gap: 8px; min-height: 50px; padding: 8px 16px 6px; }
.app-title { flex: 1; min-width: 0; display: grid; line-height: 1.15; }
.app-title b { font-family: var(--font-display); font-weight: 500; font-size: 24px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-title small { font-size: 12px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-icons { display: flex; gap: 14px; padding-bottom: 5px; color: var(--text-sub); }
.app-av, .app-back { display: none; }
.app-back { width: 22px; height: 22px; color: var(--text-muted); }
.app-av { width: 32px; height: 32px; flex: none; place-items: center; border-radius: 50%; background: url('assets/brand/mantodeus-app-icon.svg') center / cover no-repeat; box-shadow: inset 0 0 0 1px var(--ph-line); }
.app-av .mark { visibility: hidden; }
.phone[data-room] .app-head, .phone[data-screen=mantodeus] .app-head { align-items: center; padding: 8px 14px 9px 8px; border-bottom: 1px solid var(--ph-line); }
.phone[data-screen=mantodeus] .app-head { padding-left: 12px; }
.phone[data-room] .app-title b, .phone[data-screen=mantodeus] .app-title b { font-size: 14px; }
.phone[data-room] .app-icons, .phone[data-screen=mantodeus] .app-icons { display: none; }
.phone[data-room] .app-back { display: block; }
.phone[data-screen=mantodeus] .app-av { display: grid; }

.app-body {
  position: relative; flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: 12px;
  padding: 4px 14px 64px; font-size: 13.5px; line-height: 1.42; color: var(--text);
}
.app-body > * { flex-shrink: 0; }
/* Only Mantodeus' own chat has the dots, as in the app. */
.phone[data-screen=mantodeus] .app-body { background-image: radial-gradient(circle at center, var(--ph-dot) 1px, transparent 1.6px); background-size: 22px 22px; }
.phone[data-screen=mantodeus] .app-body, .phone[data-room] .app-body { gap: 0; padding: 4px 11px 12px; }
.phone[data-room] .app-body:has(> .ar) { padding-inline: 14px; }

/* The + and, under it, Mantodeus float bottom right, as on dev: two quiet
   grey circles of one size; the mark wears the page's colour. */
.app-fabs { position: absolute; right: 12px; bottom: 74px; z-index: 2; display: flex; flex-direction: column; gap: 10px; }
.fab { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ph-them); border: 1px solid var(--border-med); color: var(--text); box-shadow: 0 4px 14px rgba(0,0,0,.22); }
.fab .li { width: 21px; height: 21px; }
.fab-zap { color: var(--acc); }
.fab-zap .mark { width: 30px; transform: translateY(2px); }
.phone[data-room] .app-fabs, .phone[data-screen=mantodeus] .app-fabs { display: none; }

/* The composer in a chat; the five tabs everywhere else. */
.app-compose { display: none; align-items: center; gap: 8px; padding: 9px 10px 14px; border-top: 1px solid var(--ph-line); background: var(--ph-frame); }
.phone[data-room] .app-compose, .phone[data-screen=mantodeus] .app-compose { display: flex; }
.app-compose .field { flex: 1; min-width: 0; min-height: 38px; display: flex; align-items: center; padding: 7px 14px; border-radius: 999px; background: var(--ph-them); border: 1px solid var(--ph-line); font-size: 13px; white-space: nowrap; overflow: hidden; }
.app-compose .ph { color: var(--text-muted); }
.app-compose .typing { color: var(--text); overflow: hidden; direction: rtl; text-align: left; white-space: nowrap; }
.app-compose .typing span { direction: ltr; unicode-bidi: plaintext; }
.app-compose .mic { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--text); color: var(--bg); }
.app-compose .plus { width: 26px; height: 38px; flex: none; display: grid; place-items: center; color: var(--text-sub); }
.app-compose .plus .li { width: 20px; height: 20px; }
/* The five tabs, each with its name under the icon (dev 02.11.2026). */
.app-nav { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 10px 6px 14px; border-top: 1px solid var(--ph-line); background: var(--ph-frame); }
.app-nav button { display: grid; place-items: center; min-width: 0; padding: 4px 0; border-radius: 10px; color: var(--text-muted); transition: background .35s, color .35s; }
.app-nav .li { width: 21px; height: 21px; }
.app-nav .on { color: var(--acc); }
.phone[data-room] .app-nav, .phone[data-screen=mantodeus] .app-nav { display: none; }

/* ── Chat items: a new one makes room, then eases in ─────────────────── */

.slot { display: grid; grid-template-rows: 0fr; animation: slotOpen .8s var(--ease-out) forwards; }
.slot-in { min-height: 0; overflow: hidden; display: flex; flex-direction: column; }
@keyframes slotOpen { to { grid-template-rows: 1fr; } }
.hero-feed, .mini-chat, .dock-chat { gap: 0 !important; }
:is(.hero-feed, .mini-chat, .dock-chat, .phone[data-screen=mantodeus] .app-body, .phone[data-room] .app-body) > .it,
.slot-in > .it { margin-top: 8px; }
.it { max-width: 86%; animation: itIn .8s var(--ease-out) both; }
.hero-feed .slot, .hero-feed .it { animation-duration: 1.1s; }
@keyframes itIn { from { opacity: 0; transform: translateY(8px); } }
.it small { display: block; font-size: 11.5px; color: var(--text-muted); margin-bottom: 1px; }
.it-me { align-self: flex-end; background: var(--ph-me); border-radius: 16px 16px 4px 16px; padding: 7px 11px; }
.it-them { align-self: flex-start; background: var(--ph-them); border-radius: 16px 16px 16px 4px; padding: 7px 11px; }
.it-ai { align-self: flex-start; display: flex; gap: 7px; align-items: flex-start; max-width: 94%; }
.it-ai .mark { width: 18px; margin-top: 4px; color: var(--mantis); }
.it-ai p { color: var(--text); background: var(--ph-them); border-radius: 16px 16px 16px 4px; padding: 7px 11px; }
.it-sys { align-self: center; max-width: 100%; padding: 3px 11px; border-radius: 999px; border: 1px solid var(--ph-line); background: var(--ph-frame); font-size: 11.5px; color: var(--text-sub); text-align: center; }
.it-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; width: 70%; border-radius: 14px; overflow: hidden; }
.it-photos.me { align-self: flex-end; }
.it-photos img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.it-doc { align-self: flex-start; width: 92%; max-width: 92%; padding: 9px 11px; border-radius: 14px; background: var(--ph-card); border: 1px solid var(--ph-line); }
.it-doc .top { display: flex; align-items: center; gap: 8px; font-size: 11px; }
.it-doc .kind { font-family: var(--font-display); font-weight: 500; letter-spacing: .06em; }
.it-doc .no { margin-left: auto; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.it-doc .ttl { margin-top: 3px; font-size: 13px; line-height: 1.3; }
.it-doc .sum { display: flex; justify-content: space-between; gap: 8px; margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--ph-line); font-size: 12px; color: var(--text-muted); }
.it-doc .sum b { color: var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.it-doc .acts { display: flex; gap: 6px; margin-top: 8px; }
.it-doc .acts span { flex: 1; padding: 6px 8px; border-radius: 10px; border: 1px solid var(--border-med); font-size: 12px; text-align: center; white-space: nowrap; }
.it-doc .acts .go { background: var(--text); color: var(--bg); border-color: var(--text); }
.it-doc .acts .glow { box-shadow: 0 0 0 1px var(--neon), 0 0 12px color-mix(in srgb, var(--neon) 30%, transparent); }
.it-doc .acts .done { border-color: transparent; color: var(--text-sub); }
.it-doc .acts .done::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--neon); vertical-align: 1px; }
.it-tools { align-self: flex-start; display: grid; gap: 3px; padding-left: 26px; font-size: 11.5px; color: var(--text-muted); }
.it-tools div { display: flex; align-items: center; gap: 7px; }
.it-tools i { width: 6px; height: 6px; flex: none; border-radius: 50%; background: var(--neon); }
@keyframes live { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--neon) 60%, transparent); } 100% { box-shadow: 0 0 0 9px transparent; } }
.it-voice { align-self: flex-end; display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 16px 16px 4px 16px; background: var(--ph-me); }
.it-voice .bars { display: flex; align-items: center; gap: 2px; }
.it-voice .bars i { width: 3px; border-radius: 2px; background: var(--text-sub); }
.it-voice .len { font-size: 11.5px; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.it-doc .acts span { transition: transform .2s var(--ease-out); }

/* ── The app's screens: rows, cards, segments, the month ──────────────── */

.app-body .in:not(.ar-v), .dl.in { animation: itIn .7s var(--ease-out) both; }

/* A row as the app draws it: thumbnail left, two lines, value right. */
.ar { display: flex; align-items: center; gap: 11px; min-height: 54px; padding: 8px 2px; border-bottom: 1px solid var(--ph-line); border-radius: 0; transition: background .35s, transform .35s var(--ease-out), opacity .45s; }
.ar-tx { flex: 1; min-width: 0; display: grid; line-height: 1.3; }
.ar-tx b { font-weight: 400; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ar-tx small { font-size: 12px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ar-tx small.ok { color: var(--mantis); }
.ar-tx small.late { color: var(--danger); }
.warn, .ar-tx small.warn { color: var(--caution); }
.ar-v { flex: none; font-family: var(--font-display); font-weight: 500; font-size: 12.5px; font-variant-numeric: tabular-nums; color: var(--text); }
.ar-v.open { color: var(--caution); }
.ar-v.late { color: var(--danger); }
.ar-v.paid { color: var(--text-muted); }
.ar-v.in { color: var(--mantis); }
.ar-chev { width: 16px; height: 16px; color: var(--text-muted); }
.ar.tap { background: color-mix(in srgb, var(--acc) 14%, transparent); transform: scale(.98); }
.ar.out { opacity: 0; transform: translateX(28px); }
.ar.fresh.in { animation: itIn .7s var(--ease-out) both, fresh 3s ease-out both; }
@keyframes fresh { from { background: color-mix(in srgb, var(--acc) 18%, transparent); } }
.ar.unread .ar-tx b { font-weight: 400; color: var(--text); }
.ar.unread .ar-tx small { color: var(--text-sub); }
.ar.unread .ar-v { color: var(--acc); }

.pill { flex: none; font-size: 11.5px; line-height: 1.4; color: var(--text-muted); white-space: nowrap; }
.pill.ok { color: var(--mantis); }
.pill.late { color: var(--danger); }
.pill.draft { color: var(--caution); }
.pill.role { padding: 2px 9px; border-radius: 999px; border: 1px solid var(--border-med); color: var(--text); }
.pill.new { padding: 2px 9px; border-radius: 999px; background: var(--acc); color: var(--acc-on); }
.badge { flex: none; display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--acc); color: var(--acc-on); font-family: var(--font-display); font-weight: 500; font-size: 10.5px; }

.ibox { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 10px; background: var(--ph-them); color: var(--text-sub); }
.ibox .li { width: 18px; height: 18px; }
.ibox.ok { background: color-mix(in srgb, var(--neon) 15%, transparent); color: var(--neon); }
[data-theme=light] .ibox.ok { background: var(--neon); color: var(--on-neon); }
.ibox.acc { background: var(--acc); color: var(--acc-on); }
.av { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--ph-me); font-family: var(--font-display); font-weight: 500; font-size: 10.5px; letter-spacing: .02em; color: var(--text); }
.av.b1 { background: color-mix(in srgb, #6FA0DC 24%, var(--ph-card)); }
.av.b2 { background: color-mix(in srgb, #45C2D4 24%, var(--ph-card)); }
.av.b3 { background: color-mix(in srgb, #F2679F 24%, var(--ph-card)); }
/* A document's first page, small. */
.thumb { width: 30px; height: 38px; flex: none; display: grid; align-content: start; gap: 3px; padding: 7px 5px; border-radius: 4px; background: #F3F2EE; box-shadow: 0 0 0 1px var(--ph-line); }
.thumb i { height: 2px; border-radius: 1px; background: #C9C8C3; }
.thumb i:first-child { width: 60%; background: #8D8C87; }
.thumb i:last-child { width: 40%; }

.ahead { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 28px; }
.ahead b { font-family: var(--font-display); font-weight: 500; font-size: 13.5px; }
.ahead .li { color: var(--text-muted); }
.ahead .more { margin: 0; min-height: 0; font-family: Kanit, sans-serif; font-weight: 400; font-size: 12px; color: var(--acc); }
.asec { display: grid; gap: 8px; }

/* Übersicht: Zu tun rows with the eye; the Feed under the same tabs. */
.vors { display: grid; }
.vors[hidden], .feed[hidden] { display: none; }
.feed { display: grid; gap: 12px; }
.ar.sug { min-height: 52px; }
.ar-eye { width: 18px; height: 18px; flex: none; margin-right: 2px; color: var(--text-muted); }
.chk { position: relative; width: 24px; height: 24px; flex: none; margin: 0 4px 0 1px; border-radius: 50%; border: 1.5px solid var(--border-strong); transition: background .35s, border-color .35s; }
.chk::after { content: ""; position: absolute; left: 7.5px; top: 3.5px; width: 5px; height: 10px; border: solid #0B0C0B; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform .3s var(--ease-out) .1s; }
.ar.done .chk { background: var(--neon); border-color: var(--neon); }
.ar.done .chk::after { transform: rotate(45deg) scale(1); }
.more-row { min-height: 46px; justify-content: space-between; color: var(--text-sub); border-bottom: 0; }
.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tile { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--ph-card); }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile-c { position: absolute; left: 0; right: 0; bottom: 0; display: grid; padding: 18px 8px 7px; line-height: 1.2; color: #F2F2F2; background: linear-gradient(to top, rgba(0,0,0,.78), rgba(0,0,0,0)); }
.tile-c .li { width: 13px; height: 13px; margin-bottom: 3px; color: #E4DC55; }
.tile-c b { font-weight: 400; font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile-c small { font-size: 10px; opacity: .8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.strip { display: flex; gap: 6px; overflow: hidden; }
.strip > img, .new-ph { width: 64px; height: 64px; flex: none; border-radius: 10px; object-fit: cover; }
.new-ph { position: relative; overflow: hidden; box-shadow: 0 0 0 2px var(--acc); }
.new-ph img { width: 100%; height: 100%; object-fit: cover; }
.new-ph i { position: absolute; top: 5px; right: 5px; width: 9px; height: 9px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 2px var(--ph-canvas); }

/* The segments at the top of a page: the open one in the page's colour. */
.aseg { display: flex; padding: 3px; border-radius: 999px; border: 1px solid var(--ph-line); background: var(--ph-frame); }
.aseg span { flex: 1; padding: 6px 4px; border-radius: 999px; text-align: center; font-size: 12.5px; color: var(--text-sub); transition: background .35s, color .35s; }
.aseg .on { background: var(--ph-me); color: var(--acc); }
.achips { display: flex; gap: 6px; }
.achips span { padding: 3px 10px; border-radius: 999px; background: var(--ph-them); font-size: 11.5px; color: var(--text-muted); }
.achips .on { background: var(--text); color: var(--bg); }

/* Chats: the list's sections. */
.chead { padding: 12px 2px 3px; font-family: var(--font-display); font-weight: 500; font-size: 11.5px; letter-spacing: .02em; color: var(--text-muted); }
.clist .chead:first-child { padding-top: 2px; }

/* Bibliothek */
.groups { display: grid; gap: 0; }
.groups .achips { margin-bottom: 8px; }
.grp { display: flex; align-items: center; justify-content: space-between; min-height: 44px; border-bottom: 1px solid var(--ph-line); }
.grp b { font-family: var(--font-display); font-weight: 500; font-size: 13px; }
.grp .li { color: var(--text-muted); transform: rotate(-90deg); transition: transform .4s var(--ease-out); }
.grp.open .li { transform: none; }
.grp-l { padding-left: 4px; }
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; }
.pgrid-h { grid-column: 1 / -1; padding: 2px 0 4px; font-size: 12px; color: var(--text-muted); }
.pgrid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; }

/* Finanzen: the big sum, then the list under it. */
.big { display: grid; padding: 2px 0; line-height: 1.2; }
.big b { font-family: var(--font-display); font-weight: 500; font-size: 26px; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.big small { font-size: 12px; color: var(--text-muted); }
.fview { display: grid; }
.fview .achips { margin-bottom: 8px; }
.fview .ahead + .ar, .fview .ar + .ahead { margin-top: 0; }
.fview .ar + .ahead { margin-top: 10px; }

/* Planung: the month, its days, the day's entries. */
.pview { display: grid; gap: 8px; }
.month-h { display: flex; align-items: center; gap: 8px; }
.month-h b { flex: 1; font-family: var(--font-display); font-weight: 500; font-size: 15px; }
.mnav { display: flex; gap: 10px; color: var(--text-muted); }
.mmode { display: inline-flex; align-items: center; gap: 2px; padding: 2px 6px 2px 10px; border-radius: 999px; border: 1px solid var(--ph-line); font-size: 12px; color: var(--text-sub); }
.mmode .li { width: 14px; height: 14px; }
.month { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); row-gap: 1px; }
.month .wd { padding-bottom: 2px; font-size: 10.5px; color: var(--text-muted); text-align: center; }
.day { display: grid; justify-items: center; align-content: start; height: 33px; }
.day b { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; font-weight: 400; font-size: 12.5px; font-variant-numeric: tabular-nums; transition: background .4s, box-shadow .4s, color .4s; }
.day.out { opacity: .35; }
.day.today b { color: var(--acc); }
.day.sel b { background: color-mix(in srgb, var(--acc) 22%, transparent); box-shadow: inset 0 0 0 1.5px var(--acc); color: var(--text); }
.day i { display: flex; gap: 2px; margin-top: 1px; }
.day u { width: 4px; height: 4px; border-radius: 50%; background: var(--acc); }
.day u + u { background: var(--text-muted); }
.agenda { display: grid; gap: 6px; }
.ar.ev { min-height: 46px; padding: 6px 10px; border: 0; border-left: 3px solid var(--acc); border-radius: 10px; background: color-mix(in srgb, var(--acc) 10%, var(--ph-card)); }
.ar.ev-b { border-left-color: var(--caution); background: color-mix(in srgb, var(--caution) 9%, var(--ph-card)); }
.ar.ev-c { border-left-color: #45C2D4; background: color-mix(in srgb, #45C2D4 9%, var(--ph-card)); }
[data-theme=light] .ar.ev-c { border-left-color: #0D7A85; }
/* Clocked in: tinted in the page's colour, never a white block. */
.clock { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 14px; background: color-mix(in srgb, var(--acc) 13%, var(--ph-card)); border: 1px solid color-mix(in srgb, var(--acc) 32%, transparent); }
.clock-t { flex: 1; min-width: 0; display: grid; line-height: 1.25; }
.clock-t b { font-family: var(--font-display); font-weight: 500; font-size: 17px; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.clock-t small { font-size: 11.5px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.clock .stop { flex: none; padding: 4px 12px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--acc) 60%, transparent); font-size: 12px; color: var(--text); }
.tasks { display: grid; }
.tick { position: relative; width: 20px; height: 20px; flex: none; margin: 0 4px 0 2px; border-radius: 50%; border: 1.5px solid var(--border-strong); transition: background .35s, border-color .35s; }
.tick::after { content: ""; position: absolute; left: 6px; top: 2.5px; width: 5px; height: 9px; border: solid var(--acc-on); border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform .3s var(--ease-out) .1s; }
.ar.done .tick { background: var(--acc); border-color: var(--acc); }
.ar.done .tick::after { transform: rotate(45deg) scale(1); }
.ar.done .ar-tx b { color: var(--text-muted); text-decoration: line-through; }

@media (prefers-reduced-motion: reduce) {
  .it, .slot, .app-body .in:not(.ar-v), .dl.in, .ar.fresh.in, .spin { animation: none; }
  .slot { grid-template-rows: 1fr; }
}

/* ── Office and site: the computer and the phone, one job ─────────────── */

.duo { position: relative; container-type: inline-size; margin-top: 32px; padding-bottom: 6%; }
.desk, .mini { --acc: #00E87B; --acc-on: #0B0C0B; font-size: clamp(6.5px, 1.32cqi, 14px); }
[data-theme=light] :is(.desk, .mini) { --acc: #1A1A1A; --acc-on: #FFFFFF; }
.desk { width: 80%; border-radius: 1em; overflow: hidden; background: var(--ph-canvas); border: 1px solid var(--border-med); box-shadow: 0 30px 70px -30px rgba(0,0,0,.6); }
.desk-bar { display: flex; align-items: center; gap: .5em; padding: .7em 1em; background: var(--ph-frame); border-bottom: 1px solid var(--ph-line); }
.desk-bar i { width: .75em; height: .75em; border-radius: 50%; background: var(--border-strong); }
.desk-bar span { margin: 0 auto; padding: .15em 2.4em; border-radius: 999px; background: var(--ph-them); font-size: .85em; color: var(--text-muted); }
.desk-in { display: grid; grid-template-columns: 11em minmax(0, 1fr) 16em; height: 30em; }
.desk-side { display: flex; flex-direction: column; gap: .25em; padding: 1em .7em; background: var(--ph-frame); border-right: 1px solid var(--ph-line); }
.desk-brand { display: flex; align-items: center; gap: .6em; margin: 0 0 .9em .3em; }
/* Top left the Betrieb's own name, as on dev. */
.desk-brand .co { flex: none; display: grid; place-items: center; width: 1.9em; height: 1.9em; border-radius: .5em; background: var(--text); color: var(--bg); font-family: var(--font-display); font-weight: 500; font-size: 1em; }
.desk-brand b { min-width: 0; font-family: var(--font-display); font-weight: 500; font-size: .85em; line-height: 1.15; }
.ds { display: flex; align-items: center; gap: .65em; padding: .55em .6em; border-radius: .7em; color: var(--text-muted); }
.ds .li { width: 1.25em; height: 1.25em; }
.ds b { font-weight: 400; font-size: .95em; }
.ds.on { background: color-mix(in srgb, var(--acc) 14%, transparent); color: var(--acc); }
.desk-main { position: relative; min-width: 0; padding: 1.2em 1.5em; overflow: hidden; }
.desk-fab { position: absolute; right: 1.3em; bottom: 1.3em; display: grid; place-items: center; width: 3.2em; height: 3.2em; border-radius: 50%; background: var(--ph-them); border: 1px solid var(--border-med); color: var(--text); }
.desk-fab .li { width: 1.5em; height: 1.5em; }
.duo .it-ai .mark { width: 1.3em; margin-top: .35em; }
.desk-h { display: block; margin-bottom: .6em; font-family: var(--font-display); font-weight: 500; font-size: 1.05em; }
.desk-main > .desk-h { font-size: 1.6em; }
.dl { display: flex; align-items: center; gap: .9em; padding: .75em .3em; border-bottom: 1px solid var(--ph-line); border-radius: .5em; }
.dl.fresh { background: color-mix(in srgb, var(--acc) 10%, transparent); }
.duo .ibox { width: 2.6em; height: 2.6em; border-radius: .7em; }
.duo .ibox .li { width: 1.3em; height: 1.3em; }
.duo .ar-tx b { font-size: 1em; }
.duo .ar-tx small { font-size: .85em; }
.duo .pill { font-size: .8em; padding: .15em .8em; }
.desk-dock { display: flex; flex-direction: column; min-width: 0; padding: 1em; border-left: 1px solid var(--ph-line); background: var(--ph-frame); }
.dock-chat, .mini-chat { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; transition: opacity .8s; }
.duo .it { font-size: 1em; line-height: 1.35; max-width: 92%; }
.duo .it small { font-size: .82em; }
.duo .it-me, .duo .it-them { padding: .5em .85em; border-radius: 1.1em 1.1em 1.1em .3em; }
.duo .it-me { border-radius: 1.1em 1.1em .3em 1.1em; }
.duo .it-photos { width: 88%; gap: .2em; border-radius: .9em; }
.duo .slot-in > .it, .mini-chat > .it, .dock-chat > .it { margin-top: .55em; }
.mini { position: absolute; right: 0; bottom: 0; width: 20.5%; }
.mini-scr { position: relative; display: flex; flex-direction: column; aspect-ratio: 9 / 18.5; padding: .5em; border-radius: 2.2em; background: var(--ph-frame); border: 1px solid var(--border-strong); box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); overflow: hidden; }
.mini-scr::after { content: ""; position: absolute; inset: 0; background: #FFFFFF; opacity: 0; pointer-events: none; transition: opacity .3s; }
.duo.flash .mini-scr::after { opacity: .55; }
.mini-h { padding: 1.4em .8em .6em; border-bottom: 1px solid var(--ph-line); font-family: var(--font-display); font-weight: 500; font-size: .9em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-chat { padding: .2em .5em .6em; background: var(--ph-canvas); border-radius: 0 0 1em 1em; }
.mini-cam { display: grid; place-items: center; padding: .9em 0 .7em; }
.shutter { width: 3.4em; height: 3.4em; border-radius: 50%; border: .3em solid var(--text); background: var(--surface3); }
.duo.is-clearing :is(.mini-chat, .dock-chat, .desk-list) { opacity: 0; }
.desk-list { transition: opacity .8s; }
@container (max-width: 640px) {
  .desk, .mini { font-size: 2.15cqi; }
  .desk { width: 78%; }
  .desk-in { grid-template-columns: minmax(0, 1fr); height: 27em; }
  .desk-side, .desk-dock { display: none; }
  .desk-main { padding: 1em 1.1em; }
  .mini { width: 31%; }
  .duo .pill { display: none; }
}
@media (min-width: 900px) { .duo { margin-top: 40px; } }

/* ── Page heroes: the dots, and the page's things drifting over them ──── */

.phero {
  --ph-h: max(60svh, 440px);
  position: relative; height: var(--ph-h); overflow: hidden; color: var(--on-media);
  background-color: #0F110F; background-image: radial-gradient(circle at center, rgba(0,232,123,.09) 1px, transparent 1.6px); background-size: 22px 22px;
}
.phero .hero-scrim { background: linear-gradient(to top, rgba(10,11,10,.92) 0%, rgba(10,11,10,.55) 34%, rgba(10,11,10,0) 70%); }
.phero .hero-in { bottom: 64px; }
.phero h1 { color: var(--on-media); text-shadow: var(--on-media-shadow); }
.phero + .page-sheet { margin-top: -28px; }
.drift { position: absolute; inset: 0; overflow: hidden; -webkit-mask-image: linear-gradient(transparent 6%, #000 24%, #000 80%, transparent); mask-image: linear-gradient(transparent 6%, #000 24%, #000 80%, transparent); }
.drift > * { position: absolute; top: 100%; opacity: var(--o); transform: rotate(var(--r)) scale(var(--s)); animation: driftUp var(--d) linear infinite; will-change: transform; pointer-events: none; }
.drift.is-paused > * { animation-play-state: paused; }
.d-ic { fill: none; stroke: #F3F2EE; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.d-ic.hi { stroke: #00E87B; }
.d-ph { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; box-shadow: 0 10px 24px rgba(0,0,0,.45); }
/* Paper pieces (02.11.2026): Archivo, all caps, every line inside the paper.
   A word is never split: a long word shrinks until it fits on one line; several
   words may wrap at their spaces. (fitPaper() in site.js sets the size.) */
.d-doc, .d-receipt, .d-note { font-family: var(--font-display); font-weight: 500; text-transform: uppercase; text-align: left; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
.d-doc, .d-receipt { display: grid; align-content: start; justify-items: stretch; gap: 4px; padding: 9px 8px; background: #F3F2EE; color: #141514; box-shadow: 0 10px 24px rgba(0,0,0,.45); }
.d-doc b, .d-receipt b, .d-doc em, .d-receipt em, .d-note > span { display: block; min-width: 0; color: #141514; font-style: normal; font-weight: 500; line-height: 1.2; overflow-wrap: normal; word-break: keep-all; hyphens: manual; }
.d-doc .w, .d-receipt .w, .d-note .w, .rt-t .w { white-space: nowrap; }
.drift > .is-fitting { animation: none; transform: none; }
.d-doc i, .d-receipt i { height: 2px; border-radius: 1px; background: #C9C8C3; }
.d-doc { width: 70px; height: 92px; border-radius: 3px; overflow: hidden; }
.d-doc b { font-size: 7.5px; letter-spacing: .02em; }
.d-doc em { margin-bottom: 4px; font-size: 6px; letter-spacing: .1em; color: #5C5C58; }
.d-doc i:nth-of-type(2) { width: 70%; justify-self: start; }
.d-doc i:nth-of-type(4) { width: 45%; justify-self: end; margin-top: 6px; background: #8F8E89; }
.d-receipt { width: 72px; padding-bottom: 13px; border-radius: 2px 2px 0 0;
  -webkit-mask: linear-gradient(#000, #000) top / 100% calc(100% - 5px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 8px 5px repeat-x;
          mask: linear-gradient(#000, #000) top / 100% calc(100% - 5px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 8px 5px repeat-x; }
.d-receipt b { margin-bottom: 2px; font-size: 6.5px; letter-spacing: .04em; }
.d-receipt i:nth-of-type(even) { width: 75%; }
.d-receipt em { margin-top: 3px; font-size: 7.5px; text-align: right; }
.d-note { display: block; width: 84px; padding: 9px 8px 12px; border-radius: 2px; background: #F2E27A; color: #2A2A1A; font-size: 8.5px; letter-spacing: .03em; line-height: 1.3; box-shadow: 0 10px 24px rgba(0,0,0,.45); }
.d-note > span { color: #2A2A1A; line-height: 1.3; }
.d-price { padding: 4px 12px; border-radius: 999px; border: 1px solid rgba(0,232,123,.45); background: rgba(0,232,123,.08); color: #F3F2EE; font-family: var(--font-display); font-weight: 500; font-size: 15px; white-space: nowrap; }
.d-bub { padding: 9px 14px; border-radius: 18px 18px 18px 5px; background: #1F201F; color: #F3F2EE; font-size: 14px; line-height: 1.35; white-space: nowrap; box-shadow: 0 10px 24px rgba(0,0,0,.4); }
.d-bub.me { border-radius: 18px 18px 5px 18px; background: #2F302F; }
@keyframes driftUp { to { transform: translateY(calc(-1 * var(--ph-h) - 140px)) rotate(var(--r)) scale(var(--s)); } }
@media (prefers-reduced-motion: reduce) { .drift > * { animation: none; } }
@media (min-width: 900px) {
  .phero { --ph-h: max(58svh, 480px); }
  .phero .hero-scrim { background: linear-gradient(to right, rgba(10,11,10,.85) 0%, rgba(10,11,10,.45) 45%, rgba(10,11,10,0) 70%), linear-gradient(to top, rgba(10,11,10,.7), rgba(10,11,10,0) 40%); }
  .phero .hero-in { bottom: 88px; }
  .phero + .page-sheet { margin-top: -40px; }
}
.sheet-in { padding-block: 8px var(--sec-end); }
.price-note { margin-top: 28px; max-width: 58ch; }

/* ── The gallery: the cards from mantodeus.de, with sample photos ──── */

.scroller { display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding: 5px var(--gutter) 6px; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
.scroller::-webkit-scrollbar { display: none; }
.scroller li { flex: 0 0 62%; scroll-snap-align: start; }
.scroll-btns { display: none; gap: 6px; }
.scroll-btns button { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border-med); color: var(--text); transition: background .2s, opacity .2s; }
.scroll-btns button:hover { background: var(--primary-tint); }
.scroll-btns button:disabled { opacity: .3; cursor: default; }
@media (min-width: 600px) { .scroller li { flex-basis: 36%; } }
@media (min-width: 900px) {
  .scroller { gap: 14px; padding-inline: max(var(--gutter), calc((100% - 1120px) / 2 + var(--gutter))); scroll-padding-inline: max(var(--gutter), calc((100% - 1120px) / 2 + var(--gutter))); }
  .scroller li { flex-basis: calc((min(100vw, 1120px) - 82px) / 4); }
  .scroll-btns { display: flex; }
}
.rt { --rt-stroke: clamp(2px, .9cqi, 3px); position: relative; display: block; width: 100%; padding: 0; text-align: left; cursor: pointer; aspect-ratio: 1; border-radius: 12px; overflow: hidden; isolation: isolate; container-type: inline-size; background: var(--media-bg); color: var(--on-media); }
.rt-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.rt::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--cover-scrim); }
.rt-c { position: absolute; inset: 7%; pointer-events: none; transition: inset .5s var(--ease-out); }
.rt-c i { position: absolute; width: 13%; height: 13%; border: 0 solid var(--mantis-on-media); }
.rt-c i:nth-child(1) { top: 0; left: 0; border-top-width: var(--rt-stroke); border-left-width: var(--rt-stroke); }
.rt-c i:nth-child(2) { top: 0; right: 0; border-top-width: var(--rt-stroke); border-right-width: var(--rt-stroke); }
.rt-c i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: var(--rt-stroke); border-left-width: var(--rt-stroke); }
.rt-c i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: var(--rt-stroke); border-right-width: var(--rt-stroke); }
.rt-in { position: absolute; inset: 17% 13% 16%; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; }
.rt-k { font-family: var(--font-display); font-weight: 500; font-size: clamp(.5rem, 3.6cqi, .75rem); line-height: 1; letter-spacing: .38em; text-transform: uppercase; }
.rt-t { display: block; font-family: var(--font-display); font-weight: 500; font-size: calc(clamp(.75rem, 7.6cqi, 1.5rem) * var(--rt-fit, 1)); overflow-wrap: normal; word-break: keep-all; line-height: 1.06; letter-spacing: .01em; text-transform: uppercase; hyphens: manual; }
.rt-t::after { content: ""; display: block; width: 16%; height: var(--rt-stroke); margin: 7cqi 0 6cqi; background: var(--mantis-on-media); }
.rt-s { display: block; font-size: clamp(.5rem, 3.4cqi, .75rem); line-height: 1.3; letter-spacing: .16em; text-transform: uppercase; color: var(--on-media-sub); }
@media (hover: hover) { .rt:hover .rt-img { transform: scale(1.05); } .rt:hover .rt-c { inset: 5%; } }
.rt:focus-visible .rt-img { transform: scale(1.05); }
.rt:focus-visible .rt-c { inset: 5%; }
@media (prefers-reduced-motion: reduce) { .rt-img, .rt-c, .seg::before, .row-chev, .more .i { transition: none; } }

.refs-fine { margin-top: 10px; }

/* A tap on a card: a short sheet from the bottom, its photo, name and line. */
.sheet { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; overflow: hidden; background: transparent; color: var(--text); }
.sheet::backdrop { background: var(--backdrop); }
.sheet-box { position: absolute; left: 0; right: 0; bottom: 0; max-height: 88dvh; overflow-y: auto; overscroll-behavior: contain; padding: 0 20px calc(24px + env(safe-area-inset-bottom)); background: var(--surface1); border-radius: 22px 22px 0 0; box-shadow: var(--sheet-shadow); }
.sheet[open] { animation: sheetUp .42s var(--ease-out) both; }
.sheet[open]::backdrop { animation: fadeIn .3s ease both; }
.sheet-x { position: absolute; top: 10px; right: 10px; z-index: 1; background: rgba(10,11,10,.55); color: #F2F2F2; }
.sheet-img { display: block; width: calc(100% + 40px); max-width: none; height: 220px; margin: 0 -20px; border-radius: 22px 22px 0 0; object-fit: cover; }
.sheet .menu-grab { position: absolute; left: 50%; top: 0; margin-left: -20px; z-index: 1; background: rgba(255,255,255,.7); box-shadow: 0 1px 4px rgba(0,0,0,.3); }
.sheet-tx { padding-top: 18px; }
.sheet-k { font-family: var(--font-display); font-weight: 500; font-size: .6875rem; letter-spacing: .3em; text-transform: uppercase; color: var(--text-muted); }
.sheet h3 { margin-top: 6px; font-size: 1.5rem; line-height: 1.15; }
.sheet-d { margin-top: 10px; max-width: 46ch; font-size: 1.0625rem; line-height: 1.55; }
.sheet .btn { margin-top: 20px; }
@media (min-width: 700px) {
  .sheet-box { left: 50%; right: auto; bottom: 50%; width: 560px; margin-left: -280px; transform: translateY(50%); border-radius: 22px; padding-bottom: 28px; }
  .sheet[open] { animation: fadeIn .25s ease both; }
  .sheet .menu-grab { display: none; }
  .sheet-img { height: 260px; margin-top: 0; border-radius: 22px 22px 0 0; }
}
@media (prefers-reduced-motion: reduce) { .sheet[open], .sheet[open]::backdrop { animation: none; } }

.price-rows { margin-top: 32px; max-width: 640px; }
.price-rows .row { min-height: 54px; padding-left: 4px; }
@media (max-width: 599px) { .price-rows .row { flex-direction: column; align-items: flex-start; gap: 0; } .price-rows .row-v { text-align: left; } }

/* ── Contact ──────────────────────────────────────────────────────────── */

.person { display: flex; align-items: center; gap: 14px; margin-top: 24px; }
.person img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.person-t { display: block; font-family: var(--font-display); font-weight: 500; font-size: .9375rem; line-height: 1.3; }
.person-s { display: block; color: var(--text-muted); font-size: .875rem; }

/* ── Footer and the phone's bottom bar ────────────────────────────────── */

.footer { padding: 36px var(--gutter) calc(var(--callbar-space) + 32px); background: var(--bg); border-top: 1px solid var(--border); color: var(--text-muted); font-size: .9375rem; }
.home .footer { border-top: 0; }
.footer-inner, .footer-bottom { max-width: 1080px; margin: 0 auto; }
.footer-inner { display: grid; gap: 22px 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.footer-brand-col { grid-column: 1 / -1; }
.footer .brand { color: var(--text); }
.footer address { margin-top: 12px; line-height: 1.7; }
.footer a { transition: color .2s; }
.footer a:hover { color: var(--text); }
.footer-heading { margin-bottom: 4px; font-family: var(--font-display); font-weight: 500; font-size: .8125rem; color: var(--text); }
.footer-col a { display: inline-flex; align-items: center; min-height: 36px; }
.footer-bottom { display: grid; gap: 6px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--border); }
.footer-bottom p { color: var(--text-muted); font-size: .875rem; }
.footer-claim { font-family: var(--font-display); font-weight: 500; color: var(--text) !important; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 0 20px; }
.footer-legal a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-legal a[aria-current] { color: var(--text); }
@media (min-width: 760px) {
  .footer-inner { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-col a { min-height: 30px; }
  .footer-brand-col { grid-column: auto; }
  .footer-bottom { grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
  .footer-copy { text-align: center; }
  .footer-legal { justify-content: flex-end; }
}

.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; display: flex; gap: 8px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--bar-glass); border-top: 1px solid var(--border); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.callbar-btn { flex: 1 1 0; min-width: 0; display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 48px; padding: 0 10px; border-radius: 999px; font-family: var(--font-display); font-weight: 500; font-size: .8125rem; white-space: nowrap; transition: transform .2s var(--ease-out); }
.callbar-btn:active { transform: scale(.98); }
.callbar-btn--ink { background: var(--text); color: var(--bg); }
.callbar-btn--line { border: 1px solid var(--border-strong); color: var(--text); }

@media (min-width: 900px) { .callbar { display: none; } }

/* The one quiet offer of the English page. */
.lang-hint { position: fixed; z-index: 950; left: 16px; bottom: calc(var(--callbar-space) + 16px); display: flex; align-items: center; gap: 4px 12px; max-width: calc(100vw - 32px); padding: 6px 6px 6px 18px; border-radius: 18px; background: var(--surface2); border: 1px solid var(--border-med); box-shadow: 0 18px 40px -18px rgba(0,0,0,.5); animation: hint-in .4s var(--ease-out) both; }
.lang-hint p { font-size: .9375rem; }
.lang-hint a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--text); color: var(--bg); font-size: .9375rem; white-space: nowrap; }
.lang-hint button { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--text-muted); }
.lang-hint svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
@keyframes hint-in { from { opacity: 0; transform: translateY(12px); } }
@media (prefers-reduced-motion: reduce) { .lang-hint { animation: none; } }
@media (max-width: 480px) { .lang-hint { right: 16px; } .lang-hint p { flex: 1; font-size: .875rem; } }

/* ── Pages next to the home page: one sheet under the bar ─────────────── */

.page { position: relative; margin: calc(var(--nav-height) + 24px) auto 0; padding: 40px 0 56px; background: var(--surface1); border-radius: 22px 22px 0 0; box-shadow: var(--sheet-shadow); }
@media (min-width: 900px) { .page { max-width: 1180px; margin-top: calc(var(--nav-height) + 48px); padding: 56px 0 72px; border-radius: 26px 26px 0 0; } }
.page h1 { max-width: 18ch; font-size: clamp(1.75rem, 1.1rem + 2.4vw, 2.5rem); line-height: 1.08; }
.page .lead { margin-top: 12px; max-width: 52ch; color: var(--text-muted); font-size: 1.0625rem; line-height: 1.55; }
.page a:not(.btn):not(.row) { text-decoration: underline; text-underline-offset: .18em; }
.page .sub { margin-top: 12px; color: var(--text-muted); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; font-family: var(--font-display); font-weight: 500; font-size: .875rem; }
.btn-ink { background: var(--text); color: var(--bg); }
.btn-line { border: 1px solid var(--border-strong); color: var(--text); }

.table-scroll { overflow-x: auto; }
.plans { width: 100%; min-width: 520px; margin-top: 36px; border-collapse: collapse; }
.plans th, .plans td { padding: 16px 12px; border-bottom: 1px solid var(--border); text-align: right; font-weight: 300; white-space: nowrap; }
.plans thead th { font-size: .8125rem; color: var(--text-muted); border-bottom-color: var(--border-strong); }
.plans th:first-child, .plans td:first-child { padding-left: 4px; text-align: left; }
.plans tbody th { font-family: var(--font-display); font-weight: 500; font-size: .9375rem; }
.plans .eur { font-family: var(--font-display); font-weight: 500; color: var(--text); }
.tiers-m { display: none; margin-top: 28px; }
.tiers-m li { display: grid; grid-template-columns: 1fr auto; gap: 0 12px; padding: 14px 4px; border-top: 1px solid var(--border); }
.tiers-m li:last-child { border-bottom: 1px solid var(--border); }
.tiers-m b { font-family: var(--font-display); font-weight: 500; font-size: .9375rem; }
.tiers-m .eur { font-family: var(--font-display); font-weight: 500; }
.tiers-m small { grid-column: 1 / -1; color: var(--text-muted); font-size: .875rem; }
@media (max-width: 599px) { .tiers-wrap { display: none; } .tiers-m { display: block; } }
.tiers-soon { display: block; max-width: 640px; }
.tiers-soon li { grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .price-note { max-width: 70ch; }
  .tiers-soon { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 24px; max-width: none; }
  .tiers-soon li, .tiers-soon li:last-child { border-bottom: 1px solid var(--border); align-content: start; }
  .price-rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; max-width: none; }
  .price-rows li { border-top: 1px solid var(--border); }
}
.plain { display: grid; gap: 12px; max-width: 62ch; margin-top: 36px; color: var(--text-sub); }
.plain li { position: relative; padding-left: 20px; }
.plain li::before, .trust-points li::before { content: ""; position: absolute; left: 2px; top: .66em; width: 6px; height: 6px; border-radius: 50%; background: var(--text-muted); }

.trust-asof { margin-top: 16px; font-size: .8125rem; color: var(--text-muted); }
.trust-row { display: grid; gap: 14px; margin-top: 0; padding-block: 32px; border-top: 1px solid var(--border); }
.trust-row:first-of-type { margin-top: 36px; }
.trust-row h2 { font-size: 1.125rem; line-height: 1.3; max-width: 18ch; }
.trust-row p { max-width: 62ch; }
.trust-row p + p, .trust-row p + dl { margin-top: 12px; }
@media (min-width: 900px) { .trust-row { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; } }
.trust-list > div { display: grid; gap: 2px 20px; padding-block: 12px; border-top: 1px solid var(--border); }
.trust-list dt { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font-family: var(--font-display); font-weight: 500; font-size: .875rem; }
.trust-list dd { color: var(--text-sub); font-size: .9375rem; }
@media (min-width: 700px) { .trust-list > div { grid-template-columns: minmax(0, 12rem) minmax(0, 1fr); } }
.trust-list .us { font-family: Kanit, sans-serif; font-weight: 300; font-size: .8125rem; letter-spacing: 0; color: var(--caution); }
.trust-points { display: grid; gap: 12px; }
.trust-points li { position: relative; padding-left: 20px; max-width: 62ch; color: var(--text-sub); }
.trust-points b { font-family: var(--font-display); font-weight: 500; font-size: .875rem; }
.trust-links { display: grid; gap: 6px; }

.legal .wrap > * { max-width: 720px; }
.legal h2 { margin: 36px 0 8px; font-size: 1.0625rem; line-height: 1.35; }
.legal h1 + h2, .legal .sub + h2 { margin-top: 28px; }
.legal p, .legal li { color: var(--text-sub); }
.legal p + p { margin-top: 10px; }
.legal ul { display: grid; gap: 6px; margin-top: 8px; padding-left: 18px; list-style: disc; }
.legal a, address a { overflow-wrap: anywhere; }

/* Switching the theme: everything changes in one frame, nothing eases. */
.theme-switch, .theme-switch *, .theme-switch *::before, .theme-switch *::after { transition: none !important; }

/* Beta notice (user 04.11.2026): a dark pop-up in the middle of a wide
   screen, a sheet from below on a phone; shown once a browser, until it is
   closed. Always dark, whatever the theme. */
.beta { width: 100%; max-width: 100%; max-height: 100%; margin: auto auto 0; padding: 0; border: 0; background: transparent; color: #F2F2F2; overflow: visible; }
.beta::backdrop { background: rgba(5,6,5,.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.beta-box { position: relative; padding: 14px 20px calc(20px + env(safe-area-inset-bottom)); background: #0B0C0B; border: 1px solid rgba(255,255,255,.1); border-bottom: 0; border-radius: 22px 22px 0 0; box-shadow: 0 -20px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(0,232,123,.08); }
.beta .menu-grab { margin: 0 auto 14px; background: rgba(255,255,255,.25); }
.beta-x { position: absolute; top: 10px; right: 10px; color: rgba(242,242,242,.6); }
.beta-k { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 500; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--neon); }
.beta-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--neon); box-shadow: 0 0 12px rgba(0,232,123,.7); }
.beta-h { margin-top: 10px; font-size: 1.5rem; line-height: 1.15; color: #F2F2F2; }
.beta-p { margin-top: 10px; color: rgba(242,242,242,.66); line-height: 1.55; }
.beta-p span { display: block; }
.beta-acts { display: flex; gap: 10px; margin-top: 20px; }
.beta-acts .btn { flex: 1 1 0; white-space: nowrap; padding-inline: 14px; }
.beta-box:focus { outline: none; }
.beta-go { background: var(--neon); color: var(--on-neon); }
.beta-later { border: 1px solid rgba(255,255,255,.2); color: #F2F2F2; }
@media (min-width: 600px) {
  .beta { width: min(440px, calc(100% - 40px)); margin: auto; }
  .beta-box { padding: 28px 28px 26px; border-bottom: 1px solid rgba(255,255,255,.1); border-radius: 22px; box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(0,232,123,.08); }
  .beta .menu-grab { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .beta[open] .beta-box { animation: beta-up .45s var(--ease-out) both; }
  .beta[open]::backdrop { animation: beta-fade .3s ease both; }
}
@keyframes beta-up { from { transform: translateY(40px); opacity: 0; } }
@keyframes beta-fade { from { opacity: 0; } }
