/* Time in Scale – Gestaltung „Archiv“: schwarz und silbergrau wie das Logo,
   Karteikarten in Schreibmaschinenschrift, das Maßstab-Lineal als Leitmotiv.
   Verbindliche Beschreibung: DESIGN.md */

/* ---------- Schriften (lokal, SIL Open Font License) ---------- */
@font-face { font-family: "EB Garamond"; src: url("../assets/fonts/eb-garamond-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url("../assets/fonts/eb-garamond-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url("../assets/fonts/eb-garamond-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Courier Prime"; src: url("../assets/fonts/courier-prime-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Courier Prime"; src: url("../assets/fonts/courier-prime-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* ---------- Farben und Maße ---------- */
:root {
  /* Flächen, vom Logo-Schwarz aufwärts */
  --schwarz: #0b0b0c;        /* Seitengrund, wie der Kreis im Logo */
  --tiefe: #111113;          /* Bildflächen, Leuchtkasten-Bühne */
  --karton: #18181a;         /* Karteikarten, abgesetzte Flächen */
  --karton-hell: #212124;    /* Hover auf Flächen */
  --linie: #2e2e32;          /* Trennlinien, Rahmen */
  --linie-hell: #4a4a4f;     /* kleine Striche im Lineal */

  /* Text */
  --papier: #ecebe6;         /* Überschriften, wichtiger Text */
  --lesetext: #cfcdc6;       /* langer Fließtext */
  --grau: #9a9a95;           /* Nebentext, Beschriftungen (7,0 : 1 auf Schwarz) */

  /* Akzent: das Silber des „S“ im Logo */
  --silber: #c4c4c0;
  --silber-hell: #e2e2de;

  /* Medaillen, nur für die Wörter Gold, Silber, Bronze */
  --gold: #d4b56a;
  --bronze: #c08a5e;

  /* RGB-Werte für rgba() */
  --schwarz-rgb: 11, 11, 12;
  --tiefe-rgb: 17, 17, 19;
  --karton-rgb: 24, 24, 26;
  --silber-rgb: 196, 196, 192;

  --serif: "EB Garamond", Garamond, Georgia, "Times New Roman", serif;
  --mono: "Courier Prime", "Courier New", Courier, monospace;

  --rand: clamp(1rem, 4vw, 3.5rem);
  --breite: 84rem;
  --kopf-hoehe: 4.5rem;
  --ziel: 2.75rem;           /* Mindestgröße für Touch-Ziele (44 px) */
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--kopf-hoehe);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--schwarz);
  color: var(--papier);
  font-family: var(--serif);
  font-size: 1.1875rem;
  line-height: 1.6;
  font-kerning: normal;
  font-variant-numeric: lining-nums;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration-color: var(--silber); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--silber-hell); }
a:active { color: var(--silber); }

:focus-visible { outline: 2px solid var(--silber-hell); outline-offset: 3px; }

h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }

/* Beschriftung in Schreibmaschinenschrift, wie auf einer Karteikarte */
.etikett, .kapitel__marke, .hero__marke, .karte__daten dt, .kennzahlen dt, .steckbrief dt,
.navigation a, .menue-knopf, .knopf, .werk__anzahl, .medaille, .gruppe small, .lk__zaehler, .fuss {
  font-family: var(--mono);
  letter-spacing: 0.06em;
}

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--silber); color: var(--schwarz); padding: .6rem 1rem; text-decoration: none;
  font-family: var(--mono);
}
.skip:focus { top: 1rem; }

/* ---------- Maßstab-Lineal (Leitmotiv) ---------- */
.lineal {
  height: .8rem;
  border-bottom: 1px solid var(--linie-hell);
  background-image:
    linear-gradient(90deg, var(--grau) 1px, transparent 1px),
    linear-gradient(90deg, var(--linie-hell) 1px, transparent 1px);
  background-size: 3rem 100%, .6rem 45%;
  background-position: 0 100%, 0 100%;
  background-repeat: repeat-x;
}

/* ---------- Kopfzeile ---------- */
.kopf {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--kopf-hoehe);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding: 0 var(--rand);
  border-bottom: 1px solid transparent;
  transition: background-color .3s ease, border-color .3s ease;
}
.kopf--fest { background: rgba(var(--schwarz-rgb), 0.95); border-bottom-color: var(--linie); }
@supports (backdrop-filter: blur(8px)) {
  .kopf--fest { background: rgba(var(--schwarz-rgb), 0.82); backdrop-filter: blur(12px); }
}

