/* =========================================================
   Ingenieurbüro Elke Ernst — Design System & Stylesheet
   Fonts: Space Grotesk (headlines), Inter (body) — self-hosted
   ========================================================= */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../fonts/space-grotesk-variable.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20AC, U+2122;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-variable.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20AC, U+2122;
}

/* ---------- Design tokens ---------- */
:root {
  /* Color: ink (dark) scale — deeper, cooler navy than before ("blueprint" black) */
  --ink-950: #0e121b;
  --ink-900: #151b27;
  --ink-800: #1c2433;
  --ink-700: #283245;
  --ink-600: #3c4a63;
  --ink-500: #5c6c88;

  /* Color: paper (light) scale — warm neutral, unchanged in spirit */
  --paper-000: #fefdfb;
  --paper-100: #f7f5f0;
  --paper-200: #ece8e0;
  --paper-300: #dbd5c8;

  /* Text */
  --text-on-light: #171b26;
  --text-on-light-dim: #565f74;
  --text-on-dark: #e8edf3;
  --text-on-dark-dim: #93a0b8;

  /* Accents — "Electric Blueprint": electric cyan is the one brand accent used
     everywhere (links, icons, CTAs, structural lines). It comes in two shades:
     -primary (bright) for text/icons/fills on DARK backgrounds, and -deep for
     text/icons on LIGHT/paper backgrounds (the bright shade fails WCAG contrast
     on white — see [[feedback-dark-card-contrast]]). Amber/spark is deliberately
     rare: only the top-emphasis CTA button, the brand mark, the hero's headline
     stat, and star ratings use it. */
  --accent-primary: #2fb6e0;
  --accent-primary-dim: #1f93b8;
  --accent-primary-deep: #0e7c99;
  --accent-primary-light: #7ddaf0;
  --accent-primary-tint: #e1f4fa;
  --accent-spark: #e8a23f;
  --accent-spark-dim: #c8842a;
  --accent-spark-tint: #fbead2;

  /* Logo red — sampled from the real company logo's "3|e" mark. Used only
     for the small dash before section eyebrows, so the real brand color
     shows up sitewide without competing with the cyan accent system. */
  --accent-logo-red: #e9735c;

  /* Feedback */
  --color-success: #4a9d78;
  --color-error: #c25850;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(14, 18, 27, 0.06), 0 1px 1px rgba(14, 18, 27, 0.04);
  --shadow-md: 0 8px 24px -8px rgba(14, 18, 27, 0.18);
  --shadow-lg: 0 24px 48px -16px rgba(14, 18, 27, 0.28);
  --shadow-glow-primary: 0 0 0 1px rgba(47, 182, 224, 0.28), 0 12px 32px -8px rgba(47, 182, 224, 0.38);
  --shadow-glow-spark: 0 0 32px -4px rgba(232, 162, 63, 0.45);

  /* Radii */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 26px;
  --radius-full: 999px;

  /* Type scale (fluid) */
  --fs-100: 0.8125rem;
  --fs-200: 0.9375rem;
  --fs-300: 1.0625rem;
  --fs-400: clamp(1.2rem, 1.1rem + 0.4vw, 1.4rem);
  --fs-500: clamp(1.4rem, 1.25rem + 0.7vw, 1.75rem);
  --fs-600: clamp(1.7rem, 1.4rem + 1.2vw, 2.25rem);
  --fs-700: clamp(2.1rem, 1.7rem + 1.8vw, 2.9rem);
  --fs-800: clamp(2.6rem, 2rem + 2.8vw, 3.8rem);
  --fs-900: clamp(3rem, 2.1rem + 4vw, 4.75rem);

  /* Fonts */
  --font-head: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  /* Spacing */
  --space-2xs: 0.375rem;
  --space-xs: 0.625rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8.5rem;

  /* Layout */
  --container-w: 1240px;
  --header-h: 84px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 180ms;
  --dur-med: 420ms;
  --dur-slow: 900ms;
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-300);
  line-height: 1.65;
  color: var(--text-on-light);
  background: var(--paper-000);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  max-width: 100%;
  display: block;
}

