/* ==========================================================================
   serie.css — die beiden Serienseiten.

   Setzt auf basis.css und acoustics.css auf; von dort kommen Raum, Kopfleiste,
   Marke und Typografie. Hier steht nur, was die Serienseiten zusätzlich
   brauchen: Modellabschnitte, Galerien, Zeitstrahl.
   ========================================================================== */

.serie-kopf {
  padding-top: calc(74px + clamp(3rem, 9vh, 6rem));
  padding-bottom: clamp(2.5rem, 6vh, 4rem);
  display: grid; gap: 1.1rem;
}
.serie-kopf h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); max-width: 16ch; }
.serie-kopf .lede { max-width: 54ch; }

/* Zurück zur Übersicht — steht oben UND unten, weil eine Unterseite ohne
   sichtbaren Rückweg eine Sackgasse ist. */
.zurueck-link {
  font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--alu);
  display: inline-flex; align-items: center; gap: 0.6rem;
  border-bottom: 1px solid transparent; padding-bottom: 0.25rem;
  transition: color .3s ease, border-color .3s ease;
}
.zurueck-link:hover, .zurueck-link:focus-visible {
  color: var(--linen); border-bottom-color: var(--kraft);
}

/* ---------- Modellabschnitt ---------- */

.modell {
  padding-block: clamp(3rem, 8vh, 5.5rem);
  border-top: 1px solid var(--rule);
  display: grid; gap: clamp(1.75rem, 4vw, 2.75rem);
  scroll-margin-top: 90px;
}
.modell__kopf { display: grid; gap: 0.9rem; max-width: 58ch; }
.modell__kopf h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.9rem, 4.4vw, 3rem); line-height: 1.08;
}
.modell__kopf .lede { color: var(--alu); }

/* Der Satz, der die Linie trägt. Einmal je Seite, nicht öfter — ein Zitat,
   das dreimal vorkommt, ist kein Zitat mehr, sondern eine Behauptung. */
.leitsatz {
  font-family: var(--serif); font-size: clamp(1.5rem, 3.6vw, 2.2rem);
  line-height: 1.3; color: var(--linen); max-width: 24ch;
  border-left: 2px solid var(--kraft); padding-left: clamp(1rem, 3vw, 1.75rem);
}
.leitsatz small {
  display: block; margin-top: 0.9rem;
  font-family: var(--mono); font-size: 0.625rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--alu-dim);
}

/* ---------- Datenliste ---------- */

.daten { display: grid; gap: 0; border-top: 1px solid var(--rule); }
.daten__zeile {
  display: grid; gap: 0.3rem 1.5rem; padding-block: 0.95rem;
  border-bottom: 1px solid var(--rule);
}
@media (min-width: 680px) {
  .daten__zeile { grid-template-columns: 13rem minmax(0, 1fr); align-items: baseline; }
}
.daten__was {
  font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--alu-dim);
}
.daten__wert { color: var(--linen); font-size: 0.9375rem; }
.daten__wert em { color: var(--alu); font-style: normal; }

/* ---------- Galerie ---------- */

.galerie { display: grid; gap: 1.1rem; }
.galerie__titel {
  font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--alu-dim);
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.9rem;
}
.galerie__titel b { color: var(--linen); font-weight: 400; letter-spacing: 0.14em; }

/* Die Bilder haben sehr verschiedene Seitenverhältnisse — von 300×400 bis
   1920×330. Ein festes Raster würde jedes zweite beschneiden. Deshalb
   fließen sie in Zeilen und behalten ihr eigenes Verhältnis; die Höhe je
   Zeile ist gleich, die Breite ergibt sich daraus. */
