/* ============================================================
   BEWERBHELD — Liquid Glass Design System
   ============================================================ */

/* Fonts are self-hosted — see assets/css/fonts.css (loaded first on every
   page). The old render-blocking `@import url(fonts.googleapis…)` here caused
   a Safari hard-refresh FOUC and was removed (§12ag).
   @view-transition was also removed: its cross-page cross-fade surfaced the
   half-painted new frame on reload, amplifying the same flash. */

:root {
  /* base */
  --bg:            #0a0908;
  --bg-2:          #0d0c0b;
  --ink:           #f4f1ec;   /* warm white */
  --ink-soft:      #b9b2a8;   /* silver */
  /* muted — lifted from #7c756c (2026-07-07, §12ai): at ≤.9rem the old value
     sat ~4.0:1 on raised panels, under WCAG AA for body text. Now ~5.0:1 on
     the page bg / ~4.4:1 on panels. */
  --ink-mute:      #8a8378;
  /* ornamental ONLY (rules, ticks, disabled chrome) — never for text that
     must be read; use --ink-mute for that. */
  --ink-faint:     #524d47;

  /* accent — warm amber / gold */
  --amber:         #e8a85e;
  --amber-bright:  #f3bd78;
  --amber-deep:    #c8843a;
  --amber-ink:     #2a1c0c;

  /* amber accent tokens (values match bewerbheld.css dark theme).
     --accent-line was referenced by .glass--lift:hover but never defined,
     which invalidated the hover border-color/ring on every glass page
     (undefined var() = invalid at computed-value time → border-color
     fell back to currentColor). Defined here so all glass.css pages get
     the intended amber hover without page-local workarounds. */
  --accent-line:   rgba(232,168,94,.35);
  --accent-soft:   rgba(232,168,94,.16);
  --accent-softer: rgba(232,168,94,.09);
  --accent-text:   #f0bb7c;

  /* glass */
  --glass-1:       rgba(255,255,255,0.045);
  --glass-2:       rgba(255,255,255,0.072);
  --glass-3:       rgba(255,255,255,0.10);
  --glass-border:  rgba(255,255,255,0.11);
  --glass-border-2:rgba(255,255,255,0.16);
  --glass-hi:      rgba(255,255,255,0.55);

  /* Tightened (2026-06-06) from 28/20/14 toward the home page's 14/10/7
     scale (var(--r-lg)/--r-md/--r-sm in bewerbheld.css) — the original
     "squircle" rounding was a major contributor to this system reading
     as a different product from the home page's flatter card language. */
  --r-lg: 18px;
  --r-md: 12px;
  --r-sm: 9px;
  --r-pill: 999px;

  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 56px);

  --shadow-soft: 0 24px 60px -24px rgba(0,0,0,.7), 0 8px 24px -14px rgba(0,0,0,.55);
  --shadow-deep: 0 40px 90px -30px rgba(0,0,0,.8), 0 12px 36px -16px rgba(0,0,0,.6);

  /* ── MOTION SYSTEM — canonical, shared across every page (2026-07-08).
     One motion language: durations scale with interaction weight, easings
     encode intent. Mirrors the builder's --dur and --ease token names so the
     whole product speaks the same vocabulary. All uses are gated by the global
     prefers-reduced-motion block at the end of this file — never hand-roll a
     new duration/curve, reach for one of these tokens instead. */
  --ease-out:    cubic-bezier(.22, 1, .36, 1);    /* decelerate — reveals, panels settling in */
  --ease-swift:  cubic-bezier(.4, 0, .2, 1);      /* standard — hovers, state flips */
  --ease-spring: cubic-bezier(.34, 1.4, .5, 1);   /* gentle overshoot — pops, toggles, checks */
  --dur-fast:    .12s;   /* taps / active-press feedback */
  --dur-micro:   .18s;   /* hovers, focus rings, chips */
  --dur-base:    .24s;   /* dropdowns, small state changes */
  --dur-reveal:  .38s;   /* accordion bodies, panels, modals */
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Schibsted Grotesk', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