picture {
  display: block;
  width: 100%;
  height: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 var(--space-sm);
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 var(--space-sm);
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

input,
textarea,
select {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--accent-primary-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

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

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: var(--space-md);
}

.section {
  padding-block: var(--space-2xl);
  position: relative;
  overflow: clip;
}

.section--tight {
  padding-block: var(--space-xl);
}

.section--dark {
  background: var(--ink-950);
  color: var(--text-on-dark);
}

.section--alt {
  background: var(--paper-100);
}

.section--blueprint {
  background:
    repeating-linear-gradient(0deg, rgba(125, 218, 240, 0.07) 0 1px, transparent 1px 32px),
    repeating-linear-gradient(90deg, rgba(125, 218, 240, 0.07) 0 1px, transparent 1px 32px),
    repeating-linear-gradient(0deg, rgba(125, 218, 240, 0.14) 0 1px, transparent 1px 160px),
    repeating-linear-gradient(90deg, rgba(125, 218, 240, 0.14) 0 1px, transparent 1px 160px),
    var(--ink-900);
  color: var(--text-on-dark);
}

.section-head {
  max-width: 46rem;
  margin-bottom: var(--space-lg);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  font-family: var(--font-head);
  font-size: var(--fs-100);
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent-primary-deep);
  margin-bottom: var(--space-sm);
}

.section--dark .eyebrow,
.section--blueprint .eyebrow,
.hero .eyebrow {
  color: var(--accent-primary);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--accent-logo-red);
  border-radius: 2px;
}

h1,
.h1 {
  font-size: var(--fs-900);
}

h2,
.h2 {
  font-size: var(--fs-700);
}

h3,
.h3 {
  font-size: var(--fs-600);
}

h4,
.h4 {
  font-size: var(--fs-500);
}

.lede {
  font-size: var(--fs-400);
  color: var(--text-on-light-dim);
  max-width: 60ch;
}

.section--dark .lede,
.section--blueprint .lede {
  color: var(--text-on-dark-dim);
}

.text-dim {
  color: var(--text-on-light-dim);
}

.section--dark .text-dim,
.section--blueprint .text-dim {
  color: var(--text-on-dark-dim);
}

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

.skip-link {
  position: absolute;
  left: var(--space-sm);
  top: -60px;
  background: var(--accent-primary-deep);
  color: #fff;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  z-index: 1000;
  transition: top var(--dur-fast) var(--ease-out);
}

.skip-link:focus {
  top: var(--space-sm);
}

.grid {
  display: grid;
  gap: var(--space-md);
}

@media (min-width: 720px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1000px) {
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: var(--fs-200);
  padding: 0.95rem 1.6rem;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  min-height: 44px;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out),
    background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}

.btn svg {
  width: 1.1em;
  height: 1.1em;
  flex: none;
}

.btn:active {
  transform: translateY(1px) scale(0.99);
}

.btn--primary {
  background: var(--accent-primary);
  color: var(--ink-950);
  box-shadow: var(--shadow-glow-primary);
}

.btn--primary:hover {
  background: var(--accent-primary-dim);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -10px rgba(47, 182, 224, 0.45);
}

.btn--amber {
  background: var(--accent-spark);
  color: var(--ink-950);
  box-shadow: var(--shadow-glow-spark);
}

.btn--amber:hover {
  background: var(--accent-spark-dim);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  border-color: currentColor;
  color: inherit;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

:where(.section:not(.section--dark):not(.section--blueprint)) .btn--ghost {
  border-color: var(--ink-600);
}

:where(.section:not(.section--dark):not(.section--blueprint)) .btn--ghost:hover {
  background: var(--paper-200);
}

.btn--sm {
  padding: 0.65rem 1.2rem;
  font-size: var(--fs-100);
}

.btn--block {
  width: 100%;
}

/* ---------- Icons ---------- */
.icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.icon-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--accent-primary-tint);
  color: var(--accent-primary-deep);
  margin-bottom: var(--space-sm);
  position: relative;
}

.section--dark .icon-tile,
.section--blueprint .icon-tile {
  background: rgba(47, 182, 224, 0.12);
  color: var(--accent-primary);
}

.icon-tile .icon {
  width: 28px;
  height: 28px;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(14, 18, 27, 0.86);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 8px 28px -8px rgba(0, 0, 0, 0.55);
}

/* A soft, fading trace line rather than a flat full-width bar — reads more
   like a lit circuit trace than a generic template underline. */
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(47, 182, 224, 0.55) 20%,
    var(--accent-primary) 50%,
    rgba(47, 182, 224, 0.55) 80%,
    transparent 100%);
  box-shadow: 0 0 12px 1px rgba(47, 182, 224, 0.55);
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: var(--space-md);
  position: relative;
  /* Wider than the shared content container: brand + full nav + phone + CTA
     need more room than --container-w gives before anything is forced to wrap. */
  max-width: 1520px;
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-on-dark);
  flex: none;
}

.brand__logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 74px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  background: #fff;
  flex: none;
  box-shadow: 0 4px 16px -4px rgba(0, 0, 0, 0.4);
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
}

.brand:hover .brand__logo-wrap {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(47, 182, 224, 0.3);
}

.brand__logo {
  display: block;
  height: 100%;
  width: auto;
  aspect-ratio: 281 / 244;
}