.galerie__band {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
}
.bild {
  position: relative; display: block; padding: 0; border: 0;
  background: var(--ink-2); box-shadow: 0 0 0 1px var(--rule);
  cursor: zoom-in; overflow: hidden; flex: 0 1 auto;
  transition: box-shadow .3s ease, transform .3s ease;
}
.bild img {
  display: block; height: clamp(140px, 22vw, 220px); width: auto; max-width: 100%;
  object-fit: cover;
}
.bild:hover, .bild:focus-visible { box-shadow: 0 0 0 1px var(--kraft); }
.bild:focus-visible { outline: none; }

/* Am Telefon eine Spalte: Ein 1920 Punkte breites Panorama neben einem
   Hochformat ergibt dort nur Briefmarken. */
@media (max-width: 620px) {
  .galerie__band { display: grid; grid-template-columns: minmax(0, 1fr); }
  .bild img { width: 100%; height: auto; }
}

.galerie__hinweis {
  font-family: var(--mono); font-size: 0.625rem; letter-spacing: 0.1em;
  color: var(--alu-dim);
}

/* ---------- Lupe ---------- */

.lupe {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(10,10,11,0.94); backdrop-filter: blur(6px);
  display: grid; place-items: center; gap: 1rem;
  padding: clamp(1rem, 4vw, 3rem);
  opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.lupe.an { opacity: 1; pointer-events: auto; }
.lupe img {
  max-width: 100%; max-height: 78vh; width: auto; height: auto;
  box-shadow: 0 0 0 1px var(--rule);
}
.lupe__text {
  font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.12em;
  color: var(--alu); text-align: center;
}
.lupe__zu {
  position: absolute; top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem);
  background: none; border: 1px solid var(--rule); color: var(--alu);
  font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.16em;
  padding: 0.5rem 0.9rem; cursor: pointer;
}
.lupe__zu:hover, .lupe__zu:focus-visible { color: var(--linen); border-color: var(--kraft); }

/* ---------- Zeitstrahl der Generationen ---------- */

.stufen { display: grid; gap: 0; border-top: 1px solid var(--rule); }
.stufe {
  display: grid; gap: 0.6rem 2rem; padding-block: clamp(1.5rem, 4vw, 2.25rem);
  border-bottom: 1px solid var(--rule);
}
@media (min-width: 760px) {
  .stufe { grid-template-columns: 11rem minmax(0, 1fr); }
}
.stufe__nr {
  font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--kraft);
  display: flex; align-items: baseline; gap: 0.7rem;
}
.stufe__nr i {
  display: block; width: 2rem; height: 1px; background: var(--kraft);
  flex: none; align-self: center;
}
.stufe__text { display: grid; gap: 0.7rem; max-width: 62ch; }
.stufe__text h3 {
  font-family: var(--serif); font-weight: 400; font-size: 1.4rem; line-height: 1.2;
}
.stufe__text p { color: var(--alu); font-size: 0.9375rem; }

/* Die Herkunft der Angaben steht an den Angaben, nicht in einer Fußnote,
   die beim dritten Lesen niemand mehr sieht. */
.herkunft {
  font-family: var(--mono); font-size: 0.625rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--alu-dim);
  border: 1px solid var(--rule); padding: 0.2em 0.55em; white-space: nowrap;
}

.serie-fuss {
  padding-block: clamp(3rem, 8vh, 5rem);
  border-top: 1px solid var(--rule);
  display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; align-items: center;
}

/* Zwei Ausnahmen von der Regelgröße — als Klassen, nicht als style-Attribut:
   Die Inhaltsrichtlinie der Seite erlaubt kein 'unsafe-inline', und ein
   style="" im HTML wird deshalb stillschweigend verworfen. Es sieht dann
   nicht kaputt aus, nur falsch — die schlechteste Art von Fehler. */
.modell__titel--klein { font-size: clamp(1.5rem, 3.2vw, 2rem) !important; }
.lede--schmal { max-width: 60ch; }
.textlink { color: var(--alu); border-bottom: 1px solid var(--kraft-dim); }
.textlink:hover, .textlink:focus-visible { color: var(--linen); }
