/* =========================================================================
   Zukubit — design system
   No-build static site. Brand: lime-green (#6FBE24) + white, dark/light themes.
   Aesthetic reference: modern dev-tool sites (Sonar, Aikido, Qodana).
   ========================================================================= */

/* ---- Design tokens ----------------------------------------------------- */
:root {
  /* brand */
  --brand: #6fbe24;
  --brand-600: #5da31b;
  --brand-700: #4c8716;
  --brand-300: #97d957;
  --brand-soft: rgba(111, 190, 36, 0.12);
  --brand-glow: rgba(111, 190, 36, 0.35);

  /* light theme (default) */
  --bg: #ffffff;
  --bg-subtle: #f5f8f1;
  --surface: #ffffff;
  --surface-2: #f7faf3;
  --text: #0f1a12;
  --text-muted: #566255;
  --border: #e6ebe0;
  --border-strong: #d3dccb;
  --shadow-sm: 0 1px 2px rgba(15, 26, 18, 0.06), 0 1px 3px rgba(15, 26, 18, 0.05);
  --shadow-md: 0 10px 30px -12px rgba(15, 26, 18, 0.18);
  --shadow-lg: 0 30px 60px -20px rgba(15, 26, 18, 0.22);
  --ring: rgba(111, 190, 36, 0.4);
  --hero-grid: rgba(15, 26, 18, 0.05);
  --code-bg: #0e1311;
  --code-text: #e8f0e6;

  /* type */
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* fluid scale */
  --step--1: clamp(0.83rem, 0.78rem + 0.2vw, 0.94rem);
  --step-0: clamp(1rem, 0.95rem + 0.25vw, 1.13rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem);
  --step-2: clamp(1.5rem, 1.3rem + 1vw, 2.1rem);
  --step-3: clamp(1.95rem, 1.6rem + 1.8vw, 3rem);
  --step-4: clamp(2.5rem, 1.9rem + 3vw, 4.25rem);

  /* layout */
  --container: 1180px;
  --container-narrow: 820px;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 26px;
  --space-section: clamp(4.5rem, 3rem + 8vw, 9rem);

  --nav-h: 72px;
}

[data-theme="dark"] {
  --bg: #0a0f0b;
  --bg-subtle: #0e150f;
  --surface: #111a13;
  --surface-2: #16211a;
  --text: #e9f1e7;
  --text-muted: #9fb29c;
  --border: #1f2c22;
  --border-strong: #2b3b2e;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 16px 40px -16px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 36px 70px -24px rgba(0, 0, 0, 0.8);
  --hero-grid: rgba(255, 255, 255, 0.045);
  --code-bg: #060a07;
}

