/* Scot & Millfield – Forge : Furnace, Dokumentation
   Gestaltung wie scotandmillfield.studio („Stahlwerk“, assets/css/site.css):
   dunkel, industriell, Grau-Petrol als einzige Akzentfarbe, Archivo + DM Mono lokal. */

/* ---------- Fonts (lokal, keine Verbindung zu Google) ---------- */
@font-face {
  font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url("../fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2-variations");
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations");
  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: "DM Mono"; font-style: normal; font-display: swap; font-weight: 400;
  src: url("../fonts/dm-mono-latin-ext-400-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Mono"; font-style: normal; font-display: swap; font-weight: 400;
  src: url("../fonts/dm-mono-latin-400-normal.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: "DM Mono"; font-style: normal; font-display: swap; font-weight: 500;
  src: url("../fonts/dm-mono-latin-ext-500-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Mono"; font-style: normal; font-display: swap; font-weight: 500;
  src: url("../fonts/dm-mono-latin-500-normal.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 (wie site.css) ---------- */
:root {
  --bg: #0C0D0E;
  --panel: #131617;
  --panel-2: #101213;
  --line: rgba(255, 255, 255, 0.1);
  --line-soft: rgba(255, 255, 255, 0.06);
  --text: #E2E5E5;
  --text-2: #C7CDCE;
  --muted: #9DA6A8;
  --muted-2: #8E979A;
  --accent: #6E8C91;          /* Grau-Petrol */
  --maxw: 1320px;
  --gutter: 24px;
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); font-weight: 300; line-height: 1.5; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #A3B8BB; }
a:hover { color: var(--text); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
strong { font-weight: 600; color: var(--text); }
code, kbd {
  font-family: var(--mono); font-size: 0.88em; letter-spacing: 0.02em;
  padding: 1px 6px; background: var(--panel); border: 1px solid var(--line); color: var(--text-2);
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 50;
  padding: 12px 16px; background: var(--accent); color: var(--bg);
  font-family: var(--mono); text-decoration: none;
}
.skip-link:focus { top: 16px; }

.wrap { max-width: var(--maxw); margin: 0 auto; }
.section { border-bottom: 1px solid var(--line); }
.amp { color: var(--accent); }
.muted { color: var(--muted-2); }

.eyebrow {
  margin: 0 0 14px; font-family: var(--mono); font-size: 13px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent);
}
.h2 {
  margin: 0; font-weight: 800; font-stretch: 125%;
  font-size: clamp(36px, 5vw, 72px); line-height: 0.95; text-transform: uppercase;
}
.section-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px;
  padding: 72px var(--gutter) 40px;
}
.note {
  margin: 0; max-width: 520px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em;
  line-height: 1.7; color: var(--muted-2);
}

/* ---------- Header / Nav ---------- */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; }
.brand {
  flex: 1 1 240px; display: flex; align-items: center; padding: 22px var(--gutter);
  color: var(--text); text-decoration: none;
  font-weight: 800; font-stretch: 125%; font-size: 20px; letter-spacing: 0.02em; text-transform: uppercase;
}
.brand .amp { padding: 0 0.3em; }
.nav {
  flex: 3 1 760px; display: grid; grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
}
.nav a {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 64px; padding: 0 10px; color: var(--text-2); text-decoration: none;
}
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.03); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero__img {
  /* gleiches Foto wie die Startseite (A40), gleiche Höhe wie dort; darunter läuft es ins Dunkel aus */
  position: absolute; top: 0; left: 0; width: 100%; height: 820px; max-width: none;
  object-fit: cover; object-position: center 45%; filter: brightness(0.95);
}
.hero__shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12, 13, 14, 0) 0, rgba(12, 13, 14, 0.15) 300px, rgba(12, 13, 14, 0.85) 680px, var(--bg) 820px);
}
@media (max-width: 900px) {
  .hero__img { height: 680px; }
  .hero__shade { background: linear-gradient(180deg, rgba(12, 13, 14, 0) 0, rgba(12, 13, 14, 0.25) 260px, rgba(12, 13, 14, 0.85) 560px, var(--bg) 680px); }
}
.hero__grid {
  position: absolute; inset: 0; max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  border-left: 1px solid rgba(255, 255, 255, 0.06);
}
.hero__grid span { border-right: 1px solid rgba(255, 255, 255, 0.06); }
.hero__inner {
  position: relative; max-width: var(--maxw); margin: 0 auto;
  padding: 40px var(--gutter) 64px;
  display: flex; flex-direction: column; gap: 56px;
}
.hero__meta {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px;
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-2); line-height: 1.9;
}
.hero__meta span:last-child { text-align: right; }
.hero h1 {
  margin: 0; font-weight: 900; font-stretch: 125%;
  font-size: clamp(42px, 8.4vw, 132px); line-height: 0.92; letter-spacing: -0.02em; text-transform: uppercase;
}
.hero h1 .kicker {
  display: block; margin-bottom: 18px; font-family: var(--mono); font-weight: 400; font-stretch: 100%;
  font-size: 13px; letter-spacing: 0.14em; color: var(--accent);
}
.hero__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px; }
.hero__claim { margin: 0 0 14px; font-weight: 800; font-stretch: 125%; text-transform: uppercase;
  font-size: clamp(26px, 3vw, 40px); line-height: 1.02; color: var(--text); text-shadow: 0 2px 24px rgba(12, 13, 14, 0.55); }
