/* =============================================================================
   Tsambasis & Tsambasis — IT & Marketing Beratung, Köln
   Design system + layout
   ============================================================================= */

/* ---------------------------------------------------------------- 00 FONTS */

@font-face {
  font-family: 'Space Grotesk';
  src: url('../fonts/SpaceGrotesk-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('../fonts/SpaceGrotesk-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('../fonts/Manrope-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('../fonts/Manrope-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('../fonts/Manrope-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('../fonts/IBMPlexMono-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('../fonts/IBMPlexMono-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ---------------------------------------------------------------- 01 TOKENS */

:root {
  /* Surfaces — deep graphite through warm off-white */
  --graphite-900: #0B0D10;
  --graphite-800: #101317;
  --graphite-700: #171B21;
  --graphite-600: #21262E;
  --graphite-500: #2E343E;

  --paper: #F2EFE9;        /* warm off-white */
  --paper-dim: #E4E0D8;

  --grey-400: #9AA1AB;     /* cool light grey */
  --grey-300: #C2C7CE;

  /* Exactly one accent: electric cobalt.
     -ink is the text-safe step on dark surfaces (>= 7:1 on graphite-900). */
  --accent: #2B4CF0;
  --accent-ink: #8CA5FF;
  --accent-deep: #1B33B8;

  /* Semantic — dark context (default) */
  --bg: var(--graphite-900);
  --fg: var(--paper);
  --fg-muted: var(--grey-400);
  --rule: rgba(242, 239, 233, 0.13);
  --rule-strong: rgba(242, 239, 233, 0.26);

  /* Type */
  --font-display: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Manrope', 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'Cascadia Mono', monospace;

  --step--1: clamp(0.78rem, 0.74rem + 0.18vw, 0.87rem);
  --step-0: clamp(0.98rem, 0.93rem + 0.24vw, 1.12rem);
  --step-1: clamp(1.15rem, 1.05rem + 0.5vw, 1.45rem);
  --step-2: clamp(1.45rem, 1.24rem + 1.05vw, 2.1rem);
  --step-3: clamp(1.95rem, 1.5rem + 2.2vw, 3.2rem);
  --step-4: clamp(2.6rem, 1.7rem + 4.4vw, 5.4rem);
  --step-5: clamp(3.1rem, 1.5rem + 7.6vw, 8.5rem);

  /* Rhythm */
  --gutter: clamp(1.25rem, 0.7rem + 2.6vw, 3.5rem);
  --shell: 1560px;
  --section-y: clamp(5.5rem, 3rem + 11vw, 12rem);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --nav-h: 74px;
}

/* Light context — applied to inverted sections */
.is-light {
  --bg: var(--paper);
  --fg: var(--graphite-900);
  --fg-muted: #59606B;
  --rule: rgba(11, 13, 16, 0.14);
  --rule-strong: rgba(11, 13, 16, 0.3);
  --accent-ink: var(--accent-deep);
}

/* ---------------------------------------------------------------- 02 RESET */

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

html {
  -webkit-text-size-adjust: 100%;
  /* No forced smooth scroll — honour the platform. Only anchor jumps ease. */
  scroll-behavior: auto;
  scroll-padding-top: calc(var(--nav-h) + 1rem);
}

body {
  margin: 0;
  background: var(--graphite-900);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-variant-ligatures: none;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
ul,
ol,
dl,
dd {
  margin: 0;
}

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

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--accent-ink);
  outline-offset: 3px;
  border-radius: 1px;
}

::selection {
  background: var(--accent);
  color: #fff;
}

/* Der native Zeiger bleibt sichtbar; dieser feine Ring ergänzt ihn als
   zurückhaltendes Interface-Detail auf präzisen Desktop-Zeigern. */
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 19px;
  height: 19px;
  border: 1px solid rgba(124, 150, 255, 0.68);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  box-shadow:
    0 0 0 1px rgba(12, 15, 21, 0.22),
    0 0 14px rgba(43, 76, 240, 0.18);
  will-change: transform, width, height, opacity;
  transition:
    width 0.32s var(--ease-out),
    height 0.32s var(--ease-out),
    opacity 0.2s ease,
    border-color 0.3s ease,
    background-color 0.3s ease;
}

.cursor-ring::after {
  content: '';
  position: absolute;
  inset: 50% auto auto 50%;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: rgba(160, 180, 255, 0.92);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 7px rgba(83, 115, 255, 0.7);
}

.has-cursor-ring .cursor-ring.is-visible {
  opacity: 1;
}

.has-cursor-ring .cursor-ring.is-over-action {
  width: 31px;
  height: 31px;
  border-color: rgba(140, 165, 255, 0.92);
  background: rgba(43, 76, 240, 0.065);
}

.has-cursor-ring .cursor-ring.is-over-graph {
  width: 25px;
  height: 25px;
  border-color: rgba(124, 150, 255, 0.82);
  background: rgba(43, 76, 240, 0.04);
}

.has-cursor-ring .cursor-ring.is-dragging {
  width: 37px;
  height: 37px;
  border-color: rgba(140, 165, 255, 0.98);
  background: rgba(43, 76, 240, 0.11);
  box-shadow:
    0 0 0 5px rgba(43, 76, 240, 0.045),
    0 0 22px rgba(43, 76, 240, 0.28);
}

.has-cursor-ring .cursor-ring.is-pressed {
  width: 15px;
  height: 15px;
  background: rgba(43, 76, 240, 0.13);
}

body.is-graph-dragging {
  cursor: grabbing;
  user-select: none;
}

@media (min-width: 861px) and (hover: hover) and (pointer: fine) {
  .is-graph-zone {
    cursor: grab;
  }

  .is-graph-zone.is-dragging {
    cursor: grabbing;
  }

  .is-graph-zone :is(h1, h2, h3, h4, p, li, address, blockquote, dt, dd) {
    cursor: text;
  }

  .is-graph-zone :is(a, button, input, select, textarea, label) {
    cursor: pointer;
  }
}

/* ---------------------------------------------------------------- 03 UTILS */

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 999;
  padding: 0.85rem 1.4rem;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  transform: translateY(-140%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus-visible {
  transform: translateY(0);
}

/* Small technical label — the mono voice of the system */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-mono);
  font-size: clamp(0.66rem, 0.62rem + 0.16vw, 0.76rem);
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.tag::before {
  content: '';
  width: 1.6em;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
  flex: none;
}

.tag--plain::before {
  display: none;
}

.tag--accent {
  color: var(--accent-ink);
}

.num {
  font-family: var(--font-mono);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.lede {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--fg);
  max-width: 34ch;
  text-wrap: pretty;
}

.prose {
  color: var(--fg-muted);
  max-width: 58ch;
  text-wrap: pretty;
}

.prose + .prose {
  margin-top: 1.1em;
}

/* ---------------------------------------------------------------- 04 TYPE */

.display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--step-3);
  line-height: 1.02;
  letter-spacing: -0.028em;
  text-wrap: balance;
}

.h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--step-2);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* ---------------------------------------------------------------- 05 STAGE */

/* Der Wissensgraph liegt fixiert hinter dem Inhalt und ist nie interaktiv. */
.stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(80% 68% at 68% 38%, rgba(31, 39, 54, 0.72) 0%, transparent 70%),
    radial-gradient(100% 90% at 50% 40%, #11151c 0%, #0b0d10 72%);
}

.stage__canvas {
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
}

.stage__canvas.is-ready {
  opacity: 1;
}

/* Statischer Graph-Fallback: sichtbar bis Canvas übernimmt und dauerhaft,
   wenn der Nutzer Bewegungsreduktion aktiviert hat. */
.stage__fallback {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 71% 23%, rgba(164, 179, 204, 0.62) 0 2px, transparent 2.6px),
    radial-gradient(circle at 58% 37%, rgba(164, 179, 204, 0.48) 0 1.5px, transparent 2.2px),
    radial-gradient(circle at 78% 51%, rgba(92, 124, 255, 0.72) 0 2.5px, transparent 3.2px),
    radial-gradient(circle at 49% 64%, rgba(164, 179, 204, 0.45) 0 1.5px, transparent 2.2px),
    radial-gradient(circle at 68% 76%, rgba(164, 179, 204, 0.58) 0 2px, transparent 2.7px),
    linear-gradient(var(--rule) 1px, transparent 1px),
    linear-gradient(90deg, var(--rule) 1px, transparent 1px);
  background-size: auto, auto, auto, auto, auto, 92px 92px, 92px 92px;
  -webkit-mask-image: radial-gradient(72% 66% at 64% 43%, #000 0%, transparent 82%);
  mask-image: radial-gradient(72% 66% at 64% 43%, #000 0%, transparent 82%);
  opacity: 0.56;
  transition: opacity 0.8s var(--ease);
}

.stage__fallback::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(33deg, transparent 47.8%, rgba(169, 183, 205, 0.13) 48%, rgba(169, 183, 205, 0.13) 48.2%, transparent 48.4%),
    linear-gradient(115deg, transparent 42%, rgba(43, 76, 240, 0.12) 50%, transparent 58%);
}

.has-graph .stage__fallback {
  opacity: 0;
}