/* ---- Reset ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
ul, ol { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; border-radius: 6px; }

/* ---- Layout primitives ------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2rem); }
.section { padding-block: var(--space-section); }
.section--tight { padding-block: clamp(3rem, 2rem + 5vw, 5rem); }
.narrow { max-width: var(--container-narrow); margin-inline: auto; }
.center { text-align: center; }

/* ---- Typography -------------------------------------------------------- */
h1, h2, h3, h4 { line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); letter-spacing: -0.01em; }
p { color: var(--text-muted); }
.lead { font-size: var(--step-1); color: var(--text-muted); font-weight: 400; line-height: 1.5; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: var(--step--1); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--brand-700);
}
[data-theme="dark"] .eyebrow { color: var(--brand-300); }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--brand); border-radius: 2px; }
.gradient-text {
  background: linear-gradient(120deg, var(--brand) 0%, var(--brand-300) 60%, var(--brand) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.text-muted { color: var(--text-muted); }

/* ---- Buttons ----------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.8rem 1.4rem; border-radius: 999px; font-weight: 700; font-size: var(--step-0);
  transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap; cursor: pointer; border: 1px solid transparent;
}
.btn svg { width: 1.1em; height: 1.1em; }
.btn--primary { background: var(--brand); color: #06210a; box-shadow: 0 8px 24px -8px var(--brand-glow); }
.btn--primary:hover { background: var(--brand-600); transform: translateY(-2px); box-shadow: 0 14px 34px -10px var(--brand-glow); }
.btn--ghost { background: transparent; border-color: var(--border-strong); color: var(--text); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand-700); transform: translateY(-2px); }
[data-theme="dark"] .btn--ghost:hover { color: var(--brand-300); }
.btn--lg { padding: 1rem 1.8rem; font-size: var(--step-1); }
.btn--block { width: 100%; }

/* ---- Header / nav ------------------------------------------------------ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color 0.3s ease, background-color 0.3s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--border); background: color-mix(in srgb, var(--bg) 88%, transparent); }
.nav { display: flex; align-items: center; gap: 1.5rem; width: 100%; }
.nav__links { display: flex; align-items: center; gap: 0.35rem; margin-inline: auto; }
.nav__link {
  padding: 0.5rem 0.85rem; border-radius: 999px; font-weight: 600; font-size: var(--step--1);
  color: var(--text-muted); transition: color 0.18s ease, background-color 0.18s ease;
}
.nav__link:hover, .nav__link.is-active { color: var(--text); background: var(--brand-soft); }
.nav__actions { display: flex; align-items: center; gap: 0.5rem; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border-radius: 12px; border: 1px solid var(--border); color: var(--text-muted);
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}
.icon-btn:hover { color: var(--text); border-color: var(--border-strong); background: var(--surface-2); }
.icon-btn svg { width: 18px; height: 18px; }
.lang-toggle { font-weight: 800; font-size: 0.78rem; letter-spacing: 0.04em; width: auto; padding-inline: 0.7rem; gap: 0.3rem; }
.lang-toggle .lang-sep { opacity: 0.4; }
.lang-toggle .is-current { color: var(--brand-700); }
[data-theme="dark"] .lang-toggle .is-current { color: var(--brand-300); }

.theme-toggle .sun { display: none; }
[data-theme="dark"] .theme-toggle .sun { display: block; }
[data-theme="dark"] .theme-toggle .moon { display: none; }

.nav__burger { display: none; }

/* Logo (theme-swapped PNGs: light = dark text, dark = white text) */
.logo { display: inline-flex; align-items: center; }
.logo__img { height: 30px; width: auto; display: block; }
.logo__img--dark { display: none; }
[data-theme="dark"] .logo__img--light { display: none; }
[data-theme="dark"] .logo__img--dark { display: block; }
.site-footer .logo__img { height: 28px; }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 99; display: none;
  flex-direction: column; gap: 0.25rem; padding: 1.5rem clamp(1.1rem, 4vw, 2rem);
  background: var(--bg); border-top: 1px solid var(--border);
  transform: translateY(-8px); opacity: 0; transition: opacity 0.2s ease, transform 0.2s ease;
}
.mobile-menu.is-open { display: flex; opacity: 1; transform: none; }
.mobile-menu a { padding: 0.9rem 0.5rem; font-size: var(--step-1); font-weight: 700; border-bottom: 1px solid var(--border); }
.mobile-menu .btn { margin-top: 1rem; }

/* ---- Hero -------------------------------------------------------------- */
.hero { position: relative; padding-top: calc(var(--nav-h) + clamp(3rem, 6vw, 6rem)); padding-bottom: var(--space-section); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__grid {
  position: absolute; inset: -2px;
  background-image: linear-gradient(var(--hero-grid) 1px, transparent 1px), linear-gradient(90deg, var(--hero-grid) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}
.hero__glow {
  position: absolute; top: -180px; left: 50%; transform: translateX(-50%);
  width: 820px; height: 620px; max-width: 120vw;
  background: radial-gradient(circle at 50% 40%, var(--brand-glow), transparent 62%);
  filter: blur(30px); opacity: 0.6;
}
.hero__inner { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }
@media (min-width: 940px) { .hero__inner { grid-template-columns: 1.05fr 0.95fr; } }
.hero h1 { margin-bottom: 1.3rem; }
.hero .lead { margin-bottom: 2rem; max-width: 38ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero__trust { margin-top: 2.4rem; display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; align-items: center; color: var(--text-muted); font-size: var(--step--1); }
.hero__trust b { color: var(--text); }

/* Hero visual (stylised product/code panel) */
.hero__visual { position: relative; }
.glass-panel {
  position: relative; border-radius: var(--radius-lg); border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.window-bar { display: flex; align-items: center; gap: 0.5rem; padding: 0.85rem 1.1rem; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.window-bar .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--border-strong); }
.window-bar .dot:nth-child(1) { background: #ff5f57; } .window-bar .dot:nth-child(2) { background: #febc2e; } .window-bar .dot:nth-child(3) { background: var(--brand); }
.window-bar .tag { margin-left: auto; font-family: var(--font-mono); font-size: 0.74rem; color: var(--text-muted); }
.code { font-family: var(--font-mono); font-size: 0.82rem; line-height: 1.8; padding: 1.2rem 1.3rem; color: var(--text); overflow-x: auto; }
.code .c-key { color: var(--brand-600); } .code .c-str { color: #d98a3a; } .code .c-com { color: var(--text-muted); } .code .c-fn { color: var(--text); font-weight: 700; }
[data-theme="dark"] .code .c-key { color: var(--brand-300); }
.code .ln { display: block; }

.float-badge {
  position: absolute; display: flex; align-items: center; gap: 0.6rem;
  padding: 0.7rem 1rem; border-radius: 14px; background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow-md); font-size: var(--step--1); font-weight: 700;
}
.float-badge .ico { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: var(--brand-soft); color: var(--brand-700); }
[data-theme="dark"] .float-badge .ico { color: var(--brand-300); }
.float-badge--tl { top: -18px; left: -18px; } .float-badge--br { bottom: -18px; right: -16px; }
@media (max-width: 600px) { .float-badge { display: none; } }

/* ---- Logos / marquee strip --------------------------------------------- */
.trust-strip { border-block: 1px solid var(--border); background: var(--bg-subtle); }
.trust-strip .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 2.5rem; padding-block: 1.6rem; }
.trust-strip span { color: var(--text-muted); font-weight: 600; font-size: var(--step--1); letter-spacing: 0.02em; }

/* ---- Section heading --------------------------------------------------- */
.section-head { max-width: 640px; margin-bottom: clamp(2.2rem, 4vw, 3.4rem); }
.section-head.center { margin-inline: auto; }
.section-head h2 { margin: 0.8rem 0 0.9rem; }

/* ---- Cards grid -------------------------------------------------------- */
.grid { display: grid; gap: 1.4rem; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }

.card {
  position: relative; padding: 1.7rem; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  overflow: hidden;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.card__ico { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: var(--brand-soft); color: var(--brand-700); margin-bottom: 1.1rem; }
[data-theme="dark"] .card__ico { color: var(--brand-300); }
.card__ico svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 0.5rem; }
.card p { font-size: var(--step-0); }
.card__list { margin-top: 1rem; display: grid; gap: 0.5rem; }
.card__list li { display: flex; gap: 0.55rem; align-items: flex-start; font-size: var(--step--1); color: var(--text-muted); }
.card__list li::before { content: ""; flex: none; margin-top: 0.45em; width: 7px; height: 7px; border-radius: 2px; background: var(--brand); }
.card--accent::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--brand), var(--brand-300)); }

/* ---- Feature rows (alternating) ---------------------------------------- */
.feature { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 860px) { .feature { grid-template-columns: 1fr 1fr; } .feature--rev .feature__media { order: -1; } }
.feature h2 { margin: 0.8rem 0 1rem; }
.feature__media { border-radius: var(--radius-lg); border: 1px solid var(--border); background: linear-gradient(160deg, var(--surface), var(--surface-2)); box-shadow: var(--shadow-md); padding: 1.4rem; }
.feature__list { margin-top: 1.4rem; display: grid; gap: 0.8rem; }
.feature__list li { display: flex; gap: 0.7rem; align-items: flex-start; }
.feature__list .chk { flex: none; width: 24px; height: 24px; border-radius: 8px; background: var(--brand-soft); color: var(--brand-700); display: grid; place-items: center; }
[data-theme="dark"] .feature__list .chk { color: var(--brand-300); }
.feature__list .chk svg { width: 14px; height: 14px; }

/* ---- Stats ------------------------------------------------------------- */
.stats { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); text-align: center; }
.stat { padding: 1.6rem 1rem; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.stat__num { font-size: var(--step-3); font-weight: 800; letter-spacing: -0.03em; }
.stat__num .gradient-text { display: inline; }
.stat__label { color: var(--text-muted); font-size: var(--step--1); margin-top: 0.3rem; }

/* ---- Portfolio --------------------------------------------------------- */
.work-card { display: flex; flex-direction: column; }
.work-card__head { padding: 1.7rem 1.7rem 0; }
.work-card__badge { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--brand-700); background: var(--brand-soft); padding: 0.3rem 0.7rem; border-radius: 999px; margin-bottom: 0.9rem; }
[data-theme="dark"] .work-card__badge { color: var(--brand-300); }
.work-card__visual { margin: 1.4rem 1.4rem 0; border-radius: 14px; border: 1px solid var(--border); background: var(--surface-2); padding: 1rem; overflow: hidden; }

