/* ==========================================================================
   Launch Theory — main stylesheet
   1. Fonts & tokens   2. Base   3. Layout   4. Typography helpers
   5. Buttons & links  6. Header & navigation   7. Home hero
   8. Sections         9. Inner pages   10. Forms   11. Footer
   12. Cookie consent  13. Motion
   ========================================================================== */

/* 1. Fonts & tokens ------------------------------------------------------- */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-var.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/inter-latin-var.woff2") format("woff2");
}

:root {
  --violet: #21145f;
  --navy: #151a2d;
  --accent: #7568e8;
  --accent-ink: #5547d1;
  --accent-light: #9a90f2;
  --soft: #dad7f7;
  --bg: #f6f6f4;
  --white: #ffffff;
  --text: #161923;
  --muted: #626570;
  --border: #dddde2;
  --line-dark: rgba(255, 255, 255, 0.14);

  --font-head: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  --container: 1320px;
  --gutter: clamp(1rem, 4vw, 3rem);
  --section: clamp(4.5rem, 2.5rem + 7vw, 9rem);
  --topbar-h: 38px;
  --nav-h: 84px;
  --header-h: calc(var(--topbar-h) + var(--nav-h));

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --radius: 2px;
  --logo-accent: var(--accent);
}

/* 2. Base ----------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.is-locked { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
svg { flex-shrink: 0; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }

ul, ol { margin: 0; padding: 0; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.on-dark :focus-visible,
.on-dark:focus-visible { outline-color: var(--soft); }

::selection { background: var(--soft); color: var(--violet); }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--white);
  color: var(--violet);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

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

/* 3. Layout --------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(860px + 2 * var(--gutter)); }

.section { padding-block: var(--section); position: relative; }
.section--white { background: var(--white); }
.section--bg { background: var(--bg); }
.section--navy { background: var(--navy); color: var(--white); }
.section--tight { padding-block: clamp(3.5rem, 2rem + 4vw, 6rem); }

.grid-12 {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .grid-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2rem; }
}

/* 4. Typography helpers --------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
  margin: 0 0 1.5rem;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}
.on-dark .eyebrow,
.section--navy .eyebrow { color: var(--accent-light); }

.h1 { font-size: clamp(2.5rem, 1.55rem + 3.6vw, 4.625rem); font-weight: 650; letter-spacing: -0.03em; line-height: 1.04; }
.h2 { font-size: clamp(2rem, 1.35rem + 2.3vw, 3.375rem); }
.h3 { font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem); line-height: 1.2; }
.h4 { font-size: 1.1875rem; line-height: 1.3; font-weight: 650; }

.lead {
  font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  line-height: 1.6;
  color: var(--muted);
}
.on-dark .lead,
.section--navy .lead { color: rgba(255, 255, 255, 0.74); }

.muted { color: var(--muted); }
.text-accent { color: var(--accent-ink); }
.headline-soft { color: var(--muted); }

.index-num {
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent-ink);
  font-variant-numeric: tabular-nums;
}

/* 5. Buttons & links ------------------------------------------------------ */
.btn {
  --btn-bg: var(--violet);
  --btn-fg: var(--white);
  --btn-bd: var(--violet);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 52px;
  padding: 0.875rem 1.625rem;
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.btn svg { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:hover { --btn-bg: var(--navy); --btn-bd: var(--navy); }

.btn--light { --btn-bg: var(--white); --btn-fg: var(--violet); --btn-bd: var(--white); }
.btn--light:hover { --btn-bg: var(--soft); --btn-bd: var(--soft); --btn-fg: var(--violet); }

.btn--ghost-light { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgba(255, 255, 255, 0.4); }
.btn--ghost-light:hover { --btn-bg: rgba(255, 255, 255, 0.08); --btn-bd: var(--white); }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--violet); --btn-bd: var(--border); }
.btn--ghost:hover { --btn-bg: var(--white); --btn-bd: var(--violet); --btn-fg: var(--violet); }

.btn--sm { min-height: 44px; padding: 0.625rem 1.125rem; font-size: 0.875rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.875rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-head);
  font-weight: 650;
  font-size: 0.9375rem;
  color: var(--violet);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.25rem;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.35s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.on-dark .link-arrow,
.section--navy .link-arrow { color: var(--white); }

