/* ==========================================================================
   Roeck Consulting — styles
   Navy / gold / off-white. Archivo (headings + body) and JetBrains Mono
   (labels), both self-hosted in assets/fonts (OFL). Never add Google Fonts
   links: the CSP blocks them and the privacy page says none are used.
   ========================================================================== */

/* ---------- Fonts (latin + latin-ext, variable weight for Archivo) ---------- */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('assets/fonts/archivo-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('assets/fonts/archivo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/jetbrains-mono-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/jetbrains-mono-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --paper:     #FAFAF7;
  --paper-2:   #F1EEE6;
  --surface:   #FFFFFF;
  --line:      #E2DED4;
  --line-dark: rgba(250, 250, 247, .14);

  --ink:       #0B1220;
  --ink-soft:  #2B3445;
  --muted:     #5A6272;

  --navy:      #0B1F3A;
  --navy-2:    #14305A;
  --navy-deep: #071427;
  --navy-soft: #E3E8F0;
  --on-navy:   #FAFAF7;
  --on-navy-2: #B9C3D3;

  --gold:      #D9A55E;   /* bars, rules, accents on navy */
  --gold-ink:  #8A5F1E;   /* gold for text on light backgrounds (AA) */

  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 6px;

  --shadow-sm: 0 1px 2px rgba(11, 18, 32, .05), 0 4px 14px rgba(11, 18, 32, .05);
  --shadow-md: 0 10px 30px rgba(11, 18, 32, .10), 0 2px 6px rgba(11, 18, 32, .05);

  --sans: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --max:    1180px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--navy); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--navy-2); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4 { color: var(--ink); font-family: var(--sans); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
[role="list"] { list-style: none; }
strong { color: var(--ink); font-weight: 650; }
address { font-style: normal; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: var(--ink-soft); line-height: 1.6; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--navy); color: var(--on-navy); padding: 10px 16px;
  border-radius: var(--radius-sm); text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; color: var(--on-navy); }