/* ---------------------------------------------------------------- 06 NAV */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease),
    backdrop-filter 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

/* Unterseiten ohne Hero: die Leiste steht von Anfang an auf Fläche. */
.nav--solid,
.nav.is-pinned {
  background: rgba(11, 13, 16, 0.86);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border-bottom-color: var(--rule);
}

/* Over the light section the bar flips polarity so contrast never drops. */
.nav.is-over-light.is-pinned {
  background: rgba(242, 239, 233, 0.9);
  border-bottom-color: rgba(11, 13, 16, 0.14);
  color: var(--graphite-900);
}

.nav__inner {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 3rem);
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: -0.02em;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 0.45em;
  white-space: nowrap;
  margin-right: auto;
}

.wordmark__amp {
  color: var(--accent-ink);
  font-weight: 700;
}

.nav.is-over-light .wordmark__amp {
  color: var(--accent-deep);
}

.wordmark__sub {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.55;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2vw, 2.2rem);
}

.nav__link {
  position: relative;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.4rem 0;
  opacity: 0.72;
  transition: opacity 0.25s var(--ease);
}

.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--accent-ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.nav.is-over-light .nav__link::after {
  background: var(--accent);
}

.nav__link:hover,
.nav__link:focus-visible {
  opacity: 1;
}

.nav__link[aria-current='true'] {
  opacity: 1;
}

.nav__link[aria-current='true']::after,
.nav__link:hover::after {
  transform: scaleX(1);
}

/* ---------------------------------------------------------------- 07 BUTTONS */

/* Deliberately near-square. 2px radius, not pills. */
.btn {
  --btn-fg: var(--graphite-900);
  --btn-bg: var(--paper);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.8em;
  padding: 0.95em 1.5em;
  border-radius: 2px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.94rem;
  letter-spacing: -0.005em;
  line-height: 1;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1px solid var(--btn-bg);
  transition: transform 0.28s var(--ease), background-color 0.28s var(--ease),
    border-color 0.28s var(--ease), color 0.28s var(--ease);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  --btn-fg: #fff;
  --btn-bg: var(--accent);
}

.btn--primary:hover {
  --btn-bg: #3A5AFF;
}

.btn--ghost {
  --btn-fg: var(--fg);
  --btn-bg: transparent;
  border-color: var(--rule-strong);
}

.btn--ghost:hover {
  border-color: var(--fg);
}

.btn--sm {
  padding: 0.7em 1.1em;
  font-size: 0.85rem;
}

.btn__arrow {
  width: 0.8em;
  height: 0.8em;
  flex: none;
  transition: transform 0.28s var(--ease);
}

.btn:hover .btn__arrow {
  transform: translateX(3px);
}

.nav__cta {
  display: none;
}

/* ---------------------------------------------------------------- 08 MENU (mobile) */

.menu-toggle {
  display: none;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  /* Mindestens 44px hohe Trefferfläche, ohne die Leiste optisch zu verändern. */
  padding-block: 0.85rem;
  padding-inline: 0;
  min-height: 44px;
}

.menu-toggle__bars {
  position: relative;
  width: 20px;
  height: 9px;
  flex: none;
}

.menu-toggle__bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.34s var(--ease), opacity 0.2s var(--ease);
}

.menu-toggle__bars span:nth-child(1) {
  top: 0;
}
.menu-toggle__bars span:nth-child(2) {
  bottom: 0;
}

.menu-toggle[aria-expanded='true'] .menu-toggle__bars span:nth-child(1) {
  transform: translateY(3.75px) rotate(45deg);
}
.menu-toggle[aria-expanded='true'] .menu-toggle__bars span:nth-child(2) {
  transform: translateY(-3.75px) rotate(-45deg);
}

.drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--graphite-900);
  padding: calc(var(--nav-h) + 2rem) var(--gutter) 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-1.5%);
  /* visibility springt erst nach dem Ausblenden auf hidden — beim Öffnen
     dagegen sofort auf visible, damit der Fokus direkt hineinwandern kann. */
  transition: opacity 0.42s var(--ease), transform 0.42s var(--ease),
    visibility 0s linear 0.42s;
}

.drawer.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.42s var(--ease), transform 0.42s var(--ease),
    visibility 0s linear 0s;
}

.drawer__list li {
  border-top: 1px solid var(--rule);
}

.drawer__list a {
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
  padding: 1.05rem 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.7rem, 8vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1;
}

.drawer__list .num {
  font-size: 0.72rem;
  color: var(--accent-ink);
  letter-spacing: 0.1em;
}

.drawer__foot {
  display: grid;
  gap: 1.2rem;
  padding-top: 2rem;
}

.drawer__meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--fg-muted);
  line-height: 1.8;
}

.external-booking-note {
  max-width: 58ch;
  margin-top: 0.8rem;
  color: var(--fg-muted);
  font-family: var(--font-mono);
  font-size: clamp(0.69rem, 0.66rem + 0.1vw, 0.75rem);
  line-height: 1.55;
  letter-spacing: 0.015em;
}

.external-booking-note::before {
  content: '↗';
  margin-right: 0.45rem;
  color: var(--accent-ink);
}

.drawer__foot > .external-booking-note--drawer {
  margin-top: -0.45rem;
}

/* ---------------------------------------------------------------- 09 SECTIONS */

.main {
  position: relative;
  z-index: 1;
}

.section {
  position: relative;
  padding-block: var(--section-y);
  background: var(--bg);
  color: var(--fg);
}

/* Abschnitte, durch die der Graph sichtbar bleibt */
.section--stage {
  background: transparent;
}

/* Ruhiger Schleier zwischen Graph und Text: die Szene bleibt deutlich
   sichtbar, kleine Schriftgrade stehen aber nie auf einem hellen Modul.
   Kein Glaseffekt, keine Unschärfe — nur eine flache Abdunklung. */
.section--stage::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(11, 13, 16, 0.5) 0%,
    rgba(11, 13, 16, 0.74) 22%,
    rgba(11, 13, 16, 0.74) 78%,
    rgba(11, 13, 16, 0.5) 100%
  );
}

.section--light {
  background: var(--paper);
  color: var(--graphite-900);
}

/* Hairline that marks the top edge of a section — a technical registration mark */
.section__rule {
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  height: 1px;
  background: var(--rule);
}

.section__head {
  display: grid;
  gap: clamp(1.4rem, 3vw, 2.4rem);
  margin-bottom: clamp(3rem, 6vw, 5.5rem);
}

@media (min-width: 900px) {
  .section__head {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: end;
    gap: clamp(2rem, 5vw, 5rem);
  }
}

/* ---------------------------------------------------------------- 10 HERO */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: calc(var(--nav-h) + 3rem);
  padding-bottom: clamp(2rem, 5vh, 4rem);
}

/* Lesbarkeitsschleier: Text behält auch über hellen Graph-Punkten genug Kontrast. */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to top,
    rgba(11, 13, 16, 0.9) 0%,
    rgba(11, 13, 16, 0.6) 34%,
    rgba(11, 13, 16, 0.08) 72%,
    transparent 100%
  );
}