.footer-brand .brand__logo-wrap {
  height: 88px;
}

.main-nav {
  display: none;
}

.main-nav__list {
  display: flex;
  align-items: center;
  gap: 2.75rem;
}

.main-nav__list > li > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  white-space: nowrap;
  font-size: var(--fs-200);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text-on-dark-dim);
  padding: 0.4rem 0;
  transition: color var(--dur-fast) var(--ease-out);
}

/* Small status-LED indicator instead of a generic underline — a nod to the
   firm's own field (electrical engineering) rather than a stock nav pattern. */
.main-nav__list > li > a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink-600);
  box-shadow: none;
  transition: background var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out),
    transform var(--dur-med) var(--ease-out);
}

.main-nav__list > li > a:hover,
.main-nav__list > li > a[aria-current="page"] {
  color: #fff;
}

.main-nav__list > li > a:hover::before,
.main-nav__list > li > a[aria-current="page"]::before {
  background: var(--accent-primary);
  box-shadow: 0 0 8px 1px rgba(47, 182, 224, 0.85);
  transform: scale(1.15);
}

.header-cta {
  display: none;
  align-items: center;
  gap: var(--space-sm);
}

.header-cta__phone {
  display: flex;
  align-items: center;
  gap: var(--space-2xs);
  white-space: nowrap;
  color: var(--text-on-dark-dim);
  font-weight: 600;
  font-size: var(--fs-200);
  transition: color var(--dur-fast);
}

.header-cta__phone:hover {
  color: #fff;
}

.header-cta__phone .icon {
  color: var(--accent-primary);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  color: #fff;
  flex: none;
  transition: background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(47, 182, 224, 0.5);
}

.nav-toggle .icon {
  width: 22px;
  height: 22px;
}

.nav-toggle .icon-close { display: none; }

.nav-open .nav-toggle .icon-burger { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

/* Brand + full nav + phone + CTA only fit without wrapping from ~1440px up;
   below that, show the compact toggle/drawer nav instead. This rule must come
   after the base .nav-toggle rule above so its display:none actually wins. */
@media (min-width: 1440px) {
  .main-nav { display: block; }
  .header-cta { display: flex; }
  .nav-toggle { display: none; }
}

/* Mobile nav drawer */
@media (max-width: 1439.98px) {
  .main-nav {
    display: block;
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--ink-950);
    padding: var(--space-lg) var(--space-md);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out),
      visibility 0s linear var(--dur-med);
    overflow-y: auto;
  }

  .nav-open .main-nav {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out);
  }

  .main-nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .main-nav__list > li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .main-nav__list > li > a {
    display: inline-flex;
    width: 100%;
    padding: 1.1rem 0.2rem;
    font-size: var(--fs-400);
  }

  .main-nav__cta {
    margin-top: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
  }

  .main-nav__cta .header-cta__phone {
    justify-content: center;
    font-size: var(--fs-300);
  }
}

/* Sticky mobile CTA bar */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 400;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--ink-950);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.25);
  padding: var(--space-xs);
  gap: var(--space-xs);
  padding-bottom: max(var(--space-xs), env(safe-area-inset-bottom));
}

.sticky-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xs);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: var(--fs-200);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  min-height: 44px;
}

.sticky-cta__call {
  background: var(--ink-800);
  color: #fff;
}

.sticky-cta__form {
  background: var(--accent-spark);
  color: var(--ink-950);
}

@media (min-width: 1440px) {
  .sticky-cta { display: none; }
}

@media (max-width: 1439.98px) {
  body { padding-bottom: 68px; }
}

.footer-legal__cookie {
  background: none;
  border: none;
  padding: 0;
  color: var(--text-on-dark-dim);
  font-size: inherit;
  font-family: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-legal__cookie:hover { color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--text-on-dark);
  padding-block: calc(var(--space-3xl) + 1.5rem) var(--space-3xl);
  overflow: clip;
  isolation: isolate;
  background: var(--ink-950);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 12% 18%, rgba(47, 182, 224, 0.3), transparent 42%),
    radial-gradient(circle at 88% 78%, rgba(232, 162, 63, 0.14), transparent 46%),
    var(--ink-950);
}

.hero--photo {
  background-image: var(--hero-image);
  background-size: cover;
  background-position: 78% 22%;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
  padding-block: var(--space-2xl);
}

.hero--photo::before { content: none; }

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(14, 18, 27, 0.98) 0%, rgba(14, 18, 27, 0.95) 32%, rgba(14, 18, 27, 0.72) 48%, rgba(14, 18, 27, 0.28) 64%, rgba(14, 18, 27, 0.06) 78%, transparent 92%),
    linear-gradient(0deg, rgba(14, 18, 27, 0.9) 0%, transparent 30%);
}