/* ---------- Single global background grid (matches bewerbheld.css .marketing-page::before — keep in sync, this is the ONE grid system site-wide) ---------- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.05;
}

/* ---------- Atmospheric background ---------- */
.atmos {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(120% 70% at 50% -8%, rgba(232,168,94,.16), transparent 55%),
    radial-gradient(80% 50% at 50% 105%, rgba(200,132,58,.10), transparent 60%),
    linear-gradient(180deg, #0c0a09 0%, #0a0908 40%, #08070620 100%);
}
.atmos::before {
  /* soft elliptical warm core glow */
  content: "";
  position: absolute;
  left: 50%; top: 34%;
  width: 80vw; height: 46vw;
  transform: translate(-50%,-50%);
  background: radial-gradient(closest-side, rgba(232,168,94,.20), rgba(232,168,94,.06) 55%, transparent 75%);
  filter: blur(20px);
}
.atmos::after {
  /* faint cool counter-orb for depth */
  content: "";
  position: absolute;
  right: -10vw; top: 60%;
  width: 46vw; height: 46vw;
  background: radial-gradient(closest-side, rgba(120,140,180,.07), transparent 70%);
  filter: blur(30px);
}
/* fine grain so glass has something to refract */
.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .5;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
}

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(72px, 11vw, 150px); position: relative; }
.section--tight { padding-block: clamp(56px, 8vw, 110px); }

/* ---------- Glass core ----------
   Retuned (2026-06-06) to align with the home page's calmer .glass-card
   language — the original "iOS 26 squircle" treatment (30px radius, 30px
   blur, brightness boost, glossy bright-white insets/rim) read as a
   visually distinct product from the warm, flatter glass on `/`. Now
   matches its proportions: ~16px radius (vs. home's 14px var(--r-lg)),
   lighter blur/saturation, a quieter two-layer gradient fill, soft dark
   resting shadow (var(--shadow-soft) is already dark/warm-neutral), and
   a subtle hairline rim instead of a bright glossy bezel. Mood — warm,
   premium, restrained — now consistent across both visual systems.    */
.glass {
  position: relative;
  background:
    radial-gradient(150% 105% at 22% -42%, rgba(255,255,255,.10), rgba(255,255,255,0) 50%),
    linear-gradient(160deg, var(--glass-2) 0%, var(--glass-1) 100%);
  backdrop-filter: blur(16px) saturate(145%);
  -webkit-backdrop-filter: blur(16px) saturate(145%);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.07),
    inset 0 -1px 0 rgba(255,255,255,.025),
    var(--shadow-soft);
  isolation: isolate;
}
/* gradient rim — quiet hairline, brightens slightly on the lit edge with
   a faint warm-amber trace on the lower edge (kept, just toned down) */
.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(140deg,
    rgba(255,255,255,.22) 0%,
    rgba(255,255,255,.07) 30%,
    rgba(255,255,255,.03) 60%,
    rgba(232,168,94,.16) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
}
.glass > * { position: relative; z-index: 1; }

/* warm-reflection variant — amber light pooling up from the lower-right
   (kept, intensity nudged down slightly to match the calmer base glass) */
.glass--warm::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(95% 75% at 88% 122%, rgba(232,168,94,.18), transparent 58%);
  z-index: 0;
}

/* subtle hover lift for interactive glass — matches .glass-card's hover:
   -4px lift, accent-line ring, warm gradient shift, soft amber halo */
.glass--lift { transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s, border-color .3s, background .3s; }
.glass--lift:hover {
  transform: translateY(-4px);
  border-color: var(--accent-line);
  background:
    radial-gradient(150% 105% at 22% -42%, rgba(255,255,255,.12), rgba(255,255,255,0) 50%),
    linear-gradient(160deg, rgba(232,168,94,.10) 0%, var(--glass-1) 100%);
  box-shadow:
    0 0 0 1px var(--accent-line),
    inset 0 1px 0 rgba(255,255,255,.10),
    0 0 48px rgba(232,168,94,.08),
    var(--shadow-deep);
}
.glass--lift:hover::before {
  background: linear-gradient(140deg,
    rgba(255,255,255,.36) 0%,
    rgba(255,255,255,.10) 28%,
    rgba(255,255,255,.04) 60%,
    rgba(243,189,120,.30) 100%);
}

