/* Nordlot Vermessung — Beispiel-Website (erfundener Betrieb), Stil aus MXL-007 */

@font-face {
  font-family: "Nordlot Stencil";
  src: url("../fonts/saira-stencil-one-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: block;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-grotesk-latin-300-normal.woff2") format("woff2");
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-grotesk-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-grotesk-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Martian Mono";
  src: url("../fonts/martian-mono-latin-300-normal.woff2") format("woff2");
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "Martian Mono";
  src: url("../fonts/martian-mono-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --canvas: #010101;
  --ink: #ffffff;
  --ink-2: #a9abaf;
  --line: #313235;
  --line-2: #515254;
  --sky: #94bcef;
  --sky-ink: #010101;
  --sky-ink-2: #1d2a3d;
  --cobalt: #15308a;
  --live: #2ecc71;

  --gutter: clamp(16px, 2.1vw, 30px);
  --f-body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "Martian Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --f-mark: "Nordlot Stencil", "Arial Black", sans-serif;

  --t-meta: 0.8125rem;   /* 13px */
  --t-body: 1.125rem;    /* 18px */
  --t-lead: clamp(1.5rem, 1.1rem + 1.3vw, 2.125rem); /* 24–34px */
  --t-head: clamp(2.25rem, 1.4rem + 3.2vw, 4.5rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--f-body);
  font-weight: 300;
  font-size: var(--t-body);
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
}
::selection { background: var(--sky); color: var(--sky-ink); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 2px; }
.sky :focus-visible { outline-color: var(--sky-ink); }
h1, h2, h3 { font-weight: 300; line-height: 1.05; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
html { scrollbar-color: var(--line-2) var(--canvas); }

.skip-link {
  position: absolute; left: var(--gutter); top: -100px; z-index: 50;
  background: var(--sky); color: var(--sky-ink);
  font: 400 var(--t-meta)/1 var(--f-mono); text-transform: uppercase; letter-spacing: 0.05em;
  padding: 16px 20px; border-radius: 999px; text-decoration: none;
}
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Mono meta voice */
.mono, .meta {
  font-family: var(--f-mono);
  font-weight: 400;
  font-size: var(--t-meta);
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.048em;
}
.dot::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: currentColor; margin-right: 10px; vertical-align: 0.2em; }
.muted { color: var(--ink-2); }

/* ---------- Kopfzeile ---------- */
.top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 18px var(--gutter);
  position: relative;
  z-index: 5;
}
.top__name { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.top__status { display: block; white-space: nowrap; color: var(--ink-2); margin-top: 2px; }
.top__status .live { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ink-2); margin-right: 8px; vertical-align: 0.1em; }
.top__status[data-open="true"] .live { background: var(--live); }
.nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  text-decoration: none; border-radius: 999px;
}
.nav a:hover { text-decoration: underline; }
.nav a[aria-current="page"] { background: var(--ink); color: var(--canvas); }
.top__end { justify-self: end; display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; }

.pill-cta { display: inline-flex; align-items: stretch; gap: 6px; text-decoration: none; color: inherit; }
.pill-cta__label {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px;
  border: 1px solid currentColor; border-radius: 999px;
  font: 400 var(--t-meta)/1 var(--f-mono); text-transform: uppercase; letter-spacing: 0.048em;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}
.pill-cta__arrow {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  border: 1px solid currentColor; border-radius: 50%;
  transition: transform 0.5s var(--ease), background-color 0.4s var(--ease), color 0.4s var(--ease);
}
.pill-cta__arrow svg { width: 16px; height: 16px; }
.pill-cta:hover .pill-cta__label, .pill-cta:hover .pill-cta__arrow { background: var(--ink); color: var(--canvas); }
.sky .pill-cta:hover .pill-cta__label, .sky .pill-cta:hover .pill-cta__arrow { background: var(--sky-ink); color: var(--sky); }
.pill-cta:hover .pill-cta__arrow { transform: rotate(-45deg); }