.hero__decor {
  position: absolute;
  top: 50%;
  right: -4%;
  transform: translateY(-50%);
  width: min(46vw, 620px);
  opacity: 0.9;
  z-index: -1;
  pointer-events: none;
}

.hero--photo .hero__decor { display: none; }

@media (max-width: 959.98px) {
  .hero__decor { display: none; }
}

/* Full-bleed signature circuit trace along the hero's bottom edge — the
   viewBox is deliberately stretched (preserveAspectRatio="none") since it's
   a low-opacity decorative flourish, not an illustration meant to stay crisp. */
.hero__circuit {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(60px, 8vw, 110px);
  z-index: 0;
  opacity: 0.5;
  pointer-events: none;
}

.hero__circuit svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero__inner {
  position: relative;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 40rem;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background: rgba(47, 182, 224, 0.12);
  border: 1px solid rgba(47, 182, 224, 0.35);
  color: var(--accent-primary);
  font-size: var(--fs-100);
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
}

.hero h1 {
  color: #fff;
  margin-bottom: var(--space-md);
}

.hero--photo h1 {
  font-size: clamp(2.8rem, 2rem + 3.6vw, 4.5rem);
}

.hero h1 em {
  font-style: normal;
  color: var(--accent-primary);
}

.hero__lede {
  font-size: var(--fs-400);
  color: var(--text-on-dark-dim);
  max-width: 42rem;
  margin-bottom: var(--space-lg);
}

.hero--photo .hero__lede {
  max-width: 30rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(232, 237, 243, 0.14);
}

.hero__meta-item {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--fs-200);
  font-weight: 500;
  color: var(--text-on-dark-dim);
}

.hero__meta-item .icon {
  color: var(--accent-primary);
  width: 20px;
  height: 20px;
}

/* Signature circuit line, reused across sections */
.circuit-line {
  stroke: var(--accent-primary);
  stroke-width: 2;
  fill: none;
  stroke-dasharray: 6 10;
  stroke-linecap: round;
  opacity: 0.7;
}

.circuit-node {
  fill: var(--accent-primary);
  opacity: 0.85;
}

/* ---------- USP / Trust bar ---------- */
.usp-bar {
  background: var(--paper-000);
  border-bottom: 1px solid var(--paper-300);
}

.usp-bar__grid {
  display: grid;
  gap: var(--space-md) var(--space-lg);
  padding-block: var(--space-lg);
}

@media (min-width: 720px) {
  .usp-bar__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1100px) {
  .usp-bar__grid { grid-template-columns: repeat(4, 1fr); }
}

.usp-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.usp-item__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: var(--accent-primary-tint);
  color: var(--accent-primary-deep);
  flex: none;
}

.usp-item__icon .icon { width: 24px; height: 24px; }

.usp-item h3 {
  font-size: var(--fs-300);
  margin-bottom: 0.15rem;
}

.usp-item p {
  font-size: var(--fs-200);
  color: var(--text-on-light-dim);
  margin: 0;
}

/* ---------- Cards ---------- */
.card {
  background:
    radial-gradient(circle at 12% 8%, rgba(47, 182, 224, 0.08), transparent 46%),
    var(--paper-000);
  border: 1px solid var(--paper-300);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  overflow: hidden;
  position: relative;
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out),
    border-color var(--dur-med) var(--ease-out);
  height: 100%;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

/* Large, faint watermark of the service's own icon, matching the treatment
   on the homepage's dark .service-card so the full catalog stays consistent. */
.card__motif {
  position: absolute;
  z-index: -1;
  right: -22px;
  bottom: -22px;
  width: 132px;
  height: 132px;
  stroke: var(--accent-primary-deep);
  stroke-width: 1;
  fill: none;
  opacity: 0.08;
  transform: rotate(-8deg);
  pointer-events: none;
  transition: opacity var(--dur-med) var(--ease-out);
}

.card:nth-child(even) .card__motif {
  transform: rotate(8deg);
}

.card:hover .card__motif {
  opacity: 0.18;
}

.card h3 {
  font-size: var(--fs-500);
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  font-weight: 600;
  color: var(--accent-primary-deep);
  margin-top: var(--space-sm);
  font-size: var(--fs-200);
}

.card__link .icon {
  width: 18px;
  height: 18px;
  transition: transform var(--dur-fast) var(--ease-out);
}

.card:hover .card__link .icon,
.card__link:hover .icon {
  transform: translateX(4px);
}