/* 6. Header & navigation -------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  color: var(--white);
  transition: transform 0.45s var(--ease);
}

.topbar {
  height: var(--topbar-h);
  background: var(--violet);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.78);
}
.topbar .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.topbar__claim { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar__claim strong { color: var(--white); font-weight: 600; }
.topbar a { color: var(--white); text-decoration: none; white-space: nowrap; }
.topbar a:hover { text-decoration: underline; }

.navbar {
  position: relative;
  height: var(--nav-h);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease), color 0.4s var(--ease), height 0.4s var(--ease);
}
.navbar .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-header.is-scrolled { transform: translateY(calc(-1 * var(--topbar-h))); }
.site-header.is-scrolled .navbar {
  height: 72px;
  background: var(--white);
  color: var(--text);
  border-bottom-color: var(--border);
  box-shadow: 0 10px 30px -18px rgba(21, 26, 45, 0.28);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
  --logo-accent: var(--accent-light);
}
.site-header.is-scrolled .brand { --logo-accent: var(--accent); color: var(--violet); }
.brand__symbol { width: 38px; height: 38px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: 0.14em;
  white-space: nowrap;
}
.brand__desc {
  margin-top: 0.4rem;
  font-family: var(--font-head);
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  opacity: 0.72;
  white-space: nowrap;
}
.site-header.is-scrolled .brand__name { color: var(--navy); }
.site-header.is-scrolled .brand__desc { color: var(--muted); opacity: 1; }

.nav-desktop { display: none; }
.nav-desktop ul { display: flex; list-style: none; gap: clamp(1.25rem, 1.8vw, 2.125rem); }
.nav-link {
  position: relative;
  display: inline-block;
  padding-block: 0.5rem;
  color: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.15rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav-link:hover::after,
.nav-link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.nav-actions { display: flex; align-items: center; gap: 0.75rem; }
.nav-cta { display: none; }
.site-header.is-scrolled .nav-cta { --btn-bg: var(--violet); --btn-fg: var(--white); --btn-bd: var(--violet); }
.site-header.is-scrolled .nav-cta:hover { --btn-bg: var(--navy); --btn-bd: var(--navy); }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 44px;
  padding: 0.5rem 0 0.5rem 0.75rem;
  border: 0;
  background: none;
  color: inherit;
  font: 600 0.875rem/1 var(--font-head);
  letter-spacing: 0.06em;
  cursor: pointer;
}
.nav-toggle__bars { position: relative; width: 26px; height: 12px; }
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  height: 1.5px;
  background: currentColor;
}
.nav-toggle__bars::before { top: 0; width: 26px; }
.nav-toggle__bars::after { bottom: 0; width: 18px; left: 8px; }

@media (min-width: 640px) { .nav-cta { display: inline-flex; } }
@media (min-width: 1200px) {
  .nav-desktop { display: block; }
  .nav-toggle { display: none; }
}
@media (max-width: 479px) {
  .brand__desc { display: none; }
  .topbar__claim span { display: none; }
}

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 150;
  visibility: hidden;
  pointer-events: none;
}
.drawer.is-open { visibility: visible; pointer-events: auto; }
.drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(21, 26, 45, 0.55);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.drawer__panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(440px, 100%);
  display: flex;
  flex-direction: column;
  padding: 1.25rem var(--gutter) 2rem;
  background: var(--navy);
  color: var(--white);
  transform: translateX(100%);
  transition: transform 0.5s var(--ease);
  overflow-y: auto;
  --logo-accent: var(--accent-light);
}
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; min-height: 56px; }
.drawer__close {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  min-height: 44px;
  border: 0;
  background: none;
  color: inherit;
  font: 600 0.875rem/1 var(--font-head);
  letter-spacing: 0.06em;
  cursor: pointer;
}
.drawer__close svg { width: 22px; height: 22px; }
.drawer__nav { margin-top: 2.5rem; }
.drawer__nav ol { list-style: none; counter-reset: dnav; }
.drawer__nav li { counter-increment: dnav; border-top: 1px solid var(--line-dark); }
.drawer__nav li:last-child { border-bottom: 1px solid var(--line-dark); }
.drawer__nav a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1rem 0;
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  text-decoration: none;
  color: var(--white);
}
.drawer__nav a::before {
  content: counter(dnav, decimal-leading-zero);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--accent-light);
}
.drawer__nav a[aria-current="page"] { color: var(--soft); }
.drawer__foot { margin-top: auto; padding-top: 2.5rem; font-size: 0.9375rem; color: rgba(255, 255, 255, 0.7); }
.drawer__foot .btn { width: 100%; margin-bottom: 1.5rem; }
.drawer__foot a:not(.btn) { color: var(--white); }

/* 7. Home hero ------------------------------------------------------------ */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--white);
  padding-top: var(--header-h);
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: relative;
  height: clamp(300px, 56vw, 520px);
  overflow: hidden;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 40%;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(21, 26, 45, 0.55) 0%, rgba(21, 26, 45, 0) 34%),
    linear-gradient(90deg, rgba(21, 26, 45, 0.35) 0%, rgba(21, 26, 45, 0) 40%),
    linear-gradient(0deg, rgba(33, 20, 95, 0.16), rgba(33, 20, 95, 0.16));
}
.hero__trajectory {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero__trajectory path {
  fill: none;
  stroke: rgba(218, 215, 247, 0.75);
  stroke-width: 1.25;
  vector-effect: non-scaling-stroke;
}
.hero__trajectory .t-dash { stroke-dasharray: 3 6; stroke: rgba(218, 215, 247, 0.45); }

.hero__inner { position: relative; z-index: 2; }
.hero__panel {
  position: relative;
  margin-top: -4.5rem;
  margin-right: calc(-1 * var(--gutter));
  margin-left: calc(-1 * var(--gutter));
  padding: 2.5rem var(--gutter) 2.75rem;
  background: var(--violet);
}
.hero__panel::before {
  content: "";
  position: absolute;
  left: var(--gutter);
  top: 0;
  width: 64px;
  height: 3px;
  background: var(--accent);
}
.hero__title { margin-bottom: 1.5rem; }
.hero__title span { display: block; }
.hero__text { max-width: 36rem; margin-bottom: 2rem; color: rgba(255, 255, 255, 0.78); }

.hero__framework {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  padding-block: 1.75rem 2.25rem;
}
.hero__framework li {
  position: relative;
  padding-top: 1.125rem;
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 600;
}
.hero__framework li::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.22);
}
.hero__framework li::after {
  content: "";
  position: absolute;
  top: -3px; left: 0;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent-light);
}
.hero__framework li:last-child::after { background: var(--white); box-shadow: 0 0 0 4px rgba(117, 104, 232, 0.35); }
.hero__framework span {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--accent-light);
}