/* ---------- Cursor-tracked reflection sheen — "key moments" only ----------
   Adds a roaming specular highlight that follows the pointer, layered as
   the base-most background plane (so it never fights .glass::before's rim
   mask or .glass--warm::after's pooling glow — both remain on top, painted
   via their own pseudo-elements). --glass-x/--glass-y are written inline
   by the page's pointermove helper (see <script> near </body>); the
   fallback values below keep the sheen looking intentional with no JS /
   off-hover. Apply ONLY to the page's hero-weight focal panels — not
   every card — per the deliberate "key moments only" scope decision.   */
:root { --glass-x: 26%; --glass-y: -10%; }
.glass--cursor {
  background:
    radial-gradient(460px circle at var(--glass-x) var(--glass-y), rgba(255,255,255,.13), transparent 62%),
    radial-gradient(150% 105% at 22% -42%, rgba(255,255,255,.10), rgba(255,255,255,0) 50%),
    linear-gradient(160deg, var(--glass-2) 0%, var(--glass-1) 100%);
  transition: background-image 60ms linear, transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s, border-color .3s;
}

/* ---------- Glass orbs — slow-drifting ambient light sources ----------
   Companions to .atmos's fixed glows: a couple of soft, blurred amber
   circles that drift gently behind the content for extra depth. Always
   pointer-events:none, gated behind prefers-reduced-motion, and toned
   down on small screens for performance.                               */
.glass-orb {
  position: fixed;
  z-index: -2;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(85px);
  opacity: .15;
  will-change: transform;
}
.glass-orb--a {
  top: -8%; right: -6%;
  width: 40vw; height: 40vw;
  background: radial-gradient(circle, rgba(232,168,94,.5), transparent 70%);
  animation: glass-orb-drift-a 50s ease-in-out infinite alternate;
}
.glass-orb--b {
  bottom: -14%; left: -8%;
  width: 38vw; height: 38vw;
  background: radial-gradient(circle, rgba(200,132,58,.4), transparent 70%);
  animation: glass-orb-drift-b 58s ease-in-out infinite alternate;
}
@keyframes glass-orb-drift-a { from { transform: translate(0,0); } to { transform: translate(-3vw, 4vh); } }
@keyframes glass-orb-drift-b { from { transform: translate(0,0); } to { transform: translate(3vw, -3vh); } }
@media (prefers-reduced-motion: reduce) { .glass-orb { animation: none; } }
@media (max-width: 760px) { .glass-orb { opacity: .09; filter: blur(60px); } }
/* Disable orb keyframe animations on touch devices — filter:blur on animating elements
   creates large GPU offscreen buffers that compete with scroll compositing on iOS. */
@media (pointer: coarse) { .glass-orb { animation: none; will-change: auto; filter: blur(60px); } }

/* ---------- Mobile: eliminate backdrop-filter on non-essential elements ---------- */
/* Same iOS GPU compositor budget issue as bewerbheld.css — see comment there.
   On glass.css pages (dashboard, how-it-works, faq, pricing) every card uses .glass.
   We must disable blur on regular cards while keeping it on the sticky nav header
   and mobile menu overlay (these appear at most one at a time). */
