/* Farben aus dem Screenshot geschätzt. Mit Farbpipette am Original prüfen. */
:root {
  --bg-outer: #0b0d12;
  --bg-panel: #0c0c0e;
  --bg-nav: #050506;
  --accent-blue: #3f8fd6;
  --accent-yellow: #ffff99;
  --text: #d2d2d2;
  --text-muted: #8a8a8a;
  --line: #2a2a2e;
  --font: "Source Sans 3", "Segoe UI", Arial, Helvetica, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg-outer) url("../images/bg.jpg") repeat;
  min-height: 100vh;
}

a { color: var(--accent-blue); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

/* Panel in Seitenbreite */
.page {
  max-width: 1100px;
  margin: 0 auto;
  background: transparent;
  min-height: 100vh;
  padding: 1.7rem 0 2rem;
}

/* Kopf mit Logo und Navigation */
.site-header { padding: 0 2rem; }
.logo { display: inline-block; margin: 0.5rem 0 1rem; }
.logo img { width: 570px; max-width: 100%; }

.main-nav { background: var(--bg-nav); }
.main-nav ul {
  list-style: none;
  margin: 0;
  background: transparent;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}
.main-nav a {
  display: block;
  padding: 0.85rem 1.2rem;
  color: #d2d2d2;
  font-weight: 700;
  font-size: 0.9rem;
}
.main-nav a:hover, .main-nav a:focus-visible { text-decoration: none; color: var(--accent-yellow); }
.main-nav a[aria-current="page"] { color: var(--text-muted); }

/* Inhalt */
.content { padding: 2rem 2rem 1rem; }

.home {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 3rem;
}

h1 {
  color: var(--accent-blue);
  font-size: 1.9rem;
  font-weight: 700;
  margin: 0 0 1rem;
  line-height: 1.2;
}

.home-text ul { padding-left: 1.2rem; }
.home-text li { margin-bottom: 0.35rem; }
.home-text strong, .home-text b { color: var(--accent-yellow); font-weight: 700; }
.home-text h3, .home-text h4 { color: var(--text); font-weight: 400; margin: 1.2rem 0 0.6rem; }

/* Rechte Spalte */
.sidebar h2 {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  margin: 2.8rem 0 0.6rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--line);
}
.sidebar ul { list-style: none; margin: 0; padding: 0; }

.sidebar a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0;
  font-size: 0.85rem;
  color: var(--text);
}
.sidebar-icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 1em;
  height: 1em;
  font-size: 1em;
  line-height: 0;
  color: var(--text);
}
.sidebar-icon svg {
  display: block;
  width: 1em;
  height: 1em;
  overflow: visible;
}
.sidebar a:hover { color: var(--accent-blue); text-decoration: none; }

/* Unterseiten */
.page-content p, .page-content li { font-size: 1rem; }

/* Hinweistexte (z. B. Datenschutzhinweis) in kleiner Schrift */
.home-text .hinweis,
.hinweis {
  margin-top: 2rem;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--text-muted);
}
.home-text .hinweis p,
.home-text .hinweis strong,
.home-text .hinweis a {
  font-size: inherit;
}

/* Videos: 16:9-Container für eingebettete YouTube-Videos */
.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0 0 2rem;
  background: #000;
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Info: Bildunterschrift klein und grau, wie im Original */
.info-text figcaption {
  font-size: 0.78em;
  color: var(--text-muted);
  padding-top: 0.3em;
  line-height: 1.4;
}

/* Impressum: kleinere Schrift, nur auf dieser Seite */
.impressum { font-size: 0.8rem; }
.impressum p, .impressum li { font-size: 0.8rem; }
.impressum h2, .impressum h3, .impressum h4 { font-size: 0.9rem; }

/* Fuß */
.site-footer {
  margin: 0 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem 1.5rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; }
.site-footer a { color: var(--text-muted); }
.site-footer .legal { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; color: var(--text-muted); }
.site-footer .legal a { color: #fff; }

/* Mobil */
@media (max-width: 800px) {
  body { font-size: 16px; }
  .page { max-width: 100%; }
  .site-header { padding: 0 1rem; }
  .content { padding: 1.5rem 1rem; }
  .home { grid-template-columns: 1fr; gap: 1rem; }
  .sidebar h2 { margin-top: 1.5rem; }
  h1 { font-size: 1.8rem; }
  .main-nav ul { justify-content: center; }
  .main-nav a { padding: 0.7rem 0.8rem; font-size: 0.95rem; }
  .site-footer { margin: 0 1rem; justify-content: center; text-align: center; }
  .site-footer nav, .site-footer .legal { justify-content: center; }
}

@media (max-width: 420px) {
  .main-nav a { padding: 0.6rem 0.6rem; font-size: 0.9rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* Fotos: Übersicht der Serien */
.foto-liste {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.4rem;
}
.foto-liste a { display: block; color: var(--text); }
.foto-liste a:hover span { color: var(--accent-blue); text-decoration: underline; }
.foto-liste img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #000;
  margin-bottom: 0.45rem;
}
.foto-liste span { font-size: 0.85rem; line-height: 1.35; }

/* Fotos: Raster innerhalb einer Serie */
.foto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.6rem;
  margin-top: 1.5rem;
}
.foto-thumb { display: block; overflow: hidden; background: #000; }
.foto-thumb img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.2s ease;
}
.foto-thumb:hover img { transform: scale(1.04); }
.foto-leer { color: var(--text-muted); margin-top: 1.5rem; }

/* Lightbox (Vollbild) */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox[hidden] { display: none; }
.lightbox-img {
  max-width: 92vw;
  max-height: 86vh;
  width: auto;
  height: auto;
  object-fit: contain;
}
.lightbox button {
  position: absolute;
  background: none;
  border: 0;
  color: #fff;
  cursor: pointer;
  line-height: 1;
}
.lightbox-close { top: 0.4rem; right: 0.6rem; font-size: 2.4rem; padding: 0.3rem 0.6rem; }
.lightbox-prev,
.lightbox-next { top: 50%; transform: translateY(-50%); font-size: 3rem; padding: 0.6rem 0.8rem; }
.lightbox-prev { left: 0.4rem; }
.lightbox-next { right: 0.4rem; }
.lightbox-fullscreen { top: 0.5rem; left: 0.6rem; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.3rem 0.6rem; border: 1px solid #fff; }
.lightbox-caption {
  position: absolute;
  bottom: 0.6rem;
  left: 0;
  right: 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  pointer-events: none;
}

/* Fotoserie: Rücklink zur Übersicht */
.zurueck { font-size: 0.85rem; margin: 0 0 0.6rem; }
.serien-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.3rem 1rem;
  margin: 0 0 1.2rem;
  font-size: 0.7rem;
}
.serien-next { margin-left: auto; text-align: right; }

/* Hochkant-Video (Facebook-Reel): 9:16, mittig, begrenzte Breite */
.video-embed--reel {
  aspect-ratio: 9 / 16;
  max-width: 360px;
  margin: 0 auto 2rem;
}

/* Fotoserie: Überschrift in hellgrau */
.fotoserie h1 { color: #d2d2d2; }