@media (min-width: 768px) {
  .hero__panel { margin-right: 18%; margin-left: 0; padding: 3rem 3rem 3.25rem; }
  .hero__panel::before { left: 3rem; }
}

@media (min-width: 1024px) {
  .hero {
    min-height: max(760px, 100svh);
    max-height: 1040px;
    display: flex;
    flex-direction: column;
  }
  .hero__media {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 132px;
    width: 64%;
    height: auto;
  }
  .hero__inner {
    flex: 1;
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    grid-template-rows: 1fr auto;
    align-items: end;
    column-gap: 3rem;
  }
  .hero__panel {
    grid-column: 1;
    grid-row: 1 / span 2;
    margin: 0;
    align-self: end;
    padding: clamp(3rem, 4vw, 4.25rem) clamp(2.5rem, 4vw, 4.25rem) clamp(3.25rem, 4vw, 4.5rem);
    max-width: 760px;
  }
  .hero__panel::before { left: clamp(2.5rem, 4vw, 4.25rem); }
  .hero__framework {
    grid-column: 2;
    grid-row: 2;
    height: 132px;
    align-content: center;
    padding: 0;
    gap: 0;
  }
  .hero__framework li { padding-right: 1rem; }
}

/* 8. Sections ------------------------------------------------------------- */

/* Section heads */
.section-head { margin-bottom: clamp(3rem, 2rem + 3vw, 5rem); }
@media (min-width: 1024px) {
  .section-head--split .section-head__title { grid-column: 1 / span 6; }
  .section-head--split .section-head__aside { grid-column: 8 / span 5; align-self: end; }
}

/* Intro */
.intro__title { grid-column: 1 / -1; }
.intro__title .h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.5rem); }
.intro__title .headline-soft { display: block; margin-top: 0.15em; color: var(--accent-ink); }
.intro__body { grid-column: 1 / -1; }
.intro__body p:first-child {
  font-family: var(--font-head);
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--text);
}
.intro__body p { color: var(--muted); }
@media (min-width: 1024px) {
  .intro__title { grid-column: 1 / span 7; }
  .intro__body { grid-column: 9 / span 4; padding-top: 0.5rem; }
}

/* Sequence rail: Idee → Klarheit → Strategie → Umsetzung → Wachstum */
.sequence {
  margin-top: clamp(4rem, 3rem + 4vw, 7rem);
  position: relative;
}
.sequence__label {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.8125rem;
  color: var(--muted);
}
.sequence ol {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  list-style: none;
}
.sequence li {
  position: relative;
  padding: 1rem 0 1rem 2rem;
  border-left: 1px solid var(--border);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.125rem;
}
.sequence li::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 1.45rem;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--violet);
}
.sequence li:last-child::before { background: var(--violet); }
.sequence li span { display: block; font-size: 0.75rem; letter-spacing: 0.08em; color: var(--accent-ink); margin-bottom: 0.15rem; }
@media (min-width: 768px) {
  .sequence ol { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .sequence ol::before {
    content: "";
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--border), var(--violet));
    transform-origin: left;
    transition: transform 1.2s var(--ease);
  }
  .js .sequence:not(.is-visible) ol::before { transform: scaleX(0); }
  .sequence li { border-left: 0; padding: 1.5rem 1rem 0 0; }
  .sequence li::before { top: -4px; left: 0; }
  .sequence li:nth-child(n+2) { padding-left: 0; }
}