.kopf { justify-content: flex-start; gap: 1.25rem; }
.marke { margin-right: auto; }
.navigation { order: 1; margin-right: .75rem; }
.sprache { order: 2; }
.menue-knopf { order: 3; }

/* Sprachumschalter DE / EN */
.sprache {
  display: inline-grid; place-items: center; min-height: var(--ziel); min-width: var(--ziel); padding: 0 .7rem;
  font-family: var(--mono); font-size: 0.8125rem; letter-spacing: 0.06em; text-decoration: none;
  color: var(--papier); border: 1px solid var(--linie-hell);
  transition: border-color .2s ease, color .2s ease;
}
.sprache:hover { border-color: var(--silber); color: var(--silber-hell); }
.sprache:active { background: var(--karton); }

.marke {
  display: inline-flex; align-items: center; gap: .75rem; min-height: var(--ziel);
  font-size: 1.375rem; text-decoration: none; white-space: nowrap;
}
.marke img { width: 2.5rem; height: 2.5rem; border-radius: 50%; box-shadow: 0 0 0 1px var(--linie); }

.navigation ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(1rem, 2.2vw, 2.25rem); }
.navigation a {
  text-decoration: none; font-size: 0.8125rem; text-transform: uppercase; color: var(--grau);
  display: inline-flex; align-items: center; min-height: var(--ziel);
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.navigation a:hover, .navigation a[aria-current="true"], .navigation a[aria-current="page"] { color: var(--papier); border-bottom-color: var(--silber); }
.navigation a:active { color: var(--silber-hell); }

.menue-knopf {
  display: none;
  font-size: 0.8125rem; text-transform: uppercase; color: var(--papier);
  background: none; border: 1px solid var(--linie-hell); padding: .4rem 1rem; cursor: pointer;
  min-height: var(--ziel); min-width: var(--ziel);
  transition: border-color .2s ease, color .2s ease;
}
.menue-knopf:hover { border-color: var(--silber); color: var(--silber-hell); }
.menue-knopf:active { background: var(--karton); }

@media (max-width: 54rem) {
  .menue-knopf { display: block; }
  .navigation {
    position: fixed; inset: var(--kopf-hoehe) 0 auto 0;
    background: var(--schwarz); border-bottom: 1px solid var(--linie);
    padding: .5rem var(--rand) 1.5rem;
    display: none;
  }
  .navigation.ist-offen { display: block; }
  .navigation ul { flex-direction: column; gap: 0; }
  .navigation a { display: flex; padding: .85rem 0; font-size: 0.9375rem; color: var(--papier); border-bottom: 1px solid var(--linie); }
  .kopf.menue-offen { background: var(--schwarz); border-bottom-color: var(--linie); }
}

/* ---------- Knöpfe ---------- */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; min-height: var(--ziel);
  font-size: 0.875rem; font-weight: 700; text-transform: uppercase; line-height: 1.2;
  color: var(--schwarz); background: var(--silber);
  padding: .85rem 1.5rem; text-decoration: none;
  border: 1px solid var(--silber);
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.knopf:hover { background: var(--silber-hell); border-color: var(--silber-hell); color: var(--schwarz); }
.knopf:active { background: var(--silber); transform: translateY(1px); }
.knopf--rahmen { background: transparent; color: var(--papier); border-color: var(--linie-hell); }
.knopf--rahmen:hover { background: var(--karton); border-color: var(--silber); color: var(--papier); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) auto;
  background: var(--tiefe);
}
.hero__text {
  align-self: center;
  padding: calc(var(--kopf-hoehe) + 2.5rem) var(--rand) 3rem;
  max-width: 46rem;
}
.hero__logo { width: clamp(6.5rem, 11vw, 9.5rem); height: auto; border-radius: 50%; margin-bottom: 2rem; box-shadow: 0 0 0 1px var(--linie); }
.hero__marke { font-size: 0.875rem; text-transform: uppercase; color: var(--grau); margin-bottom: 1rem; }
.hero__titel {
  font-size: clamp(3.75rem, 9vw, 8.5rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  margin-left: -0.04em;
}
.hero__claim {
  font-style: italic;
  font-size: clamp(1.375rem, 2.1vw, 1.75rem);
  line-height: 1.35;
  color: var(--silber);
  max-width: 24em;
  margin: 1.75rem 0 1rem;
}
.hero__intro { color: var(--lesetext); max-width: 30em; margin-bottom: 2.25rem; }
.hero__aktionen { display: flex; flex-wrap: wrap; gap: .75rem; }

.hero__bild { position: relative; margin: 0; min-height: 60svh; overflow: hidden; background: var(--schwarz); }
.hero__bild button { all: unset; display: block; position: absolute; inset: 0; cursor: zoom-in; }
.hero__bild button:focus-visible { outline: 2px solid var(--silber-hell); outline-offset: -4px; }
.hero__bild img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }

/* Karteikarte auf dem Hero-Foto */
.hero__karte {
  position: absolute; left: 1.5rem; bottom: 1.5rem; z-index: 2;
  width: min(22rem, calc(100% - 3rem));
  background: rgba(var(--karton-rgb), 0.9);
  border: 1px solid var(--linie-hell);
  padding: 1rem 1.15rem 1.1rem;
  pointer-events: none;
}
.hero__karte .etikett { font-size: 0.75rem; text-transform: uppercase; color: var(--grau); margin-bottom: .35rem; }
.hero__karte strong { display: block; font-weight: 400; font-size: 1.25rem; line-height: 1.25; margin-bottom: .75rem; }

/* Leiste mit allen Maßstäben der Sammlung */
.massstaebe {
  grid-column: 1 / -1;
  padding: 1.25rem var(--rand) 1.5rem;
  border-top: 1px solid var(--linie);
  background: var(--schwarz);
}
.massstaebe ul {
  list-style: none; margin: .6rem 0 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem;
}
.massstaebe li { display: flex; align-items: baseline; gap: .6rem; color: var(--grau); font-family: var(--mono); font-size: 0.8125rem; letter-spacing: 0.06em; }
.massstaebe li span { font-family: var(--serif); font-size: 1.75rem; letter-spacing: 0; color: var(--silber); }

@media (prefers-reduced-motion: no-preference) {
  .hero__bild img { animation: auftritt 1.6s cubic-bezier(.2,.7,.2,1) both; }
  .hero__text > * { animation: einblenden .9s ease both; }
  .hero__text > :nth-child(2) { animation-delay: .1s; }
  .hero__text > :nth-child(3) { animation-delay: .2s; }
  .hero__text > :nth-child(n+4) { animation-delay: .35s; }
}
@keyframes auftritt { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }
@keyframes einblenden { from { opacity: 0; transform: translateY(.5rem); } to { opacity: 1; transform: none; } }

@media (max-width: 54rem) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__bild { order: -1; min-height: 0; aspect-ratio: 4 / 5; margin-top: var(--kopf-hoehe); }
  .hero__text { padding-top: 2.5rem; }
  .hero__logo { display: none; }  /* steht mobil schon in der Kopfzeile */
  .hero__karte { left: 1rem; bottom: 1rem; width: min(20rem, calc(100% - 2rem)); }
}

/* ---------- Kennzahlen ---------- */
.kennzahlen { border-bottom: 1px solid var(--linie); }
.kennzahlen dl {
  max-width: var(--breite); margin: 0 auto; padding: clamp(2rem, 4vw, 3rem) var(--rand);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem;
}
.kennzahlen div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: .35rem; border-left: 1px solid var(--linie); padding-left: 1.25rem; }
.kennzahlen dt { font-size: 0.8125rem; text-transform: uppercase; color: var(--grau); line-height: 1.4; }
.kennzahlen dd { margin: 0; font-size: clamp(2.25rem, 4vw, 3.25rem); line-height: 1; color: var(--papier); }
@media (max-width: 54rem) { .kennzahlen dl { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; } }

/* ---------- Abschnitte ---------- */
.abschnitt {
  max-width: var(--breite);
  margin: 0 auto;
  padding: clamp(4.5rem, 10vw, 8rem) var(--rand) 0;
}
.abschnitt:last-of-type { padding-bottom: clamp(4.5rem, 10vw, 8rem); }

.kapitel { margin-bottom: 1rem; }
.kapitel__marke { font-size: 0.8125rem; text-transform: uppercase; color: var(--grau); margin-bottom: .75rem; }
.kapitel__titel { font-size: clamp(2.75rem, 5.5vw, 4.25rem); line-height: 1; letter-spacing: -0.01em; margin-bottom: 1.25rem; }
.kapitel__text { color: var(--lesetext); max-width: 38em; }
.kapitel + .lineal { margin-bottom: 1rem; }