.hero__inner {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.hero__eyebrow {
  margin-bottom: clamp(1.5rem, 4vh, 2.6rem);
}

.hero__title {
  font-size: var(--step-5);
  margin-bottom: clamp(1.6rem, 4vh, 2.6rem);
}

.hero__title .line {
  display: block;
  overflow: hidden;
  /* Unterlängen wie beim kleinen „g“ brauchen trotz der bewusst engen
     Zeilenhöhe etwas Luft. Die negative Außenkante erhält den Rhythmus. */
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
}

.hero__title .line > span {
  display: block;
  transform: translateY(103%);
  transition: transform 1.05s var(--ease-out);
}

.is-revealed .hero__title .line > span {
  transform: none;
}

.hero__title .line:nth-child(2) > span {
  transition-delay: 0.1s;
}

/* The full stop carries the accent — the only colour in the headline. */
.hero__title .dot {
  color: var(--accent-ink);
}

.hero__body {
  display: grid;
  gap: clamp(1.8rem, 4vw, 3rem);
  align-items: end;
}

@media (min-width: 860px) {
  .hero__body {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

.hero__sub {
  max-width: 46ch;
  color: var(--grey-300);
  font-size: var(--step-1);
  line-height: 1.5;
  text-wrap: pretty;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.9s var(--ease) 0.34s, transform 0.9s var(--ease) 0.34s;
}

.is-revealed .hero__sub {
  opacity: 1;
  transform: none;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.9s var(--ease) 0.46s, transform 0.9s var(--ease) 0.46s;
}

.is-revealed .hero__actions {
  opacity: 1;
  transform: none;
}

/* Zurückhaltender Scrollhinweis am unteren Rand des Hero. */
.hero__foot {
  margin-top: clamp(2.5rem, 6vh, 4.5rem);
  padding-top: 1.1rem;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  opacity: 0;
  transition: opacity 0.9s var(--ease) 0.6s;
}

.is-revealed .hero__foot {
  opacity: 1;
}

.hero__scroll {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  width: max-content;
  transition: color 0.25s var(--ease);
}

.hero__scroll:hover,
.hero__scroll:focus-visible {
  color: var(--paper);
}

.hero__scroll svg {
  width: 10px;
  animation: nudge 2.6s var(--ease) infinite;
}

@keyframes nudge {
  0%,
  62%,
  100% {
    transform: translateY(0);
    opacity: 0.6;
  }
  78% {
    transform: translateY(4px);
    opacity: 1;
  }
}

/* ---------------------------------------------------------------- 11 PILLARS */

.pillars {
  display: grid;
  gap: 1px;
  background: var(--rule);
  border-block: 1px solid var(--rule);
}

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

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

.pillar {
  background: var(--graphite-900);
  padding: clamp(1.6rem, 3vw, 2.4rem) clamp(1.2rem, 2vw, 1.8rem);
  display: grid;
  gap: 0.8rem;
  align-content: start;
  transition: background-color 0.4s var(--ease);
}

.pillar:hover {
  background: var(--graphite-800);
}

.pillar__n {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--accent-ink);
}

.pillar__t {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--step-1);
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.pillar__d {
  color: var(--fg-muted);
  font-size: var(--step--1);
  line-height: 1.6;
}

/* ---------------------------------------------------------------- 12 QUOTE */

.quote {
  margin-top: clamp(4rem, 9vw, 8rem);
  display: grid;
  gap: clamp(1.6rem, 4vw, 3rem);
}

@media (min-width: 900px) {
  .quote {
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
    align-items: end;
  }
}

.quote__text {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--step-4);
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.quote__text em {
  font-style: normal;
  color: var(--accent-ink);
}

.quote__cite {
  font-style: normal;
  color: var(--fg-muted);
  font-size: var(--step--1);
  max-width: 40ch;
  border-left: 1px solid var(--rule-strong);
  padding-left: 1.2rem;
}

/* ---------------------------------------------------------------- 13 LEISTUNGEN */

/* Nummeriertes Leistungsverzeichnis mit einer durchgängigen Rasterachse. */
.ledger {
  border-top: 1px solid var(--rule);
}

.service {
  position: relative;
  border-bottom: 1px solid var(--rule);
  transition: background-color 0.5s var(--ease);
}

.service::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 1px;
  width: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.75s var(--ease);
  z-index: 1;
}

.service.has-line::before {
  transform: scaleX(1);
}

.service__grid {
  display: grid;
  gap: clamp(1.2rem, 3vw, 2.5rem);
  padding-block: clamp(2.2rem, 5vw, 4rem);
}

@media (min-width: 940px) {
  .service__grid {
    grid-template-columns: 5.5rem minmax(0, 5fr) minmax(0, 6fr);
    align-items: start;
  }

}

.service__n {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(0.8rem, 0.7rem + 0.4vw, 0.95rem);
  letter-spacing: 0.08em;
  color: var(--fg-muted);
  padding-top: 0.5em;
  transition: color 0.5s var(--ease);
}

.service.is-active .service__n {
  color: var(--accent-ink);
}

.service__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--step-3);
  line-height: 1.0;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.service__side {
  display: grid;
  gap: 1.4rem;
}

.service__intro {
  color: var(--fg-muted);
  max-width: 48ch;
  font-size: var(--step-0);
}

/* Capability list — mono, hairline separated, reads like a spec sheet */
.caps {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--rule);
}

.caps li {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  padding: 0.62rem 0;
  border-bottom: 1px solid var(--rule);
  font-size: var(--step--1);
  color: var(--fg);
}

.caps li::before {
  content: '';
  width: 5px;
  height: 5px;
  flex: none;
  background: var(--rule-strong);
  transform: translateY(-0.2em);
  transition: background-color 0.5s var(--ease);
}

.service.is-active .caps li::before {
  background: var(--accent);
}

/* ---------------------------------------------------------------- 14 PROZESS */

.process {
  display: grid;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}

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

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

.step {
  position: relative;
  background: var(--graphite-900);
  padding: clamp(1.8rem, 3vw, 2.6rem) clamp(1.3rem, 2vw, 2rem)
    clamp(2.4rem, 4vw, 3.4rem);
  display: grid;
  gap: 1rem;
  align-content: start;
  overflow: hidden;
  transition: background-color 0.55s var(--ease);
}

.step.is-active {
  background: var(--graphite-800);
}

/* Progress bar at the foot of each step — fills as the stage reaches it */
.step__bar {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: var(--rule);
}

.step__bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--accent);
  transition: width 0.6s var(--ease);
}

.step.is-active .step__bar span {
  width: 100%;
}

.step__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.step__n {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--fg-muted);
  transition: color 0.55s var(--ease);
}

.step.is-active .step__n {
  color: var(--accent-ink);
}

.step__glyph {
  width: 30px;
  height: 30px;
  opacity: 0.55;
  transition: opacity 0.55s var(--ease);
}

.step.is-active .step__glyph {
  opacity: 1;
}

.step__glyph [data-mark] {
  transition: fill 0.55s var(--ease), stroke 0.55s var(--ease);
}

.step.is-active .step__glyph [data-mark] {
  stroke: var(--accent-ink);
}

.step__t {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--step-2);
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.step__d {
  color: var(--fg-muted);
  font-size: var(--step--1);
  line-height: 1.62;
}

/* ---------------------------------------------------------------- 15 STATEMENT */

.statement {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
}

@media (min-width: 960px) {
  .statement {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: start;
    gap: clamp(3rem, 7vw, 7rem);
  }
}

.statement__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-4);
  line-height: 0.94;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.statement__title .dot {
  color: var(--accent);
}

.statement__aside {
  display: grid;
  gap: 1.6rem;
  padding-top: 0.6rem;
}

.statement__aside p {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--fg-muted);
  text-wrap: pretty;
}

/* Contrast markers: what does not fit vs. what we build instead */
.contrast {
  margin-top: clamp(3rem, 7vw, 6rem);
  display: grid;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}

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

.contrast__cell {
  background: var(--paper);
  padding: clamp(1.5rem, 3vw, 2.2rem);
  display: grid;
  gap: 0.7rem;
  align-content: start;
}

.contrast__k {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.contrast__v {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--step-1);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* ---------------------------------------------------------------- 16 KONTAKT */

.contact {
  position: relative;
  scroll-margin-top: calc(var(--nav-h) + 1rem);
}

/* Der Abschlussgraph bekommt rechts genug Präsenz für die Data Singularity,
   während der Textbereich links zuverlässig dunkel und lesbar bleibt. */
.contact.section--stage::before {
  background: linear-gradient(
    to right,
    rgba(11, 13, 16, 0.82) 0%,
    rgba(11, 13, 16, 0.66) 48%,
    rgba(11, 13, 16, 0.24) 72%,
    rgba(11, 13, 16, 0.08) 100%
  );
}

.contact__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-4);
  line-height: 0.94;
  letter-spacing: -0.04em;
  text-wrap: balance;
  max-width: 18ch;
}

.contact__title .dot {
  color: var(--accent-ink);
}

.contact__actions {
  margin-top: clamp(2.2rem, 5vw, 3.4rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.6rem;
}

.contact__mail {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 500;
  letter-spacing: -0.02em;
  border-bottom: 1px solid var(--rule-strong);
  padding-bottom: 2px;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}

.contact__mail:hover {
  color: var(--accent-ink);
  border-color: var(--accent-ink);
}

.contact__note {
  margin-top: 1.4rem;
  font-size: var(--step--1);
  color: var(--fg-muted);
  max-width: 52ch;
}

.contact__note a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--rule-strong);
}

.contact__note a:hover {
  text-decoration-color: currentColor;
}

.contact__meta {
  margin-top: clamp(3.5rem, 8vw, 6rem);
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
  display: grid;
  gap: 2rem;
}

@media (min-width: 780px) {
  .contact__meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.5rem, 4vw, 4rem);
  }
}

.meta-block {
  display: grid;
  gap: 0.7rem;
  align-content: start;
}

.meta-block__k {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.meta-block address {
  font-style: normal;
  line-height: 1.72;
  font-size: var(--step-0);
}

.meta-block a:hover {
  color: var(--accent-ink);
}

/* ---------------------------------------------------------------- 17 FOOTER */

.footer {
  position: relative;
  z-index: 1;
  /* Leicht transparent, damit die finale Knotenfigur bis in den Footer reicht. */
  background: rgba(11, 13, 16, 0.84);
  border-top: 1px solid var(--rule);
  padding-block: clamp(2.2rem, 4vw, 3.2rem);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 1.2rem 2rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--fg-muted);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  margin-left: auto;
}

.footer__links + p {
  margin-left: 0.4rem;
}

@media (max-width: 720px) {
  .footer__inner {
    align-items: flex-start;
  }

  .footer__links {
    width: 100%;
    margin-left: 0;
    order: 2;
  }

  .footer__links + p {
    margin-left: 0;
    order: 3;
  }
}

.footer__links a:hover {
  color: var(--paper);
}

.footer__love {
  color: var(--paper);
}

.footer__love span {
  color: var(--accent-ink);
}

