/* 3 : 0 — Lass den Augenblick gewinnen
   Imported from Claude Design: "3-0 Landingpage.dc.html" */

:root {
  --bg: #F5F2EA;
  --ink: #111111;
  --muted: #8A867C;
  --ink-on-dark: #F5F2EA;
  --rule: 3px;
}

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, "Univers", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  font-weight: 400;
}

a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
}
a:hover { color: #555555; border-bottom-color: #555555; }

[hidden] { display: none !important; }

@keyframes dcFade     { from { opacity: 0 } to { opacity: 1 } }
@keyframes dcSlowFade { from { opacity: 0 } to { opacity: 1 } }
@keyframes dcBlink    { 0%, 55% { opacity: 1 } 56%, 100% { opacity: 0.12 } }
@keyframes dcAtem     { 0%, 100% { opacity: 1 } 50% { opacity: 0.42 } }

/* Für Screenreader da, für das Auge nicht. */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

.page {
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  animation: dcFade 1.4s ease both;
}

/* ---------------------------------------------------------------- desktop */

.desktop-note {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  padding: 40px;
  box-sizing: border-box;
  max-width: 540px;
  margin: 0 auto;
}
.desktop-note__mark { font-weight: 700; font-size: 15px; letter-spacing: -0.01em; }
.desktop-note__head {
  margin: 0;
  font-weight: 700;
  font-size: 38px;
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-wrap: pretty;
}
.desktop-note__body {
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
  max-width: 34ch;
  text-wrap: pretty;
}
.desktop-note__only {
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ----------------------------------------------------------------- shell */

.shell { padding: 0 20px; box-sizing: border-box; }
.column { max-width: 480px; margin: 0 auto; }

.tabular { font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------- die Bildschirme

   Ein Wisch, ein Abschnitt. Der Weißraum entsteht aus der Viewporthöhe, nicht
   aus festen Abständen — damit trägt derselbe Aufbau vom kleinen Telefon bis
   zum großen. Läuft ein Abschnitt doch einmal über, wächst er mit und bleibt
   von Hand durchscrollbar: min-height, nicht height. */

html {
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
}
html::-webkit-scrollbar { display: none; }

.screen {
  min-height: 100vh;
  min-height: 100svh;
  box-sizing: border-box;
  padding: 40px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

/* Der erste Bildschirm trägt die Kopfzeile und beginnt oben. */
.screen--top { justify-content: flex-start; }
.screen--top .screen__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Der letzte schiebt die Fußzeile an den unteren Rand. */
.screen--end { justify-content: space-between; }

/* Kapitelanfänge behalten den Trennstrich des Entwurfs, jetzt als Oberkante
   des Bildschirms statt als eigener Abstand. */
.screen--chapter::before {
  content: "";
  display: block;
  height: var(--rule);
  background: var(--ink);
  margin-bottom: 56px;
}
.screen--chapter-hair::before {
  height: 1px;
  background: rgba(17, 17, 17, 0.25);
}

/* Niedrige Displays: die Polsterung zurücknehmen, bevor etwas anstößt. */
@media (max-height: 700px) {
  .screen { padding: 28px 0; }
  .screen--chapter::before { margin-bottom: 40px; }
}

/* Ein Telefon im Querformat hat zu wenig Höhe für ganze Bildschirme —
   dann lieber wieder durchlaufender Text als eingeklemmter. */
@media (max-height: 520px) {
  html { scroll-snap-type: none; }
  .screen { min-height: 0; padding: 64px 0; }
  .screen--chapter::before { margin-bottom: 40px; }
}

/* ------------------------------------------------------------- typography */

.display-xl {
  margin: 0;
  font-weight: 700;
  font-size: clamp(40px, 11.5vw, 58px);
  line-height: 0.97;
  letter-spacing: -0.045em;
  text-wrap: pretty;
}
.display-lg {
  margin: 0;
  font-weight: 700;
  font-size: clamp(44px, 12.5vw, 64px);
  line-height: 0.92;
  letter-spacing: -0.05em;
}

.lede {
  margin: 0;
  font-weight: 700;
  font-size: clamp(26px, 7.4vw, 36px);
  line-height: 1.14;
  letter-spacing: -0.04em;
  text-wrap: pretty;
}
.lede-sm {
  margin: 0;
  font-weight: 700;
  font-size: clamp(24px, 7vw, 34px);
  line-height: 1.16;
  letter-spacing: -0.035em;
  text-wrap: pretty;
}

.body { margin: 0; font-size: 17px; line-height: 1.85; }
.body--narrow { max-width: 30ch; text-wrap: pretty; }
.note { margin: 0; font-size: 14px; line-height: 1.75; color: var(--muted); text-wrap: pretty; }

.eyebrow {
  margin: 0;
  padding-bottom: 7px;
  border-bottom: var(--rule) solid var(--ink);
  font-weight: 400;
  font-size: 15px;
  line-height: 1;
  letter-spacing: -0.01em;
}

/* stacked one-line-per-thought blocks */
.stanza { display: flex; flex-direction: column; gap: 6px; font-size: 17px; line-height: 1.85; }
.stanza--display {
  gap: 4px;
  font-weight: 700;
  font-size: clamp(28px, 8vw, 38px);
  line-height: 1.14;
  letter-spacing: -0.04em;
}
.stanza--lede {
  gap: 8px;
  font-weight: 700;
  font-size: clamp(24px, 7vw, 34px);
  line-height: 1.16;
  letter-spacing: -0.035em;
}

/* --------------------------------------------------------------- masthead */

.masthead {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 26px 0 7px 0;
  border-bottom: var(--rule) solid var(--ink);
}
.masthead__title {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-weight: 400;
  font-size: 15px;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.masthead__tribune {
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

/* ------------------------------------------------------- digital scoreboard */

.board {
  background: var(--ink);
  color: var(--ink-on-dark);
  border: var(--rule) solid var(--ink);
  padding: 20px 14px 14px 14px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.board__labels {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.01em;
}
.board__display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1.8vw, 18px);
  padding: 6px 0 10px 0;
  max-width: 100%;
  overflow: hidden;
}
.board__colon {
  display: flex;
  flex-direction: column;
  gap: clamp(6px, 2.2vw, 13px);
  animation: dcBlink 2.4s steps(1, end) infinite;
}
/* Solange eine Serverantwort aussteht, blinkt der Doppelpunkt nicht, sondern
   atmet langsam. Kein Fortschritt, keine Ankündigung — nur ein Zeichen, dass
   die Tafel noch beschäftigt ist. */
.board__colon.wartet { animation: dcAtem 3.4s ease-in-out infinite; }
.board__colon span {
  width: clamp(6px, 2.2vw, 13px);
  aspect-ratio: 1;
  background: var(--ink-on-dark);
}
.board__foot { display: flex; flex-direction: column; gap: 11px; }
.board__rules { display: flex; flex-direction: column; gap: 3px; }

/* Ladestand: eine Reihe Punkte, die sich über die Verweildauer füllt.
   Dieselbe Punktsprache wie die Ziffern darüber, nur eine Zeile hoch. */
.board__progress {
  display: grid;
  grid-template-columns: repeat(48, 1fr);
  gap: 1px;
}
.board__progress i {
  aspect-ratio: 1;
  background: rgba(245, 242, 234, 0.10);
  transition: background 420ms linear;
}
.board__progress i.on {
  background: var(--ink-on-dark);
  transition: none;
}

/* Sobald der Zählversuch beginnt, tritt das Band ab — es soll nicht als
   erledigte Aufgabe stehen bleiben. */
.board__progress {
  transition: opacity 420ms ease;
}
.board__progress.verblasst { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .board__progress i { transition: none; }
}
.board__rules i { height: 1px; background: rgba(245, 242, 234, 0.3); }

/* seven-row dot glyphs, filled column by column */
.glyphs { display: flex; gap: clamp(1.2px, 0.5vw, 3px); }
.glyph {
  display: grid;
  grid-template-rows: repeat(7, auto);
  grid-auto-flow: column;
  gap: clamp(1.2px, 0.5vw, 3px);
}
.glyph__dot { width: clamp(5px, 1.8vw, 11px); aspect-ratio: 1; }

/* ------------------------------------------------------------- tally board */

.tally { animation: dcSlowFade 6s ease both; }
.tally__ordinal {
  margin: 0;
  font-weight: 700;
  font-size: clamp(28px, 8vw, 38px);
  line-height: 1.14;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.tally__rows { display: flex; flex-direction: column; gap: 28px; margin-top: 32px; }

.matrix {
  display: grid;
  grid-template-columns: repeat(58, 1fr);
  gap: 1px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.2);
}
.matrix__dot { aspect-ratio: 1; }

/* -------------------------------------------------------- the installation */

.element { display: flex; flex-direction: column; gap: 20px; }
.element__label { display: flex; align-items: baseline; gap: 16px; }
.element__index {
  font-weight: 700;
  font-size: 15px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.element__name { font-weight: 700; font-size: 15px; letter-spacing: -0.01em; }

/* Die analoge Tafel als Grafik — unumbrechbar. */
.tafel { display: block; width: 100%; height: auto; }


/* ------------------------------------------------------------------ claims */

.claim {
  display: flex;
  flex-direction: column;
  font-weight: 400;
  font-size: clamp(26px, 7.4vw, 36px);
  line-height: 1.24;
  letter-spacing: -0.035em;
}
.claim--answer {
  font-weight: 700;
  font-size: clamp(30px, 8.6vw, 42px);
  line-height: 1.2;
  letter-spacing: -0.045em;
}


/* ------------------------------------------------------------------ artist */

/* ------------------------------------------------------------- der Urheber

   Auf der Installationsseite bleibt vom Künstler ein Daumennagel und ein
   Name. Bewusst ohne Unterstreichung und ohne Schaltflächen-Anmutung — es
   soll wie eine Bildunterschrift wirken, nicht wie ein Angebot. Sichtbar
   bleibt es trotzdem für die Tastatur: focus-visible bekommt einen Rahmen. */

.artist {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  color: var(--ink);
  border-bottom: none;
}
.artist:hover { color: var(--muted); border-bottom: none; }
.artist:focus-visible { outline: 2px solid var(--ink); outline-offset: 8px; }

.artist__portrait { display: block; width: 45px; height: auto; }
.artist:hover .artist__portrait { opacity: 0.7; }

.artist__name { font-weight: 700; font-size: 15px; letter-spacing: -0.01em; }

/* ---------------------------------------------------------- die Urheberseite

   Eigene Seite, gleiche Sprache. Das Porträt bleibt klein, die Abschnitts­
   marken sind Wandbeschriftungen, kein Kapitelapparat. */

.vita__portrait { display: block; width: 120px; height: auto; }

.vita { display: flex; flex-direction: column; gap: 24px; font-size: 17px; line-height: 1.85; text-wrap: pretty; }
.vita p { margin: 0; }
.work-image { display: block; width: 100%; height: auto; margin: 8px 0 20px; }
.work-catalogue { display: flex; flex-direction: column; gap: 64px; }
.work-entry { display: flex; flex-direction: column; gap: 14px; padding-left: 20px; border-left: 1px solid rgba(17, 17, 17, 0.28); }
.work-entry p { margin: 0; }
.work-entry__title { font-size: 17px; line-height: 1.5; }
.work-entry__meta { color: var(--muted); font-size: 13px; line-height: 1.55; }
.work-entry__text { font-size: 17px; line-height: 1.85; text-wrap: pretty; }
.work-entry .work-image { margin: 8px 0 0; }

.credit { margin: 0; font-size: 14px; line-height: 1.75; color: var(--muted); }

/* Dient als Link auf der Künstlerseite und als Knopf in den Katalogseiten —
   die Browservorgabe für <button> muss deshalb ganz weg. */
.back {
  align-self: flex-start;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--muted);
  cursor: pointer;
}
.back:hover { color: var(--ink); border-bottom: none; }
.back:focus-visible { outline: 2px solid var(--ink); outline-offset: 6px; }

.blank__second { margin-top: 28px; color: var(--muted); }

/* ------------------------------------------------------------------ coda */

/* ------------------------------------------------------------- die Fußzeile

   Kein Website-Footer, sondern die Beschriftung am Ende einer Ausstellung.
   Dünne Linie, graue Schrift, keine Schaltflächen, keine Symbole. Sie darf
   nie Aufmerksamkeit erzeugen. */

.outro { display: flex; flex-direction: column; gap: 140px; }
/* Auf der Künstlerseite steht über der Linie schon der Rückweg — dort genügt
   weniger Abstand, sonst rutscht die Fußzeile aus dem Bildschirm. */
.outro--eng { gap: 72px; }
.outro__mark {
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.colophon {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid rgba(17, 17, 17, 0.22);
}
.colophon__mark { font-size: 13px; color: var(--muted); }

.colophon__links { display: flex; flex-wrap: wrap; gap: 20px; }
.colophon__links button,
.colophon__link {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
}
.colophon__links button:hover,
.colophon__link:hover { color: var(--ink); }
.colophon__links button:focus-visible,
.colophon__link:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

/* Auf breiteren Displays stellt sich die Zeile nebeneinander. */
@media (min-width: 560px) {
  .colophon { flex-direction: row; align-items: baseline; justify-content: space-between; gap: 32px; }
}

/* ---------------------------------------------------------- die Katalogseiten

   Vollflächig im selben Grund, ohne Rahmen, Schatten oder Fensteroptik —
   sie sollen sich wie weitere Seiten anfühlen, nicht wie Dialoge. */

.sheet {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--bg);
  color: var(--ink);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}
.sheet::-webkit-scrollbar { display: none; }
.sheet::backdrop { background: var(--bg); }

/* stretch, damit die Trennlinien der Abschnittsmarken über die volle
   Spaltenbreite laufen wie auf der Hauptseite. */
.sheet__inner {
  box-sizing: border-box;
  max-width: 480px;
  margin: 0 auto;
  padding: 40px 20px 96px 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.sheet__inner:focus { outline: none; }

.listing { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 17px; line-height: 1.6; color: var(--muted); }
.platzhalter { color: var(--muted); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.92em; }

@keyframes sheetIn  { from { opacity: 0; transform: translateY(18px) } to { opacity: 1; transform: none } }
@keyframes sheetOut { from { opacity: 1; transform: none } to { opacity: 0; transform: translateY(10px) } }

.sheet[open] { animation: sheetIn 420ms cubic-bezier(0.2, 0.6, 0.2, 1) both; }
.sheet[open]::backdrop { animation: dcFade 320ms ease both; }
.sheet.closing { animation: sheetOut 280ms ease both; }

@media (prefers-reduced-motion: reduce) {
  .sheet[open], .sheet[open]::backdrop, .sheet.closing { animation: none; }
}

/* --------------------------------------------------------------- spacing */
/* The design sets vertical rhythm per block rather than from a scale;
   these mirror the exact values from the design source. */

.mt-12  { margin-top: 12px }
.mt-20  { margin-top: 20px }
.mt-32  { margin-top: 32px }
.mt-40  { margin-top: 40px }
.mt-44  { margin-top: 44px }
.mt-52  { margin-top: 52px }
.mt-56  { margin-top: 56px }

/* ------------------------------------------------------------------ motion */

@media (prefers-reduced-motion: reduce) {
  .page, .tally { animation: none; }
  .board__colon { animation: none; }
}