@media (max-width: 768px) {
  /* Remove blur from all glass cards/content blocks */
  .glass {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  /* Re-enable on the floating/persistent UI that actually needs the frosted effect.
     These elements are never all simultaneously visible, so no compositor overload.
     (.m-menu owns its blur in public-header.css — the canonical component file.) */
  .site-header,
  .util-panel,
  .login-modal-box,
  .price-card--featured {
    backdrop-filter: blur(14px) saturate(130%);
    -webkit-backdrop-filter: blur(14px) saturate(130%);
  }
  .glass--lift:hover { transform: translateY(-2px); }
}

/* ---------- True edge refraction (iOS 26 lens) ----------
   Bends the backdrop at glass edges via an SVG feDisplacementMap filter,
   layered on top of the existing blur/saturate/brightness. Progressive
   enhancement — gated behind @supports so unsupported browsers simply
   keep the frosted rim defined in .glass above. The <svg class="liquid-svg">
   filter defs (#liquidRefract / #liquidRefractStrong) must be present once
   per page (placed near the top of <body>, right after .atmos/.grain).
   Limit to 1–4 elements — backdrop SVG filters are GPU-expensive — and
   keep this rule AFTER any other backdrop-filter declaration on the same
   element so it wins by source order (or raise specificity if needed). */
@supports ((backdrop-filter: url(#liquidRefract)) or (-webkit-backdrop-filter: url(#liquidRefract))) {
  .refract {
    backdrop-filter: blur(15px) saturate(150%) url(#liquidRefract);
    -webkit-backdrop-filter: blur(15px) saturate(150%) url(#liquidRefract);
  }
  .refract--strong {
    backdrop-filter: blur(13px) saturate(155%) url(#liquidRefractStrong);
    -webkit-backdrop-filter: blur(13px) saturate(155%) url(#liquidRefractStrong);
  }
}

.radius-md { border-radius: var(--r-md); }
.radius-sm { border-radius: var(--r-sm); }

/* ---------- Typography ---------- */
/* Retuned (2026-06-06) to match the home page's `.eyebrow`/`.eyebrow--accent`
   exactly: 12px / .10em tracking / amber-bright (`--accent-text`/#f0bb7c
   equivalent). Kept `font-family: 'JetBrains Mono'` — it's the one mono font
   self-hosted in assets/css/fonts.css and used intentionally in a dozen+
   places (footer labels, price tiers, badges); `bewerbheld.css`'s
   `--font-mono: 'Geist Mono', …` was never loaded (Geist Mono is unused +
   dropped, §12ag), so that reference falls back to the system mono font.
   JetBrains Mono is the more correct, deliberate choice. */
.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--amber-bright);
  display: inline-block;
}
.eyebrow--mute { color: var(--ink-mute); }

/* Retuned (2026-06-06): home page headings run at weight 700 (`.display`/
   `.h1`) or 600 (`.h2`/`.h3`) with letter-spacing in the -0.022em to -0.03em
   range — this system's blanket 800-weight / -0.035em baseline rendered
   noticeably bolder and tighter, a visible "different product" cue at the
   type level. Brought down to 700 / -0.03em to match the home page's
   general heading weight and rhythm. */
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.03em; line-height: 1.02; margin: 0; text-wrap: balance; }

.display {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.98;
}
.h-sec {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.02;
}
.h-card { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.018em; line-height: 1.2; }

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--ink-soft);
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: -0.012em;
  text-wrap: pretty;
}
.muted { color: var(--ink-soft); }
.faint { color: var(--ink-mute); }
.amber-text { color: var(--amber); }

.center { text-align: center; }
.measure { max-width: 56ch; }
.measure-sm { max-width: 44ch; }
.mx-auto { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 14px; --pad-x: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: var(--pad-y) var(--pad-x);
  border-radius: var(--r-pill);
  font: 600 1rem/1 'Schibsted Grotesk', sans-serif;
  letter-spacing: -0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s, background .25s, border-color .25s;
  position: relative;
  isolation: isolate;
}
.btn:active { transform: translateY(1px) scale(.99); }
/* Site-wide disabled/busy state: async flows disable buttons while a request is in
   flight — without this rule a disabled .btn looks fully interactive. */
.btn:disabled, .btn[disabled] { opacity: .6; cursor: default; transform: none; }

.btn--primary {
  background:
    linear-gradient(180deg, rgba(255,255,255,.45), rgba(255,255,255,0) 42%),
    linear-gradient(180deg, var(--amber-bright), var(--amber-deep));
  color: var(--amber-ink);
  border-color: rgba(255,255,255,.32);
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,.75),
    inset 0 -2px 3px rgba(120,70,20,.45),
    0 8px 24px -8px rgba(232,168,94,.6),
    0 2px 6px rgba(0,0,0,.3);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,.85),
    inset 0 -2px 3px rgba(120,70,20,.45),
    0 16px 38px -10px rgba(232,168,94,.78),
    0 2px 6px rgba(0,0,0,.3);
}
.btn--ghost {
  background: var(--glass-1);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  color: var(--ink);
  border-color: var(--glass-border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 6px 18px -10px rgba(0,0,0,.5);
}
.btn--ghost:hover {
  transform: translateY(-2px);
  border-color: var(--glass-border-2);
  background: var(--glass-2);
}
.btn--sm { --pad-y: 10px; --pad-x: 16px; font-size: .9rem; }
.btn--lg { --pad-y: 17px; --pad-x: 30px; font-size: 1.05rem; }

.arrow { transition: transform .25s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Pills / chips ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 15px;
  border-radius: var(--r-pill);
  background: var(--glass-1);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
  font-size: .86rem;
  color: var(--ink-soft);
  white-space: nowrap;
}
.pill .mono { font-family: 'JetBrains Mono', monospace; font-size: .76rem; color: var(--ink-mute); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 8px var(--amber); }

/* Public `site-header` navigation is centralized in public-header.css.
   Keep only generic brand/icon primitives here for footers, modals, and drawers. */
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); font-weight: 700; letter-spacing: -0.02em; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(180deg, var(--amber-bright), var(--amber-deep));
  color: var(--amber-ink);
  display: grid; place-items: center;
  font-weight: 800; font-size: 1rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 4px 12px -4px rgba(232,168,94,.6);
}
.icon-btn {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: var(--r-pill);
  background: var(--glass-1);
  border: 1px solid var(--glass-border);
  color: var(--ink-soft);
  cursor: pointer;
  transition: color .2s, border-color .2s, background .2s;
}
.icon-btn:hover { color: var(--ink); border-color: var(--glass-border-2); background: var(--glass-2); }
.icon-btn svg { width: 18px; height: 18px; }