.hero__lead { margin: 0; max-width: 560px; font-size: 20px; line-height: 1.5; color: var(--text-2); }
.hero__shot { border: 1px solid var(--line); box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55); }

.btn-group { display: flex; flex-wrap: wrap; border: 1px solid rgba(255, 255, 255, 0.25); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 28px;
  font-family: var(--mono); font-weight: 500; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; color: var(--text); background: rgba(12, 13, 14, 0.5);
}
.btn + .btn { border-left: 1px solid rgba(255, 255, 255, 0.25); }
.btn:hover { background: rgba(12, 13, 14, 0.75); color: var(--text); }
.btn--primary { background: var(--accent); color: var(--bg); }
.btn--primary:hover { color: var(--bg); background: var(--accent); filter: brightness(1.08); }

/* ---------- Proof strip ---------- */
.proof .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px 28px; padding: 18px var(--gutter);
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
}
.proof__stat { margin: 0; display: flex; align-items: baseline; gap: 12px; }
.proof__stat strong {
  font-family: var(--sans); font-weight: 900; font-stretch: 125%; font-size: 26px; letter-spacing: 0; color: var(--accent);
}

/* ---------- Text blocks ---------- */
.prose { padding: 0 var(--gutter) 56px; max-width: 860px; }
.prose p, .prose li { font-size: 17px; line-height: 1.7; color: var(--text-2); }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 1.2em; }
.prose li + li { margin-top: 6px; }
.prose h3, .sub {
  margin: 40px 0 14px; font-family: var(--mono); font-weight: 500; font-size: 13px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}

/* Cells like the story section */
.cells { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); border-top: 1px solid var(--line); }
.cells > div { padding: 32px var(--gutter) 40px; border-right: 1px solid var(--line-soft); }
.cells > div:last-child { border-right: 0; }
.cells h3 {
  margin: 0 0 12px; font-family: var(--mono); font-weight: 500; font-size: 13px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.cells .v { margin: 0 0 10px; font-weight: 800; font-stretch: 125%; font-size: 22px; line-height: 1.1; text-transform: uppercase; }
.cells p { margin: 0; font-size: 16px; line-height: 1.65; color: var(--text-2); }

/* ---------- Figures (Plugin-Screenshots) ---------- */
.shot { margin: 0; padding: 0 var(--gutter) 48px; }
.shot img { width: 100%; border: 1px solid var(--line); background: var(--panel-2); }
.shot figcaption {
  margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px 18px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2);
}
.shot figcaption b { font-weight: 500; color: var(--accent); }
.shot--narrow { max-width: 860px; }