/* ---------- Wortmarke + Messfeld ---------- */
.mark-wrap { container-type: inline-size; padding: 0 var(--gutter); }
.wordmark {
  display: block;
  font-family: var(--f-mark);
  font-weight: 400;
  font-size: calc(100cqi / 4.47);
  line-height: 0.82;
  letter-spacing: -0.02em;
  white-space: nowrap;
  margin: 0;
  user-select: none;
}
.field {
  position: relative;
  min-height: calc(100svh - 80px);
  display: grid;
  grid-template-rows: 1fr auto auto auto;
  cursor: crosshair;
  touch-action: manipulation;
}
.field__mark { align-self: end; padding-top: 6vh; }
.field__cross {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.field.is-aiming .field__cross { opacity: 1; }
.field__cross::before, .field__cross::after { content: ""; position: absolute; background: var(--ink); }
.field__cross::before { left: 0; right: 0; top: var(--y, 50%); height: 1px; opacity: 0.55; }
.field__cross::after { top: 0; bottom: 0; left: var(--x, 50%); width: 1px; opacity: 0.55; }
.field__reticle {
  position: absolute; left: var(--x, 50%); top: var(--y, 50%); width: 56px; height: 56px;
  margin: -28px 0 0 -28px; border: 1px solid var(--ink); border-radius: 50%;
}
.field__pins { position: absolute; inset: 0; pointer-events: none; }
.pin {
  position: absolute; width: 13px; height: 13px; margin: -6px 0 0 -6px;
  border: 1px solid var(--ink); border-radius: 50%; background: var(--canvas);
}
.pin::after { content: attr(data-n); position: absolute; left: 18px; top: -4px; font: 400 12px/1 var(--f-mono); letter-spacing: 0.04em; white-space: nowrap; }

.chain { padding: 18px var(--gutter) 0; }
.chain { color: var(--ink); --tick: var(--ink-2); }
.chain__line { position: relative; height: 13px; border-left: 1px solid currentColor; border-right: 1px solid currentColor; }
.chain__line::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: currentColor; }
.chain__line span { position: absolute; top: 0; width: 1px; height: 13px; background: var(--tick); }
.chain__label { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; color: var(--tick); }
.sky .chain { color: var(--sky-ink); --tick: var(--sky-ink-2); padding: 14px var(--gutter) 22px; }

.readout {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: 16px 24px;
  align-items: end;
  padding: 26px var(--gutter) 30px;
}
.readout dl { margin: 0; }
.readout dt { color: var(--ink-2); }
.readout dd { margin: 4px 0 0; font-family: var(--f-mono); font-size: clamp(0.8125rem, 0.7rem + 0.4vw, 1.0625rem); letter-spacing: 0.02em; }
.readout__hint { grid-column: 1 / -1; color: var(--ink-2); margin: 0; }

/* ---------- Abschnitte ---------- */
.section { padding: clamp(96px, 12vw, 180px) var(--gutter) 0; }
.station {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px;
  border-top: 1px solid var(--line-2); padding-top: 12px; margin-bottom: clamp(36px, 5vw, 72px);
}
.station .coord { color: var(--ink-2); }
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 30px; }
.split__a { grid-column: 1 / span 5; }
.split__b { grid-column: 6 / span 7; }
.lead { font-size: var(--t-lead); line-height: 1.25; font-weight: 300; letter-spacing: -0.01em; max-width: 30ch; }
.lead--wide { max-width: 36ch; }
.h2 { font-size: var(--t-head); max-width: 16ch; }
.prose { max-width: 62ch; color: var(--ink-2); }
.prose strong { color: var(--ink); font-weight: 400; }