/* Kontakt und Footer bilden auf jeder Desktop-Höhe eine vollständige
   Endkomposition. Alle Werte wachsen kontinuierlich mit der Fensterhöhe,
   sodass beim Überschreiten eines Breakpoints kein sichtbarer Sprung entsteht. */
@media (min-width: 861px) {
  .contact.section {
    padding-top: clamp(6.5rem, calc(22.5vh - 5.5rem), 12rem);
    padding-bottom: clamp(3.5rem, calc(35vh - 15rem), 12rem);
  }

  .contact__title {
    font-size: clamp(3rem, 7.5vh, var(--step-4));
  }

  .contact__actions {
    margin-top: clamp(1.8rem, calc(6.4vh - 1.6rem), 3.4rem);
  }

  .contact__note {
    margin-top: clamp(1rem, 2vh, 1.4rem);
  }

  .contact__meta {
    margin-top: clamp(2.75rem, calc(13.3vh - 4.3rem), 6rem);
    padding-top: clamp(1.5rem, 3vh, 2rem);
  }

  .footer {
    padding-block: clamp(1.75rem, calc(6vh - 1.45rem), 3.2rem);
  }
}

/* ---------------------------------------------------------------- 18 LEGAL PAGES */

.legal {
  padding-top: calc(var(--nav-h) + clamp(4rem, 10vw, 8rem));
  padding-bottom: var(--section-y);
  position: relative;
  z-index: 1;
  background: var(--graphite-900);
  min-height: 100svh;
}

.legal__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-4);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
  -webkit-hyphens: none;
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}

.legal__body {
  max-width: 74ch;
  display: grid;
  gap: 1.15rem;
  color: var(--grey-300);
}

.legal__body h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--step-1);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin-top: 2.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--rule);
  display: flex;
  gap: 0.9rem;
  align-items: baseline;
}

.legal__body h2 .num {
  font-size: 0.78rem;
  color: var(--accent-ink);
  flex: none;
}

.legal__body address {
  font-style: normal;
  line-height: 1.8;
  color: var(--paper);
}

.legal__body ul {
  display: grid;
  gap: 0.5rem;
  padding-left: 0;
}

.legal__body ul li {
  padding-left: 1.3rem;
  position: relative;
}

.legal__body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 5px;
  height: 5px;
  background: var(--accent);
}

.legal__body strong {
  color: var(--paper);
  font-weight: 600;
}

.legal__body a {
  color: var(--accent-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal__back {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 2rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.legal__back:hover {
  color: var(--paper);
}

.legal__updated {
  margin-top: 3rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--fg-muted);
}

/* ---------------------------------------------------------------- 19 REVEAL */

/* One reveal primitive, applied sparingly — never a per-word text cascade. */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

[data-reveal-delay='1'] {
  transition-delay: 0.08s;
}
[data-reveal-delay='2'] {
  transition-delay: 0.16s;
}
[data-reveal-delay='3'] {
  transition-delay: 0.24s;
}

/* ---------------------------------------------------------------- 20 RESPONSIVE */

@media (max-width: 860px) {
  :root {
    --nav-h: 62px;
  }

  .nav__list,
  .nav__cta {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  /* Der mobile Hero wird neu komponiert: Der Graph bekommt ein eigenes Band
     über der Typografie, statt direkt hinter ihr zu liegen. */
  .hero {
    min-height: 100svh;
    justify-content: flex-end;
    padding-top: calc(var(--nav-h) + 34svh);
  }

  .hero::before {
    background: linear-gradient(
      to top,
      rgba(11, 13, 16, 0.97) 0%,
      rgba(11, 13, 16, 0.93) 40%,
      rgba(11, 13, 16, 0.55) 62%,
      transparent 92%
    );
  }

  .hero__title {
    line-height: 0.94;
    letter-spacing: -0.03em;
  }

  .hero__actions .btn {
    flex: 1 1 100%;
    justify-content: center;
  }

  .contact.section--stage::before {
    background: linear-gradient(
      to bottom,
      rgba(11, 13, 16, 0.82) 0%,
      rgba(11, 13, 16, 0.68) 56%,
      rgba(11, 13, 16, 0.46) 100%
    );
  }

  .service__n {
    padding-top: 0;
  }

  .quote__cite {
    border-left: 0;
    border-top: 1px solid var(--rule-strong);
    padding-left: 0;
    padding-top: 1rem;
  }
}

@media (min-width: 861px) {
  .nav__cta {
    display: inline-flex;
  }

  .drawer {
    display: none;
  }
}

/* ---------------------------------------------------------------- 21 MOTION */

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

  [data-reveal],
  .hero__sub,
  .hero__actions,
  .hero__foot {
    opacity: 1;
    transform: none;
  }

  .hero__title .line > span {
    transform: none;
  }

  .hero__scroll svg {
    animation: none;
  }

  .cursor-ring {
    display: none;
  }
}

@media print {
  .stage,
  .nav,
  .drawer {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }
}

/* ================================================================ SEO LANDINGPAGE */

.seo-page {
  background: #0b0d10;
}

.seo-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(62% 54% at 79% 20%, rgba(42, 59, 96, 0.34), transparent 74%),
    radial-gradient(54% 44% at 12% 78%, rgba(30, 42, 75, 0.2), transparent 76%),
    linear-gradient(rgba(242, 239, 233, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 239, 233, 0.025) 1px, transparent 1px);
  background-size: auto, auto, 92px 92px, 92px 92px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.85) 68%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.85) 68%, transparent 100%);
}

.seo-landing {
  overflow: clip;
}

.seo-page .section--stage::before {
  background: linear-gradient(
    to bottom,
    rgba(11, 13, 16, 0.18),
    rgba(11, 13, 16, 0.72) 18%,
    rgba(11, 13, 16, 0.72) 82%,
    rgba(11, 13, 16, 0.18)
  );
}

.seo-hero {
  position: relative;
  z-index: 1;
  min-height: min(940px, 100svh);
  padding-top: calc(var(--nav-h) + clamp(4rem, 9vh, 7.5rem));
  padding-bottom: clamp(3.5rem, 7vh, 6rem);
  display: flex;
  align-items: center;
}

.seo-hero::after {
  content: '';
  position: absolute;
  z-index: -1;
  width: min(48vw, 760px);
  aspect-ratio: 1;
  right: -10%;
  top: 5%;
  border-radius: 50%;
  border: 1px solid rgba(140, 165, 255, 0.1);
  box-shadow:
    0 0 0 5vw rgba(140, 165, 255, 0.015),
    0 0 0 10vw rgba(140, 165, 255, 0.012);
}

.seo-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: clamp(2rem, 5vh, 4rem);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  transition: color 0.25s var(--ease);
}

.seo-breadcrumb::before {
  content: '←';
  color: var(--accent-ink);
}

.seo-breadcrumb:hover {
  color: var(--paper);
}

.seo-hero__grid {
  display: grid;
  gap: clamp(3rem, 7vw, 8rem);
  align-items: end;
}

.seo-hero__content {
  min-width: 0;
}

.seo-hero__grid > *,
.seo-transfer__grid > *,
.seo-faq-layout > *,
.seo-cta__inner > * {
  min-width: 0;
}

.seo-hero__title {
  max-width: 14ch;
  margin-top: clamp(1.3rem, 3vh, 2.2rem);
  font-family: var(--font-display);
  font-size: clamp(3rem, 2rem + 4.2vw, 6.5rem);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.045em;
  text-wrap: balance;
  -webkit-hyphens: none;
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}

.seo-hero__title--compact {
  max-width: 16ch;
  font-size: clamp(2.8rem, 1.9rem + 3.7vw, 5.8rem);
}

.seo-hero__title .dot,
.seo-transfer__title .dot,
.seo-cta h2 .dot {
  color: var(--accent-ink);
}

.seo-hero__lede {
  max-width: 60ch;
  margin-top: clamp(1.6rem, 3vw, 2.5rem);
  color: var(--grey-300);
  font-size: var(--step-1);
  line-height: 1.5;
  text-wrap: pretty;
}

.seo-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.seo-signal {
  border: 1px solid var(--rule-strong);
  background: rgba(15, 18, 24, 0.78);
  box-shadow: 0 1.8rem 5rem rgba(0, 0, 0, 0.2);
}

.seo-signal__head,
.seo-signal__foot {
  padding: 1rem 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.seo-signal__head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--rule);
  color: var(--fg-muted);
}

.seo-signal__status {
  color: var(--accent-ink);
}

.seo-signal__status::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 0.6rem;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
  vertical-align: 0.08em;
}

.seo-signal__list li {
  display: grid;
  grid-template-columns: 2.2rem minmax(5rem, 0.75fr) minmax(0, 1.25fr);
  gap: 0.8rem;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}

.seo-signal__list .num {
  color: var(--accent-ink);
  font-size: 0.7rem;
}

.seo-signal__list strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
}

.seo-signal__list li > span:last-child {
  color: var(--fg-muted);
  font-size: 0.76rem;
}

.seo-signal__foot {
  color: var(--fg-muted);
  line-height: 1.6;
}

.seo-hero__facts {
  display: grid;
  margin-top: clamp(3rem, 7vh, 5.5rem);
  border-block: 1px solid var(--rule);
}