/* ---------- Annotated screenshots (generated by docs/tools/build-doc.py) ---------- */
.overlay { position: relative; }
.overlay img { display: block; }
.spot {
  position: absolute; z-index: 2; width: 26px; height: 26px; padding: 0; margin: 0;
  transform: translate(-50%, -50%); border: 1px solid rgba(255, 255, 255, 0.55); border-radius: 0;
  background: var(--accent); color: var(--bg); cursor: pointer;
  font-family: var(--mono); font-size: 12px; font-weight: 500; line-height: 24px; text-align: center;
  box-shadow: 0 0 0 3px rgba(12, 13, 14, 0.55), 0 6px 16px rgba(0, 0, 0, 0.45);
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.spot:hover, .spot:focus-visible, .spot.is-active { z-index: 5; background: var(--text); color: var(--bg); border-color: var(--text); outline: none; }
.spot__n { display: block; pointer-events: none; }
.spot__tip {
  position: absolute; top: calc(100% + 10px); left: -1px; width: 300px; max-width: 70vw; padding: 14px 16px;
  visibility: hidden; opacity: 0; transition: opacity 0.15s ease;
  background: var(--panel); border: 1px solid var(--line); border-top: 2px solid var(--accent);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
  font-family: var(--sans); font-size: 14px; font-weight: 400; line-height: 1.55; color: var(--text-2);
  text-align: left; text-transform: none; letter-spacing: 0; white-space: normal;
}
.spot--left .spot__tip { left: auto; right: -1px; }
.spot--up .spot__tip { top: auto; bottom: calc(100% + 10px); }
.spot:hover .spot__tip, .spot:focus-visible .spot__tip { visibility: visible; opacity: 1; }
.spot__tip b, .legend b {
  display: block; margin-bottom: 4px; font-weight: 800; font-stretch: 125%; font-size: 14px;
  text-transform: uppercase; color: var(--text);
}
.spot__tip .meta, .legend .meta {
  display: block; margin-top: 8px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; color: var(--accent);
}

.legend {
  list-style: none; margin: 24px 0 0; padding: 0; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 0 24px;
}
.legend li {
  display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 14px; align-items: start;
  padding: 14px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; line-height: 1.6; color: var(--text-2);
  transition: background-color 0.15s ease;
}
.legend li.is-active { background: rgba(110, 140, 145, 0.1); }
.legend .n {
  width: 26px; height: 26px; border: 1px solid var(--accent); color: var(--accent);
  font-family: var(--mono); font-size: 12px; line-height: 24px; text-align: center;
}
.legend li.is-active .n { background: var(--accent); color: var(--bg); }
.legend .t b { display: inline; margin: 0 6px 0 0; font-size: 15px; }
.shot + .prose { padding-top: 8px; }

/* Steps (installation) */
.steps { border-top: 1px solid var(--line); }
.step { display: grid; grid-template-columns: minmax(80px, 140px) minmax(0, 2fr) minmax(0, 1fr); border-bottom: 1px solid var(--line-soft); }
.step > * { padding: 22px var(--gutter); }
.step__no { font-weight: 800; font-stretch: 125%; font-size: 22px; color: var(--accent); }
.step__text { font-size: 17px; line-height: 1.6; }
.step__hint { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--muted); line-height: 1.7; }

/* Preset table */
.presets { border-top: 1px solid var(--line); }
.preset { display: grid; grid-template-columns: minmax(0, 1.2fr) 110px minmax(0, 2.4fr); border-bottom: 1px solid var(--line-soft); }
.preset > * { padding: 18px var(--gutter); }
.preset__name { font-weight: 800; font-stretch: 125%; font-size: 18px; text-transform: uppercase; }
.preset__bars { font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em; color: var(--accent); white-space: nowrap; }
.preset__text { font-size: 16px; line-height: 1.6; color: var(--text-2); }

/* Callout box */
.hint {
  margin: 0 var(--gutter) 48px; padding: 20px 24px; border-left: 2px solid var(--accent);
  background: rgba(110, 140, 145, 0.08); font-size: 16px; line-height: 1.65; color: var(--text-2); max-width: 860px;
}
.hint b { display: block; margin-bottom: 6px; font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }

/* ---------- Footer (wie die Website) ---------- */
.footer .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.footer .wrap > div {
  padding: 40px var(--gutter);
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; line-height: 2;
}
.footer__brand { font-family: var(--sans); font-weight: 900; font-stretch: 125%; font-size: 22px; letter-spacing: 0; line-height: 1.3; }
.footer__small { margin: 12px 0 0; letter-spacing: 0.08em; line-height: 1.8; color: var(--muted); text-transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { display: flex; overflow-x: auto; flex: 1 1 100%; border-top: 1px solid var(--line-soft); }
  .nav a { flex: 0 0 auto; min-height: 52px; padding: 0 16px; }
}
@media (max-width: 860px) {
  .hero__inner { gap: 40px; padding-bottom: 48px; }
  .step { grid-template-columns: 64px minmax(0, 1fr); }
  .step__hint { grid-column: 2; padding-top: 0; }
  .preset { grid-template-columns: minmax(0, 1fr) 90px; }
  .preset__text { grid-column: 1 / -1; padding-top: 0; }
}
@media (max-width: 640px) {
  .hero__meta { font-size: 11px; }
  .hero__meta span:last-child { display: none; }
  .hero__lead { font-size: 17px; }
  .btn { padding: 0 20px; }
  .step > *, .preset > * { padding-left: 16px; padding-right: 16px; }
}
@media (max-width: 760px) {
  /* Too narrow for floating tooltips: a tap highlights the entry in the legend instead */
  .spot { width: 20px; height: 20px; font-size: 10px; line-height: 18px; box-shadow: 0 0 0 2px rgba(12, 13, 14, 0.55); }
  .spot__tip { display: none; }
}