/* ---------- Comparison table ---------- */
.table-scroll {
  overflow-x: auto;
  margin-top: var(--space-lg);
  border: 1px solid var(--paper-300);
  border-radius: var(--radius-lg);
  background: var(--paper-000);
}

.compare-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: var(--fs-200);
}

.compare-table th,
.compare-table td {
  text-align: left;
  padding: var(--space-sm) var(--space-md);
  border-bottom: 1px solid var(--paper-300);
}

.compare-table thead th {
  font-family: var(--font-head);
  font-size: var(--fs-100);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-on-light-dim);
  background: var(--paper-100);
}

.compare-table tbody th {
  font-family: var(--font-head);
  font-weight: 600;
  white-space: nowrap;
}

.compare-table tbody th a {
  color: var(--text-on-light);
  text-decoration: none;
}

.compare-table tbody th a:hover {
  color: var(--accent-primary-deep);
  text-decoration: underline;
}

.compare-table td {
  color: var(--text-on-light-dim);
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
  margin-bottom: var(--space-xs);
  font-size: var(--fs-200);
}

.check-list .icon {
  color: var(--accent-primary-deep);
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 0.15em;
}

.section--dark .check-list .icon,
.section--blueprint .check-list .icon {
  color: var(--accent-primary);
}

/* Bento layout: first service card is featured (2x2) */
@media (min-width: 800px) {
  .services-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr;
    gap: var(--space-md);
  }

  .services-bento > :first-child {
    grid-column: span 2;
    grid-row: span 2;
  }
}

.service-card--featured {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-card--featured h3 {
  font-size: var(--fs-600);
}

.service-card--featured p {
  font-size: var(--fs-300);
  max-width: 42ch;
}

/* Service cards on dark section */
.service-card {
  background:
    radial-gradient(circle at 12% 8%, rgba(47, 182, 224, 0.16), transparent 46%),
    var(--ink-900);
  color: var(--text-on-dark);
  border: 1px solid var(--ink-700);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  height: 100%;
  overflow: hidden;
  transition: transform var(--dur-med) var(--ease-out), border-color var(--dur-med) var(--ease-out),
    background var(--dur-med) var(--ease-out);
  position: relative;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-primary);
  background:
    radial-gradient(circle at 12% 8%, rgba(47, 182, 224, 0.22), transparent 46%),
    var(--ink-800);
}

/* Large, faint watermark of the service's own icon — gives each card a
   distinct identity instead of six identical dark boxes. Negative z-index
   keeps it behind the text (the card establishes the stacking context via
   position:relative), so it reads as background texture, not clutter. */
.service-card__motif {
  position: absolute;
  z-index: -1;
  right: -22px;
  bottom: -22px;
  width: 132px;
  height: 132px;
  stroke: var(--accent-primary);
  stroke-width: 1;
  fill: none;
  opacity: 0.12;
  transform: rotate(-8deg);
  pointer-events: none;
  transition: opacity var(--dur-med) var(--ease-out);
}

.service-card:nth-child(even) .service-card__motif {
  transform: rotate(8deg);
}

.service-card:hover .service-card__motif {
  opacity: 0.28;
}

.service-card--featured .service-card__motif {
  width: 230px;
  height: 230px;
  right: -30px;
  bottom: -30px;
}

.service-card h3 {
  font-size: var(--fs-500);
  color: #fff;
}

.service-card p {
  color: var(--text-on-dark-dim);
  font-size: var(--fs-200);
}

/* This card is always dark regardless of the section it sits in (the
   Leistungen section itself is light) — accent elements need the
   dark-surface (bright) treatment, not the light-surface (deep) default. */
.service-card .icon-tile,
.contact-tile .icon-tile,
.hero .icon-tile {
  background: rgba(47, 182, 224, 0.12);
  color: var(--accent-primary);
}

.service-card .card__link,
.service-card .check-list .icon {
  color: var(--accent-primary);
}

.service-card .check-list span {
  color: var(--text-on-dark-dim);
}

/* ---------- Process steps ---------- */
.process {
  counter-reset: step;
}

.process__list {
  display: grid;
  gap: var(--space-lg);
  position: relative;
}

@media (min-width: 900px) {
  .process__list {
    grid-template-columns: repeat(4, 1fr);
  }

  .process__list::before {
    content: "";
    position: absolute;
    top: 34px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: repeating-linear-gradient(
      90deg,
      var(--accent-primary) 0 10px,
      transparent 10px 20px
    );
    opacity: 0.5;
  }
}

.process__step {
  position: relative;
  counter-increment: step;
}

.process__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--paper-000);
  border: 2px solid var(--accent-primary-deep);
  color: var(--accent-primary-deep);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: var(--fs-500);
  margin-bottom: var(--space-sm);
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-sm);
}