/* ---------- Shared pieces ---------- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: .78rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--gold); flex: none; }

.tag {
  display: inline-block; font-family: var(--mono); font-size: .72rem; font-weight: 500;
  letter-spacing: .06em; padding: 3px 8px; border-radius: 4px;
  background: var(--navy-soft); color: var(--navy); white-space: nowrap;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: var(--radius-sm);
  font-family: var(--sans); font-size: 1rem; font-weight: 650; line-height: 1.2;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--navy); color: var(--on-navy); }
.btn--primary:hover { background: var(--navy-2); color: var(--on-navy); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: var(--on-navy); }
.btn--gold { background: var(--gold); color: var(--navy-deep); }
.btn--gold:hover { background: #E4B677; color: var(--navy-deep); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .94rem; }
.btn__arrow { transition: transform .18s ease; }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 250, 247, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { height: var(--header-h); display: flex; align-items: center; gap: 28px; }
/* Brand lockup = RC square + tracked mono name, same pattern as the MR mark ("MAX · ROECK") */
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: var(--navy); flex: none; }
.brand__mark { width: auto; height: 36px; }
.brand__name { font-family: var(--mono); font-size: .74rem; font-weight: 500; letter-spacing: .3em; line-height: 1; white-space: nowrap; color: inherit; }
.footer .brand { color: var(--on-navy); }
.footer .brand__mark { width: auto; height: 40px; }
.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav a { color: var(--ink-soft); text-decoration: none; font-size: .96rem; font-weight: 500; }
.nav a:hover { color: var(--navy); }
.header-actions { display: flex; align-items: center; gap: 14px; flex: none; }
.brand + .header-actions { margin-left: auto; }
.lang { font-family: var(--mono); font-size: .8rem; letter-spacing: .08em; display: inline-flex; gap: 2px; }
.lang a, .lang span { padding: 4px 6px; border-radius: 4px; text-decoration: none; color: var(--muted); }
.lang [aria-current="true"] { color: var(--navy); background: var(--navy-soft); }
.lang a:hover { color: var(--navy); }
@media (max-width: 920px) {
  .nav { display: none; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 480px) {
  .brand__name { display: none; }
  .header-actions .btn { padding: 8px 12px; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(56px, 9vw, 112px) 0 clamp(56px, 8vw, 96px); position: relative; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, 470px); gap: clamp(36px, 6vw, 80px); align-items: center; }
.hero h1 { max-width: 15ch; }
.hero h1 em { font-style: normal; color: var(--navy); background: linear-gradient(transparent 72%, rgba(217, 165, 94, .45) 72%); }
.hero .lead { max-width: 54ch; margin-bottom: 30px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__note { margin-top: 18px; font-size: .92rem; color: var(--muted); }
@media (max-width: 1060px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 18ch; }
  .chain { max-width: 560px; }
}

/* Process chain card: two flows that meet in one ledger */
.chain {
  background: var(--navy); color: var(--on-navy); border-radius: var(--radius-lg);
  padding: 28px 26px 22px; box-shadow: var(--shadow-md); position: relative; margin: 0;
}
.chain__title { font-family: var(--mono); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 0 0 18px; }
.chain__flows { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.chain__flow h3 { color: var(--on-navy); font-size: .98rem; margin: 0 0 12px; }
.chain__steps { list-style: none; position: relative; }
.chain__steps::before { content: ""; position: absolute; left: 6px; top: 10px; bottom: 10px; width: 1.5px; background: var(--line-dark); }
.chain__steps li { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 0 7px 24px; font-size: .9rem; color: var(--on-navy); }
.chain__steps li::before { content: ""; position: absolute; left: 1px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--navy); border: 2px solid var(--gold); }
.chain__steps .tag { background: rgba(250, 250, 247, .10); color: var(--on-navy-2); font-size: .66rem; }
.chain__ledger {
  margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-md);
  border: 1px dashed rgba(217, 165, 94, .55); display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.chain__ledger strong { color: var(--on-navy); font-size: .95rem; }
.chain__ledger span { font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; color: var(--gold); text-align: right; }
@media (max-width: 520px) { .chain__flows { grid-template-columns: 1fr; } }

/* ---------- Facts strip ---------- */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.facts__list { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts__list li { padding: 22px 20px; border-left: 1px solid var(--line); }
.facts__list li:first-child { border-left: 0; padding-left: 0; }
.facts__list strong { display: block; font-size: 1.05rem; color: var(--navy); font-weight: 750; }
.facts__list span { display: block; font-size: .88rem; color: var(--muted); margin-top: 2px; }
@media (max-width: 860px) {
  .facts__list { grid-template-columns: 1fr 1fr; }
  .facts__list li { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .facts__list li:nth-child(-n+2) { border-top: 0; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--alt { background: var(--paper-2); }
.section--navy { background: var(--navy); color: var(--on-navy-2); }
.section--navy h2, .section--navy h3, .section--navy strong { color: var(--on-navy); }
.section--navy .eyebrow { color: var(--gold); }
.section__head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section__head p { color: var(--muted); font-size: 1.08rem; }
.section--navy .section__head p { color: var(--on-navy-2); }

/* Pillars (why integration) */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar { padding: 28px 26px; border-top: 3px solid var(--gold); background: var(--surface); border-radius: 0 0 var(--radius-md) var(--radius-md); box-shadow: var(--shadow-sm); }
.pillar__num { font-family: var(--mono); font-size: .78rem; color: var(--gold-ink); letter-spacing: .1em; display: block; margin-bottom: 10px; }
.pillar p { margin: 0; color: var(--ink-soft); }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 28px 26px 26px; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.service:hover { border-color: #CBD3E0; box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.service__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.service h3 { margin-bottom: 10px; }
.service > p { color: var(--ink-soft); font-size: .98rem; }
.service ul { list-style: none; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.service li { position: relative; padding: 5px 0 5px 20px; font-size: .92rem; color: var(--muted); }
.service li::before { content: ""; position: absolute; left: 0; top: 14px; width: 10px; height: 2px; background: var(--gold); }
@media (max-width: 1020px) { .services { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px)  { .services { grid-template-columns: 1fr; } }

/* Topics in demand (on navy) */
.topics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.topic { border: 1px solid var(--line-dark); border-radius: var(--radius-md); padding: 26px 26px 22px; background: rgba(250, 250, 247, .03); }
.topic__when { font-family: var(--mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 10px; }
.topic h3 { margin-bottom: 8px; }
.topic p { margin: 0; font-size: .97rem; }
@media (max-width: 760px) { .topics { grid-template-columns: 1fr; } }

/* Approach steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding-top: 22px; border-top: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: -13px; left: 0; padding-right: 10px; background: var(--paper);
  font-family: var(--mono); font-size: .85rem; color: var(--gold-ink); letter-spacing: .08em;
}
.section--alt .step::before { background: var(--paper-2); }
.step p { color: var(--muted); font-size: .96rem; margin: 0; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Engagement models */
.engage { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: clamp(48px, 6vw, 72px); }
.engage__item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 22px 20px; }
.engage__item h3 { font-size: 1.02rem; margin-bottom: 6px; }
.engage__item p { margin: 0; font-size: .92rem; color: var(--muted); }
@media (max-width: 960px) { .engage { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .engage { grid-template-columns: 1fr; } }

/* About */
.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.about__photo { margin: 0; position: relative; }
.about__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 54% 30%; border-radius: var(--radius-lg); background: #C2C2C2; }
.about__photo::after { content: ""; position: absolute; left: -14px; bottom: -14px; width: 42%; height: 42%; border-left: 3px solid var(--gold); border-bottom: 3px solid var(--gold); border-radius: 0 0 0 var(--radius-lg); pointer-events: none; }
.about__caption { margin-top: 18px; font-size: .9rem; color: var(--muted); }
.about__caption strong { display: block; font-size: 1rem; color: var(--ink); }
.about__list { list-style: none; margin-top: 26px; display: grid; gap: 10px; }
.about__list li { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding-top: 10px; border-top: 1px solid var(--line); font-size: .96rem; }
.about__list li span:first-child { font-family: var(--mono); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); padding-top: 3px; }
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .about__photo { max-width: 420px; }
}
@media (max-width: 480px) { .about__list li { grid-template-columns: 1fr; gap: 2px; } }

/* FAQ */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-size: 1.08rem; font-weight: 650; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { margin: 0 0 22px; color: var(--ink-soft); max-width: 72ch; }

/* Contact */
.contact { background: var(--navy); color: var(--on-navy-2); border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact h2 { color: var(--on-navy); }
.contact .eyebrow { color: var(--gold); }
.contact__mail { display: inline-block; margin: 6px 0 24px; font-size: clamp(1.15rem, 2.4vw, 1.6rem); font-weight: 750; color: var(--on-navy); text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 2px; word-break: break-all; }
.contact__mail:hover { color: var(--gold); }
.contact__checklist { list-style: none; border-top: 1px solid var(--line-dark); }
.contact__checklist li { padding: 12px 0 12px 30px; border-bottom: 1px solid var(--line-dark); position: relative; font-size: .97rem; }
.contact__checklist li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 12px; height: 7px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.contact__checklist-title { font-family: var(--mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 0 0 12px; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: var(--on-navy-2); padding: 56px 0 32px; font-size: .94rem; }
.footer a { color: var(--on-navy-2); text-decoration: none; }
.footer a:hover { color: var(--on-navy); }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; padding-bottom: 32px; border-bottom: 1px solid var(--line-dark); }

.footer__nav { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 24px; font-size: .86rem; }
.footer__bottom p { margin: 0; }
.footer .lang a, .footer .lang span { color: var(--on-navy-2); }
.footer .lang [aria-current="true"] { color: var(--on-navy); background: rgba(250, 250, 247, .12); }

/* ---------- Legal pages ---------- */
.legal { padding: clamp(48px, 8vw, 96px) 0; }
.legal__inner { max-width: 780px; }
.legal h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
.legal h2 { font-size: 1.35rem; margin-top: 2.2em; padding-top: 1.2em; border-top: 1px solid var(--line); }
.legal h3 { font-size: 1.05rem; margin-top: 1.6em; }
.legal ul { padding-left: 1.2em; margin-bottom: 1em; }
.legal li { margin-bottom: .4em; }
.legal address { margin-bottom: 1em; line-height: 1.7; }
.legal__back { display: inline-block; margin-top: 40px; font-weight: 600; }

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.notfound__code { font-family: var(--mono); color: var(--gold-ink); letter-spacing: .2em; font-size: .85rem; margin-bottom: 14px; }
.notfound__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 26px; }

/* ---------- Print ---------- */
@media print {
  .site-header, .footer, .hero__ctas, .skip-link { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  .section, .hero { padding: 24px 0; }
  .section--navy, .chain, .contact { background: #fff !important; color: #000 !important; box-shadow: none; }
  .section--navy h2, .section--navy h3, .chain h3, .contact h2 { color: #000 !important; }
}

/* ---------- Coming-soon page (coming-soon/, temporary until launch) ----------
   Uses the normal site header, hero, cards and contact block; only these extras
   are specific to it. Delete this block and the coming-soon/ folder after launch. */
.soon-pill {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-ink); border: 1px solid #E6D3B4; background: #FBF4E8; padding: 6px 10px; border-radius: 999px; white-space: nowrap;
}
.soon__de { color: var(--muted); font-size: .98rem; max-width: 58ch; margin-top: -10px; margin-bottom: 26px; }
.section__head .soon__de { margin-top: 0; }
.soon__de--dark { color: var(--on-navy-2); opacity: .85; margin-top: 0; margin-bottom: 18px; }
.soon-legal { background: var(--navy-deep); color: var(--on-navy-2); font-size: .82rem; line-height: 1.6; }
.soon-legal__top { max-width: var(--max); margin: 0 auto; padding: 44px var(--gutter) 0; }
.soon-legal__top .brand { color: var(--on-navy); }
.soon-legal__top .brand__mark { height: 40px; width: auto; }
.soon-legal__inner {
  max-width: var(--max); margin: 0 auto; padding: 28px var(--gutter) 16px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
}
.soon-legal h2 { font-family: var(--mono); font-size: .74rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.soon-legal p { margin: 0 0 .8em; }
.soon-legal strong { color: var(--on-navy); }
.soon-legal a { color: var(--on-navy); }
.soon-legal__copy { max-width: var(--max); margin: 0 auto; padding: 16px var(--gutter) 40px; font-size: .78rem; color: rgba(185, 195, 211, .7); }
@media (max-width: 760px) { .soon-legal__inner { grid-template-columns: 1fr; gap: 8px; } }
@media (max-width: 520px) { .soon-pill { display: none; } }

/* ---------- Cookie consent banner (consent.js) ----------
   Bottom-left card, same behaviour as freelime.app / esmhconsulting.com. */
.consent {
  position: fixed; z-index: 90; left: var(--gutter); bottom: 24px;
  width: min(420px, calc(100vw - 2 * var(--gutter))); max-height: calc(100vh - 48px); overflow-y: auto;
  padding: 20px 22px; background: var(--surface); color: var(--ink-soft);
  border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}
.consent__title { margin: 0 0 6px; font-size: 1.15rem; font-weight: 750; letter-spacing: -0.01em; color: var(--ink); }
.consent__text { margin: 0 0 16px; font-size: .875rem; line-height: 1.55; color: var(--muted); }
.consent__text a { color: var(--navy); }
.consent__actions { display: flex; gap: 10px; }
.consent__actions .btn { flex: 1; min-height: 42px; padding: .55em 1em; font-size: .94rem; }
@media (max-width: 600px) {
  .consent { left: 12px; right: 12px; bottom: 12px; width: auto; max-height: calc(100vh - 24px); padding: 16px; }
}
@media print { .consent { display: none; } }

/* "Cookie settings" buttons (hidden until consent.js shows them) look like the links around them */
.footer__cookie, .soon-legal__cookie {
  background: none; border: 0; padding: 0; margin: 0; font: inherit; color: inherit; cursor: pointer; text-align: left;
}
.footer__cookie:hover { color: var(--on-navy); }
.soon-legal__cookie { color: var(--on-navy); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Custom ERP (incl. R/3 replacement instead of S/4HANA) ---------- */
.start__title { font-family: var(--mono); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 12px; }
.start__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.start__list li { border-left: 3px solid var(--gold); padding: 4px 0 4px 16px; }
.start__list strong { display: block; color: var(--navy); font-size: 1.05rem; font-weight: 750; }
.start__list span { display: block; color: var(--muted); font-size: .95rem; margin-top: 2px; }
.start__note { max-width: 760px; margin: 22px 0 32px; color: var(--ink-soft); }
@media (max-width: 860px) { .start__list { grid-template-columns: 1fr; gap: 14px; } }
.alt__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.alt__card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 24px 22px; }
.alt__card .pillar__num { margin-bottom: 8px; }
.alt__card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.alt__card p { margin: 0; font-size: .95rem; color: var(--ink-soft); }
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.fit__box { border-radius: var(--radius-md); padding: 24px 26px; }
.fit__box--yes { background: var(--navy); color: var(--on-navy-2); }
.fit__box--yes h3 { color: var(--on-navy); }
.fit__box--no { background: var(--surface); border: 1px dashed #C9C3B5; }
.fit__box h3 { font-size: 1.05rem; margin-bottom: 12px; }
.fit__box ul { list-style: none; }
.fit__box li { position: relative; padding: 6px 0 6px 26px; font-size: .95rem; }
.fit__box--yes li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 11px; height: 6px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.fit__box--no li::before { content: ""; position: absolute; left: 3px; top: 16px; width: 12px; height: 2px; background: var(--muted); }
.alt__cta { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.alt__cta p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 1020px) { .alt__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px)  { .alt__grid, .fit { grid-template-columns: 1fr; } }
