/* Die Internationale Fredric Nezce-Gesellschaft – statische Seite
   Angelehnt an das frühere Theme „Photo Journal“: fast schwarzer Grund,
   großes Kopfbild, weiße Schrift. Keine externen Schriften (Datenschutz). */

:root {
  --grund: #0a0000;
  --flaeche: #150707;
  --linie: #2e1a1a;
  --text: #e9e3dd;
  --text-leise: #a89d95;
  --akzent: #c8323a;
  --spalte: 62rem;
  --schmal: 42rem;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--grund);
  color: var(--text);
  font: 1.0625rem/1.7 var(--sans);
}

a { color: var(--text); text-decoration-color: var(--akzent); text-underline-offset: .2em; }
a:hover { color: #fff; text-decoration-thickness: 2px; }

/* ---------- Kopf ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 1rem 6rem;
  /* KOPFBILD: Datei cropped-Freddy1-1.jpg nach /bilder legen – wird automatisch genutzt. */
  background:
    linear-gradient(rgba(10,0,0,.35), rgba(10,0,0,.8)),
    url("bilder/cropped-Freddy1-1.jpg") center / cover no-repeat,
    radial-gradient(ellipse at 50% 35%, #3a1214 0%, #140404 55%, var(--grund) 100%);
}

.hero-inhalt { max-width: 46rem; }

.bild.logo-bild { width: 11rem; height: 11rem; margin: 0 auto 2rem; }
.logo-bild img { width: 100%; height: 100%; object-fit: contain; }
.logo-bild.fehlt { border-radius: 50%; }

.hero h1 {
  margin: 0;
  font: 400 clamp(2.1rem, 6vw, 3.8rem)/1.1 var(--serif);
  letter-spacing: .01em;
}

.claim {
  margin: 1.25rem 0 0;
  font: italic 400 clamp(1.05rem, 2.4vw, 1.35rem)/1.4 var(--serif);
  color: var(--text-leise);
}

.runter {
  position: absolute;
  left: 50%; bottom: 2rem;
  width: 2.75rem; height: 2.75rem;
  margin-left: -1.375rem;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 50%;
}
.runter::after {
  content: "";
  position: absolute;
  left: 50%; top: 42%;
  width: .6rem; height: .6rem;
  border-right: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: translate(-50%, -50%) rotate(45deg);
}
.runter:hover { border-color: var(--akzent); }

/* ---------- Navigation ---------- */
.navi {
  position: sticky; top: 0; z-index: 5;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: .25rem clamp(1rem, 4vw, 2rem);
  padding: .9rem 1rem;
  background: rgba(10,0,0,.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--linie);
}
.navi a {
  font: 600 .78rem/1.4 var(--sans);
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-leise);
}
.navi a:hover { color: #fff; }

/* ---------- Abschnitte ---------- */
main { padding: 0 1rem; }

.abschnitt {
  max-width: var(--spalte);
  margin: 0 auto;
  padding: 5rem 0 4rem;
  border-bottom: 1px solid var(--linie);
  scroll-margin-top: 3.5rem;
}
.abschnitt:last-child { border-bottom: 0; }
.abschnitt.schmal { max-width: var(--schmal); }

h2 {
  margin: 0 0 2.5rem;
  font: 400 clamp(1.8rem, 4vw, 2.4rem)/1.2 var(--serif);
  text-align: center;
}
h2::after {
  content: "";
  display: block;
  width: 2.5rem; height: 2px;
  margin: 1rem auto 0;
  background: var(--akzent);
}

.gross { font: 400 1.3rem/1.6 var(--serif); }
.hinweis-klein { text-align: center; color: var(--text-leise); margin: -1.5rem 0 2.5rem; font-size: .9rem; }

/* ---------- Projekte ---------- */
.projekt {
  display: grid;
  gap: 1.5rem 2.5rem;
  grid-template-columns: 1fr;
  padding: 3rem 0;
  border-top: 1px solid var(--linie);
}
.projekt:first-of-type { border-top: 0; padding-top: 0; }

@media (min-width: 52rem) {
  .projekt { grid-template-columns: 3fr 2fr; }
  .projekt-kopf, .galerie { grid-column: 1 / -1; }
}

.jahr {
  margin: 0 0 .4rem;
  font: 600 .75rem/1.4 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--akzent);
}

h3 {
  margin: 0;
  font: 400 clamp(1.5rem, 3.4vw, 2rem)/1.2 var(--serif);
}
h3 span {
  display: block;
  margin-top: .3rem;
  font-size: .62em;
  font-style: italic;
  color: var(--text-leise);
}

.projekt-text p { margin: 0 0 1rem; }

.credits { margin: 0; font-size: .95rem; }
.credits dt {
  margin-top: .75rem;
  font: 600 .72rem/1.4 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-leise);
}
.credits dd { margin: .15rem 0 0; }