/* ---- Team -------------------------------------------------------------- */
.team-card { text-align: center; padding-top: 2rem; }
.avatar { width: 96px; height: 96px; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center; font-size: 2rem; font-weight: 800; color: #06210a; background: linear-gradient(150deg, var(--brand-300), var(--brand)); box-shadow: var(--shadow-sm); }
.team-card h3 { margin-bottom: 0.15rem; }
.team-card .role { color: var(--brand-700); font-weight: 700; font-size: var(--step--1); }
[data-theme="dark"] .team-card .role { color: var(--brand-300); }

/* ---- CTA band ---------------------------------------------------------- */
.cta-band { position: relative; border-radius: var(--radius-lg); padding: clamp(2.4rem, 5vw, 4rem); overflow: hidden; background: linear-gradient(135deg, #0e1a10, #16271a); color: #fff; box-shadow: var(--shadow-lg); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 15%, var(--brand-glow), transparent 55%); opacity: 0.8; }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; } .cta-band p { color: rgba(255, 255, 255, 0.75); max-width: 52ch; }
.cta-band .hero__cta { margin-top: 1.8rem; }
.cta-band .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.cta-band .btn--ghost:hover { border-color: var(--brand-300); color: var(--brand-300); }

/* ---- Forms ------------------------------------------------------------- */
.field { display: grid; gap: 0.4rem; margin-bottom: 1.1rem; }
.field label { font-weight: 600; font-size: var(--step--1); }
.field input, .field textarea, .field select {
  width: 100%; padding: 0.8rem 1rem; border-radius: 12px; border: 1px solid var(--border-strong);
  background: var(--surface); color: var(--text); font: inherit; transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.field textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; gap: 1.1rem; }
@media (min-width: 620px) { .form-row { grid-template-columns: 1fr 1fr; } }

/* ---- Contact info ------------------------------------------------------ */
.info-card { padding: 1.5rem; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); margin-bottom: 1.1rem; }
.info-card h3 { font-size: var(--step-0); margin-bottom: 0.4rem; display: flex; align-items: center; gap: 0.5rem; }
.info-card h3 svg { width: 18px; height: 18px; color: var(--brand); }
.info-card address { font-style: normal; color: var(--text-muted); line-height: 1.7; }
.info-card a { color: var(--brand-700); font-weight: 600; }
[data-theme="dark"] .info-card a { color: var(--brand-300); }

/* ---- Prose (legal pages) ----------------------------------------------- */
.prose { max-width: var(--container-narrow); margin-inline: auto; }
.prose h1 { font-size: var(--step-3); margin-bottom: 1.5rem; }
.prose h2 { font-size: var(--step-1); margin: 2.2rem 0 0.8rem; }
.prose h3 { font-size: var(--step-0); margin: 1.4rem 0 0.5rem; }
.prose p, .prose li { color: var(--text-muted); margin-bottom: 0.8rem; }
.prose ul { list-style: disc; padding-left: 1.3rem; margin-bottom: 1rem; }
.prose li { margin-bottom: 0.4rem; }
.prose a { color: var(--brand-700); text-decoration: underline; }
[data-theme="dark"] .prose a { color: var(--brand-300); }
.prose strong { color: var(--text); }
.prose .updated { font-size: var(--step--1); color: var(--text-muted); margin-bottom: 2rem; }

/* ---- Page hero (inner pages) ------------------------------------------- */
.page-hero { position: relative; padding-top: calc(var(--nav-h) + clamp(2.5rem, 5vw, 4.5rem)); padding-bottom: clamp(2rem, 4vw, 3.5rem); border-bottom: 1px solid var(--border); overflow: hidden; }
.page-hero .hero__grid { mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000 20%, transparent 70%); }
.page-hero h1 { margin: 0.8rem 0 0.8rem; }
.page-hero p { max-width: 56ch; }

/* ---- Footer ------------------------------------------------------------ */
.site-footer { background: var(--bg-subtle); border-top: 1px solid var(--border); padding-block: clamp(3rem, 5vw, 4.5rem) 2rem; }
.footer__top { display: grid; gap: 2.5rem; grid-template-columns: 1.6fr repeat(3, 1fr); }
@media (max-width: 820px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer__top { grid-template-columns: 1fr; } }
.footer__brand p { margin-top: 1rem; max-width: 34ch; font-size: var(--step--1); }
.footer__col h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 1rem; }
.footer__col a { display: block; padding: 0.32rem 0; color: var(--text-muted); font-size: var(--step--1); transition: color 0.16s ease; }
.footer__col a:hover { color: var(--brand-700); }
[data-theme="dark"] .footer__col a:hover { color: var(--brand-300); }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; align-items: center; justify-content: space-between; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--border); color: var(--text-muted); font-size: var(--step--1); }
.footer__socials { display: flex; gap: 0.5rem; }

