/* ==========================================================================
   Digital Degu - Product Security Lab
   Ein Stylesheet, keine Frameworks, keine externen Quellen.
   ========================================================================== */

/* --- Schriften ----------------------------------------------------------- */

@font-face {
  font-family: "Archivo Exp";
  src: url("fonts/Archivo-Exp-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo Exp";
  src: url("fonts/Archivo-Exp-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fira Sans";
  src: url("fonts/FiraSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fira Sans";
  src: url("fonts/FiraSans-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fira Mono";
  src: url("fonts/FiraMono-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fira Mono";
  src: url("fonts/FiraMono-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* --- Tokens -------------------------------------------------------------- */

:root {
  /* Neutrale Graustufen. Die Seite liest sich schwarzweiss; die einzige
     Farbe im Haus markiert den Fund im Hexdump und sonst nichts. */
  --paper: #efefed;
  --paper-hi: #ffffff;
  --ink: #101112;
  --ink-2: #565758;
  --mat: #17191b;
  --line: #d3d3d0;
  --line-mat: #33363a;

  /* Auf Matte: Textstufen */
  --on-mat: #b9bbbd;
  --on-mat-2: #8a8c8e;
  --on-mat-hi: #c6c8ca;

  /* Der einzige Akzent, ausschliesslich fuer den Fund im Hexdump */
  --accent: #b8862f;
  --accent-lit: #e0ae60;

  --display: "Archivo Exp", "DejaVu Sans Condensed", system-ui, sans-serif;
  --body: "Fira Sans", "Noto Sans", system-ui, sans-serif;
  --mono: "Fira Mono", "DejaVu Sans Mono", ui-monospace, monospace;

  --step--1: 0.8125rem;
  --step-0: 1.0625rem;
  --step-1: 1.1875rem;
  --step-2: clamp(1.375rem, 1rem + 1.4vw, 1.875rem);
  --step-3: clamp(1.75rem, 1.1rem + 2.6vw, 2.625rem);
  --step-4: clamp(2.25rem, 1.1rem + 4.8vw, 4.25rem);

  --gap: clamp(1.25rem, 4vw, 3rem);
  --rail-w: 7.5rem;
  --measure: 66ch;
}

/* --- Grundlagen ---------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.65;
  font-weight: 400;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.012em;
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: var(--step-4);
}
h2 {
  font-size: var(--step-3);
}
h3 {
  font-size: var(--step-2);
  letter-spacing: -0.005em;
}

p {
  margin: 0 0 1em;
  max-width: var(--measure);
}

a {
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

img,
svg {
  max-width: 100%;
}

/* Ohne height:auto verzerrt ein per CSS begrenztes Bild, sobald width und
   height im Markup stehen. */
img {
  height: auto;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 1px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1.25rem;
  z-index: 20;
}
.skip:focus {
  left: 0.5rem;
  top: 0.5rem;
}

/* --- Layout -------------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: 76rem;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3.5rem);
}

/* Abschnitt mit Schiene links: die durchlaufende Kennung eines Pruefberichts */
.sec {
  display: grid;
  grid-template-columns: var(--rail-w) minmax(0, 1fr);
  gap: var(--gap);
  padding-block: clamp(3rem, 7vw, 5.5rem);
  border-top: 1px solid var(--line);
}

.sec--first {
  border-top: 0;
}

.rail {
  font-family: var(--mono);
  font-size: var(--step--1);
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink-2);
  letter-spacing: 0.06em;
}

.rail__id {
  color: var(--ink);
  display: block;
}

.rail__label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.6875rem;
  margin-top: 0.35rem;
}

.lede {
  font-size: var(--step-1);
  color: var(--ink-2);
  max-width: 58ch;
  margin-top: 1rem;
}

/* --- Kopf ---------------------------------------------------------------- */

.masthead {
  border-bottom: 1px solid var(--line);
}

.masthead__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-block: 1.125rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand__logo {
  width: clamp(5.5rem, 12vw, 6.75rem);
  height: auto;
  display: block;
  flex: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.5rem;
  font-family: var(--mono);
  font-size: var(--step--1);
}

.nav a {
  color: var(--ink-2);
  text-decoration: none;
  padding-block: 0.25rem;
  border-bottom: 2px solid transparent;
}

.nav a:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

/* --- Hero ---------------------------------------------------------------- */

.hero {
  padding-block: clamp(2.75rem, 7vw, 5rem) clamp(2.5rem, 6vw, 4rem);
}

.eyebrow {
  font-family: var(--mono);
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-2);
  margin: 0 0 1.25rem;
}

.hero__title {
  max-width: 18ch;
}

.hero__lede {
  margin-top: 1.5rem;
  font-size: var(--step-1);
  max-width: 54ch;
}

.hero__time {
  font-weight: 500;
  color: var(--ink);
  border-bottom: 2px solid var(--ink);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 2rem;
}

.btn {
  display: inline-block;
  font-family: var(--mono);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 0.8rem 1.4rem;
  text-decoration: none;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper-hi);
  transition: background 0.15s ease, color 0.15s ease;
}

.btn:hover {
  background: var(--mat);
  border-color: var(--mat);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn--ghost:hover {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

/* --- Signatur: der Hexdump ----------------------------------------------- */

.dump {
  margin: clamp(2.25rem, 5vw, 3.5rem) 0 0;
  background: var(--mat);
  color: var(--paper);
  padding: clamp(1.25rem, 3vw, 2rem);
}

.dump__head {
  font-family: var(--mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--on-mat-2);
  margin: 0 0 1.1rem;
  max-width: none;
}

.dump__body {
  overflow-x: auto;
  padding-bottom: 0.35rem;
}

.dump__row {
  font-family: var(--mono);
  font-size: clamp(0.6875rem, 1.65vw, 0.875rem);
  line-height: 1.85;
  white-space: pre;
  display: flex;
  gap: 1.5em;
}

.dump__off {
  color: #86888a;
}

.dump__hex {
  color: var(--on-mat-hi);
}

.dump__txt {
  color: var(--on-mat-hi);
}

.dump mark {
  background: transparent;
  color: var(--accent-lit);
  font-weight: 500;
  box-shadow: inset 0 -1px 0 0 var(--accent);
}

.dump__note {
  margin: 1.35rem 0 0;
  border-top: 1px solid var(--line-mat);
  padding-top: 1.1rem;
  color: var(--on-mat);
  font-size: 0.9375rem;
  max-width: 62ch;
}

.dump__note b {
  color: var(--paper-hi);
  font-weight: 500;
}

.dump__note small {
  display: block;
  margin-top: 0.5rem;
  font-family: var(--mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--on-mat-2);
}

/* Ein Bewegungsmoment: die ASCII-Spalte loest sich einmal auf. */
.reveal {
  position: relative;
  display: inline-block;
}

.reveal__mask {
  position: absolute;
  inset: 0;
  background: var(--mat);
  color: #5e6062;
  animation: dissolve 0.5s ease-out 0.55s forwards;
}

@keyframes dissolve {
  to {
    opacity: 0;
  }
}

/* --- Abgrenzung ---------------------------------------------------------- */

.notice {
  border-left: 4px solid var(--ink);
  background: var(--paper-hi);
  padding: clamp(1.25rem, 3vw, 1.75rem) clamp(1.25rem, 3vw, 2rem);
  max-width: 52rem;
}

.notice p:last-child {
  margin-bottom: 0;
}

.notice strong {
  font-weight: 500;
}

/* --- Leistungskarten ----------------------------------------------------- */

.cards {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr));
  margin-top: 2.25rem;
}

.card {
  background: var(--paper-hi);
  border: 1px solid var(--line);
  padding: clamp(1.35rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
}

.card__kind {
  font-family: var(--mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ink-2);
  margin: 0 0 0.7rem;
}

.card__title {
  margin-bottom: 0.85rem;
}

.card__more {
  margin-top: auto;
  padding-top: 1.25rem;
  font-family: var(--mono);
  font-size: var(--step--1);
}

/* Merkmalslisten: Haken sind Marketing, hier zaehlt der Pruefpunkt */
.checks {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  max-width: 56rem;
}

.checks li {
  padding-left: 1.4rem;
  position: relative;
  margin-bottom: 0.55rem;
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 0.6rem;
  height: 1px;
  background: var(--ink);
}

/* --- Ablauf: der Zeitbalken ---------------------------------------------- */

.flow {
  list-style: none;
  margin: 2.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 2px;
  /* Die Breiten bilden den Kalenderverlauf ab: die beiden Kundentermine sind
     kurz, die Laborphase laeuft dazwischen. Nicht massstabsgetreu, aber in der
     richtigen Groessenordnung - und breit genug, dass der Text lesbar bleibt. */
  grid-template-columns: 1.25fr 2.3fr 1.35fr;
}

.flow__step {
  background: var(--paper-hi);
  border-top: 3px solid var(--line);
  padding: 1.1rem 1.15rem 1.35rem;
}

.flow__step--yours {
  border-top-color: var(--ink);
}

.flow__step--ours {
  background: var(--mat);
  color: var(--paper);
  border-top-color: var(--line-mat);
}

.flow__time {
  font-family: var(--mono);
  font-size: var(--step--1);
  font-weight: 500;
  display: block;
  margin-bottom: 0.5rem;
  color: var(--ink-2);
}

.flow__step--ours .flow__time {
  color: var(--on-mat);
}

.flow__name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: -0.005em;
  display: block;
  margin-bottom: 0.35rem;
}

.flow__desc {
  font-size: 0.9375rem;
  color: var(--ink-2);
  margin: 0;
}

.flow__step--ours .flow__desc {
  color: var(--on-mat);
}

/* Skala nur dort, wo es echte Zahlen gibt */
.flow__ticks {
  display: block;
  height: 6px;
  margin-bottom: 0.7rem;
  background-image: linear-gradient(90deg, var(--ink) 1px, transparent 1px);
  background-size: 12px 6px;
  opacity: 0.55;
}

.flow__sum {
  margin: 1.5rem 0 0;
  font-size: var(--step-1);
}

.flow__sum b {
  font-weight: 500;
  border-bottom: 2px solid var(--ink);
}

/* --- Weitere Leistungen -------------------------------------------------- */

.defs {
  margin: 2rem 0 0;
  display: grid;
  gap: 0;
}

.defs__row {
  display: grid;
  grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
  gap: 0.35rem var(--gap);
  padding-block: 1.15rem;
  border-top: 1px solid var(--line);
}

.defs__row:last-child {
  border-bottom: 1px solid var(--line);
}

.defs__term {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: -0.005em;
}

.defs__desc {
  margin: 0;
  color: var(--ink-2);
}

/* Fundstellenangabe unter dem Begriff, z. B. "Anhang I, Teil II" */
.defs__term small {
  display: block;
  font-family: var(--mono);
  font-weight: 400;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-top: 0.3rem;
}

/* --- Qualifikationen ----------------------------------------------------- */

.creds {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  max-width: 44rem;
}

.creds li {
  display: grid;
  grid-template-columns: minmax(0, 11rem) minmax(0, 1fr);
  gap: 0.2rem 1.5rem;
  padding-block: 0.85rem;
  border-top: 1px solid var(--line);
}

.creds li:last-child {
  border-bottom: 1px solid var(--line);
}

.creds b {
  font-family: var(--mono);
  font-weight: 500;
  font-size: var(--step--1);
  letter-spacing: 0.04em;
  color: var(--ink);
}

/* --- Kontakt ------------------------------------------------------------- */

.mailto {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.375rem, 0.9rem + 2vw, 2.25rem);
  letter-spacing: -0.01em;
  display: inline-block;
  margin: 1.5rem 0 0;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 3px solid var(--ink);
  overflow-wrap: anywhere;
}

.mailto:hover {
  color: var(--ink-2);
}

.form {
  margin-top: 2.5rem;
  max-width: 34rem;
}

.field {
  margin-bottom: 1.35rem;
}

.field > label {
  display: block;
  font-family: var(--mono);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 0.45rem;
}

.field__hint {
  display: block;
  font-family: var(--body);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--ink-2);
  margin-top: 0.15rem;
}

.input {
  width: 100%;
  font-family: var(--body);
  font-size: var(--step-0);
  color: var(--ink);
  background: var(--paper-hi);
  border: 1px solid var(--line);
  padding: 0.65rem 0.8rem;
}

.input:hover {
  border-color: var(--ink-2);
}

textarea.input {
  resize: vertical;
  min-height: 8rem;
  line-height: 1.55;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.fineprint {
  font-size: 0.9375rem;
  color: var(--ink-2);
}

/* --- Ergebnisseite des Formulars ----------------------------------------- */

.result {
  border-left: 4px solid var(--ink);
  background: var(--paper-hi);
  padding: clamp(1.25rem, 3vw, 2rem);
  max-width: 46rem;
}

.result--error {
  border-left-color: #9a3324;
}

/* --- Fussbereich --------------------------------------------------------- */

.foot {
  background: var(--mat);
  color: var(--on-mat);
  margin-top: clamp(3rem, 7vw, 5rem);
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
  font-size: 0.9375rem;
}

.foot a {
  color: var(--paper-hi);
}

/* Auf dunklem Grund muss der Fokusrahmen hell sein */
.foot :focus-visible,
.dump :focus-visible {
  outline-color: var(--paper-hi);
}

.foot__cols {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.foot__title {
  font-family: var(--mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--on-mat-2);
  margin: 0 0 0.85rem;
}

.foot__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.foot__list li {
  margin-bottom: 0.4rem;
}

.foot__logo {
  width: 8.5rem;
  height: auto;
  display: block;
  margin-bottom: 1.1rem;
}

.foot__legacy {
  border-top: 1px solid var(--line-mat);
  margin-top: 2.25rem;
  padding-top: 1.35rem;
  font-size: 0.875rem;
  color: var(--on-mat-2);
}

.foot__legacy p {
  max-width: none;
  margin: 0;
}

/* --- Textseiten (Impressum, Datenschutz) --------------------------------- */

.prose {
  max-width: var(--measure);
}

.prose h2 {
  font-size: var(--step-2);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose ul {
  padding-left: 1.1rem;
  max-width: var(--measure);
}

.prose li {
  margin-bottom: 0.35rem;
}


/* --- Haeufige Fragen: nativ aufklappbar, ohne JavaScript ----------------- */

.faq {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  max-width: 52rem;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  padding-block: 1.15rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: -0.005em;
  display: flex;
  gap: 1.5rem;
  align-items: baseline;
  justify-content: space-between;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-family: var(--mono);
  font-weight: 400;
  color: var(--ink-2);
  flex: none;
}

.faq details[open] summary::after {
  content: "\2013";
}

.faq__body {
  padding-bottom: 1.3rem;
  color: var(--ink-2);
}

.faq__body p:last-child {
  margin-bottom: 0;
}

/* --- Produktbilder mit Vergroesserung ------------------------------------ */
/* Die Vergroesserung laeuft ueber :target. Kein JavaScript, damit die
   Content-Security-Policy (script-src 'none') unangetastet bleibt. Der
   Zurueck-Knopf des Browsers schliesst die Ansicht ebenfalls. */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 1.5rem 1.25rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.shot {
  margin: 0;
}

.shot__link {
  display: block;
  position: relative;
  border: 1px solid var(--line);
  background: var(--paper-hi);
  overflow: hidden;
}

.shot__link img {
  display: block;
  width: 100%;
  /* Die Vorlagen sind quadratisch bis 1,1 - ein quadratischer Ausschnitt
     schneidet daher fast nichts weg. */
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.shot__link:hover,
.shot__link:focus-visible {
  border-color: var(--ink);
}

.shot__link:hover img,
.shot__link:focus-visible img {
  transform: scale(1.03);
}

/* Sichtbarer Hinweis, dass sich das Bild vergroessern laesst - auch auf
   Touchgeraeten, wo es keinen Hover-Zustand gibt. */
.shot__zoom {
  position: absolute;
  right: 0;
  bottom: 0;
  font-family: var(--mono);
  font-size: 0.75rem;
  line-height: 1;
  padding: 0.45rem 0.6rem;
  background: var(--paper-hi);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  color: var(--ink-2);
}

.shot__link:hover .shot__zoom,
.shot__link:focus-visible .shot__zoom {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper-hi);
}

.shot figcaption {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  line-height: 1.5;
  color: var(--ink-2);
  margin-top: 0.6rem;
}


/* --- Einzelbild ----------------------------------------------------------- */
/* Ohne festes Seitenverhaeltnis: das Bild behaelt seine eigenen Proportionen
   und wird nicht ueber seine Aufloesung hinaus hochskaliert. */

.photo {
  margin: 2rem 0 0;
  max-width: 32rem;
}

.photo img {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper-hi);
}

.photo figcaption {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  line-height: 1.5;
  color: var(--ink-2);
  margin-top: 0.6rem;
}

/* --- Vergroesserte Ansicht ------------------------------------------------ */

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 30;
  /* Deckend statt halbtransparent: bei 95 % schimmerte die helle Seite noch
     durch und machte die Ansicht unruhig. */
  background: var(--mat);
  padding: clamp(0.9rem, 3vw, 2.5rem);
}

.lightbox:target {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 1.1rem;
}

/* Klick neben das Bild schliesst ebenfalls */
.lightbox__backdrop {
  position: absolute;
  inset: 0;
}

.lightbox__bar,
.lightbox__nav {
  position: relative;
  font-family: var(--mono);
  font-size: var(--step--1);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.lightbox__bar {
  justify-content: space-between;
}

.lightbox__nav {
  justify-content: center;
}

.lightbox__count {
  color: var(--on-mat-2);
  letter-spacing: 0.1em;
}

.lightbox a {
  color: var(--paper-hi);
}

.lightbox :focus-visible {
  outline-color: var(--paper-hi);
}

.lightbox__figure {
  position: relative;
  margin: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.lightbox__figure img {
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  background: var(--paper-hi);
}

.lightbox__figure figcaption {
  color: var(--on-mat);
  font-size: 0.9375rem;
  text-align: center;
  max-width: 52ch;
}

/* --- Preisangabe (nur Bestandsleistungen mit festem Preis) --------------- */

.price {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.25rem, 1.2rem + 3.4vw, 3.5rem);
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 1.75rem 0 0;
  max-width: none;
}

.price small {
  display: block;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-top: 0.85rem;
  line-height: 1.6;
}

/* --- Weitere Formularfelder ---------------------------------------------- */

select.input {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%),
    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 1.15rem) 1.15rem, calc(100% - 0.8rem) 1.15rem;
  background-size: 0.35rem 0.35rem, 0.35rem 0.35rem;
  background-repeat: no-repeat;
  padding-right: 2.5rem;
}

.input[type="file"] {
  padding: 0.5rem;
  font-size: 0.9375rem;
}

.input[type="file"] + .input[type="file"] {
  margin-top: 0.5rem;
}

/* --- Abstandshelfer ------------------------------------------------------- */
/* Statt style="margin-top: ..." im HTML: die Content-Security-Policy kommt so
   ohne 'unsafe-inline' fuer Styles aus. */

.u-mt-xs {
  margin-top: 0.5rem;
}
.u-mt-s {
  margin-top: 0.9rem;
}
.u-mt-m {
  margin-top: 1.5rem;
}
.u-mt-l {
  margin-top: 1.75rem;
}
.u-mt-gap {
  margin-top: var(--gap);
}

/* --- Enger ---------------------------------------------------------------- */

@media (max-width: 62rem) {
  .flow {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .defs__row,
  .creds li {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 46rem) {
  :root {
    --rail-w: 0;
  }
  .sec {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .rail {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
  }
  .rail__label {
    margin-top: 0;
  }
  .dump__row {
    gap: 1.1em;
  }
}

/* --- Bewegungsarm --------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .reveal__mask {
    display: none;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* --- Druck ---------------------------------------------------------------- */

@media print {
  .masthead,
  .nav,
  .actions {
    display: none;
  }
  body {
    background: #fff;
    color: #000;
  }
}