/* Anlass-Finder */
.finder { margin-top: clamp(40px, 5vw, 64px); }
.finder fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.finder legend { padding: 0; margin-bottom: 18px; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px;
  border: 1px solid var(--line-2); border-radius: 999px; font-size: 1.0625rem; font-weight: 400;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.choice input:hover + span { border-color: var(--ink); }
.choice input:checked + span { background: var(--ink); color: var(--canvas); border-color: var(--ink); }
.choice input:focus-visible + span { outline: 2px solid var(--sky); outline-offset: 3px; }

.results { margin-top: 40px; }
.result { border-top: 1px solid var(--line-2); padding: 28px 0 40px; }
.js .result { display: none; }
.js .result.is-active { display: block; animation: settle 0.6s var(--ease); }
@keyframes settle { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.result__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 30px; align-items: baseline; }
.result__head .meta { grid-column: 1 / span 5; color: var(--ink-2); }
.result__head h3 { grid-column: 1 / -1; font-size: clamp(1.875rem, 1.2rem + 2.4vw, 3.25rem); }
.result__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 30px; margin-top: 28px; }
.result__grid > div { grid-column: span 4; border-top: 1px solid var(--line); padding-top: 12px; padding-right: 12px; }
.result__grid dt { color: var(--ink-2); margin-bottom: 8px; }
.result__grid dd { margin: 0; font-size: 1.0625rem; }
.result__grid ul { margin: 0; padding-left: 1.1em; }
.result__grid li { margin-bottom: 4px; }
.result__foot { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 30px; margin-top: 28px; }
.result__foot > * { grid-column: 1 / -1; }

/* Fallstudien versetzt */
.cases { list-style: none; margin: 0; padding: 0; }
.case { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 30px; margin-bottom: clamp(96px, 14vw, 220px); }
.case__fig { grid-column: 1 / span 7; margin: 0; position: relative; }
.case:nth-child(even) .case__fig { grid-column: 6 / span 7; grid-row: 1; }
.case__body { grid-column: 9 / span 4; align-self: end; }
.case:nth-child(even) .case__body { grid-column: 1 / span 4; grid-row: 1; }
.case__plan { aspect-ratio: 4 / 3; border: 1px solid var(--line); background: transparent; padding: 14px; }
.case__plan svg { width: 100%; height: 100%; }
.case__body h3 { font-size: clamp(1.625rem, 1.2rem + 1.4vw, 2.375rem); margin: 14px 0 16px; }
.case__body p { color: var(--ink-2); }
.tag {
  display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px;
  border-radius: 999px; background: var(--ink); color: var(--canvas);
  font: 400 12px/1 var(--f-mono); text-transform: uppercase; letter-spacing: 0.05em;
}
.tag--line { background: transparent; color: var(--ink); border: 1px solid var(--line-2); }
.case__facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.view {
  position: absolute; right: 18px; bottom: 18px; width: 92px; height: 92px; border-radius: 50%;
  background: var(--cobalt); color: var(--ink); display: grid; place-items: center; text-decoration: none;
  font: 400 12px/1.2 var(--f-mono); text-transform: uppercase; letter-spacing: 0.05em; text-align: center;
  transition: transform 0.5s var(--ease);
}
.view:hover { transform: scale(1.08); }

/* Leistungsliste */
.services { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.service { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 30px; padding: 22px 0 24px; border-bottom: 1px solid var(--line-2); align-items: baseline; }
.service__n { grid-column: 1 / span 2; color: var(--ink-2); }
.service__name { grid-column: 3 / span 5; font-size: clamp(1.5rem, 1.1rem + 1.3vw, 2.125rem); line-height: 1.25; font-weight: 300; }
.service__what { grid-column: 8 / span 5; color: var(--ink-2); margin: 0; }
.service a { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.service a:hover { text-decoration: underline; }

/* Ablauf */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 56px 30px; }
.step { border-top: 1px solid var(--line-2); padding-top: 14px; }
.step__n { color: var(--ink-2); }
.step h3 { font-size: clamp(1.375rem, 1.1rem + 0.8vw, 1.75rem); margin: 28px 0 12px; }
.step p { color: var(--ink-2); font-size: 1.0625rem; }

/* Detail-Seiten */
.page-head { padding: clamp(64px, 9vw, 140px) var(--gutter) 0; }
.page-head h1 { font-size: clamp(2.75rem, 1.6rem + 5vw, 6rem); max-width: 14ch; letter-spacing: -0.03em; }
.page-head .lead { margin-top: 32px; color: var(--ink-2); }
.detail { border-top: 1px solid var(--line-2); padding: 28px 0 64px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 30px; scroll-margin-top: 24px; }
.detail__n { grid-column: 1 / span 2; color: var(--ink-2); }
.detail__main { grid-column: 3 / span 6; }
.detail__main h2 { font-size: clamp(1.875rem, 1.3rem + 2vw, 3rem); margin-bottom: 20px; }
.detail__main p { color: var(--ink-2); max-width: 58ch; }
.detail__facts { grid-column: 9 / span 4; margin: 0; }
.detail__facts div { border-top: 1px solid var(--line); padding: 10px 0 14px; }
.detail__facts dt { color: var(--ink-2); }
.detail__facts dd { margin: 4px 0 0; font-size: 1.0625rem; }

.checklist { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line-2); }
.checklist li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.checklist svg { width: 22px; height: 22px; margin-top: 3px; }