/* ---------- Film: Video-Platzhalter, Nutzerversprechen, Markenbotschaft ---------- */
.film__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; align-items: center;
  padding: 72px var(--gutter); }
.film__frame { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; align-content: center; gap: 18px;
  background: radial-gradient(80% 80% at 50% 40%, #1a1f21, var(--panel-2)); border: 1px solid var(--line); }
.film__play { position: relative; width: 76px; height: 76px; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 50%; }
.film__play::after { content: ""; position: absolute; left: 31px; top: 24px; border: 14px solid transparent;
  border-left: 22px solid var(--text); border-right: 0; }
.film__label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.film__promise { margin: 24px 0 16px; font-size: 22px; line-height: 1.45; color: var(--text); font-weight: 400; }
.film__brand { margin: 0; font-size: 17px; line-height: 1.6; color: var(--text-2); }

/* ---------- Kaufen ---------- */
.buy__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: end;
  padding: 72px var(--gutter); }
.buy__card { border: 1px solid var(--line); background: var(--panel); padding: 32px; }
.buy__price { margin: 0 0 18px; font-weight: 800; font-stretch: 125%; font-size: 40px; line-height: 1; color: var(--text); }
.buy__list { margin: 0 0 28px; padding: 0; list-style: none; font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em; color: var(--text-2); }
.buy__list li { padding: 10px 0; border-top: 1px solid var(--line-soft); }
.buy__list li::before { content: "— "; color: var(--accent); }
.buy__card .btn-group { display: inline-flex; }
button.btn { cursor: pointer; border: 0; }
.btn:disabled { opacity: 0.45; cursor: default; filter: none; }
.buy__platform { margin: -12px 0 24px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; line-height: 1.6;
  color: var(--text-2); }
.buy__platform b { color: var(--accent); font-weight: 500; }
.buy__note { margin: 18px 0 0; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--muted-2); }
.nav__cart span { margin-left: 6px; color: var(--accent); }

/* ---------- Doku-Reiter ---------- */
.docs-head { border-bottom: 0; }
.docs-head .section-head { padding-bottom: 28px; }
.tabs { position: sticky; top: 0; z-index: 20; display: flex; overflow-x: auto; scrollbar-width: none;
  background: rgba(12, 13, 14, 0.94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 0 max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))); }
.tabs::-webkit-scrollbar { display: none; }
.tabs__tab { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; min-height: 56px; padding: 0 14px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); background: none; border: 0; border-bottom: 2px solid transparent; cursor: pointer; }
.tabs__tab:hover { color: var(--text); }
.tabs__tab[aria-selected="true"] { color: var(--text); border-bottom-color: var(--accent); }
.tabs__no { color: var(--accent); font-size: 11px; }
.is-tabpanel { scroll-margin-top: 64px; }
.is-tabpanel .section-head { padding-top: 48px; }
.tabs__next { padding: 8px var(--gutter) 56px; text-align: right; font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; }
.tabs__next a { color: var(--text-2); text-decoration: none; border-bottom: 1px solid var(--accent); padding-bottom: 4px; }
.tabs__next a:hover { color: var(--text); }

@media (max-width: 860px) {
  .film__grid, .buy__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 56px var(--gutter); }
  .film__promise { font-size: 19px; }
  .buy__card { padding: 24px; }
  .buy__card .btn-group { display: flex; }
  .buy__card .btn { flex: 1; justify-content: center; }
}

/* ---------- Landingpage: eine Reihe je Produkt, Screenshot abwechselnd links und rechts ---------- */
.hero--landing .hero__inner { padding-bottom: 96px; }
.hero--landing h1 { font-size: clamp(64px, 14vw, 220px); }
/* Rendered scene of all products (forge_scene.py --mode hero): the devices lie to the right; a veil from the
   left keeps the title readable */
.hero--landing .hero__img { height: 100%; object-position: 70% 60%; filter: none; }
.hero--landing .hero__shade {
  background:
    linear-gradient(90deg, rgba(12, 13, 14, 0.62) 0, rgba(12, 13, 14, 0.25) 42%, rgba(12, 13, 14, 0) 70%),
    linear-gradient(180deg, rgba(12, 13, 14, 0) 0, rgba(12, 13, 14, 0) 70%, var(--bg) 100%);
}
@media (max-width: 900px) {
  .hero--landing .hero__img { object-position: center bottom; }
  .hero--landing .hero__shade {
    background: linear-gradient(180deg, rgba(12, 13, 14, 0.35) 0, rgba(12, 13, 14, 0.2) 260px, rgba(12, 13, 14, 0.85) 600px, var(--bg) 680px);
  }
}
.hero--landing h1 .kicker { margin-bottom: 24px; font-size: clamp(16px, 1.7vw, 26px); letter-spacing: 0.16em; }
.hero--landing .hero__meta { justify-content: flex-end; }
@media (max-width: 640px) { .hero--landing .hero__meta { display: none; } }
.hero--landing .btn-group button.btn { border-left: 1px solid rgba(255, 255, 255, 0.25); }