.seo-hero__facts li {
  display: grid;
  gap: 0.3rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--rule);
}

.seo-hero__facts li:last-child {
  border-bottom: 0;
}

.seo-hero__facts span {
  font-family: var(--font-mono);
  color: var(--fg-muted);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.seo-hero__facts strong {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 500;
}

.seo-diagnostics {
  display: grid;
  border-block: 1px solid var(--rule);
}

.seo-diagnostics article {
  position: relative;
  padding: clamp(1.8rem, 3vw, 2.8rem) 0;
  border-bottom: 1px solid var(--rule);
}

.seo-diagnostics article:last-child {
  border-bottom: 0;
}

.seo-diagnostics__n {
  font-family: var(--font-mono);
  color: var(--accent-ink);
  font-size: 0.72rem;
}

.seo-diagnostics h3 {
  max-width: 30ch;
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 500;
  line-height: 1.25;
}

.seo-diagnostics p {
  max-width: 52ch;
  margin-top: 0.8rem;
  color: var(--fg-muted);
  font-size: var(--step--1);
}

.seo-capabilities {
  display: grid;
  gap: 1px;
  border: 1px solid var(--rule);
  background: var(--rule);
}

.seo-capability {
  padding: clamp(1.6rem, 3vw, 2.6rem);
  background: rgba(11, 13, 16, 0.9);
}

.seo-capability__n {
  font-family: var(--font-mono);
  color: var(--accent-ink);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.seo-capability h3 {
  margin-top: 1.2rem;
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.seo-capability > p:not(.seo-capability__n) {
  max-width: 54ch;
  margin-top: 1rem;
  color: var(--fg-muted);
  font-size: var(--step--1);
}

.seo-capability ul {
  margin-top: 1.6rem;
  border-top: 1px solid var(--rule);
}

.seo-capability li {
  position: relative;
  padding: 0.7rem 0 0.7rem 1rem;
  border-bottom: 1px solid var(--rule);
  font-size: var(--step--1);
}

.seo-capability li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.15rem;
  width: 4px;
  height: 4px;
  background: var(--accent);
}

.seo-transfer {
  overflow: hidden;
}

.seo-transfer__grid {
  display: grid;
  gap: clamp(3rem, 7vw, 7rem);
}

.seo-transfer__title {
  max-width: 16ch;
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 1.9rem + 2.1vw, 4.25rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-wrap: pretty;
  -webkit-hyphens: none;
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}

.seo-transfer__lede {
  max-width: 58ch;
  margin-top: 1.8rem;
  color: var(--fg-muted);
  font-size: var(--step-1);
}

.seo-channel-map {
  position: relative;
  display: grid;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}

.seo-channel {
  position: relative;
  padding: clamp(1.4rem, 2.5vw, 2.2rem);
  background: var(--paper);
}

.seo-channel--primary {
  background: #e8e8f0;
}

.seo-channel > span {
  font-family: var(--font-mono);
  color: var(--accent-deep);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.seo-channel h3 {
  margin-top: 0.9rem;
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 500;
  line-height: 1.18;
}

.seo-channel p {
  margin-top: 0.65rem;
  color: var(--fg-muted);
  font-size: var(--step--1);
}

.seo-sea-bridge {
  margin-top: clamp(4rem, 8vw, 8rem);
  padding-top: 1.6rem;
  border-top: 2px solid var(--accent-deep);
}

.seo-sea-bridge__label {
  font-family: var(--font-mono);
  color: var(--accent-deep);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.seo-sea-bridge ol {
  display: grid;
  margin-top: 1.5rem;
  border-top: 1px solid var(--rule);
}

.seo-sea-bridge li {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule);
}

.seo-sea-bridge li span {
  font-family: var(--font-mono);
  color: var(--accent-deep);
  font-size: 0.72rem;
}

.seo-process {
  display: grid;
  gap: 1px;
  border: 1px solid var(--rule);
  background: var(--rule);
}

.seo-process li {
  display: flex;
  min-height: 19rem;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  flex-direction: column;
  background: rgba(11, 13, 16, 0.92);
}

.seo-process__n {
  font-family: var(--font-mono);
  color: var(--accent-ink);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.seo-process h3 {
  margin-top: 2.5rem;
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 500;
}

.seo-process p {
  margin-top: 1rem;
  color: var(--fg-muted);
  font-size: var(--step--1);
}

.seo-process strong {
  margin-top: auto;
  padding-top: 2rem;
  color: var(--grey-300);
  font-size: 0.78rem;
  font-weight: 500;
}

.seo-faq-layout {
  display: grid;
  gap: clamp(3rem, 8vw, 8rem);
}

.seo-faq {
  border-top: 1px solid var(--rule-strong);
}

.seo-faq details {
  border-bottom: 1px solid var(--rule-strong);
}

.seo-faq summary {
  position: relative;
  padding: 1.35rem 3rem 1.35rem 0;
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 500;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}

.seo-faq summary::-webkit-details-marker {
  display: none;
}

.seo-faq summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 1.2rem;
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 400;
  transition: transform 0.25s var(--ease);
}

.seo-faq details[open] summary::after {
  transform: rotate(45deg);
}

.seo-faq details p {
  max-width: 68ch;
  padding: 0 3rem 1.5rem 0;
  color: var(--fg-muted);
  font-size: var(--step--1);
}

.seo-cta {
  position: relative;
  z-index: 1;
  padding-block: clamp(5rem, 11vw, 11rem);
  border-top: 1px solid var(--rule);
  background:
    radial-gradient(55% 100% at 84% 52%, rgba(43, 76, 240, 0.14), transparent 72%),
    rgba(11, 13, 16, 0.92);
}

.seo-cta__inner {
  display: grid;
  gap: clamp(2.5rem, 7vw, 7rem);
}

.seo-cta h2 {
  max-width: 19ch;
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 1.9rem + 2.1vw, 4.25rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-wrap: pretty;
  -webkit-hyphens: none;
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}

.seo-cta__side > p:first-child {
  max-width: 52ch;
  color: var(--grey-300);
  font-size: var(--step-1);
}

.seo-cta__side .btn {
  margin-top: 2rem;
}

.seo-cta__note {
  margin-top: 1rem;
  color: var(--fg-muted);
  font-size: var(--step--1);
}

.seo-cta__note a {
  color: var(--paper);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--rule-strong);
}

.seo-footer {
  background: #0b0d10;
}

.seo-related {
  position: relative;
  z-index: 1;
  padding-block: clamp(4rem, 8vw, 7rem);
  border-top: 1px solid var(--rule);
  background: rgba(11, 13, 16, 0.82);
}

.seo-related__grid {
  display: grid;
  gap: 1px;
  margin-top: 1.5rem;
  border: 1px solid var(--rule);
  background: var(--rule);
}

.seo-related__grid a {
  display: grid;
  gap: 0.55rem;
  padding: clamp(1.3rem, 2.5vw, 2rem);
  background: var(--graphite-900);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}

.seo-related__grid a:hover,
.seo-related__grid a:focus-visible {
  color: var(--accent-ink);
  background: var(--graphite-800);
}

.seo-related__grid span {
  color: var(--fg-muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.seo-related__grid strong {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 500;
}

/* Grid- und Textschutz für lange deutsche Begriffe.
   Die Inhalte dürfen nie in benachbarte Spalten oder Karten hineinragen. */
.section__head > *,
.seo-capabilities > *,
.seo-channel-map > *,
.seo-related__grid > *,
.seo-process > *,
.vertical-hero__grid > *,
.vertical-intro__grid > *,
.vertical-strategy__grid > *,
.vertical-preview__grid > *,
.vertical-faq__grid > *,
.vertical-final__grid > *,
.module-builder__head > *,
.module-builder__layout > *,
.vertical-assurance__inner > * {
  min-width: 0;
}

.section__head h2,
.statement__title,
.contact__title,
.seo-capability h3,
.seo-channel h3,
.seo-related__grid strong,
.seo-diagnostics h3,
.seo-process h3,
.seo-process strong,
.vertical-hero h1,
.vertical-heading,
.vertical-final h2,
.module-card h3,
.vertical-problems h3,
.vertical-journey strong,
.vertical-combinations h3 {
  -webkit-hyphens: none;
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}

.caps__link {
  display: flex;
  width: 100%;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  transition: color 0.25s var(--ease);
}

.caps__link span {
  flex: none;
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
}

.caps__link:hover,
.caps__link:focus-visible {
  color: var(--accent-ink);
}

@media (min-width: 720px) {
  .seo-hero__facts,
  .seo-diagnostics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .seo-hero__facts li {
    padding: 1.3rem clamp(1.2rem, 2.5vw, 2.4rem);
    border-right: 1px solid var(--rule);
    border-bottom: 0;
  }

  .seo-hero__facts li:first-child {
    padding-left: 0;
  }

  .seo-hero__facts li:last-child {
    border-right: 0;
  }

  .seo-diagnostics article {
    padding-inline: clamp(1.4rem, 3vw, 2.8rem);
    border-right: 1px solid var(--rule);
    border-bottom: 0;
  }

  .seo-diagnostics article:first-child {
    padding-left: 0;
  }

  .seo-diagnostics article:last-child {
    border-right: 0;
  }

  .seo-capabilities,
  .seo-channel-map,
  .seo-process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .seo-related__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1120px) {
  .seo-hero__grid {
    grid-template-columns: minmax(0, 7.6fr) minmax(20rem, 4.4fr);
    gap: clamp(3rem, 5vw, 6rem);
  }
}

@media (min-width: 960px) {
  .seo-faq-layout {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
  }
}

@media (min-width: 1100px) {
  .seo-transfer__grid,
  .seo-cta__inner {
    grid-template-columns: minmax(0, 5.5fr) minmax(0, 6.5fr);
    align-items: start;
  }

  .seo-related__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1180px) {
  .seo-process {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .seo-hero {
    min-height: auto;
    padding-top: calc(var(--nav-h) + 3.5rem);
  }

  .seo-hero::after {
    width: 88vw;
    right: -38%;
  }

  .seo-hero__title {
    font-size: clamp(2.75rem, 11vw, 4.8rem);
    line-height: 0.96;
  }

  .seo-hero__title--compact {
    font-size: clamp(2.45rem, 10.5vw, 4rem);
  }

  .seo-hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .seo-signal__list li {
    grid-template-columns: 2rem minmax(0, 1fr);
  }

  .seo-signal__list li > span:last-child {
    grid-column: 2;
  }

  .seo-capability,
  .seo-process li {
    min-height: 0;
  }

  .seo-process strong {
    margin-top: 2rem;
  }

  .caps__link {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.25rem;
  }
}

@media print {
  .seo-backdrop,
  .seo-hero__actions,
  .seo-cta .btn {
    display: none;
  }
}

/* =============================================================================
   Branchen-Landingpages — fokussierte Conversion-Strecken mit Modulauswahl
   ============================================================================= */

.vertical-page {
  --vertical-glow-x: 78%;
}

.vertical-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(140, 165, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 165, 255, 0.025) 1px, transparent 1px),
    radial-gradient(circle at var(--vertical-glow-x) 18%, rgba(43, 76, 240, 0.13), transparent 28rem);
  background-size: 84px 84px, 84px 84px, auto;
  -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 66%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0, #000 66%, transparent 100%);
}

.vertical-main,
.vertical-footer {
  position: relative;
  z-index: 1;
}

.vertical-hero {
  position: relative;
  min-height: min(980px, 100svh);
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-h) + clamp(4.2rem, 10vh, 8rem));
  padding-bottom: clamp(3.5rem, 7vh, 6.5rem);
  overflow: hidden;
}

.vertical-hero::before {
  content: '';
  position: absolute;
  width: min(54vw, 820px);
  aspect-ratio: 1;
  right: -7%;
  top: 50%;
  border: 1px solid rgba(140, 165, 255, 0.13);
  border-radius: 50%;
  transform: translateY(-50%);
  box-shadow:
    0 0 0 4.5rem rgba(43, 76, 240, 0.018),
    0 0 0 9rem rgba(43, 76, 240, 0.012);
  pointer-events: none;
}

.vertical-hero__grid {
  position: relative;
  display: grid;
  gap: clamp(3rem, 7vw, 8rem);
  align-items: end;
}

.vertical-hero__copy {
  min-width: 0;
}

.vertical-hero h1 {
  max-width: 12.8ch;
  margin-top: clamp(1.35rem, 3vh, 2.3rem);
  font-family: var(--font-display);
  font-size: clamp(3.15rem, 2rem + 4.9vw, 7rem);
  font-weight: 700;
  line-height: 0.93;
  letter-spacing: -0.048em;
  text-wrap: balance;
  -webkit-hyphens: none;
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}

.vertical-hero h1.vertical-hero__title--wide {
  max-width: 15.5ch;
  font-size: clamp(3rem, 1.9rem + 4.35vw, 6.45rem);
}

.vertical-hero h1 .dot,
.vertical-heading .dot,
.vertical-final h2 .dot {
  color: var(--accent-ink);
}

.vertical-hero__lede {
  max-width: 61ch;
  margin-top: clamp(1.65rem, 3vw, 2.5rem);
  color: var(--grey-300);
  font-size: var(--step-1);
  line-height: 1.52;
  text-wrap: pretty;
}

.vertical-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.vertical-hero__note {
  max-width: 66ch;
  margin-top: 1rem;
  color: var(--fg-muted);
  font-size: var(--step--1);
}

.vertical-path {
  position: relative;
  border: 1px solid var(--rule-strong);
  background: rgba(11, 13, 16, 0.68);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.vertical-path__head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--rule);
  color: var(--fg-muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vertical-path__head span:last-child {
  color: var(--accent-ink);
}

.vertical-path ol {
  counter-reset: vertical-path;
  padding: clamp(1.2rem, 2.4vw, 2rem);
}

.vertical-path li {
  position: relative;
  display: grid;
  grid-template-columns: 2.3rem minmax(0, 1fr);
  gap: 0 0.9rem;
  padding-bottom: 1.45rem;
  counter-increment: vertical-path;
}

.vertical-path li:last-child {
  padding-bottom: 0;
}

.vertical-path li::before {
  content: counter(vertical-path, decimal-leading-zero);
  position: relative;
  z-index: 1;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(140, 165, 255, 0.42);
  background: var(--graphite-900);
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: 0.62rem;
}

.vertical-path li:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 0.98rem;
  top: 2rem;
  bottom: 0;
  width: 1px;
  background: linear-gradient(var(--accent-ink), var(--rule));
  opacity: 0.44;
}

.vertical-path strong {
  display: block;
  padding-top: 0.08rem;
  font-family: var(--font-display);
  font-size: var(--step-0);
  font-weight: 500;
}

.vertical-path p {
  grid-column: 2;
  margin-top: 0.25rem;
  color: var(--fg-muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

.vertical-hero__proof {
  display: grid;
  margin-top: clamp(3.4rem, 7vh, 5.8rem);
  border-block: 1px solid var(--rule);
}

.vertical-hero__proof li {
  display: grid;
  gap: 0.28rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--rule);
}

.vertical-hero__proof li:last-child {
  border-bottom: 0;
}

.vertical-hero__proof span {
  color: var(--fg-muted);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.vertical-hero__proof strong {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 500;
}

.vertical-heading {
  max-width: 18ch;
  margin-top: 1.4rem;
  font-family: var(--font-display);
  font-size: clamp(2.65rem, 1.9rem + 2.65vw, 4.4rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.vertical-heading--wide {
  max-width: 23ch;
}

.vertical-intro__grid,
.vertical-strategy__grid,
.vertical-preview__grid,
.vertical-faq__grid,
.vertical-final__grid {
  display: grid;
  gap: clamp(3rem, 8vw, 8rem);
}

.vertical-intro__copy .prose + .prose,
.vertical-strategy__copy .prose + .prose {
  margin-top: 1rem;
}

.vertical-problems {
  display: grid;
  gap: 1px;
  margin-top: clamp(3.5rem, 7vw, 6.5rem);
  border: 1px solid var(--rule);
  background: var(--rule);
}

.vertical-problems article {
  min-height: 19rem;
  padding: clamp(1.5rem, 3vw, 2.7rem);
  background: rgba(11, 13, 16, 0.94);
}

.vertical-problems__n {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rule-strong);
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.vertical-problems h3 {
  max-width: 15ch;
  margin-top: clamp(2.5rem, 5vw, 5rem);
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.vertical-problems p {
  max-width: 48ch;
  margin-top: 1rem;
  color: var(--fg-muted);
  font-size: var(--step--1);
}

.vertical-strategy {
  position: relative;
  z-index: 1;
}

.vertical-strategy__copy .prose {
  margin-top: 1.6rem;
}

.vertical-blueprint {
  min-width: 0;
  border: 1px solid var(--rule-strong);
  background: rgba(255, 255, 255, 0.34);
}

.vertical-blueprint__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--rule);
  color: var(--fg-muted);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vertical-blueprint__status {
  flex: none;
  color: var(--accent-deep);
}

.vertical-blueprint dl {
  padding: clamp(1.2rem, 3vw, 2.2rem);
}

.vertical-blueprint dl > div {
  display: grid;
  grid-template-columns: minmax(7rem, 0.8fr) minmax(0, 1.2fr);
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule);
}

.vertical-blueprint dl > div:last-child {
  border-bottom: 0;
}

.vertical-blueprint dt {
  color: var(--fg-muted);
  font-family: var(--font-mono);
  font-size: 0.67rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.vertical-blueprint dd {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.35;
}

.module-builder {
  position: relative;
  z-index: 1;
  padding-block: var(--section-y);
  border-top: 1px solid var(--rule);
  background: rgba(11, 13, 16, 0.87);
}

.module-builder__head {
  display: grid;
  gap: 2rem;
  margin-bottom: clamp(3rem, 7vw, 6rem);
}

.module-builder__head .prose {
  max-width: 64ch;
}

.module-builder__layout {
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.module-grid {
  display: grid;
  gap: 1px;
  border: 1px solid var(--rule);
  background: var(--rule);
}

.module-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 31rem;
  flex-direction: column;
  padding: clamp(1.45rem, 2.8vw, 2.4rem);
  background: rgba(11, 13, 16, 0.96);
  box-shadow: inset 0 0 0 0 var(--accent);
  transition: background-color 0.32s var(--ease), box-shadow 0.32s var(--ease);
}

.module-card.is-selected {
  background: linear-gradient(145deg, rgba(43, 76, 240, 0.13), rgba(11, 13, 16, 0.98) 48%);
  box-shadow: inset 3px 0 0 var(--accent);
}

.module-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.module-card__index,
.module-card__fit {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.module-card__index {
  color: var(--accent-ink);
}

.module-card__fit {
  color: var(--fg-muted);
  text-align: right;
  overflow-wrap: anywhere;
}

.module-card h3 {
  max-width: 15ch;
  margin-top: clamp(2rem, 4vw, 3.3rem);
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 500;
  line-height: 1.07;
  letter-spacing: -0.03em;
}

.module-card > p {
  max-width: 58ch;
  margin-top: 1rem;
  color: var(--fg-muted);
  font-size: var(--step--1);
}

.module-card ul {
  width: 100%;
  max-width: 64ch;
  margin-top: 1.5rem;
  border-top: 1px solid var(--rule);
}

.module-card li {
  position: relative;
  padding: 0.62rem 0 0.62rem 1rem;
  border-bottom: 1px solid var(--rule);
  font-size: 0.76rem;
  line-height: 1.5;
}

.module-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.02rem;
  width: 4px;
  height: 4px;
  background: var(--accent-ink);
}

.module-card__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding: 1rem 0 0;
  color: var(--paper);
  font-size: 0.78rem;
  font-weight: 600;
  text-align: left;
}

.module-card__check {
  position: relative;
  width: 2.15rem;
  height: 2.15rem;
  display: grid;
  flex: none;
  place-items: center;
  border: 1px solid var(--rule-strong);
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: 1rem;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.module-card.is-selected .module-card__check {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.module-summary {
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border: 1px solid var(--rule-strong);
  background:
    radial-gradient(circle at 90% 10%, rgba(43, 76, 240, 0.16), transparent 14rem),
    rgba(16, 19, 23, 0.96);
}

.module-summary__eyebrow,
.module-summary__count {
  font-family: var(--font-mono);
  font-size: 0.67rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.module-summary__eyebrow {
  color: var(--fg-muted);
}

.module-summary h3 {
  margin-top: 1.2rem;
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.module-summary__count {
  display: inline-block;
  margin-top: 1rem;
  color: var(--accent-ink);
}

.module-summary__base {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.8rem;
  margin-top: 1.6rem;
  padding: 1rem;
  border: 1px solid rgba(140, 165, 255, 0.24);
  background: rgba(43, 76, 240, 0.07);
}

.module-summary__base span {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

.module-summary__base strong {
  display: block;
  font-size: 0.82rem;
}

.module-summary__base small {
  display: block;
  margin-top: 0.2rem;
  color: var(--fg-muted);
  font-size: 0.7rem;
  line-height: 1.45;
}

.module-summary__selection {
  margin-top: 1rem;
  border-top: 1px solid var(--rule);
}

.module-summary__selection li {
  padding: 0.72rem 0;
  border-bottom: 1px solid var(--rule);
  color: var(--grey-300);
  font-size: 0.75rem;
}

.module-summary__selection .module-summary__empty {
  color: var(--fg-muted);
}

.module-summary__actions {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.module-summary__actions .btn {
  width: 100%;
  justify-content: center;
  white-space: normal;
  text-align: center;
}

.module-summary__note {
  margin-top: 1rem;
  color: var(--fg-muted);
  font-size: 0.7rem;
}

.vertical-journey {
  display: grid;
  gap: 1px;
  margin-top: clamp(3rem, 7vw, 6rem);
  border: 1px solid var(--rule);
  background: var(--rule);
  counter-reset: journey;
}

.vertical-journey li {
  position: relative;
  min-height: 13rem;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  background: var(--paper);
  counter-increment: journey;
}

.vertical-journey li::before {
  content: counter(journey, decimal-leading-zero);
  color: var(--accent-deep);
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.vertical-journey strong {
  display: block;
  margin-top: clamp(2rem, 4vw, 3.2rem);
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 500;
  line-height: 1.2;
}

.vertical-journey p {
  margin-top: 0.65rem;
  color: var(--fg-muted);
  font-size: 0.75rem;
}

.vertical-preview {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding-block: var(--section-y);
  border-top: 1px solid var(--rule);
  background:
    radial-gradient(circle at 85% 35%, rgba(43, 76, 240, 0.17), transparent 30rem),
    rgba(11, 13, 16, 0.9);
}

.vertical-preview__copy .prose {
  margin-top: 1.6rem;
}

.vertical-preview__link {
  display: inline-flex;
  margin-top: 1.8rem;
  color: var(--paper);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--accent-ink);
  text-underline-offset: 0.35em;
}

.preview-browser {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--rule-strong);
  background: #0f1217;
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.4);
}

.preview-browser__bar {
  display: flex;
  min-height: 3.2rem;
  align-items: center;
  gap: 0.45rem;
  padding: 0 1rem;
  border-bottom: 1px solid var(--rule);
}

.preview-browser__bar i {
  width: 0.48rem;
  height: 0.48rem;
  border: 1px solid var(--rule-strong);
  border-radius: 50%;
}

.preview-browser__url {
  min-width: 0;
  margin-left: 0.5rem;
  overflow: hidden;
  color: var(--fg-muted);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.preview-browser iframe {
  width: 100%;
  min-height: clamp(34rem, 58vw, 50rem);
  display: block;
  border: 0;
  background: var(--paper);
}

.preview-browser__fallback {
  padding: 0.8rem 1rem;
  border-top: 1px solid var(--rule);
  color: var(--fg-muted);
  font-size: 0.68rem;
}

.preview-browser__fallback a {
  color: var(--paper);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.preview-browser__launch {
  position: relative;
  display: block;
  aspect-ratio: 1418 / 1039;
  overflow: hidden;
  isolation: isolate;
  background: var(--graphite-800);
  color: var(--paper);
}

.preview-browser__launch::after {
  content: '';
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, transparent 64%, rgba(11, 13, 16, 0.58) 100%);
  pointer-events: none;
}

.preview-browser__launch img {
  display: block;
  width: calc(100% + 1%);
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: left top;
  transform-origin: left center;
  transition: transform 700ms var(--ease-out), filter 700ms var(--ease-out);
}

.preview-browser__launch-button {
  position: absolute;
  z-index: 2;
  right: clamp(0.9rem, 2.5vw, 1.5rem);
  bottom: clamp(0.9rem, 2.5vw, 1.5rem);
  display: inline-flex;
  padding: 0.8rem 1rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  transition: background-color 220ms var(--ease), transform 220ms var(--ease);
}

.preview-browser__launch:is(:hover, :focus-visible) img {
  filter: saturate(1.08) contrast(1.03);
  transform: scale(1.018);
}

.preview-browser__launch:is(:hover, :focus-visible) .preview-browser__launch-button {
  background: #3b59f4;
  transform: translateY(-2px);
}

.preview-browser__launch:focus-visible {
  outline: 2px solid var(--accent-ink);
  outline-offset: -2px;
}

.preview-duo {
  position: relative;
  display: grid;
  min-width: 0;
  padding: 0.45rem 0.15rem 0.75rem;
  color: var(--paper);
  isolation: isolate;
  text-decoration: none;
}

.preview-duo__card {
  position: relative;
  display: block;
  width: 96%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--rule-strong);
  background: #0f1217;
  box-shadow: 0 24px 62px rgba(0, 0, 0, 0.46);
  color: var(--paper);
  text-decoration: none;
  transform: rotate(-0.55deg);
  transition: border-color 280ms var(--ease), box-shadow 450ms var(--ease-out), transform 450ms var(--ease-out);
}

.preview-duo__card--bella {
  z-index: 1;
}

.preview-duo__card--maison {
  z-index: 2;
  margin-top: -2.25rem;
  margin-left: auto;
  transform: rotate(0.55deg);
}

.preview-duo:is(:hover, :focus-visible) .preview-duo__card {
  border-color: rgba(122, 148, 255, 0.75);
  box-shadow: 0 30px 76px rgba(0, 0, 0, 0.56), 0 0 0 1px rgba(43, 76, 240, 0.16);
}

.preview-duo:is(:hover, :focus-visible) .preview-duo__card--bella {
  transform: translateY(-0.28rem) rotate(-0.18deg);
}

.preview-duo:is(:hover, :focus-visible) .preview-duo__card--maison {
  transform: translateY(-0.28rem) rotate(0.18deg);
}

.preview-duo:focus-visible {
  outline: 2px solid var(--accent-ink);
  outline-offset: 3px;
}

.preview-duo__bar {
  display: flex;
  min-width: 0;
  min-height: 2.45rem;
  align-items: center;
  gap: 0.38rem;
  padding-inline: 0.8rem;
  border-bottom: 1px solid var(--rule);
  background: rgba(15, 18, 23, 0.98);
}

.preview-duo__bar i {
  width: 0.4rem;
  height: 0.4rem;
  flex: 0 0 auto;
  border: 1px solid var(--rule-strong);
  border-radius: 50%;
}

.preview-duo__bar span {
  min-width: 0;
  margin-left: 0.35rem;
  overflow: hidden;
  color: var(--fg-muted);
  font-family: var(--font-mono);
  font-size: 0.57rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.preview-duo__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center top;
  transition: filter 500ms var(--ease-out), transform 650ms var(--ease-out);
}

.preview-duo:is(:hover, :focus-visible) .preview-duo__image {
  filter: saturate(1.05) contrast(1.02);
  transform: scale(1.008);
}

.preview-duo__meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0.9rem 0.9rem;
  border-top: 1px solid var(--rule);
  background: rgba(15, 18, 23, 0.98);
}

.preview-duo__meta > span:first-child {
  display: grid;
  gap: 0.15rem;
}

.preview-duo__meta small {
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.preview-duo__meta strong {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
}

.preview-duo__meta > span:last-child {
  color: var(--fg-muted);
  font-size: 0.66rem;
  text-align: right;
}

.preview-duo__note {
  max-width: 42rem;
  margin-top: 0.75rem;
  color: var(--fg-muted);
  font-size: 0.68rem;
}

.vertical-combinations {
  display: grid;
  gap: 1px;
  margin-top: clamp(3rem, 7vw, 6rem);
  border: 1px solid var(--rule);
  background: var(--rule);
}

.vertical-combinations article {
  padding: clamp(1.4rem, 3vw, 2.4rem);
  background: rgba(11, 13, 16, 0.94);
}

.vertical-combinations span {
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.vertical-combinations h3 {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 500;
  line-height: 1.2;
}

.vertical-combinations p {
  margin-top: 0.7rem;
  color: var(--fg-muted);
  font-size: 0.75rem;
}

.vertical-assurance {
  padding-block: clamp(3rem, 6vw, 5.5rem);
  border-block: 1px solid var(--rule);
  background: rgba(16, 19, 23, 0.9);
}

.vertical-assurance__inner {
  display: grid;
  gap: 1.5rem;
}

.vertical-assurance strong {
  max-width: 28ch;
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.vertical-assurance p {
  max-width: 64ch;
  color: var(--fg-muted);
}

.vertical-final {
  position: relative;
  z-index: 1;
  padding-block: clamp(5rem, 11vw, 11rem);
  border-top: 1px solid var(--rule);
  background:
    radial-gradient(55% 100% at 84% 52%, rgba(43, 76, 240, 0.15), transparent 72%),
    rgba(11, 13, 16, 0.94);
}

.vertical-final h2 {
  max-width: 16ch;
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(2.65rem, 1.9rem + 2.65vw, 4.4rem);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.vertical-final__side > p:first-child {
  max-width: 54ch;
  color: var(--grey-300);
  font-size: var(--step-1);
}

.vertical-final__side .btn {
  margin-top: 2rem;
}

.vertical-final__note {
  margin-top: 1rem;
  color: var(--fg-muted);
  font-size: var(--step--1);
}

.vertical-final__note a {
  color: var(--paper);
  text-decoration: underline;
  text-decoration-color: var(--rule-strong);
  text-underline-offset: 3px;
}

@media (min-width: 720px) {
  .vertical-hero__proof,
  .vertical-problems,
  .vertical-journey {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .vertical-hero__proof li {
    padding: 1.35rem clamp(1.2rem, 2.5vw, 2.4rem);
    border-right: 1px solid var(--rule);
    border-bottom: 0;
  }

  .vertical-hero__proof li:first-child {
    padding-left: 0;
  }

  .vertical-hero__proof li:last-child {
    border-right: 0;
  }

  .module-grid,
  .vertical-combinations {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .module-grid > .module-card:last-child:nth-child(odd) {
    min-height: 26rem;
    grid-column: 1 / -1;
  }
}

@media (min-width: 960px) {
  .vertical-intro__grid,
  .vertical-strategy__grid,
  .vertical-faq__grid,
  .vertical-final__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
  }

  .vertical-preview__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: center;
  }

  .vertical-page--restaurant .vertical-preview__grid {
    gap: clamp(3rem, 5vw, 5.5rem);
  }

  .vertical-preview__copy .vertical-heading {
    max-width: 16ch;
    font-size: clamp(2.75rem, 1.8rem + 2vw, 4rem);
    hyphens: none;
    overflow-wrap: normal;
    word-break: normal;
  }

  .vertical-preview__copy {
    position: sticky;
    top: calc(var(--nav-h) + 2rem);
  }

  .preview-duo {
    display: block;
    min-height: clamp(34rem, 46vw, 43rem);
    padding: 0;
  }

  .preview-duo__card {
    position: absolute;
    width: min(79%, 43rem);
  }

  .preview-duo__card--bella {
    top: 0.75rem;
    left: 0;
    transform: rotate(-1.15deg);
  }

  .preview-duo__card--maison {
    right: 0;
    bottom: 0.75rem;
    margin: 0;
    transform: rotate(1.15deg);
  }

  .preview-duo:is(:hover, :focus-visible) .preview-duo__card--bella {
    transform: translateY(-0.4rem) rotate(-0.35deg);
  }

  .preview-duo:is(:hover, :focus-visible) .preview-duo__card--maison {
    transform: translateY(-0.4rem) rotate(0.35deg);
  }

  .vertical-journey--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .module-builder__head {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: end;
  }

  .module-builder__layout {
    grid-template-columns: minmax(0, 8.2fr) minmax(20rem, 3.8fr);
  }

  .module-summary {
    position: sticky;
    top: calc(var(--nav-h) + 1.5rem);
  }

  .vertical-assurance__inner {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: center;
  }
}

@media (min-width: 1120px) {
  .vertical-hero__grid {
    grid-template-columns: minmax(0, 7.4fr) minmax(20rem, 4.6fr);
    gap: clamp(3rem, 5vw, 6rem);
  }
}

@media (min-width: 1180px) {
  .vertical-combinations {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 960px) and (max-width: 1279px) {
  .module-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (min-width: 1280px) {
  .module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .vertical-hero {
    min-height: auto;
    padding-top: calc(var(--nav-h) + 3.6rem);
  }

  .vertical-hero::before {
    width: 92vw;
    right: -47%;
  }

  .vertical-hero h1 {
    font-size: clamp(2.7rem, 11.5vw, 4.7rem);
    line-height: 0.96;
  }

  .vertical-hero h1.vertical-hero__title--wide {
    font-size: clamp(2.5rem, 10.7vw, 4.35rem);
  }

  .vertical-hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .vertical-problems article,
  .module-card {
    min-height: 0;
  }

  .module-card h3 {
    margin-top: 2rem;
  }

  .module-card__toggle {
    margin-top: 1.7rem;
  }

  .preview-browser iframe {
    min-height: 34rem;
  }
}

@media (max-width: 520px) {
  .statement__title,
  .contact__title,
  .seo-transfer__title,
  .seo-cta h2,
  .vertical-heading,
  .vertical-final h2 {
    font-size: clamp(2.25rem, 10vw, 2.75rem);
    line-height: 1;
    letter-spacing: -0.035em;
  }

  .legal__title {
    font-size: clamp(2.25rem, 10vw, 2.75rem);
  }
}

@media (max-width: 360px) {
  .statement__title,
  .contact__title {
    font-size: 2rem;
  }
}

@media (min-width: 720px) and (max-width: 959px) {
  .seo-capability h3,
  .seo-channel h3,
  .seo-diagnostics h3,
  .seo-process h3,
  .module-card h3,
  .vertical-problems h3,
  .vertical-combinations h3 {
    font-size: clamp(1.25rem, 2.6vw, 1.55rem);
  }
}

@media (max-width: 520px) {
  .preview-browser__launch-button {
    right: 0.75rem;
    bottom: 0.75rem;
    padding: 0.65rem 0.75rem;
    font-size: 0.68rem;
  }

  .vertical-blueprint__head {
    padding-inline: 1rem;
  }

  .vertical-blueprint dl > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.4rem;
  }

  .vertical-blueprint dd {
    font-size: 0.94rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .vertical-path li::before {
    animation: vertical-node-breathe 4.8s ease-in-out infinite;
  }

  .vertical-path li:nth-child(2)::before {
    animation-delay: -1.6s;
  }

  .vertical-path li:nth-child(3)::before {
    animation-delay: -3.2s;
  }

  @keyframes vertical-node-breathe {
    0%, 100% { box-shadow: 0 0 0 0 rgba(43, 76, 240, 0); }
    50% { box-shadow: 0 0 0 0.45rem rgba(43, 76, 240, 0.08); }
  }
}

@media print {
  .vertical-backdrop,
  .vertical-hero__actions,
  .module-card__toggle,
  .module-summary__actions,
  .vertical-final .btn,
  .preview-browser {
    display: none;
  }
}
