@font-face {
  font-family: "Big Shoulders";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/big-shoulders-latin-100-900.woff2") format("woff2");
}

@font-face {
  font-family: "Big Shoulders";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/big-shoulders-latin-ext-100-900.woff2") format("woff2");
}

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/archivo-latin-100-900.woff2") format("woff2");
}

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/archivo-latin-ext-100-900.woff2") format("woff2");
}

:root {
  --paper: #f0ebdd;
  --paper-deep: #e2dbc8;
  --ink: #100f0d;
  --muted: #676154;
  --accent: #b8402c;
  --line: #b9b09c;
  --display: "Big Shoulders", Impact, sans-serif;
  --body: "Archivo", Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
html[data-lang="de"] .en { display: none !important; }
html[data-lang="en"] .de { display: none !important; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
}

a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }

.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: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-140%);
}
.skip-link:focus { transform: none; }

.shell { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }

.site-header {
  border-bottom: 1px solid var(--ink);
  background: color-mix(in srgb, var(--paper) 96%, transparent);
}

.header-row {
  min-height: 78px;
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.wordmark {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: .035em;
  text-decoration: none;
}
.wordmark span { color: var(--accent); }

.focus-stamp {
  border-left: 1px solid var(--ink);
  padding-left: 20px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
}

nav { display: flex; justify-content: flex-end; gap: 22px; }
nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-family: var(--mono);
  font-size: 12px;
  text-underline-offset: 5px;
}
nav a:hover { color: var(--accent); }

.language { display: flex; border: 1px solid var(--ink); }
.language button {
  width: 46px;
  min-height: 44px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--mono);
  cursor: pointer;
}
.language button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(390px, .85fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
  padding-block: clamp(64px, 9vw, 126px) 72px;
}

.eyebrow,
.section-label,
.product-name,
.external-action small {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.eyebrow { margin: 0 0 22px; color: var(--accent); font-weight: 700; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); }
h1 {
  max-width: 10ch;
  margin-bottom: 28px;
  font-size: clamp(64px, 8vw, 118px);
  font-weight: 780;
  letter-spacing: -.025em;
  line-height: .84;
  text-transform: uppercase;
}