.process__step h3 {
  font-size: var(--fs-400);
}

.process__step p {
  font-size: var(--fs-200);
  color: var(--text-on-light-dim);
}

.section--dark .process__num,
.section--blueprint .process__num {
  background: var(--ink-900);
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

.section--dark .process__step h3,
.section--blueprint .process__step h3 {
  color: #fff;
}

.section--dark .process__step p,
.section--blueprint .process__step p {
  color: var(--text-on-dark-dim);
}

.section--dark .process__list::before,
.section--blueprint .process__list::before {
  opacity: 0.5;
}

/* ---------- Branchen / Einsatzgebiete (industry showcase) ---------- */
html.no-scroll {
  overflow: hidden;
}

.industry-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem var(--space-lg);
}

/* Forces a row break after the 4th tile (7 industries = 4 top / 3 bottom row). */
.industry-grid__break {
  flex-basis: 100%;
  height: 0;
}

.industry-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-sm);
  width: 9.5rem;
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  padding: var(--space-2xs);
  cursor: pointer;
}

.industry-card__icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  border-radius: var(--radius-full);
  background: var(--accent-primary-tint);
  color: var(--accent-primary-deep);
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out),
    background var(--dur-med) var(--ease-out), color var(--dur-med) var(--ease-out);
}

.industry-card__icon .icon {
  width: 38px;
  height: 38px;
}

.industry-card__icon::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--accent-primary);
  opacity: 0;
  transform: scale(0.85);
  transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out);
}

.industry-card:hover .industry-card__icon,
.industry-card:focus-visible .industry-card__icon {
  transform: translateY(-6px);
  background: var(--accent-primary);
  color: #fff;
  box-shadow: var(--shadow-glow-primary);
}

.industry-card:hover .industry-card__icon::after,
.industry-card:focus-visible .industry-card__icon::after {
  opacity: 1;
  transform: scale(1);
}

.industry-card__label {
  font-weight: 600;
  font-size: var(--fs-200);
  line-height: 1.3;
  transition: color var(--dur-fast) var(--ease-out);
}

.industry-card:hover .industry-card__label,
.industry-card:focus-visible .industry-card__label {
  color: var(--accent-primary-deep);
}

/* Dialog / popup */
.industry-dialog {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
}

.industry-dialog[hidden] {
  display: none;
}

.industry-dialog__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 18, 27, 0.6);
  backdrop-filter: blur(2px);
  border: none;
  padding: 0;
  cursor: default;
}

.industry-dialog__panel {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: 85vh;
  overflow-y: auto;
  background: var(--paper-000);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg) var(--space-lg);
  box-shadow: var(--shadow-lg);
  animation: industry-dialog-in var(--dur-med) var(--ease-out);
}

@keyframes industry-dialog-in {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .industry-dialog__panel { animation: none; }
}

.industry-dialog__close {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: var(--radius-full);
  background: var(--paper-200);
  color: var(--ink-900);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out);
}

.industry-dialog__close:hover {
  background: var(--paper-300);
}

.industry-dialog__panel h3 {
  font-size: var(--fs-500);
  padding-right: var(--space-xl);
  margin-bottom: var(--space-sm);
}

.industry-dialog__panel p {
  color: var(--text-on-light-dim);
  margin: 0;
}

/* ---------- Team photo strip (homepage preview) ---------- */
.team-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
}

@media (min-width: 720px) {
  .team-strip { grid-template-columns: repeat(4, 1fr); }
}

.team-strip__item {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--ink-900);
}

.team-strip__item img,
.team-strip__item svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--dur-slow) var(--ease-out);
}

.team-strip__item:hover img { transform: scale(1.06); }

.team-strip__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: var(--space-sm);
  background: linear-gradient(0deg, rgba(14, 18, 27, 0.95) 10%, transparent 100%);
  color: #fff;
}

.team-strip__caption strong {
  display: block;
  font-family: var(--font-head);
  font-size: var(--fs-200);
  line-height: 1.25;
}

.team-strip__caption span {
  font-size: var(--fs-100);
  color: var(--text-on-dark-dim);
}

.about-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}

.about-photo img,
.about-photo svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Über uns (homepage split feature) ---------- */
.about-feature__grid {
  display: grid;
  gap: var(--space-xl);
  align-items: center;
}

@media (min-width: 900px) {
  .about-feature__grid {
    grid-template-columns: 0.85fr 1fr;
    gap: var(--space-2xl);
  }
}

.about-feature__side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