/* mobile menu overlay — canonical component now lives in public-header.css
   (loaded after this file on every public page). Only the shared `fade`
   keyframes remain here (used by .login-overlay). */
@keyframes fade { from { opacity: 0; transform: translateY(-8px);} to { opacity: 1; transform: none;} }

/* ---------- EN/DE bilingual toggle ---------- */
.t-de { display: none; }
[data-lang="de"] .t-en { display: none; }
[data-lang="de"] .t-de { display: inline; }

/* ---------- Account / language utility dropdown ---------- */
.util-menu { position: relative; }
.util-btn {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: var(--r-pill);
  background: var(--glass-1);
  border: 1px solid var(--glass-border);
  color: var(--ink-soft);
  cursor: pointer;
  transition: color .2s, border-color .2s, background .2s;
}
.util-btn:hover { color: var(--ink); border-color: var(--glass-border-2); background: var(--glass-2); }
.util-btn[aria-expanded="true"] { color: var(--amber); border-color: rgba(232,168,94,.4); background: rgba(232,168,94,.1); }
.util-btn svg { width: 18px; height: 18px; }

.util-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 230px;
  background:
    radial-gradient(150% 105% at 22% -42%, rgba(255,255,255,.18), rgba(255,255,255,0) 48%),
    linear-gradient(170deg, var(--glass-3), var(--glass-2));
  backdrop-filter: blur(28px) saturate(180%) brightness(1.05);
  -webkit-backdrop-filter: blur(28px) saturate(180%) brightness(1.05);
  border: 1px solid var(--glass-border-2);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-deep);
  z-index: 250;
  padding: 8px;
}
.util-panel[hidden] { display: none; }

