/* Archiv-Hinweis, November 2026.
   Dynamic Upscale wird nicht fortgefuehrt. Die Seite bleibt als
   Arbeitsprobe stehen und wird dafuer nur gerahmt: ein Band ueber dem
   Kopf auf jeder Seite, ein Abschnitt auf der Startseite, eine Notiz auf
   der Kontaktseite. Alles andere bleibt unveraendert. Wer den Hinweis
   wieder entfernen will, nimmt diese Datei, die Bloecke mit der Klasse
   .archiv-* und den Absatz "Stand des Projekts" in api/kueni.php heraus. */

/* ---------- Band ueber dem Kopf ---------- */
/* Steht im normalen Fluss vor dem klebenden Kopf: beim Scrollen wandert es
   aus dem Bild, der Kopf bleibt. So verdeckt es nie Inhalt und das
   Handy-Menue behaelt seinen Platz. */
.archiv-band {
  background: var(--signal-lit, #E3AC45);
  color: var(--ink, #0C1C22);
  padding: 9px var(--pad-x, 20px);
  font: 500 14.5px/1.45 var(--text, system-ui, sans-serif);
  text-align: center;
}
.archiv-band p { margin: 0 auto; max-width: 1100px; }
.archiv-band strong { font-weight: 700; }
.archiv-band a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}
.archiv-band a:hover { text-decoration-thickness: 2px; }
.archiv-band a:focus-visible { outline: 2px solid var(--ink, #0C1C22); outline-offset: 2px; border-radius: 2px; }
/* Am Handy zaehlt jede Zeile ueber dem ersten Bild: dort faellt der
   Mittelsatz weg, die Aussage bleibt vollstaendig. */
@media (max-width: 720px) {
  .archiv-band { font-size: 13.5px; padding: 8px 16px; }
  .archiv-band .archiv-band__lang { display: none; }
}

/* ---------- Abschnitt auf der Startseite ---------- */
.archiv-projekt {
  background: var(--paper, #F4F7F7);
  border-bottom: 1px solid var(--rule, #D2DDDD);
}
.archiv-projekt__raster {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.archiv-projekt__marke {
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 18px;
  font: 600 14px/1.2 var(--display, system-ui, sans-serif);
  letter-spacing: .02em;
  color: #7A5510;
}
.archiv-projekt__marke::before {
  content: ""; flex: none; width: 28px; height: 1px; background: var(--signal, #C9922E);
}
.archiv-projekt h2 { margin: 0 0 22px; }
.archiv-projekt__text p { margin: 0 0 16px; max-width: 56ch; }
.archiv-projekt__text p:last-child { margin-bottom: 0; }
.archiv-projekt__status { color: var(--ink, #0C1C22); font-weight: 600; }

.archiv-projekt__liste { list-style: none; margin: 0; padding: 0; }
.archiv-projekt__liste li {
  padding: 18px 0;
  border-top: 1px solid var(--rule, #D2DDDD);
}
.archiv-projekt__liste li:last-child { border-bottom: 1px solid var(--rule, #D2DDDD); }
.archiv-projekt__liste b {
  display: block;
  margin-bottom: 4px;
  font: 700 18px/1.3 var(--display, system-ui, sans-serif);
  color: var(--ink, #0C1C22);
}
.archiv-projekt__liste li > span { display: block; font-size: 16px; line-height: 1.55; }
.archiv-projekt__liste a,
.archiv-projekt__mehr a {
  color: var(--ink, #0C1C22);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--signal, #C9922E);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.archiv-projekt__liste a { display: inline-block; margin-top: 8px; font-size: 15.5px; }
.archiv-projekt__liste a:hover,
.archiv-projekt__mehr a:hover { text-decoration-color: var(--ink, #0C1C22); }
.archiv-projekt__mehr { margin: 22px 0 0; font-size: 16px; }

@media (max-width: 860px) {
  .archiv-projekt__raster { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Notiz auf der Kontaktseite ---------- */
.archiv-notiz {
  max-width: 800px;
  margin: 0 0 22px;
  padding: 14px 18px;
  border-left: 3px solid var(--signal, #C9922E);
  background: #FBF3E2;
  color: #33474D;
  font-size: 15.5px;
  line-height: 1.6;
}
.archiv-notiz strong { color: var(--ink, #0C1C22); font-weight: 600; }
.archiv-notiz a { color: var(--ink, #0C1C22); font-weight: 600; text-underline-offset: 3px; }

@media print { .archiv-band { border-bottom: 1px solid #000; background: none; } }
