/* pages.css — Inner-Page components for Schröer Digital (Overhaul 2026-06-03)
   Loaded AFTER styles.css. @layer pages so tokens (--brass, --murk, …) resolve
   from styles.css :root. One coherent system: shares .board / .metric / .link-mono
   / .eyebrow / .tag-mono / .chip from styles.css — no competing duplicates. */

@layer pages {

  /* =========================================================================
     HEADER WORDMARK + FOOTER SUB
     ========================================================================= */
  .hdr__wordmark { font-family: var(--ff-serif); font-style: italic; font-weight: 400; font-size: 1.125rem; color: var(--ink); letter-spacing: -0.01em; margin-left: 10px; }
  .hdr__wordmark em { color: var(--brass); font-style: normal; }
  @media (max-width: 880px) { .hdr__wordmark { display: none; } }
  .foot__sub { font-family: var(--ff-sans); font-size: 14px; color: var(--mute); max-width: 32ch; margin: 0 0 20px 0; line-height: 1.55; }

  /* =========================================================================
     PAGE-HERO — Editorial intro on inner pages (Cassina anstand: lots of air)
     ========================================================================= */
  .page-hero {
    padding-block: clamp(110px, 16vw, 210px) clamp(56px, 8vw, 110px);
    border-bottom: 1px solid var(--rule);
    background: var(--night-2);
    position: relative;
    overflow: clip;
  }
  /* Brass hairline anchoring the eyebrow to the page system (Linear/now) */
  .page-hero::before {
    content: '';
    position: absolute;
    top: clamp(110px, 16vw, 210px);
    left: var(--gutter);
    width: 44px;
    height: 1px;
    background: var(--brass);
  }
  /* Board top aligns to the headline cap-height (align-items:start), not the
     baseline — kills the murk gap between headline and board (kill-list i4). */
  .page-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr);
    gap: clamp(32px, 5vw, 80px);
    align-items: start;
  }
  .page-hero__copy { display: flex; flex-direction: column; }
  /* Headline scaled ~1.28x so it owns the upper third and dominates the squint */
  .page-hero__title {
    font-family: var(--ff-serif);
    font-weight: 300;
    font-style: italic;
    font-size: clamp(3.1rem, 8.4vw, 6.4rem);
    line-height: 0.98;
    letter-spacing: -0.03em;
    margin: 16px 0 24px;
    max-width: 15ch;
    color: var(--paper);
  }
  .page-hero__title em { color: var(--brass); font-style: italic; }
  /* Lead dropped one step + constrained ~46ch so headline leads the hierarchy */
  .page-hero__lead {
    font-size: var(--fs-body);
    color: var(--mute);
    max-width: 46ch;
    line-height: 1.6;
  }
  /* The eyebrow row sits ~cap-height; nudge the board down to meet the H1 cap,
     not the eyebrow, so headline + board share a top line. */
  .page-hero__board { align-self: start; margin-top: clamp(4px, 1.6vw, 30px); }
  @media (max-width: 980px) {
    .page-hero__grid { grid-template-columns: 1fr; gap: clamp(28px, 6vw, 44px); }
    .page-hero__board { max-width: 460px; }
  }

  /* =========================================================================
     LEISTUNGEN — bucket-grouped services, own products flagged
     ========================================================================= */
  /* Bucket spacing 1.5x larger than within-bucket card gaps (grouping clarity) */
  .svc-section { padding-block: var(--block); display: grid; gap: clamp(56px, 8vw, 120px); }
  .svc-bucket__head {
    margin-bottom: clamp(24px, 3vw, 40px);
    padding-bottom: 20px;
    border-bottom: 1px solid var(--rule-2);
  }
  .svc-bucket__label {
    font-family: var(--ff-serif);
    font-style: italic;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    color: var(--paper);
    letter-spacing: -0.01em;
    display: block;
  }
  /* Software bucket = flagship tier → heavier brass rule signals the weight */
  .svc-bucket--own .svc-bucket__head { border-bottom: 2px solid var(--rule-brass); }
  .svc-bucket--own .svc-bucket__label { color: var(--brass-2); }
  /* Note as tight kicker, left-aligned directly under the bucket title */
  .svc-bucket__note {
    font-family: var(--ff-mono);
    font-size: var(--fs-mono);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--mute);
    margin-top: 8px;
    display: block;
  }
  /* Weighted mosaic: 12-col grid, lead card spans 7, follow cards span 5 */
  .svc-bucket__grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: clamp(20px, 2vw, 32px);
  }
  .svc-card {
    grid-column: span 6;
    padding: clamp(26px, 2.6vw, 38px);
    background: var(--murk);
    border: 1px solid var(--rule-2);
    border-radius: var(--radius);
    position: relative;
    display: flex;
    flex-direction: column;
  }
  .svc-card--lead { grid-column: span 7; }
  .svc-card--lead ~ .svc-card { grid-column: span 5; }
  /* 3-card bucket: lead is a full-bleed feature row, followers split 6/6 so the
     third card never strands a dead gap (kill-list i4). */
  .svc-card--feature { grid-column: 1 / -1; }
  .svc-card--feature ~ .svc-card { grid-column: span 6; }
  /* Feature (own-product) lead card: bigger title, more presence, plain-serif
     lede instead of italic so the cadence varies from the long-tail cards. */
  .svc-card--feature .svc-card__t { font-size: clamp(2rem, 3.2vw, 2.8rem); }
  .svc-card--feature .svc-card__short {
    font-style: normal;
    color: var(--paper);
    font-size: clamp(1.3rem, 2vw, 1.7rem);
    max-width: 34ch;
  }
  .svc-card--feature .svc-card__long { max-width: 64ch; }
  /* Feature card: bullets run as a horizontal hairline strip, not a vertical
     wall — uses the full width the feature row claims. */
  .svc-card--feature .svc-card__bullets {
    display: flex;
    flex-wrap: wrap;
    gap: 0 clamp(24px, 3vw, 48px);
    border-top: 1px solid var(--rule);
  }
  .svc-card--feature .svc-card__bullets li { border-bottom: 0; }
  .svc-card:nth-child(even) { background: var(--murk-2); }
  /* Demoted overflow bullets — sans summary, not another mono doc-row */
  .svc-card__more {
    font-family: var(--ff-sans);
    font-size: 0.9rem;
    color: var(--mute-2);
    margin-top: 14px;
    font-style: italic;
  }
  .svc-card::before {
    content: '';
    display: block;
    width: 32px;
    height: 1px;
    background: var(--brass);
    margin-bottom: 18px;
  }
  .svc-card--own { background: var(--vellum) !important; border-color: var(--rule-brass); }
  .svc-card--own.svc-card--lead { box-shadow: inset 0 0 0 1px var(--rule-brass); }
  .svc-card__flag {
    position: absolute;
    top: 0;
    right: clamp(26px, 2.6vw, 38px);
    transform: translateY(-50%);
    font-family: var(--ff-mono);
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--night);
    background: var(--brass);
    padding: 4px 10px;
    border-radius: 2px;
  }
  .svc-card__t {
    font-family: var(--ff-serif);
    font-weight: 400;
    font-size: clamp(1.6rem, 2.4vw, 2rem);
    color: var(--paper);
    line-height: 1.1;
    margin-bottom: 12px;
  }
  .svc-card__short {
    font-family: var(--ff-serif);
    font-style: italic;
    font-size: var(--fs-lead);
    color: var(--brass-2);
    margin-bottom: 16px;
    line-height: 1.35;
  }
  .svc-card__long {
    font-size: var(--fs-body);
    color: var(--mute);
    line-height: 1.6;
    margin-bottom: 22px;
  }
  .svc-card__bullets {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--rule);
  }
  .svc-card__bullets li {
    font-family: var(--ff-mono);
    font-size: var(--fs-mono);
    color: var(--ink);
    padding: 10px 0 10px 18px;
    position: relative;
    line-height: 1.5;
    border-bottom: 1px solid var(--rule);
  }
  .svc-card__bullets li:last-child { border-bottom: 0; }
  .svc-card__bullets li::before {
    content: '·';
    color: var(--brass);
    position: absolute;
    left: 0;
    font-weight: 700;
  }

  /* Extra vertical breathing so the close lands as a distinct beat, not just
     another band at the same weight as the buckets above (kill-list i4). */
  .svc-cta { padding-block: var(--block-loose); border-top: 1px solid var(--rule-2); background: var(--murk); }
  .svc-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(28px, 5vw, 72px);
    flex-wrap: wrap;
  }
  .svc-cta__copy { max-width: 40ch; }
  .svc-cta__h {
    font-family: var(--ff-serif);
    font-weight: 400;
    font-size: var(--fs-h2);
    color: var(--paper);
    margin: 16px 0 0;
    line-height: var(--lh-head);
  }
  .svc-cta__h em { color: var(--brass); font-style: italic; }
  @media (max-width: 700px) {
    .svc-cta__inner { flex-direction: column; align-items: flex-start; }
    .svc-cta__inner .btn { width: 100%; justify-content: center; }
  }

  /* =========================================================================
     PRODUKTE — alternating image/body, mono status board header
     ========================================================================= */
  /* Hero clearance — guarantee the display headline never clips at the fold
     and the lead clears the status-board (extra bottom padding + lead push). */
  .produkte-hero { padding-bottom: clamp(72px, 9vw, 130px); }
  .produkte-hero .page-hero__title { line-height: 0.98; margin-bottom: 26px; }
  .produkte-hero .page-hero__lead { margin-top: 8px; }
  /* Legible board footer — TSE/DSFinV sublabel raised off mute-3 illegibility,
     bound to the board with a hairline rule so it reads as a captioned footer,
     not an orphaned line floating under the LEDs (kill-list i4). */
  .board__foot--legible {
    color: var(--mute);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--rule);
  }
  .prod {
    padding-block: var(--block);
    border-bottom: 1px solid var(--rule);
  }
  /* Flagship Quill — wider media + wider inner column, more presence */
  .prod--lead { background: var(--night-2); }
  .prod--lead .prod__inner { max-width: var(--maxw-wide); }
  .prod--lead .prod__media { aspect-ratio: 16 / 11; }
  .prod--lead .prod__inner { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .prod--lead .prod__t { font-size: clamp(2.6rem, 5vw, 4rem); }
  /* Compact long-tail — tighter vertical rhythm asserts flagship hierarchy */
  .prod--compact { padding-block: var(--block-snug); }
  .prod--compact .prod__media { aspect-ratio: 4 / 3; }
  /* Most-compressed tail (KI-Agents) — hairline density, no stat band heft */
  .prod--tail { padding-block: clamp(32px, 5vw, 64px); }
  .prod--tail .prod__inner { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 4vw, 60px); }
  .prod--tail .prod__media { aspect-ratio: 16 / 10; }
  .prod--tail .prod__t { font-size: clamp(1.9rem, 3vw, 2.6rem); }
  .prod--tail .prod__features li { padding-block: 8px; }
  .prod__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 5vw, 80px);
    align-items: center;
    max-width: var(--maxw);
    margin: 0 auto;
    padding-inline: var(--gutter);
  }
  .prod--flip .prod__inner { direction: rtl; }
  .prod--flip .prod__inner > * { direction: ltr; }
  .prod__media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border: 1px solid var(--rule-2);
    border-radius: var(--radius);
    position: relative;
    background: var(--murk);
  }
  .prod__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .prod__tag {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
  }
  .prod__board { margin-bottom: 18px; }
  .prod__t {
    font-family: var(--ff-serif);
    font-weight: 400;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    line-height: 1.04;
    margin: 0 0 24px;
    color: var(--paper);
    letter-spacing: -0.02em;
  }
  .prod__t em { color: var(--brass); font-style: italic; }
  /* 24px gap above (from .prod__t margin) + relaxed leading so the italic
     subhead breathes under the title instead of reading cramped (kill-list). */
  .prod__tag-line {
    font-family: var(--ff-serif);
    font-weight: 400;
    font-style: italic;
    font-size: var(--fs-h3);
    color: var(--brass-2);
    max-width: 34ch;
    margin-bottom: 16px;
    line-height: 1.4;
  }
  /* Flagship tagline set as a display-size Cassina pull-quote — scaled up
     1.2x and set apart from the compact-product taglines for clear hierarchy */
  .prod__tag-line--display {
    font-size: clamp(1.95rem, 3.6vw, 2.9rem);
    color: var(--paper);
    max-width: 22ch;
    line-height: 1.14;
    padding-left: 24px;
    border-left: 2px solid var(--rule-brass);
  }
  /* Spec band — stat + feature list grouped under one hairline so the stat
     numeral reads as a header to the list, with room to breathe (Cassina). */
  .prod__spec {
    margin-top: clamp(24px, 3vw, 36px);
    padding-top: clamp(22px, 3vw, 32px);
    border-top: 1px solid var(--rule-2);
  }
  /* Promoted serif stat pulled from the dense spec wall */
  .prod__stat {
    margin: 0 0 32px;
    border-bottom: 0;
    padding-block: 0;
  }
  .prod--tail .prod__spec { margin-top: clamp(18px, 2.4vw, 26px); padding-top: 22px; }
  .prod--tail .prod__stat { margin-bottom: 22px; }
  .prod__stat .metric__value { font-size: clamp(2.4rem, 4vw, 3.4rem); }
  .prod--lead .prod__stat .metric__value { font-size: clamp(2.8rem, 4.6vw, 4rem); }
  /* Demote the stat caption to mute-2 + wider tracking so the numeral leads,
     not the 'HERSTELLER · ZVT-700' label (kill-list i4). */
  .prod__stat .metric__label { color: var(--mute-2); letter-spacing: 0.14em; margin-top: 10px; }

  /* Section mono-index divider between product stories (PRODUKT 01/03) —
     breaks the 3-identical-block scan with a Borsche beat. */
  .prod-divider {
    border-top: 1px solid var(--rule-2);
  }
  .prod-divider__inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: clamp(20px, 2.4vw, 30px) var(--gutter) 0;
    display: flex;
    align-items: baseline;
    gap: 14px;
    font-family: var(--ff-mono);
    font-size: var(--fs-mono);
    text-transform: uppercase;
    letter-spacing: var(--ls-mono-up);
    color: var(--brass);
  }
  .prod-divider__label { color: var(--mute-2); }
  .prod__cta { margin-top: 4px; }
  .prod__audience {
    font-family: var(--ff-mono);
    font-size: var(--fs-mono);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--mute);
    margin-bottom: 18px;
    line-height: 1.5;
  }
  .prod__desc {
    font-size: var(--fs-body);
    color: var(--mute);
    line-height: 1.65;
    margin-bottom: 24px;
  }
  .prod__features {
    margin: 0 0 28px 0;
    display: grid;
    gap: 0;
    border-top: 1px solid var(--rule);
  }
  /* Stat sits directly above the list as its header — its 32px bottom margin
     is the breathing room; the list keeps its own hairline top edge. */
  .prod__features li {
    font-family: var(--ff-mono);
    font-size: var(--fs-mono);
    color: var(--ink);
    padding: 10px 0 10px 18px;
    position: relative;
    line-height: 1.5;
    border-bottom: 1px solid var(--rule);
  }
  .prod__features li:last-child { border-bottom: 0; }
  .prod__features li::before {
    content: '→';
    color: var(--brass);
    position: absolute;
    left: 0;
  }

  /* =========================================================================
     REFERENZEN — editorial mosaic (flagship + hairline rows)
     ========================================================================= */
  .ref-flags { padding-block: var(--block) var(--block-snug); display: grid; gap: var(--block); }
  .ref-flag {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(28px, 4vw, 64px);
    align-items: start;
  }
  .ref-flag--flip .ref-flag__copy { order: 2; }
  .ref-flag--flip .ref-flag__aside { order: 1; }
  .ref-flag__aside { display: flex; flex-direction: column; gap: clamp(18px, 2vw, 28px); }

  /* Wordmark plate (Cassina photo-field) */
  .ref-flag__plate,
  .ref-hero__plate {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border: 1px solid var(--rule-2);
    border-radius: var(--radius);
    background: var(--murk);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .ref-flag__plate img,
  .ref-hero__plate img { width: 100%; height: 100%; object-fit: cover; }

  /* Hero flagship — full-bleed plate above, copy + pulled-up stat band below */
  .ref-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    grid-template-areas:
      'plate plate'
      'body  band';
    gap: clamp(28px, 4vw, 56px) clamp(28px, 4vw, 64px);
    align-items: start;
  }
  .ref-hero__plate { grid-area: plate; aspect-ratio: 21 / 7; }
  .ref-hero__body { grid-area: body; display: flex; flex-direction: column; gap: clamp(12px, 1.4vw, 18px); }
  .ref-hero__band {
    grid-area: band;
    display: flex;
    flex-direction: column;
    background: var(--vellum-2);
    border: 1px solid var(--rule-2);
    border-radius: var(--radius);
    padding: clamp(22px, 2.2vw, 32px);
    align-self: start;
  }
  .ref-hero__title {
    font-family: var(--ff-serif);
    font-weight: 400;
    font-size: clamp(2.4rem, 5vw, 4rem);
    color: var(--paper);
    line-height: 1.02;
    letter-spacing: -0.025em;
  }
  .ref-flag__copy { display: flex; flex-direction: column; gap: clamp(12px, 1.4vw, 18px); }
  .ref-flag__sector {
    font-family: var(--ff-mono);
    font-size: var(--fs-eyebrow);
    text-transform: uppercase;
    letter-spacing: var(--ls-mono-up);
    color: var(--brass);
  }
  .ref-flag__title {
    font-family: var(--ff-serif);
    font-weight: 400;
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    color: var(--paper);
    line-height: 1.04;
    letter-spacing: -0.025em;
  }
  .ref-flag__outcome {
    font-size: var(--fs-body);
    color: var(--mute);
    line-height: 1.65;
    max-width: 54ch;
  }
  .ref-flag__quote {
    font-family: var(--ff-serif);
    font-style: italic;
    font-size: var(--fs-h3);
    color: var(--paper);
    line-height: 1.35;
    padding-left: 22px;
    border-left: 1px solid var(--rule-brass);
    max-width: 42ch;
  }
  .ref-flag__quote cite {
    display: block;
    margin-top: 12px;
    font-family: var(--ff-mono);
    font-size: var(--fs-mono);
    font-style: normal;
    color: var(--mute);
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }
  .ref-flag__visit { margin-top: 6px; }
  .ref-flag__metrics {
    display: flex;
    flex-direction: column;
    background: var(--vellum);
    border: 1px solid var(--rule-2);
    border-radius: var(--radius);
    padding: clamp(22px, 2.2vw, 32px);
  }
  /* Loosen the stacked stat/fact rhythm by ~8px so the band breathes (i4) */
  .ref-flag__metrics .metric,
  .ref-hero__band .metric { padding-block: 16px; }

  .ref-rows { padding-block: var(--block-snug) var(--block); }
  .ref-rows__head {
    padding-bottom: 16px;
    margin-bottom: 4px;
    border-bottom: 1px solid var(--rule-2);
  }
  .ref-rows__label { margin-bottom: 0; }
  /* Widen headline column, compress meta column → clear hierarchy, not grid */
  .ref-row {
    display: grid;
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 2.2fr) minmax(0, 0.9fr);
    gap: clamp(20px, 3vw, 56px);
    padding-block: clamp(32px, 4vw, 52px);
    border-bottom: 1px solid var(--rule);
    align-items: start;
  }
  .ref-row:first-of-type { border-top: 0; }
  .ref-row__sector {
    font-family: var(--ff-mono);
    font-size: var(--fs-mono);
    color: var(--mute);
    margin-top: 12px;
    line-height: 1.5;
  }
  .ref-row__title {
    font-family: var(--ff-serif);
    font-weight: 400;
    font-size: var(--fs-h3);
    color: var(--ink);
    line-height: var(--lh-head);
    letter-spacing: -0.01em;
  }
  .ref-row__outcome {
    font-size: var(--fs-body);
    color: var(--mute);
    line-height: 1.6;
    margin-top: 14px;
    max-width: 56ch;
  }
  .ref-row__visit { margin-top: 18px; }
  .ref-row__metrics { display: flex; flex-direction: column; }

  /* =========================================================================
     ÜBER UNS
     ========================================================================= */
  .about-portrait {
    padding-block: var(--block);
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(32px, 5vw, 80px);
    align-items: center;
  }
  /* Square editorial crop + hairline frame + brass corner-tick (kill-list i4) */
  .about-portrait__media {
    aspect-ratio: 4 / 5;
    overflow: visible;
    position: relative;
    border: 1px solid var(--rule-3);
    border-radius: var(--radius);
    background: var(--murk);
  }
  .about-portrait__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
    filter: grayscale(18%) contrast(1.04);
  }
  .about-portrait__media::before,
  .about-portrait__media::after {
    content: "";
    position: absolute;
    background: var(--brass);
    z-index: 3;
  }
  .about-portrait__media::before { top: -1px; left: -1px; width: 28px; height: 2px; }
  .about-portrait__media::after  { top: -1px; left: -1px; width: 2px; height: 28px; }
  .about-portrait__caption { position: absolute; left: 16px; bottom: 16px; }
  .about-portrait__body { padding-block: clamp(8px, 2vh, 32px); display: flex; flex-direction: column; gap: 22px; }
  .about-portrait__quote {
    font-family: var(--ff-serif);
    font-weight: 400;
    font-style: italic;
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    color: var(--paper);
    line-height: 1.08;
    letter-spacing: -0.02em;
    max-width: 18ch;
  }
  .about-portrait__quote em { color: var(--brass); font-style: italic; }
  /* Bio lifted: larger, lighter, wider measure (kill-list contrast fix) */
  .about-portrait__text { color: var(--ink); line-height: 1.7; font-size: var(--fs-lead); max-width: 60ch; }
  .about-portrait__cta { display: flex; gap: clamp(16px, 2vw, 28px); flex-wrap: wrap; align-items: center; margin-top: 8px; }

  .about-process { padding-block: var(--block-snug) var(--block); }
  .about-values { padding-block: 0 var(--block); }
  .about-process__head, .about-values__head { margin-bottom: clamp(28px, 3vw, 44px); }
  .about-process__h, .about-values__h {
    font-family: var(--ff-serif);
    font-weight: 400;
    font-size: var(--fs-h2);
    color: var(--paper);
    margin-top: 14px;
    line-height: var(--lh-head);
  }
  .about-process__h em, .about-values__h em { color: var(--brass); font-style: italic; }

  /* Numbered hairline process sequence — rail carries number + a real mono fact */
  .steps { display: grid; gap: 0; border-top: 1px solid var(--rule-2); }
  .step {
    display: grid;
    grid-template-columns: minmax(160px, 0.5fr) 2fr;
    gap: clamp(24px, 5vw, 80px);
    padding-block: clamp(28px, 3.5vw, 48px);
    border-bottom: 1px solid var(--rule);
    align-items: baseline;
  }
  .step:last-child { border-bottom: 0; }
  .step__rail { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
  /* Enlarged step numeral + brass baseline per step → real vertical rhythm,
     numbers no longer timid against the serif titles (kill-list i4). */
  .step__n {
    font-family: var(--ff-mono);
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    color: var(--brass);
    letter-spacing: 0.04em;
    line-height: 1;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--rule-brass);
  }
  .step__fact {
    font-family: var(--ff-mono);
    font-size: var(--fs-mono);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--mute);
    padding-top: 10px;
    border-top: 1px solid var(--rule);
    max-width: 18ch;
  }
  .step__t {
    font-family: var(--ff-serif);
    font-size: var(--fs-h3);
    color: var(--paper);
    margin-bottom: 10px;
    line-height: 1.1;
  }
  .step__p { color: var(--mute); line-height: 1.65; max-width: 56ch; }

  /* Editorial values mosaic — first tenet promoted to a full-width display
     quote, the other three as compact hairline entries (Borsche weighting,
     not the 2×2 uniform grid the concept rejected — kill-list i4). */
  .values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--rule-2);
    border-left: 1px solid var(--rule);
  }
  .value {
    padding: clamp(28px, 3vw, 44px);
    border-right: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    position: relative;
  }
  /* Lead tenet spans the full row, larger, on a second paper-tone */
  .value--lead {
    grid-column: 1 / -1;
    background: var(--vellum);
    border-top: 2px solid var(--rule-brass);
  }
  .value--lead h3 {
    font-family: var(--ff-serif);
    font-style: italic;
    font-size: clamp(1.9rem, 3.6vw, 2.9rem);
    color: var(--paper);
    max-width: 24ch;
    line-height: 1.12;
  }
  .value--lead p { font-size: var(--fs-lead); max-width: 56ch; }
  .value__n {
    font-family: var(--ff-mono);
    font-size: var(--fs-mono);
    color: var(--brass);
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 14px;
  }
  .value h3 {
    font-family: var(--ff-serif);
    font-size: var(--fs-h3);
    color: var(--paper);
    margin-bottom: 10px;
    line-height: 1.1;
  }
  .value p { color: var(--mute); line-height: 1.65; font-size: var(--fs-body); }

  /* =========================================================================
     KONTAKT — editorial form + identity board
     ========================================================================= */
  /* Hero — tighten top void ~40% so the serif headline reads as the anchor,
     not a misplaced block sitting below a gap. */
  .contact-hero { padding-top: clamp(66px, 9vw, 124px); }
  .contact-hero .page-hero__grid { align-items: start; }
  /* Headline scaled up so it owns the upper third against the cold space the
     critic flagged on 1440 (kill-list i4). */
  .contact-hero__title { font-size: clamp(3.2rem, 8.6vw, 6.4rem); line-height: 0.96; }

  /* DIREKT = inline borderless strip (NOT a card) — so it never competes with
     the serif headline at squint and is clearly differentiated from the STUDIO
     card below the form. */
  .direct-strip { align-self: start; padding-top: 8px; }
  .direct-strip__head {
    font-family: var(--ff-mono);
    font-size: var(--fs-eyebrow);
    text-transform: uppercase;
    letter-spacing: var(--ls-mono-up);
    color: var(--brass);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
  }
  .direct-strip__rows { display: flex; flex-direction: column; margin: 0; }
  .direct-strip__row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding-block: 12px;
    border-bottom: 1px solid var(--rule);
  }
  .direct-strip__row:last-of-type { border-bottom: 0; }
  .direct-strip__row dt {
    font-family: var(--ff-mono);
    font-size: var(--fs-mono);
    color: var(--mute);
    letter-spacing: 0.04em;
  }
  .direct-strip__row dd {
    margin: 0;
    font-family: var(--ff-sans);
    font-weight: 500;
    font-size: 0.92rem;
    color: var(--ink);
    text-align: right;
  }
  .direct-strip__foot {
    margin-top: 14px;
    font-family: var(--ff-mono);
    font-size: 0.66rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mute-2);
  }

  /* Asymmetric mosaic: form claims the wide column, identity board narrows to
     a true sidebar (kill-list i4 — not a static 50/50 2-col). */
  .contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr);
    gap: clamp(48px, 6vw, 96px);
    padding-block: var(--block-snug) var(--block);
    align-items: start;
  }
  /* Reduced internal padding + tighter top so the board reads as a tidy ledger
     sidebar, not a card floating in air. */
  .contact-board { align-self: start; position: sticky; top: 88px; padding: clamp(18px, 1.8vw, 24px); }
  /* STUDIO identity card — true two-column ledger: bumped key contrast/tracking */
  .board--ledger .board__rows { display: flex; flex-direction: column; margin: 0; }
  .board--ledger .board__row { display: flex; }
  .board--ledger .board__k {
    color: var(--ink);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: var(--fs-eyebrow);
  }
  .board--ledger .board__v { margin: 0 0 0 auto; }

  .form { width: 100%; }
  .form__split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); }
  .form__row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
    position: relative;
  }
  .form__row label {
    font-family: var(--ff-mono);
    font-size: var(--fs-mono);
    color: var(--brass);
    text-transform: uppercase;
    letter-spacing: var(--ls-mono-up);
    display: flex;
    align-items: baseline;
    gap: 12px;
  }
  /* Mono field-index per label → editorial composition, not a default form */
  .form__idx { color: var(--mute-2); letter-spacing: 0.1em; flex: none; }
  .form__row input,
  .form__row textarea {
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--rule-2);
    border-radius: 0;
    padding: 10px 2px;
    color: var(--paper);
    font-family: var(--ff-sans);
    font-size: var(--fs-lead);
    transition: border-color 200ms ease;
  }
  .form__row input::placeholder,
  .form__row textarea::placeholder { color: var(--mute-2); }
  .form__row input:focus,
  .form__row textarea:focus {
    outline: none;
    border-bottom-color: var(--brass);
  }
  .form__row textarea {
    min-height: 150px;
    resize: vertical;
    line-height: 1.6;
  }
  .form__row--hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
  }
  /* Hairline closes the form composition; note + buttons anchor under it. */
  .form__foot {
    margin-top: clamp(28px, 3.5vw, 40px);
    padding-top: clamp(20px, 2.4vw, 28px);
    border-top: 1px solid var(--rule-2);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
  }
  .form__note {
    font-family: var(--ff-mono);
    font-size: var(--fs-mono);
    color: var(--mute);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.02em;
  }
  .form__submit {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
  }
  .form__success,
  .form__error {
    padding: 16px;
    border-radius: var(--radius);
    margin-bottom: 28px;
    font-family: var(--ff-mono);
    font-size: var(--fs-mono);
  }
  .form__success {
    background: rgba(110, 231, 183, 0.10);
    color: var(--led);
    border: 1px solid rgba(110, 231, 183, 0.30);
  }
  .form__error {
    background: rgba(240, 139, 139, 0.10);
    color: var(--signal-err);
    border: 1px solid rgba(240, 139, 139, 0.30);
  }

  /* =========================================================================
     FAQ — hairline accordion, active state brass
     ========================================================================= */
  .faq-section { padding-block: var(--block); border-top: 1px solid var(--rule); }
  /* On kontakt the form already carries a tall bottom gap — cut the FAQ's
     top block ~30% so it connects to the form instead of floating in black. */
  .faq-section--contact { padding-top: clamp(56px, 8vw, 124px); padding-bottom: clamp(48px, 7vw, 96px); }
  .faq-section__head { margin-bottom: clamp(28px, 3vw, 44px); }
  .faq-section__h {
    font-family: var(--ff-serif);
    font-weight: 400;
    font-size: var(--fs-h2);
    color: var(--paper);
    margin-top: 14px;
    line-height: var(--lh-head);
  }
  .faq-list { max-width: 820px; border-top: 1px solid var(--rule-2); }
  /* Tighter row height → higher density, less empty field around the accordion */
  .faq-list details {
    border-bottom: 1px solid var(--rule);
    padding: 16px 0;
  }
  .faq-list summary {
    font-family: var(--ff-serif);
    font-weight: 400;
    font-size: clamp(1.25rem, 2vw, 1.6rem);
    color: var(--ink);
    cursor: pointer;
    list-style: none;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: baseline;
    gap: 18px;
    transition: color 200ms ease;
  }
  .faq-list__idx {
    font-family: var(--ff-mono);
    font-size: var(--fs-mono);
    color: var(--brass);
    letter-spacing: 0.08em;
    white-space: nowrap;
  }
  .faq-list__q { min-width: 0; }
  .faq-list details[open] summary { color: var(--brass-2); }
  .faq-list summary:hover { color: var(--paper); }
  .faq-list summary::-webkit-details-marker { display: none; }
  .faq-list summary::after {
    content: '+';
    color: var(--brass);
    font-family: var(--ff-mono);
    font-size: 1.5rem;
    transition: transform 200ms ease;
    flex: none;
  }
  .faq-list details[open] summary::after { transform: rotate(45deg); }
  .faq-list details p {
    margin-top: 16px;
    font-size: var(--fs-body);
    color: var(--mute);
    line-height: 1.7;
    max-width: 64ch;
  }

  /* =========================================================================
     LEGAL — reading typography on prose width (Cassina anstand)
     ========================================================================= */
  .legal-hero {
    padding-block: clamp(110px, 16vw, 210px) clamp(36px, 5vw, 72px);
    border-bottom: 1px solid var(--rule);
    background: var(--night-2);
  }
  .legal-hero .board__line { margin-bottom: 14px; }
  .legal-hero__title {
    font-family: var(--ff-serif);
    font-weight: 400;
    font-size: clamp(2.6rem, 6vw, 4.4rem);
    color: var(--paper);
    line-height: 1.04;
    letter-spacing: -0.02em;
  }
  .legal { padding-block: var(--block-snug) var(--block); }
  /* Prose + sticky mono section-index rail (fills the right plane sitewide) */
  .legal__grid {
    display: grid;
    grid-template-columns: minmax(0, 64ch) minmax(0, 240px);
    gap: clamp(40px, 7vw, 120px);
    align-items: start;
  }
  .legal-rail {
    grid-column: 2;
    grid-row: 1;
    position: sticky;
    top: 96px;
    border-top: 1px solid var(--rule-brass);
    padding-top: 18px;
  }
  .legal-rail__head {
    font-family: var(--ff-mono);
    font-size: var(--fs-eyebrow);
    text-transform: uppercase;
    letter-spacing: var(--ls-mono-up);
    color: var(--brass);
    margin-bottom: 14px;
  }
  .legal-rail ol { display: flex; flex-direction: column; }
  .legal-rail li { border-bottom: 1px solid var(--rule); }
  .legal-rail a {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 10px;
    align-items: baseline;
    padding: 10px 0;
    font-family: var(--ff-mono);
    font-size: var(--fs-mono);
    color: var(--mute);
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }
  .legal-rail a:hover { color: var(--brass-2); }
  .legal-rail__n { color: var(--brass); }
  /* Active in-view section — brass dot + lifted label (Linear /now scroll-spy) */
  .legal-rail li.is-active a { color: var(--paper); }
  .legal-rail li.is-active { border-left: 2px solid var(--brass); margin-left: -2px; }
  .legal-rail li.is-active a { padding-left: 8px; }
  .legal-rail__stand {
    margin-top: 18px;
    font-family: var(--ff-mono);
    font-size: 0.66rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mute-2);
  }
  .legal__body { grid-column: 1; grid-row: 1; }
  .legal-sec {
    padding-top: clamp(28px, 3.5vw, 48px);
    margin-top: clamp(28px, 3.5vw, 48px);
    border-top: 1px solid var(--rule);
    scroll-margin-top: 96px;
  }
  .legal-sec:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
  /* Vary rule weight: major sections get a brass hairline */
  .legal-sec--major { border-top-color: var(--rule-brass); }
  .legal-sec__idx {
    font-family: var(--ff-mono);
    font-size: var(--fs-mono);
    color: var(--brass);
    letter-spacing: 0.1em;
    margin-bottom: 8px;
  }
  .legal-sec__h {
    font-family: var(--ff-serif);
    font-weight: 400;
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    color: var(--paper);
    line-height: 1.08;
    letter-spacing: -0.015em;
    margin-bottom: 16px;
    max-width: 28ch;
  }
  /* Long-form legal copy lifted toward --ink for readability (kill-list i4);
     mute stays for meta/labels only. */
  .legal-sec p {
    font-size: var(--fs-body);
    color: var(--ink);
    line-height: 1.7;
    margin-bottom: 14px;
    max-width: 64ch;
  }
  .legal-sec a {
    color: var(--brass-2);
    text-decoration: underline;
    text-decoration-color: var(--rule-brass);
    text-underline-offset: 0.2em;
  }
  .legal-sec a:hover { text-decoration-color: var(--brass-2); }

  /* Mono-hairline definition tables (label left / value right) */
  .legal-dl { display: grid; border-top: 1px solid var(--rule-2); margin: 4px 0; }
  .legal-dl__row {
    display: grid;
    grid-template-columns: minmax(120px, 0.5fr) 1fr;
    gap: clamp(16px, 2vw, 32px);
    padding: 13px 0;
    border-bottom: 1px solid var(--rule);
  }
  .legal-dl dt {
    font-family: var(--ff-mono);
    font-size: var(--fs-mono);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--mute);
  }
  .legal-dl dd { font-family: var(--ff-sans); font-size: var(--fs-body); color: var(--ink); }
  .legal-dl dd a { color: var(--ink); }

  .legal-svc { display: grid; border-top: 1px solid var(--rule-2); margin: 14px 0; }
  /* Shared key gutter with .legal-dl__row so the value column starts on one
     consistent left edge sitewide (kill-list i4). */
  .legal-svc__row {
    display: grid;
    grid-template-columns: minmax(120px, 0.5fr) 1fr;
    gap: clamp(16px, 2vw, 32px);
    padding: 16px 0;
    border-bottom: 1px solid var(--rule);
  }
  .legal-svc dt {
    font-family: var(--ff-mono);
    font-size: var(--fs-mono);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--brass);
  }
  .legal-svc dd { font-family: var(--ff-sans); font-size: var(--fs-body); color: var(--mute); line-height: 1.6; }

  .legal__stand { color: var(--mute-2); font-style: italic; margin-top: 40px; }
  @media (max-width: 880px) {
    .legal__grid { grid-template-columns: 1fr; gap: 0; }
    .legal-rail { display: none; }
    .legal-dl__row, .legal-svc__row { grid-template-columns: 1fr; gap: 6px; }
  }

  /* Legal pages: trim the footer so it isn't top-heavy under sparse legal text.
     Keep brand · Studio · Kontakt (3 cols); drop the Leistungen/Produkte link
     columns which add noise on a legal page (kill-list i4). */
  .is-legal .foot__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
  .is-legal .foot__col:nth-child(2),
  .is-legal .foot__col:nth-child(3) { display: none; }
  @media (max-width: 880px) {
    .is-legal .foot__grid { grid-template-columns: 1fr; }
  }

  /* =========================================================================
     STATUS PAGES — 404 / 500
     ========================================================================= */
  .status-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding-block: var(--block);
  }
  .status-page__title {
    font-family: var(--ff-serif);
    font-weight: 400;
    font-size: clamp(2.2rem, 6vw, 4rem);
    color: var(--paper);
    line-height: 1.05;
    margin: 14px 0 18px;
    letter-spacing: -0.02em;
  }
  .status-page__lead { font-size: var(--fs-lead); color: var(--mute); margin-bottom: 28px; line-height: 1.6; }

  /* =========================================================================
     MOBILE OVERRIDES
     ========================================================================= */
  @media (max-width: 880px) {
    .ref-flag { grid-template-columns: 1fr; gap: clamp(24px, 5vw, 40px); }
    .ref-flag--flip .ref-flag__copy { order: 0; }
    .ref-flag--flip .ref-flag__aside { order: 0; }
    .ref-hero {
      grid-template-columns: 1fr;
      grid-template-areas: 'plate' 'body' 'band';
      gap: clamp(24px, 5vw, 40px);
    }
    .ref-hero__plate { aspect-ratio: 16 / 9; }
    .ref-row { grid-template-columns: 1fr; gap: 18px; }
    .ref-row__metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .ref-row__metrics .metric { border-bottom: 0; }
    .about-portrait { grid-template-columns: 1fr; }
    .about-portrait__media { aspect-ratio: 16 / 10; }
  }

  @media (max-width: 980px) {
    .svc-card,
    .svc-card--lead,
    .svc-card--lead ~ .svc-card { grid-column: 1 / -1; }
  }

  @media (max-width: 768px) {
    .svc-bucket__grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; border-left: 0; }
    .value { border-right: 0; }
    .prod__inner,
    .prod--lead .prod__inner { grid-template-columns: 1fr; }
    .prod--flip .prod__inner { direction: ltr; }
    .step { grid-template-columns: 1fr; gap: 10px; }
    .contact-grid { grid-template-columns: 1fr; }
    .contact-board { position: static; }
    .form__split { grid-template-columns: 1fr; }
    .ref-row__metrics { grid-template-columns: 1fr; }
    .ref-row__metrics .metric { border-bottom: 1px solid var(--rule); }
    .page-hero__title { max-width: none; }
  }
}