.util-user-email { padding: 9px 11px 2px; font-size: .8rem; color: var(--ink-soft); line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.util-user-remaining { padding: 0 11px 10px; font-size: .8rem; color: var(--amber); font-weight: 600; }
.util-divider { height: 1px; background: var(--glass-border); margin: 5px 2px; }

.util-item {
  display: flex; align-items: center; gap: 9px;
  width: 100%; padding: 9px 11px;
  font: inherit; font-size: .9rem;
  color: var(--ink-soft);
  text-decoration: none;
  background: none; border: none;
  border-radius: var(--r-sm);
  cursor: pointer; text-align: left;
  transition: background .15s, color .15s;
}
.util-item:hover { background: var(--glass-2); color: var(--ink); }
.util-item--danger { color: #e8897e; }
.util-item--danger:hover { background: rgba(232,137,126,.12); color: #f0a89f; }

/* Primary account destination — Dashboard */
.util-item--primary { color: var(--ink); font-weight: 500; background: rgba(232,168,94,.08); }
.util-item--primary svg { color: var(--amber); }
.util-item--primary:hover { background: rgba(232,168,94,.17) !important; color: var(--amber-bright); }
.util-item--primary:hover svg { color: var(--amber-bright); }

.util-label {
  padding: 9px 11px 5px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-mute);
}
.util-row { display: flex; gap: 5px; padding: 0 7px 5px; }

.util-pill {
  flex: 1; height: 32px;
  border: 1px solid var(--glass-border);
  border-radius: var(--r-sm);
  background: var(--glass-1); color: var(--ink-soft);
  font: inherit; font-size: .82rem; font-weight: 600;
  cursor: pointer; padding: 0;
  transition: background .15s, color .15s, border-color .15s;
}
.util-pill:hover { border-color: var(--glass-border-2); color: var(--ink); background: var(--glass-2); }
.util-pill.is-on {
  background: linear-gradient(180deg, var(--amber-bright), var(--amber-deep));
  color: var(--amber-ink); border-color: rgba(255,255,255,.3);
}

/* (mobile-menu account/nav/label styles moved to public-header.css — canonical) */

/* ---------- Grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Cards ---------- */
.card { padding: 30px; }
.card .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: .74rem; letter-spacing: .12em; color: var(--amber); font-weight: 500;
}
.card p { color: var(--ink-soft); margin: 12px 0 0; font-size: .98rem; line-height: 1.55; }

/* ---------- Login modal (shared across all glass.css pages) ---------- */
.login-overlay {
  position: fixed; inset: 0; z-index: 400;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px) saturate(120%);
  -webkit-backdrop-filter: blur(6px) saturate(120%);
  display: none; align-items: center; justify-content: center; padding: 16px;
}
.login-overlay.open { display: flex; animation: fade .2s ease; }
.login-box {
  width: 100%; max-width: 440px; padding: 38px;
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(255,255,255,.09) 0%, rgba(255,255,255,.04) 100%);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid var(--glass-border-2);
  box-shadow: 0 24px 64px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.1);
  position: relative;
}
.login-close {
  position: absolute; top: 14px; right: 14px;
  width: 30px; height: 30px; border-radius: 8px;
  border: 1px solid var(--glass-border); background: none;
  display: grid; place-items: center; color: var(--ink-mute); cursor: pointer;
  transition: border-color .2s, color .2s;
}
.login-close:hover { border-color: var(--glass-border-2); color: var(--ink); }
.login-input {
  width: 100%; height: 46px;
  border: 1px solid var(--glass-border); border-radius: 10px;
  padding: 0 14px; margin-top: 20px;
  background: rgba(255,255,255,.06); outline: none;
  font-size: .95rem; font-family: inherit; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.login-input:focus { border-color: var(--amber); box-shadow: 0 0 0 2px rgba(232,168,94,.2); }
.login-error { color: #f0a89f; font-size: .85rem; margin-top: 8px; display: none; }
.login-success-icon { font-size: 2rem; margin-bottom: 12px; }

/* stat row */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 26px 28px; position: relative; }
.stat + .stat::before {
  content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px;
  background: linear-gradient(180deg, transparent, var(--glass-border-2), transparent);
}
.stat .v { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -0.04em; }
.stat .k { color: var(--ink-mute); font-size: .82rem; margin-top: 4px; }

/* ---------- FAQ ---------- */
.faq-wrap { display: flex; flex-direction: column; gap: 56px; }
.faq-group { position: relative; }
.faq-group-head {
  display: flex; align-items: center; gap: 16px; margin-bottom: 20px;
}
.faq-group-head::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, var(--glass-border), transparent);
}
.faq-cat { font-family: 'JetBrains Mono', monospace; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--amber); padding: 0; display: block; white-space: nowrap; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { overflow: hidden; contain: paint; }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  color: var(--ink); font: 600 1.03rem/1.3 'Schibsted Grotesk', sans-serif; letter-spacing: -0.01em;
}
.faq-ico { position: relative; flex: none; width: 22px; height: 22px; }
.faq-ico::before, .faq-ico::after {
  content: ""; position: absolute; background: var(--amber); border-radius: 2px;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), opacity .3s;
}
.faq-ico::before { left: 50%; top: 4px; width: 2px; height: 14px; transform: translateX(-50%); }
.faq-ico::after  { top: 50%; left: 4px; height: 2px; width: 14px; transform: translateY(-50%); }
.faq-item.open .faq-ico::before { transform: translateX(-50%) rotate(90deg); opacity: 0; }
/* Collapsible answer: avoid animating layout properties on glass rows.
   The row height now changes immediately while only the answer content fades
   and translates on the compositor, keeping long German answers unclipped. */