.about-feature__logo {
  width: 100%;
  max-width: 15rem;
  padding: var(--space-lg);
  background: var(--paper-000);
  border: 1px solid var(--paper-300);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.about-feature__logo img {
  width: 100%;
  height: auto;
  display: block;
}

.about-feature__content .lede {
  margin-bottom: var(--space-lg);
}

.about-feature__facts {
  list-style: none;
  margin: 0;
  padding: var(--space-md) 0 0;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  border-top: 1px solid var(--paper-300);
}

.about-feature__facts li {
  text-align: center;
}

.about-feature__facts strong {
  display: block;
  font-family: var(--font-head);
  font-size: var(--fs-300);
  color: var(--accent-primary-deep);
  margin-bottom: 0.2rem;
}

.about-feature__facts span {
  font-size: var(--fs-100);
  color: var(--text-on-light-dim);
  line-height: 1.3;
  display: block;
}

/* ---------- Team ---------- */
.team-card {
  text-align: center;
}

.team-avatar {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  margin: 0 auto var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  flex: none;
}

.team-avatar svg,
.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-card h3 {
  font-size: var(--fs-400);
  margin-bottom: 0.15rem;
}

.team-card__role {
  color: var(--accent-primary-deep);
  font-weight: 600;
  font-size: var(--fs-200);
  margin-bottom: var(--space-xs);
}

.team-card__quals {
  font-size: var(--fs-100);
  color: var(--text-on-light-dim);
}

/* ---------- FAQ accordion ---------- */
.faq-list {
  border-top: 1px solid var(--paper-300);
}

.section--dark .faq-list,
.section--blueprint .faq-list {
  border-color: var(--ink-700);
}

.faq-item {
  border-bottom: 1px solid var(--paper-300);
}

.section--dark .faq-item,
.section--blueprint .faq-item {
  border-color: var(--ink-700);
}

.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  background: none;
  border: none;
  text-align: left;
  padding: var(--space-md) 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: var(--fs-400);
}

.faq-item__q h3 {
  margin: 0;
  font: inherit;
}

.faq-item__q .icon {
  flex: none;
  transition: transform var(--dur-med) var(--ease-out);
  color: var(--accent-primary-deep);
}

.section--dark .faq-item__q .icon,
.section--blueprint .faq-item__q .icon {
  color: var(--accent-primary);
}

.faq-item.is-open .faq-item__q .icon {
  transform: rotate(180deg);
}

.faq-item__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur-med) var(--ease-out);
}

.faq-item.is-open .faq-item__a {
  grid-template-rows: 1fr;
}

.faq-item__a-inner {
  overflow: hidden;
  max-width: 62ch;
}

.faq-item__a-inner > :first-child { margin-top: 0; }

.faq-item__a p {
  color: var(--text-on-light-dim);
  padding-bottom: var(--space-md);
}

.section--dark .faq-item__a p,
.section--blueprint .faq-item__a p {
  color: var(--text-on-dark-dim);
}

.faq-item__a p:last-child { margin-bottom: 0; }

/* ---------- Forms ---------- */
.form-grid {
  display: grid;
  gap: var(--space-md);
}

@media (min-width: 640px) {
  .form-grid--2 { grid-template-columns: 1fr 1fr; }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field label {
  font-size: var(--fs-200);
  font-weight: 600;
}

.form-field .hint {
  font-size: var(--fs-100);
  color: var(--text-on-light-dim);
  font-weight: 400;
}

.form-field input,
.form-field select,
.form-field textarea {
  background: var(--paper-000);
  border: 1.5px solid var(--paper-300);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  min-height: 44px;
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}

.section--dark .form-field input,
.section--dark .form-field select,
.section--dark .form-field textarea {
  background: var(--ink-900);
  border-color: var(--ink-600);
  color: var(--text-on-dark);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--accent-primary-deep);
  box-shadow: 0 0 0 4px rgba(14, 124, 153, 0.15);
  outline: none;
}

.form-field textarea {
  resize: vertical;
  min-height: 140px;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: var(--fs-200);
}

.form-check input {
  width: 20px;
  height: 20px;
  min-height: 20px;
  margin-top: 0.2rem;
  accent-color: var(--accent-primary-deep);
  flex: none;
}

.form-note {
  font-size: var(--fs-100);
  color: var(--text-on-light-dim);
}

.section--dark .form-note { color: var(--text-on-dark-dim); }

.form-status {
  padding: var(--space-sm);
  border-radius: var(--radius-sm);
  font-size: var(--fs-200);
  font-weight: 600;
  display: none;
}

.form-status.is-success {
  display: block;
  background: rgba(74, 157, 120, 0.12);
  color: var(--color-success);
  border: 1px solid rgba(74, 157, 120, 0.35);
}

.form-status.is-error {
  display: block;
  background: rgba(194, 88, 80, 0.12);
  color: var(--color-error);
  border: 1px solid rgba(194, 88, 80, 0.35);
}