.lead { max-width: 62ch; margin-bottom: 20px; font-size: clamp(19px, 2vw, 24px); line-height: 1.42; }
.boundary {
  max-width: 62ch;
  margin: 0;
  padding: 16px 18px;
  border-left: 5px solid var(--accent);
  background: var(--paper-deep);
  font-size: 15px;
  font-weight: 600;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  padding: 12px 20px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.button.primary { background: var(--ink); color: var(--paper); }
.button.primary:hover { background: var(--accent); border-color: var(--accent); }
.button.secondary:hover { background: var(--ink); color: var(--paper); }

.direction-study { margin: 0; border: 1px solid var(--ink); background: var(--ink); }
.study-label {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  padding: 17px 18px 16px;
  border-bottom: 1px solid #3e3a33;
  color: var(--paper);
}
.study-label strong {
  min-width: 0;
  font-family: var(--display);
  font-size: clamp(25px, 2.25vw, 36px);
  font-weight: 780;
  letter-spacing: .035em;
  line-height: .92;
  text-transform: uppercase;
  white-space: nowrap;
}
.study-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  padding-top: 9px;
  border-top: 1px solid #3e3a33;
  color: #bdb5a4;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.35;
  text-transform: uppercase;
}
.study-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 2px; background: var(--ink); }
.study-image { position: relative; min-height: 370px; overflow: hidden; background: #d7cdbb; }
.study-image img { width: 100%; height: 100%; object-fit: cover; }
.study-image-object img { object-position: 50% 45%; }
.study-image-building img { object-position: 56% 50%; }
.study-image > span {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 8px 11px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 11px;
}
.workflow { border-block: 1px solid var(--ink); }
.workflow-rail { display: grid; grid-template-columns: repeat(5, 1fr); padding-block: 0; list-style: none; }
.workflow-rail li {
  min-width: 0;
  padding: 22px 18px 24px;
  border-left: 1px solid var(--line);
}
.workflow-rail li:last-child { border-right: 1px solid var(--line); }
.workflow-rail .selected { margin-block: -1px; border: 2px solid var(--ink); background: var(--accent); color: #fff; }
.stage-number { display: block; margin-bottom: 22px; font-family: var(--mono); font-size: 12px; }
.workflow-rail strong { display: block; margin-bottom: 8px; font-family: var(--display); font-size: 24px; line-height: 1; text-transform: uppercase; }
.workflow-rail small { display: block; color: var(--muted); font-size: 12px; line-height: 1.35; }
.workflow-rail .selected small { color: #fff; }

.section {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: clamp(36px, 7vw, 110px);
  padding-block: clamp(78px, 9vw, 132px);
}
.section-label { display: flex; flex-direction: column; gap: 8px; color: var(--muted); }
.section-label > span:first-child { color: var(--accent); font-weight: 700; }
.section-content h2 {
  max-width: 16ch;
  margin-bottom: 32px;
  font-size: clamp(42px, 6vw, 78px);
  font-weight: 760;
  line-height: .96;
  text-transform: uppercase;
}
.section-content > p { max-width: 72ch; font-size: 19px; }
.section-content .closing { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--ink); font-weight: 700; }

.product { background: var(--ink); color: var(--paper); }
.product-layout { padding-block: clamp(82px, 10vw, 144px); }
.product .section-label { color: #bdb5a4; }
.product-brand { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 20px; margin-bottom: 32px; }
.product-logo-frame { width: min(100%, 420px); padding: 15px 20px; background: var(--paper); }
.product-logo-frame img { width: 100%; height: auto; }
.product-name { margin: 0; color: #fff; font-weight: 700; }
.product-name span { display: inline-block; padding: 6px 9px; background: var(--accent); }
.product-copy { max-width: 900px; columns: 2; column-gap: 52px; }
.product-copy p { break-inside: avoid; font-size: 18px; }
.product-boundary { max-width: 700px; margin: 34px 0; padding: 17px 20px; border: 1px solid var(--accent); color: #fff; font-family: var(--mono); font-size: 13px !important; font-weight: 700; }
.product .button.primary { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.product .button.primary:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.external-action { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.external-action small { color: #bdb5a4; text-transform: none; }

.rules .section-content h2 { margin-bottom: 54px; }
.rule-list { margin: 0; padding: 0; border-top: 2px solid var(--ink); list-style: none; }
.rule-list li { display: grid; grid-template-columns: 70px 1fr; gap: 22px; padding: 30px 0; border-bottom: 1px solid var(--ink); }
.rule-number { color: var(--accent); font-family: var(--mono); font-size: 13px; font-weight: 700; }
.rule-list h3 { margin-bottom: 7px; font-size: 30px; line-height: 1.05; text-transform: uppercase; }
.rule-list p { max-width: 64ch; margin-bottom: 0; color: var(--muted); }

.contact { padding-block: clamp(80px, 10vw, 144px); }
.contact h2 { margin-bottom: 12px; font-size: clamp(45px, 7vw, 92px); line-height: 1; word-break: break-word; }
.contact p:not(.eyebrow) { margin-bottom: 28px; font-size: 20px; }

footer { border-top: 1px solid var(--ink); }
.footer-row { min-height: 96px; display: flex; align-items: center; flex-wrap: wrap; gap: 14px 28px; font-family: var(--mono); font-size: 11px; }
.footer-row > :last-child { margin-left: auto; color: var(--accent); font-weight: 700; }
.footer-row a { text-underline-offset: 4px; }

@media (max-width: 1040px) {
  .header-row { grid-template-columns: auto 1fr auto; }
  .focus-stamp { border-left: 0; padding-left: 0; text-align: right; }
  nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; padding-bottom: 15px; }
  .hero { grid-template-columns: 1fr; }
  .direction-study { max-width: 780px; }
  .study-image { min-height: 330px; }
}

@media (max-width: 760px) {
  .shell { width: min(1200px, calc(100% - 30px)); }
  .header-row { min-height: 72px; grid-template-columns: 1fr auto; gap: 12px; }
  .focus-stamp { grid-column: 1 / -1; grid-row: 2; text-align: left; padding-bottom: 12px; }
  nav { display: none; }
  .language { grid-column: 2; grid-row: 1; }
  .hero { padding-block: 56px; gap: 44px; }
  h1 { font-size: clamp(55px, 18vw, 82px); }
  .study-grid { grid-template-columns: 1fr; }
  .study-image { min-height: 320px; }
  .study-image-building { min-height: 250px; }
  .workflow { border-bottom: 0; }
  .workflow-rail { grid-template-columns: 1fr; }
  .workflow-rail li { display: grid; grid-template-columns: 44px 120px 1fr; gap: 10px; align-items: baseline; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .workflow-rail .selected { margin: -1px 0 0; }
  .stage-number, .workflow-rail strong { margin: 0; }
  .workflow-rail strong { font-size: 21px; }
  .section { grid-template-columns: 1fr; gap: 30px; padding-block: 74px; }
  .section-label { flex-direction: row; gap: 12px; }
  .section-content h2 { font-size: clamp(43px, 14vw, 66px); }
  .product-copy { columns: 1; }
  .footer-row { align-items: flex-start; flex-direction: column; padding-block: 30px; }
  .footer-row > :last-child { margin-left: 0; }
}

@media (max-width: 430px) {
  body { font-size: 16px; }
  .wordmark { font-size: 21px; }
  h1 { font-size: clamp(50px, 16vw, 66px); }
  .language button { width: 44px; }
  .hero-actions, .hero-actions .button { width: 100%; }
  .study-image { min-height: 285px; }
  .study-image-building { min-height: 220px; }
  .workflow-rail li { grid-template-columns: 36px 100px 1fr; padding-inline: 12px; }
  .workflow-rail small { font-size: 11px; }
  .rule-list li { grid-template-columns: 44px 1fr; gap: 12px; }
  .rule-list h3 { font-size: 25px; }
  .contact .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