/* Services */
.services { list-style: none; border-top: 1px solid var(--border); display: grid; grid-template-columns: minmax(0, 1fr); }
.service {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2.5rem 0 2.75rem;
  border-bottom: 1px solid var(--border);
  transition: background-color 0.45s var(--ease);
}
.service::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 100%;
  height: 2px;
  background: var(--violet);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}
.service:hover::before,
.service:focus-within::before { transform: scaleX(1); }
.service__top { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; }
.service__top::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.service__num {
  font-family: var(--font-head);
  font-size: clamp(2.75rem, 2rem + 2vw, 4rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px var(--violet);
}
.service__phase { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.service h3 { margin-bottom: 1rem; }
.service__desc { color: var(--muted); max-width: 34rem; margin-bottom: 1.75rem; }
.service__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 1.5rem;
  margin-bottom: 2rem;
}
.service__list li {
  padding: 0.6rem 0;
  border-top: 1px solid var(--border);
  font-size: 0.9375rem;
  font-weight: 500;
}
.service__link { margin-top: auto; align-self: flex-start; }
.service__link::after { content: ""; position: absolute; inset: 0; }
@media (min-width: 900px) {
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service { padding: 3rem clamp(2rem, 3.5vw, 3.5rem) 3.5rem; }
  .service:nth-child(odd) { border-right: 1px solid var(--border); padding-left: 0; }
  .service:nth-child(even) { padding-right: 0; }
  .service:hover { background: linear-gradient(180deg, rgba(218, 215, 247, 0.22), rgba(218, 215, 247, 0)); }
}

/* Feature story */
.feature { background: var(--bg); }
.feature__grid { display: grid; grid-template-columns: minmax(0, 1fr); }
.feature__media { position: relative; overflow: hidden; min-height: 320px; }
.feature__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.feature__tag {
  position: absolute;
  right: 0; bottom: 0;
  display: flex;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--white);
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--violet);
}
.feature__tag span + span::before { content: "/"; margin-right: 1rem; color: var(--border); }
.feature__content { padding: clamp(3.5rem, 8vw, 6rem) var(--gutter); }
.feature__content .h2 { margin-bottom: 1.75rem; }
.feature__content p { color: var(--muted); max-width: 34rem; }
.feature__content .link-arrow { margin-top: 1.5rem; }
@media (min-width: 1024px) {
  .feature__grid { grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); min-height: 680px; }
  .feature__media img { aspect-ratio: auto; position: absolute; inset: 0; }
  .feature__content {
    align-self: center;
    padding: var(--section) max(var(--gutter), calc((100vw - var(--container)) / 2)) var(--section) clamp(3rem, 6vw, 7rem);
  }
}

/* Process */
.process__head { margin-bottom: clamp(3rem, 2rem + 3vw, 5.5rem); }
.process__head .lead { max-width: 30rem; }
@media (min-width: 1024px) {
  .process__head .h2 { grid-column: 1 / span 6; }
  .process__head .lead { grid-column: 8 / span 5; align-self: end; }
}
.steps { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); position: relative; }
.step { position: relative; padding: 0 0 2.75rem 2.25rem; }
.step::before {
  content: "";
  position: absolute;
  left: 3px; top: 0.6rem; bottom: 0;
  width: 1px;
  background: var(--line-dark);
}
.step:last-child::before { display: none; }
.step__node {
  position: absolute;
  left: 0; top: 0.35rem;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent-light);
}
.step:last-child .step__node { background: var(--white); box-shadow: 0 0 0 5px rgba(117, 104, 232, 0.35); }
.step__num { display: block; margin-bottom: 0.75rem; color: var(--accent-light); }
.step h3 { margin-bottom: 0.75rem; }
.step p { color: rgba(255, 255, 255, 0.7); max-width: 22rem; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
  .steps::before {
    content: "";
    position: absolute;
    top: 3px; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(154, 144, 242, 0.25), var(--accent-light) 85%, var(--white));
    transform-origin: left;
    transition: transform 1.4s var(--ease);
  }
  .steps::after {
    content: "";
    position: absolute;
    top: -1px; right: 0;
    width: 9px; height: 9px;
    border-top: 1px solid var(--white);
    border-right: 1px solid var(--white);
    transform: rotate(45deg);
  }
  .js .steps:not(.is-visible)::before { transform: scaleX(0); }
  .step { padding: 2.75rem 0 0; }
  .step::before { display: none; }
  .step__node { top: 0; }
}