/* ---------- Contact info tiles ---------- */
.contact-tiles {
  display: grid;
  gap: var(--space-sm);
}

.contact-tile {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  background: var(--ink-900);
  border: 1px solid var(--ink-700);
}

.contact-tile .icon-tile {
  margin-bottom: 0;
}

.contact-tile h3 {
  font-size: var(--fs-300);
  color: #fff;
  margin-bottom: 0.2rem;
}

.contact-tile p, .contact-tile a {
  font-size: var(--fs-200);
  color: var(--text-on-dark-dim);
}

.contact-tile a:hover { color: #fff; }

.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--ink-700);
  aspect-ratio: 16/10;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.map-embed__placeholder {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--ink-900);
  color: var(--text-on-dark);
  padding: var(--space-lg);
}

.map-embed__placeholder .text-dim {
  color: var(--text-on-dark-dim);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink-950);
  color: var(--text-on-dark-dim);
  padding-block: var(--space-2xl) var(--space-lg);
}

.footer-grid {
  display: grid;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

.footer-brand .brand { margin-bottom: var(--space-sm); }

.footer-col h3 {
  color: #fff;
  font-size: var(--fs-200);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-sm);
}

.footer-col li {
  margin-bottom: 0.6rem;
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--ink-700);
  font-size: var(--fs-100);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

/* ---------- Cookie consent ---------- */
.cookie-consent {
  position: fixed;
  z-index: 900;
  left: var(--space-md);
  right: var(--space-md);
  bottom: var(--space-md);
  max-width: 560px;
  margin-inline: auto;
  background: var(--ink-900);
  border: 1px solid var(--ink-600);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  color: var(--text-on-dark);
  box-shadow: var(--shadow-lg);
  transform: translateY(140%);
  transition: transform var(--dur-med) var(--ease-out);
}

.cookie-consent.is-visible {
  transform: translateY(0);
}

.cookie-consent h2 {
  font-size: var(--fs-400);
}

.cookie-consent p {
  font-size: var(--fs-200);
  color: var(--text-on-dark-dim);
}

.cookie-consent__options {
  display: grid;
  gap: var(--space-xs);
  margin: var(--space-sm) 0 var(--space-md);
}

.cookie-consent__option {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: var(--fs-200);
  padding: 0.6rem;
  border-radius: var(--radius-sm);
  background: var(--ink-800);
}

.cookie-consent__option input {
  margin-top: 0.2rem;
  width: 18px;
  height: 18px;
  accent-color: var(--accent-primary);
}

.cookie-consent__option strong { display: block; }
.cookie-consent__option span { color: var(--text-on-dark-dim); font-size: var(--fs-100); }

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--accent-primary-deep), var(--ink-900));
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band h2 { color: #fff; }

.cta-band .lede {
  color: rgba(255, 255, 255, 0.85);
  margin-inline: auto;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.cta-band .btn--primary {
  background: var(--ink-950);
  color: #fff;
}

.cta-band .btn--primary:hover {
  background: #000;
  color: #fff;
}

.cta-band .btn--ghost {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  padding-block: var(--space-sm);
  font-size: var(--fs-100);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

.breadcrumbs a {
  color: var(--text-on-dark-dim);
}

.breadcrumbs a:hover { color: #fff; }

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 0.4rem;
  color: var(--ink-500);
}

/* ---------- Definition / fact blocks (GEO) ---------- */
.fact-block {
  background: var(--paper-100);
  border-left: 4px solid var(--accent-primary-deep);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--space-md) var(--space-lg);
  margin: var(--space-lg) 0;
}

.fact-block h3 {
  font-size: var(--fs-400);
  margin-bottom: 0.4rem;
}

.fact-block p:last-child { margin-bottom: 0; }

/* ---------- Legal pages ---------- */
.prose {
  max-width: 72ch;
}

.prose h2 {
  font-size: var(--fs-600);
  margin-top: var(--space-xl);
}

.prose h3 {
  font-size: var(--fs-400);
  margin-top: var(--space-lg);
}

.prose p, .prose li {
  color: var(--text-on-light-dim);
}

.prose ul, .prose ol {
  margin: 0 0 var(--space-sm);
  padding-left: 1.4rem;
}

.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }

.prose a { color: var(--accent-primary-deep); text-decoration: underline; }

/* ---------- Scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-group] > * {
  transition-delay: calc(var(--reveal-index, 0) * 90ms);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }
.flow > * + * { margin-top: var(--space-sm); }

@media (max-width: 719.98px) {
  .hide-mobile { display: none !important; }
}

@media (min-width: 720px) {
  .hide-desktop { display: none !important; }
}