.gruppe {
  font-style: italic;
  font-size: 1.625rem;
  color: var(--silber);
  margin: 3.5rem 0 1.75rem;
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
}
.gruppe small { font-style: normal; font-size: 0.8125rem; text-transform: uppercase; color: var(--grau); }

/* ---------- Werk-Raster ---------- */
.raster {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: clamp(2.5rem, 4vw, 3.5rem) clamp(1.25rem, 2.5vw, 2.25rem);
}
.raster--figuren { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.raster--dioramen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 64rem) { .raster--figuren { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 40rem) { .raster--figuren, .raster--dioramen { grid-template-columns: 1fr; } }

.werk { display: flex; flex-direction: column; }
.werk__bild {
  all: unset; box-sizing: border-box;
  display: block; position: relative; width: 100%;
  background: var(--tiefe);
  border: 1px solid var(--linie);
  cursor: zoom-in;
  overflow: hidden;
  transition: border-color .3s ease;
}
.werk__bild:focus-visible { outline: 2px solid var(--silber-hell); outline-offset: 4px; }
.werk__bild img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.raster--dioramen .werk__bild img { aspect-ratio: 3 / 2; }
@media (max-width: 40rem) { .raster--figuren .werk__bild img { aspect-ratio: 4 / 5; object-position: 50% 25%; } }

/* Licht an: Beim Zeigen wird das Foto heller und der Rahmen silbern. Kein Zoom. */
.werk__bild img, .hero__bild img, .chronik__bild img, .publikation__cover img { transition: filter .35s ease; }
.werk__bild:hover img, .werk__bild:focus-visible img,
.hero__bild button:hover img, .hero__bild button:focus-visible img,
.chronik__bild:hover img, .chronik__bild:focus-visible img,
.publikation__cover:hover img, .publikation__cover:focus-visible img { filter: brightness(1.12); }
.werk__bild:hover, .werk__bild:focus-visible { border-color: var(--silber); }
.werk__bild:active img { filter: brightness(1); }

.werk__anzahl {
  position: absolute; right: .75rem; bottom: .75rem;
  font-size: 0.75rem; text-transform: uppercase; color: var(--papier);
  background: rgba(var(--schwarz-rgb), 0.8); padding: .25rem .6rem;
}

/* Karteikarte unter jeder Arbeit */
.karte {
  flex: 1;
  background: var(--karton);
  border: 1px solid var(--linie); border-top: 0;
  padding: 1.15rem 1.25rem 1.25rem;
}
.karte__titel { font-size: 1.4375rem; line-height: 1.2; margin-bottom: .4rem; }
.karte__szene { font-style: italic; font-size: 1.0625rem; line-height: 1.45; color: var(--grau); margin-bottom: 1rem; }
.karte__daten { margin: 0; border-top: 1px dashed var(--linie-hell); }
.karte__daten div {
  display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: .75rem;
  padding: .55rem 0; border-bottom: 1px dashed var(--linie-hell);
  align-items: baseline;
}
.karte__daten dt { font-size: 0.75rem; text-transform: uppercase; color: var(--grau); }
.karte__daten dd { margin: 0; font-size: 1rem; line-height: 1.4; color: var(--lesetext); }
.mass { font-size: 1.625rem; line-height: 1; color: var(--silber); margin-right: .2rem; }

/* Medaille: Wort plus kleiner Punkt in Metallfarbe */
.medaille {
  display: inline-flex; align-items: center; gap: .5rem;
  margin: 1rem 0 0; font-size: 0.8125rem; text-transform: uppercase; color: var(--papier);
  border: 1px solid var(--linie-hell); padding: .3rem .65rem;
}
.medaille::before { content: ""; width: .6rem; height: .6rem; border-radius: 50%; flex: none; background: var(--silber); }
.medaille--gold::before { background: var(--gold); }
.medaille--bronze::before { background: var(--bronze); }

/* ---------- Über mich ---------- */
.ueber {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 6rem); align-items: start;
  margin-top: 2.5rem;
}
.ueber__seite { position: sticky; top: calc(var(--kopf-hoehe) + 2rem); }
.ueber__bild { margin: 0 0 1.5rem; background: var(--tiefe); border: 1px solid var(--linie); }
.ueber__bild img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.ueber__text { max-width: 38em; }
.ueber__text .einstieg { font-size: 1.5rem; line-height: 1.45; color: var(--papier); margin-bottom: 1.5em; }
.ueber__text p:not(.einstieg) { color: var(--lesetext); }