/* Light process variant */
.steps--light .step::before { background: var(--border); }
.steps--light .step__node { background: var(--violet); }
.steps--light .step:last-child .step__node { background: var(--violet); box-shadow: 0 0 0 5px var(--soft); }
.steps--light .step__num { color: var(--accent-ink); }
.steps--light .step p { color: var(--muted); }
@media (min-width: 900px) {
  .steps--light::before { background: linear-gradient(90deg, var(--border), var(--violet)); }
  .steps--light::after { border-color: var(--violet); }
}

/* Differentiation */
.diff__intro .h2 { margin-bottom: 1.5rem; }
.diff__intro p { color: var(--muted); max-width: 26rem; margin-bottom: 2rem; }
.diff__items { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 2.5rem; }
.diff__item { padding: 2rem 0 2.5rem; border-top: 1px solid var(--border); }
.diff__item .index-num { display: block; margin-bottom: 2.25rem; }
.diff__item h3 { margin-bottom: 0.875rem; }
.diff__item p { color: var(--muted); }
@media (min-width: 700px) {
  .diff__items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .diff__item:nth-child(even) { margin-top: 4rem; margin-bottom: -4rem; }
  .diff__items { padding-bottom: 4rem; align-items: start; }
}
@media (min-width: 1024px) {
  .diff__intro { grid-column: 1 / span 4; align-self: start; position: sticky; top: 120px; }
  .diff__items { grid-column: 6 / span 7; }
}

/* Insights cards */
.insights-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  transition: border-color 0.4s var(--ease);
}
.card:hover { border-color: var(--violet); }
.card__media { overflow: hidden; aspect-ratio: 16 / 10; background: var(--soft); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.card:hover .card__media img { transform: scale(1.035); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 1.75rem 1.75rem 2rem; }
.card__meta { display: flex; gap: 1rem; margin-bottom: 1rem; font-size: 0.8125rem; color: var(--muted); }
.card__meta .index-num { font-size: 0.75rem; }
.card h3 { margin-bottom: 0.875rem; }
.card h3 a { text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card p { color: var(--muted); font-size: 0.9875rem; }
.card__more {
  margin-top: auto;
  padding-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-weight: 650;
  font-size: 0.875rem;
  color: var(--violet);
}
.card__more svg { width: 16px; height: 16px; transition: transform 0.35s var(--ease); }
.card:hover .card__more svg { transform: translateX(4px); }

@media (min-width: 768px) {
  .insights-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
  .insights-grid .card--lead { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
  .insights-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: 1fr 1fr; }
  .insights-grid .card--lead { grid-column: 1; grid-row: 1 / span 2; }
  .insights-grid .card--lead .card__media { aspect-ratio: 16 / 11; }
  .insights-grid .card--lead .card__body { padding: 2.25rem 2.5rem 2.5rem; }
  .insights-grid .card--lead h3 { font-size: 2rem; }
  .insights-grid .card:not(.card--lead) { flex-direction: row; }
  .insights-grid .card:not(.card--lead) .card__media { flex: 0 0 38%; aspect-ratio: auto; }
}

.insights-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
@media (min-width: 768px) { .insights-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* CTA block */
.cta-block {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 2rem + 5vw, 6.5rem) clamp(1.5rem, 1rem + 5vw, 6rem);
  background: var(--violet);
  color: var(--white);
  isolation: isolate;
}
.cta-block__lines {
  position: absolute;
  right: -5%;
  bottom: 0;
  width: 70%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}
.cta-block__lines path { fill: none; stroke: rgba(218, 215, 247, 0.2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.cta-block__lines path.is-strong { stroke: rgba(154, 144, 242, 0.65); }
.cta-block .h2 { max-width: 15em; margin-bottom: 1.75rem; }
.cta-block p { max-width: 36rem; color: rgba(255, 255, 255, 0.76); margin-bottom: 2.5rem; }
.cta-block__mail {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  min-height: 52px;
  color: var(--white);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}
.cta-block__mail:hover { border-bottom-color: var(--white); }
.cta-block__mail svg { width: 18px; height: 18px; }

/* 9. Inner pages ---------------------------------------------------------- */
.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(420px, 40vw + 160px, 540px);
  padding-top: var(--header-h);
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.page-hero--compact { min-height: clamp(360px, 30vw + 160px, 440px); }
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(21, 26, 45, 0.94) 0%, rgba(33, 20, 95, 0.82) 48%, rgba(33, 20, 95, 0.5) 100%),
    linear-gradient(0deg, rgba(21, 26, 45, 0.55) 0%, rgba(21, 26, 45, 0) 50%);
}
.page-hero--plain::before { background: linear-gradient(110deg, var(--navy) 0%, var(--violet) 100%); }
.page-hero__line {
  position: absolute;
  right: 0; top: var(--header-h); bottom: 0;
  width: 46%;
  z-index: -1;
  pointer-events: none;
}
.page-hero__line path { fill: none; stroke: rgba(218, 215, 247, 0.35); stroke-width: 1; vector-effect: non-scaling-stroke; }
.page-hero__inner { width: 100%; padding-block: 3rem clamp(3rem, 2rem + 3vw, 4.5rem); }
.page-hero h1 { max-width: 15em; margin-bottom: 1.25rem; }
.page-hero__sub { max-width: 38rem; font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem); color: rgba(255, 255, 255, 0.8); }

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.625rem;
  list-style: none;
  margin-bottom: 1.75rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.7);
}
.breadcrumb li { display: inline-flex; align-items: center; gap: 0.625rem; }
.breadcrumb li + li::before {
  content: "";
  width: 14px;
  height: 1px;
  background: var(--accent-light);
  position: relative;
}
.breadcrumb a { color: var(--white); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--soft); }