.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center;
  min-height: 64px; padding: 14px 0; font-size: clamp(1.25rem, 1rem + 0.8vw, 1.625rem); font-weight: 300;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 50%; display: grid; place-items: center; transition: transform 0.4s var(--ease); }
.faq details[open] summary .plus { transform: rotate(45deg); }
.faq details > div { padding: 0 0 26px; max-width: 62ch; color: var(--ink-2); }

/* Formular (Demo, ohne Ziel) */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 30px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; margin-bottom: 10px; color: var(--ink-2); }
.form input, .form select, .form textarea {
  width: 100%; min-height: 52px; padding: 12px 0; background: transparent; color: var(--ink);
  border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0;
  font: 300 1.25rem/1.4 var(--f-body); caret-color: var(--sky);
}
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 14px) 24px, calc(100% - 8px) 24px; background-size: 6px 6px; background-repeat: no-repeat; }
.form select option { background: var(--canvas); }
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-bottom-color: var(--sky); box-shadow: 0 1px 0 var(--sky); }
.form input::placeholder, .form textarea::placeholder { color: #8a8c90; }
.form .hint { margin-top: 8px; color: var(--ink-2); font-size: 0.9375rem; }
.form [aria-invalid="true"] { border-bottom-color: #ff8a8a; }
.form .error { color: #ff9c9c; font-size: 0.9375rem; margin-top: 8px; }
.form button { all: unset; cursor: pointer; }
.form-status { grid-column: 1 / -1; border: 1px solid var(--line-2); border-radius: 8px; padding: 18px 20px; }
.form-status[hidden] { display: none; }

/* Rechtstexte */
.legal { max-width: 70ch; }
.legal h2 { font-size: 1.75rem; margin: 48px 0 14px; }
.legal p, .legal li { color: var(--ink-2); }
.demo-flag { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--line-2); border-radius: 999px; padding: 10px 16px; margin-top: 28px; }

/* ---------- Himmelblauer Schluss ---------- */
.sky {
  background: var(--sky); color: var(--sky-ink);
  margin-top: clamp(120px, 14vw, 220px);
  min-height: 100svh;
  display: flex; flex-direction: column;
}
.sky ::selection { background: var(--sky-ink); color: var(--sky); }
.sky__inner { padding: clamp(56px, 7vw, 96px) var(--gutter) 0; flex: 1; display: flex; flex-direction: column; }
.sky__call { font-size: clamp(2rem, 1rem + 4.4vw, 5.25rem); line-height: 1; font-weight: 300; letter-spacing: -0.03em; margin: 0 0 12px; }
.sky__call a { text-decoration: none; display: inline-block; min-height: 44px; border-bottom: 1px solid var(--sky-ink); padding-bottom: 6px; }
.sky__call a:hover { border-bottom-width: 3px; padding-bottom: 4px; }
.sky__meta { display: flex; flex-wrap: wrap; gap: 8px 40px; margin: 22px 0 0; color: var(--sky-ink-2); }
.shapes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 48px); margin: clamp(48px, 6vw, 90px) 0; }
.shape {
  aspect-ratio: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px;
  text-decoration: none; color: var(--sky-ink); border: 1px solid var(--sky-ink); border-radius: 50%;
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease);
  text-align: center; padding: 8%;
}
.shape--square { border-radius: 8px; background: var(--sky-ink); color: var(--sky); }
.shape__big { font-size: clamp(2rem, 1rem + 4vw, 5rem); line-height: 1; font-weight: 300; letter-spacing: -0.03em; }
.shape__small { font: 400 var(--t-meta)/1.4 var(--f-mono); text-transform: uppercase; letter-spacing: 0.048em; }
a.shape:hover { background: var(--sky-ink); color: var(--sky); }
a.shape--square:hover { background: transparent; color: var(--sky-ink); }
.sky .mark-wrap { padding-bottom: 0; margin-top: auto; }
.sky .wordmark { line-height: 0.86; }
.foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px;
  padding: 20px var(--gutter) 22px; border-top: 1px solid var(--sky-ink); position: relative; z-index: 1; background: var(--sky);
}
.foot ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0; padding: 0; }
.foot a { display: inline-flex; min-height: 44px; align-items: center; }
.foot p { margin: 0; display: flex; align-items: center; min-height: 44px; }