.steckbrief { margin: 0; background: var(--karton); border: 1px solid var(--linie); padding: .5rem 1.25rem; }
.steckbrief div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: .75rem; padding: .7rem 0; border-bottom: 1px dashed var(--linie-hell); align-items: baseline; }
.steckbrief div:last-child { border-bottom: 0; }
.steckbrief dt { font-size: 0.75rem; text-transform: uppercase; color: var(--grau); }
.steckbrief dd { margin: 0; font-size: 1.0625rem; line-height: 1.4; color: var(--lesetext); }

@media (max-width: 54rem) {
  .ueber { grid-template-columns: 1fr; }
  .ueber__seite { position: static; max-width: 30rem; }
}

/* ---------- Auszeichnungen (Chronik) ---------- */
.chronik { list-style: none; margin: 2.5rem 0 0; padding: 0; }
.chronik__eintrag {
  display: grid; grid-template-columns: 9rem minmax(0, 1fr) 12rem;
  gap: 1.5rem clamp(1.5rem, 4vw, 3.5rem);
  padding: 2.25rem 0; border-top: 1px solid var(--linie);
}
.chronik__eintrag:last-child { border-bottom: 1px solid var(--linie); }
.chronik__jahr { font-size: 3.5rem; line-height: .9; color: var(--silber); margin: 0; }
.chronik__ort { font-size: 1.5rem; line-height: 1.3; margin-bottom: 1rem; }
.chronik ul { list-style: none; margin: 0; padding: 0; }
.chronik ul li { display: flex; align-items: baseline; gap: .75rem; margin-bottom: .75rem; max-width: 42em; color: var(--lesetext); }
.chronik .medaille { margin: 0; flex: none; min-width: 6.25rem; }
.chronik__bild { all: unset; cursor: zoom-in; display: block; background: var(--tiefe); border: 1px solid var(--linie); align-self: start; }
.chronik__bild:hover, .chronik__bild:focus-visible { border-color: var(--silber); }
.chronik__bild:focus-visible { outline: 2px solid var(--silber-hell); outline-offset: 4px; }
.chronik__bild img { width: 100%; aspect-ratio: 1; object-fit: cover; }

@media (max-width: 54rem) {
  .chronik__eintrag { grid-template-columns: 5.5rem minmax(0, 1fr); }
  .chronik__jahr { font-size: 2.5rem; }
  .chronik__bild { grid-column: 2; max-width: 14rem; }
}
@media (max-width: 40rem) {
  .chronik__eintrag { grid-template-columns: 1fr; gap: .75rem; }
  .chronik__bild { grid-column: 1; }
  .chronik ul li { flex-direction: column; gap: .4rem; margin-bottom: 1.1rem; }
}

/* ---------- Publikationen ---------- */
.publikationen {
  list-style: none; margin: 2.5rem 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(2.5rem, 4vw, 3rem) clamp(1.25rem, 2.5vw, 2rem);
}
.publikation { display: flex; flex-direction: column; }
.publikation__cover {
  all: unset; cursor: zoom-in; display: block; background: var(--tiefe); margin-bottom: 1.25rem;
  box-shadow: 0 1.25rem 2rem -1rem rgba(0, 0, 0, 0.7);
}
.publikation__cover:focus-visible { outline: 2px solid var(--silber-hell); outline-offset: 4px; }
.publikation__cover img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.publikation .etikett { font-size: 0.75rem; text-transform: uppercase; color: var(--grau); margin-bottom: .4rem; }
.publikation__titel { font-size: 1.375rem; line-height: 1.25; margin-bottom: .6rem; }
.publikation__zeilen { font-size: 1rem; line-height: 1.5; color: var(--lesetext); margin-bottom: .75rem; }
.publikation__angaben { font-size: 0.9375rem; color: var(--grau); line-height: 1.5; margin-bottom: .75rem; }
.publikation a { font-size: 1rem; align-self: flex-start; display: inline-flex; align-items: center; min-height: var(--ziel); }