/* Content blocks */
.block-split { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); }
.block-split + .block-split { margin-top: clamp(4rem, 3rem + 4vw, 7rem); padding-top: clamp(4rem, 3rem + 4vw, 7rem); border-top: 1px solid var(--border); }
.block-split__head .index-num { display: block; margin-bottom: 1.25rem; }
.block-split__body { color: var(--muted); }
.block-split__body > p:first-child { color: var(--text); font-size: 1.1875rem; }
@media (min-width: 1024px) {
  .block-split { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .block-split__head { grid-column: 1 / span 5; }
  .block-split__body { grid-column: 7 / span 6; }
}

.media-wide { position: relative; overflow: hidden; }
.media-wide img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
@media (max-width: 767px) { .media-wide img { aspect-ratio: 4 / 3; } }
.media-caption { margin-top: 0.875rem; font-size: 0.8125rem; color: var(--muted); }

.principles { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 2.5rem; border-top: 1px solid var(--border); }
.principles li { padding: 1.75rem 0; border-bottom: 1px solid var(--border); }
.principles h3 { margin: 0.5rem 0 0.625rem; }
.principles p { color: var(--muted); }
@media (min-width: 768px) { .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .principles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Services overview detail blocks */
.svc-detail { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem); border-top: 1px solid var(--border); }
.svc-detail:first-child { border-top: 0; padding-top: 0; }
.svc-detail__head .service__num { display: block; margin-bottom: 1.25rem; }
.svc-detail__head h2 { margin-bottom: 1rem; }
.svc-detail__head p { color: var(--muted); }
.svc-detail__head .btn { margin-top: 1.75rem; }
.svc-detail__cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
.svc-detail__col h3 { font-size: 0.75rem; font-family: var(--font-head); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 1rem; }
.svc-detail__col ul { list-style: none; }
.svc-detail__col li { padding: 0.75rem 0; border-top: 1px solid var(--border); font-size: 0.9875rem; }
.svc-detail__col p { color: var(--muted); font-size: 0.9875rem; }
@media (min-width: 768px) { .svc-detail__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) {
  .svc-detail { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4rem; }
  .svc-detail__head { position: sticky; top: 110px; align-self: start; }
}

.questions { list-style: none; counter-reset: q; border-top: 1px solid var(--border); }
.questions li {
  counter-increment: q;
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-head);
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.questions li::before {
  content: counter(q, decimal-leading-zero);
  padding-top: 0.3em;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  color: var(--accent-ink);
}

.aside-box { padding: 2rem; background: var(--bg); border-top: 2px solid var(--violet); }
.section--bg .aside-box { background: var(--white); }
.aside-box h2, .aside-box h3 { font-size: 1.125rem; margin-bottom: 1rem; }
.aside-box ul { list-style: none; margin-bottom: 1.75rem; }
.aside-box li { padding: 0.625rem 0; border-top: 1px solid var(--border); font-size: 0.9375rem; }
.aside-box p { font-size: 0.9375rem; color: var(--muted); }

.related { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--border); }
.related li { border-bottom: 1px solid var(--border); }
.related a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0;
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s var(--ease), padding 0.4s var(--ease);
}

.related a svg { width: 20px; height: 20px; color: var(--violet); transition: transform 0.35s var(--ease); }
.related a:hover { color: var(--violet); }
.related a:hover svg { transform: translateX(4px); }
@media (min-width: 900px) {
  .related { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 2.5rem; border-top: 0; }
  .related li { border-top: 1px solid var(--border); }
}