/* Einblenden beim Scrollen: sichtbar ist der Normalzustand */
.reveal { transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.is-pending { opacity: 0; transform: translateY(24px); }

/* ---------- Responsiv ---------- */
@media (max-width: 1100px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .readout { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .readout .pill-cta { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 860px) {
  .top { grid-template-columns: 1fr auto; }
  .menu-toggle {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
    background: transparent; color: var(--ink); border: 1px solid var(--ink); border-radius: 999px;
    font: 400 var(--t-meta)/1 var(--f-mono); text-transform: uppercase; letter-spacing: 0.048em; cursor: pointer;
  }
  .top__end .pill-cta { display: none; }
  .top > div:first-child { min-width: 0; }
  .top__status { overflow: hidden; text-overflow: ellipsis; }
  .menu-toggle { flex: none; }
  .nav { grid-column: 1 / -1; grid-row: 2; }
  .js .nav { display: none; }
  .js .nav.is-open { display: block; }
  .nav ul { flex-direction: column; gap: 0; border-top: 1px solid var(--line-2); }
  .nav li { border-bottom: 1px solid var(--line-2); }
  .nav a { width: 100%; min-height: 56px; padding: 0; font-size: 1.5rem; font-family: var(--f-body); text-transform: none; letter-spacing: 0; border-radius: 0; }
  .nav a[aria-current="page"] { background: transparent; color: var(--ink); text-decoration: underline; }
  .split, .case, .service, .result__head, .result__grid, .result__foot, .detail { grid-template-columns: minmax(0, 1fr); }
  .split > *, .case > *, .service > *, .result__head > *, .result__grid > *, .result__foot > *, .detail > * { grid-column: 1 / -1 !important; grid-row: auto !important; }
  .split__a { margin-bottom: 28px; }
  .case__body { margin-top: 24px; }
  .service__name { margin: 8px 0 6px; }
  .result__grid { gap: 22px; }
  .detail__main { margin: 12px 0 24px; }
  .form { grid-template-columns: minmax(0, 1fr); }
  .view { width: 76px; height: 76px; right: 12px; bottom: 12px; font-size: 12px; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .readout { gap: 16px; }
  .field { min-height: auto; }
  .field__mark { padding-top: 13vh; }
  .field__cross::before, .field__cross::after { opacity: 0.35; }
  .chain__label { flex-direction: column; gap: 2px; }
  .shapes { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .shapes > :nth-child(3) { grid-column: 1 / -1; width: 58%; justify-self: center; }
  .shape__small { font-size: 12px; }
}
@media (pointer: coarse) { .field { cursor: default; } }

.case__plan text { font-size: 9.5px; }
@media (max-width: 860px) { .case__plan text { font-size: 13.5px; } }

/* Längere Hinweise in Mono ohne Versalien: besser lesbar */
.mono-plain { text-transform: none; letter-spacing: 0.01em; }