@media (max-width: 64rem) { .publikationen { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 30rem) { .publikationen { grid-template-columns: 1fr; } .publikation__cover { max-width: 16rem; } }

/* ---------- Kontakt ---------- */
.kontakt__karte {
  margin-top: 2rem;
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: center;
  background: var(--karton); border: 1px solid var(--linie);
  padding: clamp(1.5rem, 5vw, 3.5rem);
}
.kontakt__logo { width: clamp(6rem, 14vw, 11rem); height: auto; border-radius: 50%; box-shadow: 0 0 0 1px var(--linie); }
.kontakt__text { max-width: 34em; color: var(--lesetext); }
.kontakt__mail {
  display: inline-block;
  font-size: clamp(1.75rem, 4.5vw, 3rem);
  line-height: 1.15;
  color: var(--papier);
  text-decoration: none;
  border-bottom: 1px solid var(--linie-hell);
  margin: .25rem 0 1.75rem;
  padding: .35rem 0;
  overflow-wrap: anywhere;
  transition: color .2s ease, border-color .2s ease;
}
.kontakt__mail:hover { color: var(--silber-hell); border-bottom-color: var(--silber); }
.kontakt__mail:active { color: var(--silber); }
.kontakt__karte p:last-child { margin-bottom: 0; }
@media (max-width: 40rem) { .kontakt__karte { grid-template-columns: 1fr; } }

/* ---------- Fußzeile ---------- */
.fuss {
  border-top: 1px solid var(--linie);
  padding: 2rem var(--rand);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem;
  font-size: 0.8125rem; color: var(--grau);
}
.fuss p { margin: 0; display: flex; align-items: center; gap: .75rem; }
.fuss img { width: 2rem; height: 2rem; border-radius: 50%; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 1.5rem; }
.fuss a { text-decoration: none; text-transform: uppercase; display: inline-flex; align-items: center; min-height: var(--ziel); }
.fuss a:hover { text-decoration: underline; }

/* ---------- Einblenden beim Scrollen (nur mit JavaScript, nur ohne „weniger Bewegung“) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js-bewegung .zeigen { opacity: 0; transform: translateY(1rem); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
  .js-bewegung .zeigen.ist-sichtbar { opacity: 1; transform: none; }
}

/* ---------- Leuchtkasten (Lightbox) ---------- */
.leuchtkasten {
  padding: 0; border: 0; margin: 0;
  width: 100vw; height: 100vh; max-width: none; max-height: none;
  height: 100dvh;
  background: var(--tiefe); color: var(--papier);
  overflow: hidden;
}
.leuchtkasten::backdrop { background: rgba(0, 0, 0, 0.9); }
.leuchtkasten[open] { display: grid; grid-template-columns: minmax(0, 1fr) 23rem; }

.lk__buehne { position: relative; display: flex; align-items: center; justify-content: center; min-height: 0; padding: 1.5rem 4.5rem; touch-action: pan-y; }
.lk__bild { max-width: 100%; max-height: calc(100dvh - 3rem); width: auto; height: auto; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.lk__bild.laedt { opacity: .35; }
@media (prefers-reduced-motion: no-preference) { .lk__bild { transition: opacity .2s ease; } }

.lk__pfeil, .lk__schliessen {
  font: inherit; color: var(--papier); cursor: pointer;
  background: rgba(var(--karton-rgb), 0.85); border: 1px solid var(--linie-hell);
  width: 3rem; height: 3rem; display: grid; place-items: center;
}
.lk__pfeil:hover, .lk__schliessen:hover { border-color: var(--silber); color: var(--silber-hell); }
.lk__pfeil:active, .lk__schliessen:active { background: var(--karton); color: var(--silber); }
.lk__pfeil { position: absolute; top: 50%; transform: translateY(-50%); }
.lk__pfeil[hidden] { display: none; }
.lk__zurueck { left: 1rem; }
.lk__weiter { right: 1rem; }
.lk__pfeil svg, .lk__schliessen svg { width: 1.25rem; height: 1.25rem; }

.lk__info { border-left: 1px solid var(--linie); padding: 5rem 1.75rem 2rem; overflow-y: auto; background: var(--karton); }
.lk__schliessen { position: absolute; top: 1rem; right: 1rem; z-index: 3; }
.lk__zaehler { font-size: 0.75rem; text-transform: uppercase; color: var(--grau); margin-bottom: 1.25rem; font-variant-numeric: tabular-nums; }
.lk__titel { font-size: 1.75rem; line-height: 1.2; margin-bottom: .75rem; }
.lk__details { font-size: 1.0625rem; line-height: 1.55; }
.lk__details .karte__daten { margin-bottom: 1.25rem; }
.lk__details .medaille { margin: 0 0 1.25rem; }
.lk__details h3 { font-style: italic; font-size: 1.25rem; color: var(--silber); margin: 1.5rem 0 .6rem; }
.lk__details ul { padding-left: 1.1rem; margin: 0 0 1rem; }
.lk__details p { color: var(--lesetext); }

@media (max-width: 54rem) {
  .leuchtkasten[open] { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; }
  .lk__buehne { padding: 4rem .5rem .5rem; }
  .lk__bild { max-height: calc(100dvh - 4.5rem - 34dvh); }
  .lk__pfeil { width: var(--ziel); height: var(--ziel); top: auto; bottom: .75rem; transform: none; }
  .lk__zurueck { left: .75rem; }
  .lk__weiter { right: .75rem; }
  .lk__info { border-left: 0; border-top: 1px solid var(--linie); padding: 1.25rem var(--rand) 1.5rem; max-height: 34dvh; }
  .lk__zaehler { margin-bottom: .5rem; }
  .lk__titel { font-size: 1.375rem; }
}

/* ---------- Rechtstexte (Impressum, Datenschutz) ---------- */
.rechtstext {
  max-width: 46rem; margin: 0 auto;
  padding: calc(var(--kopf-hoehe) + 3.5rem) var(--rand) 5rem;
}
.rechtstext h1 { font-size: clamp(2.75rem, 6vw, 4rem); line-height: 1; letter-spacing: -0.01em; margin-bottom: 1.25rem; }
.rechtstext h2 { font-size: 1.5rem; line-height: 1.25; margin: 2.75rem 0 .75rem; }
.rechtstext h3 { font-style: italic; font-size: 1.25rem; margin: 1.75rem 0 .5rem; }
.rechtstext p, .rechtstext li, .rechtstext address { color: var(--lesetext); }
.rechtstext strong { color: var(--papier); font-weight: 600; }
.rechtstext address { font-style: normal; margin-bottom: 1em; }
.rechtstext ul { padding-left: 1.25rem; margin: 0 0 1em; }
.rechtstext ul li { margin-bottom: .35em; }
.rechtstext ul li::marker { color: var(--silber); }
.rechtstext__einleitung {
  font-style: italic; font-size: 1.375rem; line-height: 1.45;
  padding-bottom: 1.5rem; margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--linie-hell);
}
.rechtstext p.rechtstext__einleitung { color: var(--silber); }
.rechtstext__inhalt { background: var(--karton); border: 1px solid var(--linie); padding: 1.1rem 1.25rem .6rem; margin-bottom: 1rem; }
.rechtstext__inhalt h2 { font-family: var(--mono); letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.8125rem; color: var(--grau); margin: 0 0 .25rem; }
.rechtstext__inhalt ol { margin: 0; padding-left: 1.5rem; columns: 2 16rem; column-gap: 2rem; }
.rechtstext__inhalt li { break-inside: avoid; }
.rechtstext__inhalt li::marker { color: var(--silber); }
.rechtstext__inhalt a { display: inline-flex; align-items: center; min-height: var(--ziel); text-decoration: none; }
.rechtstext__inhalt a:hover { text-decoration: underline; }
.rechtstext__hervorhebung {
  background: var(--karton); border-left: 2px solid var(--silber);
  padding: .1rem 1.25rem .25rem; margin: 2.75rem 0;
}
.rechtstext__hervorhebung h2 { margin-top: 1.25rem; }
.rechtstext__zurueck { margin-top: 3rem; }
.rechtstext__zurueck a { display: inline-flex; align-items: center; min-height: var(--ziel); }
.platzhalter {
  background: rgba(var(--silber-rgb), 0.14);
  border-bottom: 1px dashed var(--silber);
  color: var(--silber-hell);
  padding: 0 .2em;
}
.vorlage-hinweis {
  border: 1px dashed var(--silber);
  padding: 1rem 1.25rem; margin-bottom: 2.5rem; font-size: 1rem;
}
.vorlage-hinweis p:last-child { margin-bottom: 0; }

/* ---------- Bewegung reduzieren ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