.faq-a {
  display: block;
  height: 0;
  overflow: clip;
  opacity: 0;
  visibility: hidden;
  transition: opacity .16s ease, visibility 0s linear .16s;
}
.faq-a-inner {
  padding: 0 56px 22px 24px;
  color: var(--ink-soft);
  font-size: .98rem;
  line-height: 1.6;
  transform: translateY(-4px);
  transition: transform .16s ease;
  will-change: transform;
}
.faq-item.open .faq-a {
  height: auto;
  opacity: 1;
  visibility: visible;
  transition: opacity .16s ease;
}
.faq-item.open .faq-a-inner { transform: translateY(0); }
.faq-item.open { background: linear-gradient(170deg, var(--glass-3), var(--glass-1)); }
.faq-item.open::before {
  background: linear-gradient(140deg, rgba(255,255,255,.9) 0%, rgba(243,189,120,.35) 50%, rgba(232,168,94,.5) 100%);
}

/* ---------- Pricing ---------- */
.price-card { padding: 34px 30px; display: flex; flex-direction: column; }
.price-card .tier { font-family: 'JetBrains Mono', monospace; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-mute); }
.price-card .qty { font-size: 3.6rem; font-weight: 800; letter-spacing: -0.05em; line-height: 1; margin-top: 18px; }
.price-card .qty-l { font-size: .9rem; color: var(--ink-mute); margin-top: 6px; }
.price-card .blurb { color: var(--ink-soft); margin-top: 4px; font-size: .98rem; }
.price-card .amt { margin-top: 22px; font-size: 1.7rem; font-weight: 800; letter-spacing: -0.03em; }
.price-card .amt small { font-family: 'JetBrains Mono', monospace; font-size: .72rem; font-weight: 500; color: var(--ink-mute); letter-spacing: .08em; margin-left: 8px; }
.feat { list-style: none; padding: 0; margin: 24px 0 26px; display: flex; flex-direction: column; gap: 13px; flex: 1; }
.feat li { display: flex; gap: 11px; align-items: flex-start; color: var(--ink-soft); font-size: .96rem; line-height: 1.4; }
.feat .ck { flex: none; width: 17px; height: 17px; margin-top: 2px; color: var(--amber); }
.price-card--featured {
  box-shadow: inset 0 1.5px 1px rgba(255,255,255,.4), 0 0 0 1px rgba(232,168,94,.18), 0 30px 80px -28px rgba(232,168,94,.34), var(--shadow-deep);
  transform: translateY(-14px);
}
.price-card--featured::before {
  background: linear-gradient(140deg, rgba(255,255,255,1) 0%, rgba(243,189,120,.4) 45%, rgba(232,168,94,.6) 100%);
}
.badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 15px; border-radius: var(--r-pill);
  background: linear-gradient(180deg, var(--amber-bright), var(--amber-deep));
  color: var(--amber-ink);
  font-family: 'JetBrains Mono', monospace; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 8px 20px -8px rgba(232,168,94,.6);
  white-space: nowrap;
}

/* ---------- Document mockups ---------- */
.doc {
  border-radius: var(--r-md);
  padding: 18px 18px 20px;
  background: linear-gradient(170deg, rgba(255,255,255,.055), rgba(255,255,255,.02));
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
  font-size: 10px; line-height: 1.4; color: var(--ink-soft);
  overflow: hidden;
}
.doc-bar { display: flex; justify-content: space-between; align-items: center; font-family: 'JetBrains Mono', monospace; font-size: 8.5px; letter-spacing: .08em; color: var(--ink-mute); text-transform: uppercase; margin-bottom: 14px; }
.skel { height: 7px; border-radius: 3px; background: rgba(255,255,255,.09); margin: 6px 0; }
.skel.amber { background: rgba(232,168,94,.4); }
.skel.w-70 { width: 70%; } .skel.w-50 { width: 50%; } .skel.w-40 { width: 40%; } .skel.w-85 { width: 85%; } .skel.w-60 { width: 60%; } .skel.w-30 { width: 30%; }
.photo-slot {
  width: 46px; height: 56px; border-radius: 4px;
  background: linear-gradient(135deg, rgba(232,168,94,.5), rgba(200,132,58,.25));
  border: 1px solid rgba(255,255,255,.18);
  display: grid; place-items: center;
  font-family: 'JetBrains Mono', monospace; font-size: 6px; letter-spacing: .1em; color: rgba(255,255,255,.7);
}