/* ---- Cookie banner ----------------------------------------------------- */
.cookie {
  position: fixed; z-index: 200; left: 50%; bottom: 1.2rem; transform: translateX(-50%) translateY(0);
  width: min(680px, calc(100vw - 2rem)); padding: 1.3rem 1.4rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border-strong); box-shadow: var(--shadow-lg);
  display: none;
}
.cookie.is-visible { display: block; animation: cookie-in 0.35s ease; }
@keyframes cookie-in { from { opacity: 0; transform: translateX(-50%) translateY(12px); } }
.cookie h4 { font-size: var(--step-0); margin-bottom: 0.3rem; }
.cookie p { font-size: var(--step--1); margin-bottom: 1rem; }
.cookie p a { color: var(--brand-700); text-decoration: underline; }
[data-theme="dark"] .cookie p a { color: var(--brand-300); }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.cookie__actions .btn { padding: 0.6rem 1.1rem; font-size: var(--step--1); }

/* ---- Scroll reveal ----------------------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: 0.08s; }
[data-reveal][data-delay="2"] { transition-delay: 0.16s; }
[data-reveal][data-delay="3"] { transition-delay: 0.24s; }

/* ---- Misc -------------------------------------------------------------- */
.skip-link { position: absolute; left: -999px; top: 0; z-index: 999; background: var(--brand); color: #06210a; padding: 0.6rem 1rem; border-radius: 0 0 10px 0; font-weight: 700; }
.skip-link:focus { left: 0; }
.divider { height: 1px; background: var(--border); border: 0; }

/* ---- Bilingual (EN/DE) show-hide --------------------------------------- */
html[lang="en"] [data-lang="de"], html[lang="de"] [data-lang="en"] { display: none !important; }
.tag-pill { display: inline-block; padding: 0.25rem 0.7rem; border-radius: 999px; background: var(--brand-soft); color: var(--brand-700); font-size: 0.72rem; font-weight: 700; }
[data-theme="dark"] .tag-pill { color: var(--brand-300); }

/* ---- Responsive nav ---------------------------------------------------- */
@media (max-width: 880px) {
  .nav__links { display: none; }
  .nav__burger { display: inline-flex; }
  .nav__cta-desktop { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