/* FAQ */
.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 0;
  font-family: var(--font-head);
  font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.3125rem);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: 0 0 14px;
  height: 14px;
  background:
    linear-gradient(var(--violet), var(--violet)) center / 14px 1.5px no-repeat,
    linear-gradient(var(--violet), var(--violet)) center / 1.5px 14px no-repeat;
  transition: transform 0.35s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--violet); }
.faq__answer { padding: 0 0 1.75rem; max-width: 46rem; color: var(--muted); }

/* Articles */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; }
@media (min-width: 1100px) {
  .article-layout { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 5rem; }
  .article-layout aside { position: sticky; top: 110px; align-self: start; }
}
.prose { max-width: 44rem; font-size: 1.125rem; line-height: 1.75; }
.prose > p:first-of-type {
  font-family: var(--font-head);
  font-size: clamp(1.25rem, 1.15rem + 0.4vw, 1.4375rem);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.01em;
}
.prose h2 { font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2rem); margin: 2.75rem 0 1rem; }
.prose ul, .prose ol { padding-left: 1.25rem; margin: 0 0 1.25em; }
.prose li { margin-bottom: 0.5rem; }
.prose li::marker { color: var(--accent-ink); }
.prose blockquote {
  margin: 2.5rem 0;
  padding: 0.25rem 0 0.25rem 1.75rem;
  border-left: 2px solid var(--violet);
  font-family: var(--font-head);
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--violet);
}
.prose a { color: var(--violet); }
.article-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-top: 1.75rem; font-size: 0.875rem; color: rgba(255, 255, 255, 0.72); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 5rem; } }
.contact-info address { font-style: normal; font-size: 1.0625rem; line-height: 1.7; }
.contact-info dl { margin: 0; }
.contact-info dt {
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.contact-info dd { margin: 0; padding-bottom: 1.75rem; border-bottom: 1px solid var(--border); }
.contact-info dd a { color: var(--violet); font-weight: 500; }
.contact-info ul { list-style: none; }
.contact-info li { padding: 0.4rem 0 0.4rem 1.5rem; position: relative; color: var(--muted); }
.contact-info li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: 10px; height: 1px; background: var(--violet); }