/* mockup window */
.window { border-radius: var(--r-md); overflow: hidden; }
.win-bar { display: flex; align-items: center; gap: 8px; padding: 13px 16px; border-bottom: 1px solid var(--glass-border); background: rgba(255,255,255,.03); }
.win-dots { display: flex; gap: 6px; }
.win-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.16); }
.win-url { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--ink-mute); margin-inline: auto; }

/* ---------- Footer ----------
   The canonical public footer now lives in public-header.css
   (.site-footer + .sf-* — one shared component on every public page). */

/* breadcrumb */
.crumb { font-family: 'JetBrains Mono', monospace; font-size: .72rem; letter-spacing: .12em; color: var(--ink-mute); text-transform: uppercase; }

/* divider */
.hr { height: 1px; background: linear-gradient(90deg, transparent, var(--glass-border-2), transparent); border: 0; margin: 0; }

/* utility */
.stack { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-24 { gap: 24px; }
.wrap-flex { flex-wrap: wrap; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-40 { margin-top: 40px; } .mt-56 { margin-top: 56px; }
.hide-mobile { }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .stat + .stat::before { display: none; }
  .price-card--featured { transform: none; }
  .hide-mobile { display: none !important; }
}
@media (max-width: 540px) {
  body { font-size: 16px; }
  .grid-4 { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .card { padding: 24px; }
  /* Tighter mobile pricing cards */
  .price-card { padding: 24px 22px; }
  .price-card .qty { font-size: 2.8rem; margin-top: 12px; }
  .price-card .amt { margin-top: 14px; font-size: 1.5rem; }
  .feat { margin: 16px 0 20px; gap: 10px; }
  .price-card .btn { padding: 13px 20px; }
  .price-card--featured { margin-top: 32px; } /* extra space for badge */
}

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

/* ── PANEL SYSTEM — canonical, hoisted from 12 per-page inline copies (2026-07-07, §12ai).
   Pages may override individual declarations inline (their <style> loads after this file). ── */
.band { position: relative; padding-block: clamp(72px, 9vw, 136px); }
.band--tight { padding-block: clamp(54px, 7vw, 100px); }

.kicker { display: inline-flex; align-items: center; gap: 9px; margin: 0;
  font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); }

.serif { font-family: 'Newsreader', Georgia, serif; font-style: italic; font-weight: 500; color: var(--accent-text); letter-spacing: -.005em; }
.mono { font-family: 'JetBrains Mono', monospace; font-variant-numeric: tabular-nums; }

.panel { position: relative; border-radius: 22px;
  background: linear-gradient(157deg, rgba(255,255,255,.066) 0%, rgba(255,255,255,.022) 100%);
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10), inset 0 -1px 0 rgba(255,255,255,.03), 0 26px 64px rgba(0,0,0,.46), 0 4px 14px rgba(0,0,0,.3);
  backdrop-filter: blur(26px) saturate(150%); -webkit-backdrop-filter: blur(26px) saturate(150%); }
.panel--edge::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 0;
  background: linear-gradient(140deg, rgba(255,255,255,.5) 0%, rgba(243,189,120,.42) 30%, rgba(255,255,255,.04) 60%, rgba(120,150,255,.14) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: .55; }
.panel--sheen::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0;
  background: radial-gradient(460px circle at var(--glass-x, 26%) var(--glass-y, -10%), rgba(255,255,255,.10), transparent 62%); }
.panel > * { position: relative; z-index: 1; }

@media (max-width: 768px) {
  /* ease heavy blur on mobile for scroll performance */
  .panel { backdrop-filter: blur(16px) saturate(130%); -webkit-backdrop-filter: blur(16px) saturate(130%); }
}
