/* BETA45 — Stylesheet (Basis: bisherige 45gallery, Schrift lokal) */

@font-face { font-family: "Source Sans Pro"; font-style: normal; font-weight: 200; font-display: swap;
  src: url("fonts/source-sans-pro-latin-200-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans Pro"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/source-sans-pro-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans Pro"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("fonts/source-sans-pro-latin-700-normal.woff2") format("woff2"); }

* { box-sizing: border-box; }

html, body, div, p, h1, h2, h3, ul, li, img, a, figure {
  border: 0; padding: 0; margin: 0;
}

html, body {
  font-family: "Source Sans Pro", Verdana, Arial, sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.2;
  background: #000;
  color: #fff;
  min-height: 100%;
}

a { color: inherit; text-decoration: none; }
:focus-visible { outline: 1px dotted #888; outline-offset: 3px; }

/* ---------- Kopf ---------- */
.kopf { text-align: center; padding: 24px 0 36px; }
.kopf .marke, .kopf h1 { font-size: 12px; font-weight: 400; letter-spacing: 0; }

/* ---------- Startseite: Codes ---------- */
#content {
  text-align: center;
  font-size: 56px;
  line-height: 2;
  padding-top: 15px;
  font-weight: 200;
}
#content a.link { display: block; font-weight: 200; }
#content a.link:hover { color: #888; }

/* ---------- Seiten allgemein ---------- */
.seite { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.titel-gross { font-size: 40px; font-weight: 200; text-align: center; line-height: 1.1; }
.code { font-size: 12px; color: #888; text-align: center; margin-bottom: 8px; }
.intro { max-width: 560px; margin: 20px auto 50px; text-align: center; font-size: 14px; line-height: 1.5; color: #ccc; font-weight: 200; }
.hinweis { text-align: center; font-size: 14px; padding: 60px 0; }
.zurueck { display: inline-block; margin: 40px 0 0; color: #888; }
.zurueck:hover { color: #fff; }

/* ---------- Serienseite: Raster ---------- */
.raster {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 50px 30px;
  list-style: none;
}
.raster li a { display: block; }
.raster .bildbox {
  aspect-ratio: 1 / 1;
  display: flex; align-items: center; justify-content: center;
  background: #000;
}
.raster img { max-width: 100%; max-height: 100%; display: block; transition: opacity .3s; }
.raster a:hover img { opacity: .7; }
.raster .werktitel { margin-top: 10px; font-size: 12px; text-align: center; letter-spacing: .05em; }

/* ---------- Werkseite ---------- */
.werk-bild { text-align: center; }
.werk-bild img { max-width: 100%; max-height: 80vh; cursor: zoom-in; }
.werk-medien { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 18px; }
.werk-medien img { height: 90px; width: auto; cursor: zoom-in; opacity: .8; }
.werk-medien img:hover { opacity: 1; }

.werk-info { max-width: 620px; margin: 50px auto 0; }
.werk-info h1 { font-size: 40px; font-weight: 200; text-align: center; line-height: 1.1; }
.werk-info .serie { text-align: center; color: #888; margin-top: 8px; }
.werk-info .serie a:hover { color: #fff; }
.daten { margin: 30px auto; display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; font-size: 13px; max-width: 420px; }
.daten dt { color: #888; }
.daten dd { margin: 0; }
.ar { text-align: center; color: #888; letter-spacing: .08em; margin: 10px 0 30px; }
.text p { font-size: 15px; line-height: 1.6; font-weight: 200; margin-bottom: 1em; color: #ddd; }

/* ---------- About / Rechtliches ---------- */
.lesetext { max-width: 560px; margin: 0 auto; }
.lesetext p { font-size: 15px; line-height: 1.6; font-weight: 200; margin-bottom: 1em; }
.lesetext h2 { font-size: 12px; font-weight: 400; color: #888; letter-spacing: .1em; text-transform: uppercase; margin: 50px 0 16px; }
.lesetext h3 { font-size: 14px; font-weight: 400; margin: 24px 0 6px; }
.lesetext a { text-decoration: underline; }
.lesetext ul { list-style: none; margin-bottom: 1em; }
.lesetext li { font-size: 15px; line-height: 1.6; font-weight: 200; }
.lesetext li::before { content: "— "; color: #888; }
.news { margin-bottom: 30px; }
.news .datum { color: #888; font-size: 12px; }
.news h3 { margin-top: 4px; }
.news img { max-width: 100%; margin: 10px 0; }

/* ---------- Fuß ---------- */
.footer { text-align: center; font-size: 12px; color: #bbb; padding: 80px 0 40px; }
.footer a { text-decoration: underline; }
.footer a.singulart {
  display: inline-flex; align-items: center; gap: 8px;
  background: #0b08c8; padding: 8px 14px; border-radius: 20px; text-decoration: none;
}
.footer a.singulart span { font-size: 13px; color: #c8c6ff; }
.footer .recht, .footer .recht a { color: #666; }

/* ---------- Vollbild ---------- */
.vollbild {
  position: fixed; inset: 0; background: #000; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .35s;
}
.vollbild.offen { opacity: 1; pointer-events: auto; }
.vollbild img { max-width: 100vw; max-height: calc(100vh - 30px); transition: opacity .35s; cursor: pointer; }
.vollbild .leiste { position: absolute; left: 10px; bottom: 8px; font-weight: 200; }
.vollbild .leiste a { cursor: pointer; }

@media (max-width: 600px) {
  #content { font-size: 40px; }
  .titel-gross, .werk-info h1 { font-size: 30px; }
  .raster { grid-template-columns: repeat(2, 1fr); gap: 30px 14px; }
}