/* Legal */
.legal { max-width: 48rem; }
.legal h2 { font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem); margin: 3rem 0 1rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.legal h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal h3 { font-size: 1.125rem; margin: 1.75rem 0 0.75rem; }
.legal p, .legal li { color: #3d4049; }
.legal ul { padding-left: 1.25rem; margin-bottom: 1.25rem; }
.legal li { margin-bottom: 0.375rem; }
.legal address { font-style: normal; margin-bottom: 1.25rem; line-height: 1.7; }
.legal a { color: var(--violet); }
.legal__stand { margin-top: 3rem; font-size: 0.875rem; color: var(--muted); }

/* 10. Forms --------------------------------------------------------------- */
.form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; padding: clamp(1.5rem, 1rem + 3vw, 3.25rem); background: var(--white); border: 1px solid var(--border); }
@media (min-width: 640px) {
  .form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form .field--full { grid-column: 1 / -1; }
}
.form__intro { grid-column: 1 / -1; font-size: 0.875rem; color: var(--muted); }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field label, .field .label {
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 650;
}
.field .req { color: var(--accent-ink); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.8rem 1rem;
  border: 1px solid #c9c9d1;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field select {
  appearance: none;
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2321145F' stroke-width='1.5'%3E%3Cpath d='M3.5 6l4.5 4.5L12.5 6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
}
.field textarea { min-height: 170px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #9a9aa6; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(117, 104, 232, 0.25);
}
.field [aria-invalid="true"] { border-color: #b3261e; }
.field__error { display: none; font-size: 0.8125rem; color: #b3261e; }
.field__error.is-visible { display: block; }

.check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 0.875rem; align-items: start; font-size: 0.9375rem; color: #3d4049; }
.check input { width: 22px; height: 22px; margin: 0.1rem 0 0; accent-color: var(--violet); }
.check a { color: var(--violet); }

.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.form-status { grid-column: 1 / -1; display: none; padding: 1.5rem; border-left: 2px solid var(--violet); background: var(--bg); font-size: 0.9375rem; }
.form-status.is-visible { display: block; }
.form-status h3 { font-size: 1.0625rem; margin-bottom: 0.5rem; }
.form-status p { color: #3d4049; margin-bottom: 1rem; }
.form-status--error { border-left-color: #b3261e; }

/* 11. Footer -------------------------------------------------------------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, 0.72); font-size: 0.9375rem; --logo-accent: var(--accent-light); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.75rem; padding-block: clamp(4rem, 3rem + 4vw, 6.5rem) 3.5rem; }
.footer-brand .brand { color: var(--white); margin-bottom: 1.5rem; }
.footer-brand p { max-width: 20rem; }
.footer-col h2 {
  margin-bottom: 1.25rem;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-light);
}
.footer-col ul { list-style: none; }
.footer-col li + li { margin-top: 0.5rem; }
.footer-col a, .footer-col button {
  display: inline-block;
  padding: 0.15rem 0;
  border: 0;
  background: none;
  color: var(--white);
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}
.footer-col a:hover, .footer-col button:hover { text-decoration: underline; }
.footer-col address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-block: 1.75rem 2.25rem;
  border-top: 1px solid var(--line-dark);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
}
@media (min-width: 640px) { .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .footer-top { grid-template-columns: minmax(0, 4fr) minmax(0, 2fr) minmax(0, 3fr) minmax(0, 2fr); gap: 3rem; } }

/* 12. Cookie consent ------------------------------------------------------ */
.consent {
  position: fixed;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 1rem;
  z-index: 180;
  max-width: 460px;
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  padding: 1.75rem;
  background: var(--white);
  color: var(--text);
  border: 1px solid var(--border);
  border-top: 2px solid var(--violet);
  box-shadow: 0 24px 60px -24px rgba(21, 26, 45, 0.45);
  font-size: 0.9rem;
  line-height: 1.55;
}
.consent[hidden] { display: none; }
.consent h2 { font-size: 1.125rem; margin-bottom: 0.75rem; }
.consent p { color: #3d4049; }
.consent a { color: var(--violet); }
.consent__settings { margin: 1.25rem 0 0; border-top: 1px solid var(--border); }
.consent__settings[hidden] { display: none; }
.consent__cat { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.25rem 1rem; padding: 1rem 0; border-bottom: 1px solid var(--border); }
.consent__cat strong { font-family: var(--font-head); font-size: 0.9375rem; }
.consent__cat p { grid-column: 1 / -1; font-size: 0.8125rem; color: var(--muted); }
.consent__badge { font-size: 0.75rem; font-weight: 600; color: var(--accent-ink); }
.consent__note { padding-top: 1rem; font-size: 0.8125rem; color: var(--muted); }
.consent__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.625rem; margin-top: 1.5rem; }
.consent__actions .btn { min-height: 46px; padding: 0.625rem 0.875rem; font-size: 0.8125rem; }
.consent__actions .btn:last-child { grid-column: 1 / -1; }
.consent__toggle {
  margin-top: 0.75rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--violet);
  font: 600 0.875rem var(--font-head);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
}

/* 13. Motion -------------------------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

.js [data-reveal="image"] { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); transition: clip-path 0.9s var(--ease); }
.js [data-reveal="image"].is-visible { clip-path: inset(0 0 0 0); }

.js .hero__trajectory { clip-path: inset(0 100% 0 0); animation: wipe 1.8s 0.35s var(--ease) forwards; }

@keyframes wipe { to { clip-path: inset(0 0 0 0); } }

.js .hero__panel { animation: rise 0.8s 0.1s var(--ease) both; }
.js .hero__framework { animation: fade 0.8s 0.5s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

@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;
  }
  .js [data-reveal], .js [data-reveal="image"] { opacity: 1; transform: none; clip-path: none; }
  .js .hero__trajectory { clip-path: none; animation: none; }
}

/* Utility grid placements (desktop only) */
.col-full { grid-column: 1 / -1; }
@media (min-width: 1024px) {
  .col-lg-4 { grid-column: 1 / span 4; }
  .col-lg-7 { grid-column: 1 / span 7; }
  .col-lg-7r { grid-column: 6 / span 7; }
  .col-lg-aside { grid-column: 8 / span 5; align-self: end; }
  .col-lg-aside-top { grid-column: 9 / span 4; align-self: start; position: sticky; top: 110px; }
}
.related a .related__label { font-size: inherit; letter-spacing: inherit; color: inherit; margin: 0; }
.related__label span { font-size: 0.75rem; letter-spacing: 0.08em; color: var(--accent-ink); margin-right: 1rem; }

/* Adjacent sections with the same background: avoid doubled spacing */
.section--bg + .section--bg,
.section--white + .section--white { padding-top: 0; }

/* Long German compounds on narrow screens */
h1, h2, h3, .h1, .h2, .h3 { overflow-wrap: break-word; }
@media (max-width: 767px) {
  h1, h2, h3 { hyphens: auto; -webkit-hyphens: auto; }
  .hero__trajectory { top: var(--header-h); height: clamp(300px, 56vw, 520px); }
  .hero__trajectory .t-dash { display: none; }
}
.card__media img { object-position: center 35%; }