.products { border-top: 1px solid var(--line); }
.product {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: center;
  padding: 56px var(--gutter); border-bottom: 1px solid var(--line);
}
.product:nth-child(2n) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.product:nth-child(2n) .product__media { order: 2; }
.product__body { display: flex; flex-direction: column; gap: 20px; }
.product__head { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; align-items: center; }
.product__head .eyebrow { margin-bottom: 6px; }
.product__icon { width: 56px; height: 56px; }
.product__name {
  margin: 0; font-weight: 900; font-stretch: 125%; font-size: clamp(26px, 2.6vw, 38px);
  line-height: 0.95; letter-spacing: -0.01em; text-transform: uppercase;
}
.product__claim {
  margin: 0; font-weight: 800; font-stretch: 125%; text-transform: uppercase;
  font-size: clamp(20px, 1.8vw, 26px); line-height: 1.08; color: var(--text);
}
/* Calls to action under the screenshot: documentation and video */
.product__links { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 48px; margin: 30px 0 0; }
.cta {
  display: inline-flex; align-items: center; gap: 16px;
  font-family: var(--mono); font-size: 19px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text); text-decoration: none;
}
.cta__arrow {
  display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none;
  border: 2px solid var(--accent); border-radius: 50%; background: rgba(110, 140, 145, 0.14);
  color: var(--accent); font-size: 22px; font-weight: 700; line-height: 1;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
a.cta .cta__text { border-bottom: 2px solid var(--accent); padding-bottom: 3px; }
a.cta:hover .cta__arrow { transform: translateX(4px); background: var(--accent); color: var(--bg); }
.cta--soon { color: var(--muted); cursor: default; }
.cta--soon .cta__arrow { border-style: dashed; background: none; }
.cta small { font-size: 12px; font-weight: 500; letter-spacing: 0.14em; color: var(--muted-2); }
.cta small::before { content: "· "; }
@media (max-width: 640px) {
  .cta { font-size: 16px; gap: 12px; }
  .cta__arrow { width: 38px; height: 38px; font-size: 19px; }
}
.product__shot { position: relative; display: block; }
.product__shot img { width: 100%; border: 1px solid var(--line); background: var(--panel-2); transition: border-color 0.15s ease; }
.product__shot:hover img { border-color: var(--accent); }
/* Video slot on the screenshot: becomes the play button once the video exists */
.product__film {
  position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 14px 8px 8px; background: rgba(12, 13, 14, 0.82); border: 1px solid var(--line);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.product__film .film__play { width: 34px; height: 34px; }
.product__film .film__play::after { left: 13px; top: 10px; border-width: 7px 0 7px 11px; }
.benefits { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-soft); }
.benefits li {
  padding: 12px 0; border-bottom: 1px solid var(--line-soft);
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.02em; line-height: 1.55; color: var(--muted);
}
.benefits b {
  display: block; margin-bottom: 3px; font-family: var(--sans);
  font-size: 17px; font-weight: 600; letter-spacing: 0; line-height: 1.35; color: var(--text);
}
.benefits b::before {
  content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 10px 0 0; border-radius: 50%;
  background: var(--accent); vertical-align: 0.14em;
}
.product__buy { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding-top: 4px; }
.product__buy .buy__price { margin: 0; font-size: 34px; }
.shopinfo { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 40px; padding: 28px var(--gutter) 64px; }
.shopinfo .buy__platform { margin: 0; max-width: 640px; }
.shopinfo .buy__note { margin: 0; }

@media (max-width: 900px) {
  .product, .product:nth-child(2n) { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 40px var(--gutter); }
  .product:nth-child(2n) .product__media { order: 0; }
  .product__buy .btn-group { flex: 1 1 100%; }
  .product__buy .btn { flex: 1; }
}
@media (max-width: 520px) {
  .product__head { grid-template-columns: 48px minmax(0, 1fr); }
  .product__icon { width: 48px; height: 48px; }
  .product__film { left: 8px; bottom: 8px; gap: 8px; padding: 5px 10px 5px 5px; font-size: 10px; }
  .product__film .film__play { width: 24px; height: 24px; }
  .product__film .film__play::after { left: 9px; top: 6px; border-width: 5px 0 5px 8px; }
}