/* Video (Zwei-Klick) */
.video-start, .video iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}
.video-start {
  position: relative;
  cursor: pointer;
  background: radial-gradient(circle at 50% 45%, #2a1012, #0f0404 75%);
  border: 1px solid var(--linie);
  color: #fff;
  font: inherit;
}
.video-start:focus-visible { outline: 2px solid var(--akzent); outline-offset: 3px; }
.play {
  position: absolute; top: 50%; left: 50%;
  width: 4.2rem; height: 4.2rem;
  margin: -2.6rem 0 0 -2.1rem;
  border-radius: 50%;
  border: 2px solid #fff;
  transition: background .15s ease, border-color .15s ease;
}
.play::after {
  content: "";
  position: absolute; top: 50%; left: 55%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: .7rem 0 .7rem 1.1rem;
  border-color: transparent transparent transparent #fff;
}
.video-start:hover .play { background: var(--akzent); border-color: var(--akzent); }
.video-hinweis {
  position: absolute; left: 0; right: 0; bottom: .8rem;
  font-size: .75rem; color: rgba(255,255,255,.55);
}

/* Galerie */
.galerie {
  display: grid;
  gap: .5rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 11rem), 1fr));
}
.galerie .bild { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--flaeche); }
.galerie img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease, opacity .3s ease; opacity: .9; }
.galerie a:hover img { transform: scale(1.04); opacity: 1; }

/* ---------- Mitglieder ---------- */
.mitglieder {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 2.5rem 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 12.5rem), 1fr));
  text-align: center;
}
.mitglieder strong { display: block; margin-top: 1rem; font: 400 1.2rem/1.3 var(--serif); }
.mitglieder span { display: block; margin-top: .3rem; font-size: .9rem; color: var(--text-leise); }

.mitglieder .portraet {
  width: 10rem; height: 10rem;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  background: var(--flaeche);
  border: 1px solid var(--linie);
}
.portraet img {
  width: 100%; height: 100%; display: block;
  object-fit: cover;
  /* Bildausschnitt: waagerecht / senkrecht. Kleinere zweite Zahl = Ausschnitt weiter oben.
     Pro Person im HTML über style="--fokus: 50% 20%" anpassbar. */
  object-position: var(--fokus, 50% 25%);
}
.initialen {
  display: grid; place-items: center;
  font: 400 2.2rem/1 var(--serif);
  color: var(--text-leise);
}

/* ---------- Bildbetrachter (Lightbox) ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 50;
  display: none;
  align-items: center; justify-content: center;
  background: rgba(8,0,0,.94);
  padding: 4rem 4.5rem;
}
.lightbox.offen { display: flex; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img {
  max-width: 100%;
  max-height: calc(100vh - 9rem);
  max-height: calc(100svh - 9rem);
  object-fit: contain;
  box-shadow: 0 10px 40px rgba(0,0,0,.6);
}
.lightbox figcaption { margin-top: .9rem; font-size: .85rem; color: var(--text-leise); text-align: center; }
.lb-knopf {
  position: absolute;
  display: grid; place-items: center;
  width: 3rem; height: 3rem;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  background: rgba(10,0,0,.6);
  color: #fff;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.lb-knopf:hover, .lb-knopf:focus-visible { background: var(--akzent); border-color: var(--akzent); outline: none; }
.lb-knopf svg { width: 1.3rem; height: 1.3rem; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.lb-zu { top: 1rem; right: 1rem; }
.lb-zurueck { left: 1rem; top: 50%; margin-top: -1.5rem; }
.lb-weiter { right: 1rem; top: 50%; margin-top: -1.5rem; }
@media (max-width: 40rem) {
  .lightbox { padding: 4rem .5rem 5.5rem; }
  .lb-zurueck, .lb-weiter { top: auto; bottom: 1.25rem; margin-top: 0; }
  .lb-zurueck { left: calc(50% - 4rem); }
  .lb-weiter { right: calc(50% - 4rem); }
}
body.lb-aktiv { overflow: hidden; }

/* ---------- Platzhalter für fehlende Bilder ---------- */
.bild { margin: 0; position: relative; }
.bild.fehlt { background: repeating-linear-gradient(45deg, #1a0a0a 0 10px, #140606 10px 20px); border: 1px dashed #4a2a2a; }
.bild.fehlt img { visibility: hidden; }
.bild.fehlt::after {
  content: attr(data-datei);
  position: absolute; inset: 0;
  display: grid; place-items: center;
  padding: .5rem;
  font: .7rem/1.3 ui-monospace, Menlo, Consolas, monospace;
  color: #8a7470;
  text-align: center;
  word-break: break-all;
}

/* ---------- Fuß ---------- */
.fuss {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: .5rem 1.5rem;
  padding: 2rem 1rem;
  border-top: 1px solid var(--linie);
  color: var(--text-leise);
  font-size: .85rem;
}

/* ---------- Impressum ---------- */
.seite { max-width: var(--schmal); margin: 0 auto; padding: 3rem 1rem 4rem; }
.seite h1 { font: 400 2.2rem/1.2 var(--serif); margin: 1rem 0 2rem; }
.seite h2 { text-align: left; font-size: 1.35rem; margin: 2.5rem 0 1rem; }
.seite h2::after { margin-left: 0; }
.seite h3 { font-size: 1.1rem; margin: 1.75rem 0 .5rem; }
.seite p { margin: 0 0 1rem; }
.zurueck { font-size: .9rem; color: var(--text-leise); }
