/* ==========================================================
   Fotografie – Stylesheet
   Farben und Schriften zentral hier ändern (:root)
   ========================================================== */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif";
  src: url("../fonts/source-serif-4-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Source Serif";
  src: url("../fonts/source-serif-4-latin-400-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Source Serif";
  src: url("../fonts/source-serif-4-latin-600-normal.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}

:root {
  --grund: #000;          /* Hintergrund: Schwarz lässt die Bilder leuchten */
  --flaeche: #141414;     /* Formularfelder, Kästen */
  --hell: #efeee9;        /* Text */
  --grau: #9b9b94;        /* Bildunterschriften, Nebentext */
  --linie: #2c2c2c;       /* feine Trennlinien */
  --signal: #5a7bff;      /* Blaulicht-Blau: aktive Auswahl, Fokus, Fortschritt */

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --text: "Source Serif", Georgia, serif;

  --rand: clamp(16px, 4vw, 56px);
  --max: 1560px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

body {
  margin: 0;
  background: var(--grund);
  color: var(--hell);
  font-family: var(--text);
  font-size: 1.125rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--signal); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
::selection { background: var(--signal); color: #fff; }

.rahmen { max-width: var(--max); margin-inline: auto; padding-inline: var(--rand); }

/* ---------- Kopfzeile ---------- */
.kopf {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding-block: 22px;
  font-family: var(--display); font-size: .95rem;
}
.kopf .marke { font-weight: 700; font-stretch: 112%; text-decoration: none; letter-spacing: -.01em; font-size: 1.05rem; }
.kopf nav { display: flex; gap: clamp(12px, 2.5vw, 34px); flex-wrap: wrap; justify-content: flex-end; }
.kopf nav a { text-decoration: none; }
.kopf nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 2px; text-underline-offset: .35em; }
/* über einem Vollbild liegende Kopfzeile */
.kopf.ueberlagert {
  position: absolute; z-index: 5; left: 0; right: 0; top: 0;
  max-width: var(--max); margin-inline: auto; padding-inline: var(--rand);
  color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,.5);
}
@media (max-width: 520px) { .kopf { flex-direction: column; gap: 6px; } .kopf nav { justify-content: flex-start; } }

/* ---------- Startseite: Vollbild mit wechselnden Fotos ---------- */
.buehne {
  position: relative; height: 100svh; min-height: 560px; overflow: hidden; background: #000; color: #fff;
}
.buehne .dia {
  position: absolute; inset: 0; margin: 0; opacity: 0;
  transition: opacity 1.6s ease;
}
.buehne .dia.an { opacity: 1; }
.buehne .dia img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.0); transform-origin: var(--fx, 50%) var(--fy, 50%);
}
.buehne .dia.an img { animation: zoom 9s ease-out forwards; }
@keyframes zoom { to { transform: scale(1.09); } }
.buehne::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(0,0,0,.55) 0, rgba(0,0,0,0) 22%),
    linear-gradient(to top, rgba(0,0,0,.82) 0, rgba(0,0,0,.25) 38%, rgba(0,0,0,0) 60%);
}
.buehne-inhalt {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 0;
  max-width: var(--max); margin-inline: auto; padding: 0 var(--rand) clamp(22px, 4vw, 44px);
}
.namenszug {
  margin: 0;
  font-family: var(--display); font-weight: 850; font-stretch: 125%;
  font-size: clamp(3.4rem, 14.5vw, 15rem); line-height: .82; letter-spacing: -.04em;
}
.namenszug span { display: block; }
.buehne-fuss {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem 2rem; flex-wrap: wrap;
  margin-top: clamp(16px, 2.4vw, 28px); font-family: var(--display); font-size: .9rem;
}
.buehne-fuss .dia-text { color: rgba(255,255,255,.8); min-height: 1.4em; }
.buehne-fuss .dia-text a { color: #fff; }
.fortschritt { display: flex; gap: 6px; }
.fortschritt button {
  all: unset; cursor: pointer; width: clamp(28px, 4vw, 54px); height: 18px; position: relative;
}
.fortschritt button::before, .fortschritt button span {
  content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 2px; background: rgba(255,255,255,.3);
}
.fortschritt button span { right: auto; width: 0; background: #fff; }
.fortschritt button.an span { animation: laden var(--dauer, 7s) linear forwards; }
.fortschritt button.fertig span { width: 100%; }
.fortschritt button:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }
@keyframes laden { to { width: 100%; } }

.aussage {
  margin: 0; padding-block: clamp(70px, 11vw, 160px) 0;
  font-family: var(--text); font-size: clamp(1.6rem, 3.6vw, 3.1rem); line-height: 1.22; letter-spacing: -.01em;
  max-width: 24ch;
}
.aussage em { color: var(--grau); font-style: italic; }

/* ---------- Abschnitte ---------- */
.abschnitt { padding-block: clamp(70px, 11vw, 160px) 0; }
.abschnitt-kopf {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap;
  margin-bottom: clamp(22px, 3.5vw, 44px);
}
.abschnitt-kopf h2, .abschnitt > h2 {
  margin: 0; font-family: var(--display); font-weight: 750; font-stretch: 118%;
  font-size: clamp(2rem, 5vw, 4.4rem); line-height: .95; letter-spacing: -.035em;
}
.abschnitt > h2 { margin-bottom: clamp(22px, 3.5vw, 44px); }
.abschnitt-kopf a { font-family: var(--display); font-size: .95rem; }

/* ---------- Geschichten (Startseite + Übersicht) ---------- */
.geschichten { display: grid; gap: clamp(56px, 8vw, 120px); }
.geschichte-karte { display: grid; gap: 18px; text-decoration: none; }
.geschichte-karte .bild { overflow: hidden; background: #111; }
.geschichte-karte img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
  transition: transform .9s cubic-bezier(.2,.7,.2,1);
}
.geschichte-karte:hover img { transform: scale(1.03); }
.geschichte-karte .meta { font-family: var(--display); font-size: .88rem; color: var(--grau); }
.geschichte-karte h3 {
  margin: 6px 0 0; font-family: var(--display); font-weight: 750; font-stretch: 116%;
  font-size: clamp(1.9rem, 4.4vw, 4rem); line-height: .98; letter-spacing: -.035em;
}
.geschichte-karte:hover h3 { color: var(--signal); }
.geschichte-karte p { margin: 12px 0 0; color: var(--grau); max-width: 40ch; font-size: 1.15rem; }
.geschichte-karte .weiter { display: inline-block; margin-top: 18px; font-family: var(--display); font-size: .95rem; text-decoration: underline; text-underline-offset: .3em; color: var(--hell); }
@media (min-width: 900px) {
  .geschichte-karte { grid-template-columns: 8fr 4fr; gap: clamp(28px, 4vw, 64px); align-items: end; }
  .geschichte-karte:nth-child(even) { grid-template-columns: 4fr 8fr; }
  .geschichte-karte:nth-child(even) .bild { order: 2; }
  .geschichte-karte .text { padding-bottom: 8px; }
}

/* ---------- Themenverzeichnis ---------- */
.themen { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hell); }
.themen li { border-bottom: 1px solid var(--linie); }
.themen a {
  display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 16px;
  padding: 14px 0; text-decoration: none;
}
.themen .vorschau-klein { width: 64px; height: 48px; object-fit: cover; background: #1a1a1a; }
.themen .name {
  font-family: var(--display); font-weight: 650; font-stretch: 118%;
  font-size: clamp(1.35rem, 3.6vw, 2.9rem); line-height: 1.05; letter-spacing: -.025em;
}
.themen .beschreibung { display: none; color: var(--grau); font-size: 1rem; }
.themen .anzahl { font-family: var(--display); font-size: .85rem; color: var(--grau); white-space: nowrap; }
.themen a:hover .name, .themen a:focus-visible .name { color: var(--signal); }
@media (min-width: 900px) {
  .themen a { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 90px; gap: 24px; padding: 18px 0; }
  .themen .vorschau-klein { display: none; }
  .themen .beschreibung { display: block; }
  .themen .anzahl { text-align: right; }
}
.schwebebild {
  position: fixed; left: 0; top: 0; z-index: 30; pointer-events: none;
  width: 300px; aspect-ratio: 4 / 3; object-fit: cover;
  opacity: 0; transform: translate(-50%, -50%) scale(.94);
  transition: opacity .18s ease, transform .18s ease;
}
.schwebebild.an { opacity: 1; transform: translate(-50%, -50%) scale(1); }
@media (hover: none), (max-width: 899px) { .schwebebild { display: none; } }

/* ---------- Ausgewählte Arbeiten ---------- */
.auswahl { columns: 1; column-gap: clamp(16px, 2.5vw, 36px); }
@media (min-width: 640px) { .auswahl { columns: 2; } }
@media (min-width: 1100px) { .auswahl { columns: 3; } }
.auswahl figure { break-inside: avoid; margin: 0 0 clamp(28px, 4vw, 56px); }
.auswahl button { all: unset; cursor: zoom-in; display: block; width: 100%; }
.auswahl button:focus-visible { outline: 2px solid var(--signal); outline-offset: 4px; }
.auswahl img { width: 100%; background: #111; }
.bildtext { margin-top: 10px; font-family: var(--display); font-size: .85rem; line-height: 1.35; color: var(--grau); }
.bildtext strong { color: var(--hell); font-weight: 600; }

/* ---------- Über mich ---------- */
.ueber { display: grid; gap: clamp(28px, 5vw, 72px); }
.ueber img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: #111; }
.ueber .fliesstext p { margin: 0 0 1em; max-width: 60ch; }
.ueber .fliesstext p:first-child { font-size: 1.4rem; line-height: 1.42; }
.angebot { margin: 2.2rem 0 0; padding: 0; border-top: 1px solid var(--linie); max-width: 60ch; }
.angebot div { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--linie); }
.angebot dt { font-family: var(--display); font-weight: 650; font-stretch: 110%; }
.angebot dd { margin: 0; color: var(--grau); font-size: 1rem; }
@media (min-width: 900px) {
  .ueber { grid-template-columns: 5fr 7fr; align-items: start; }
  .angebot div { grid-template-columns: 220px 1fr; gap: 20px; }
}

/* ---------- Kontakt ---------- */
.kontakt { display: grid; gap: clamp(28px, 5vw, 72px); }
.kontakt .direkt p { margin: 0 0 1rem; max-width: 36ch; }
.kontakt .direkt a.gross { font-family: var(--display); font-weight: 650; font-stretch: 112%; font-size: clamp(1.2rem, 2.4vw, 1.7rem); word-break: break-word; }
@media (min-width: 900px) { .kontakt { grid-template-columns: 5fr 7fr; } }

form.formular { display: grid; gap: 18px; }
.feld { display: grid; gap: 6px; }
.feld label, .zustimmung { font-family: var(--display); font-size: .9rem; }
.feld input, .feld select, .feld textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--hell);
  background: var(--flaeche); border: 1px solid var(--linie); border-radius: 2px;
  padding: 12px 14px;
}
.feld textarea { min-height: 170px; resize: vertical; }
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: 2px solid var(--signal); outline-offset: 0; border-color: transparent; }
.zwei { display: grid; gap: 18px; }
@media (min-width: 640px) { .zwei { grid-template-columns: 1fr 1fr; } }
.zustimmung { display: flex; gap: 10px; align-items: flex-start; line-height: 1.45; color: var(--grau); }
.zustimmung input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--signal); }
.honig { position: absolute; left: -9999px; }
.knopf {
  justify-self: start; cursor: pointer;
  font-family: var(--display); font-weight: 650; font-size: 1rem; font-stretch: 110%;
  color: #000; background: var(--hell); border: 0; border-radius: 2px; padding: 14px 26px;
}
.knopf:hover { background: var(--signal); color: #fff; }
.knopf[disabled] { opacity: .6; cursor: progress; }
.meldung { margin: 0; font-family: var(--display); font-size: .95rem; min-height: 1.4em; }
.meldung.ok { color: #6fd08c; }
.meldung.fehler { color: #ff7a6e; }

/* ---------- Fußzeile ---------- */
.fuss {
  margin-top: clamp(80px, 12vw, 160px); padding-block: 26px 34px; border-top: 1px solid var(--linie);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px;
  font-family: var(--display); font-size: .85rem; color: var(--grau);
}
.fuss nav { display: flex; gap: 22px; flex-wrap: wrap; }
.fuss a { color: var(--grau); }

/* ---------- Galerie-Seite / Übersichten ---------- */
.seiten-kopf { padding-top: clamp(30px, 6vw, 80px); }
.seiten-kopf h1 {
  margin: 0; font-family: var(--display); font-weight: 850; font-stretch: 125%;
  font-size: clamp(2.8rem, 10vw, 9.5rem); line-height: .86; letter-spacing: -.04em;
}
.seiten-kopf p { margin: 16px 0 0; color: var(--grau); max-width: 52ch; min-height: 1.6em; }
.seiten-kopf + .geschichten { margin-top: clamp(40px, 6vw, 90px); }
.filter {
  display: flex; gap: 8px 22px; flex-wrap: wrap;
  margin: clamp(24px, 4vw, 44px) 0 clamp(20px, 3vw, 32px);
  padding: 14px 0; border-top: 1px solid var(--hell); border-bottom: 1px solid var(--linie);
  font-family: var(--display); font-size: .95rem;
}
.filter button { all: unset; cursor: pointer; padding: 4px 0; color: var(--grau); border-bottom: 2px solid transparent; }
.filter button:hover { color: var(--hell); }
.filter button[aria-pressed="true"] { color: var(--hell); border-bottom-color: var(--signal); }
.filter button:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
.filter sup { font-size: .7em; margin-left: 2px; }

.raster { display: flex; flex-wrap: wrap; gap: 8px; }
.raster button { all: unset; cursor: zoom-in; position: relative; overflow: hidden; background: #111; }
.raster button:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
.raster img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.raster button:hover img { transform: scale(1.025); }
.raster figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 12px 10px;
  font-family: var(--display); font-size: .82rem; color: #fff;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
  opacity: 0; transition: opacity .2s;
}
.raster button:hover figcaption, .raster button:focus-visible figcaption { opacity: 1; }
@media (hover: none) { .raster figcaption { display: none; } }

.sperre {
  display: grid; gap: 16px; justify-items: start;
  padding: clamp(28px, 5vw, 56px); background: var(--flaeche); border: 1px solid var(--linie); max-width: 640px;
}
.sperre h2 { margin: 0; font-family: var(--display); font-stretch: 112%; font-size: 1.6rem; }
.sperre p { margin: 0; color: var(--grau); }
.leer { color: var(--grau); }

/* ---------- Reportage-Seite ---------- */
.reportage-kopf { position: relative; height: 92svh; min-height: 520px; overflow: hidden; color: #fff; }
.reportage-kopf > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reportage-kopf::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.5) 0, rgba(0,0,0,0) 25%), linear-gradient(to top, rgba(0,0,0,.85) 0, rgba(0,0,0,0) 55%);
}
.reportage-titel {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 0;
  max-width: var(--max); margin-inline: auto; padding: 0 var(--rand) clamp(26px, 5vw, 60px);
}
.reportage-titel .meta { font-family: var(--display); font-size: .92rem; color: rgba(255,255,255,.78); }
.reportage-titel h1 {
  margin: 10px 0 0; font-family: var(--display); font-weight: 850; font-stretch: 122%;
  font-size: clamp(2.6rem, 8.5vw, 8rem); line-height: .88; letter-spacing: -.04em; max-width: 14ch;
}
.reportage-titel p { margin: 18px 0 0; font-size: clamp(1.15rem, 2vw, 1.5rem); max-width: 40ch; color: rgba(255,255,255,.88); }
.reportage { padding-top: clamp(50px, 8vw, 110px); }
.reportage > p {
  max-width: 62ch; margin: 0 auto clamp(40px, 6vw, 80px); font-size: 1.25rem; line-height: 1.68;
}
.reportage > p:first-child::first-letter {
  float: left; font-family: var(--display); font-weight: 850; font-stretch: 120%;
  font-size: 4.6em; line-height: .78; margin: .06em .1em 0 0;
}
.reportage .bildblock { display: grid; gap: clamp(10px, 1.6vw, 22px); margin: 0 0 clamp(50px, 8vw, 110px); }
.reportage .bildblock.paar { grid-template-columns: 1fr; }
@media (min-width: 760px) { .reportage .bildblock.paar { grid-template-columns: 1fr 1fr; align-items: start; } }
.reportage .bildblock figure { margin: 0; }
.reportage .bildblock button { all: unset; cursor: zoom-in; display: block; width: 100%; }
.reportage .bildblock button:focus-visible { outline: 2px solid var(--signal); outline-offset: 4px; }
.reportage .bildblock img { width: 100%; background: #111; }
.reportage .bildblock.einzeln.hoch { max-width: 900px; margin-inline: auto; }
.weitere { border-top: 1px solid var(--linie); padding-top: clamp(40px, 6vw, 80px); }

/* ---------- Lightbox ---------- */
dialog.lichtkasten {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: #000; color: #f2f2f0;
}
dialog.lichtkasten::backdrop { background: #000; }
.lk-buehne { position: absolute; inset: 56px 0 74px; display: grid; place-items: center; padding-inline: clamp(8px, 6vw, 90px); }
.lk-buehne img { max-width: 100%; max-height: calc(100dvh - 130px); width: auto; height: auto; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.lk-oben, .lk-unten {
  position: absolute; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 0 clamp(14px, 3vw, 28px); font-family: var(--display); font-size: .9rem;
}
.lk-oben { top: 0; height: 56px; }
.lk-unten { bottom: 0; height: 74px; }
.lk-unten .lk-text { color: #bdbdb8; }
.lk-unten .lk-text strong { color: #fff; font-weight: 600; }
.lichtkasten button { all: unset; cursor: pointer; color: #f2f2f0; padding: 8px 10px; font-family: var(--display); font-size: .95rem; }
.lichtkasten button:hover { color: #8fa6ff; }
.lichtkasten button:focus-visible { outline: 2px solid #8fa6ff; outline-offset: 2px; }
.lichtkasten .lk-pfeil { position: absolute; top: 50%; transform: translateY(-50%); font-size: 2rem; line-height: 1; padding: 20px 14px; }
.lichtkasten .lk-zurueck { left: 4px; } .lichtkasten .lk-weiter { right: 4px; }
@media (max-width: 640px) { .lichtkasten .lk-pfeil { display: none; } }

/* ---------- Rechtstexte ---------- */
.rechtstext { max-width: 72ch; padding-top: clamp(30px, 6vw, 80px); }
.rechtstext h1 { font-family: var(--display); font-weight: 800; font-stretch: 120%; font-size: clamp(2.2rem, 6vw, 4.5rem); line-height: .95; letter-spacing: -.03em; margin: 0 0 1.4rem; }
.rechtstext h2 { font-family: var(--display); font-stretch: 110%; font-size: 1.25rem; margin: 2.2rem 0 .5rem; }
.rechtstext .hinweis { background: #3a3000; color: #ffe680; border-left: 3px solid #c9a400; padding: 12px 16px; font-size: 1rem; }
