/* Katzenseiten – gemeinsames Stylesheet (Sheila, Lea, Tiger, Lauser) */

:root {
  --bg: #1b1a18;
  --bg-card: #24221f;
  --text: #e8e2d9;
  --muted: #a39b8f;
  --accent: #d6a65c;
  --radius: 10px;
  --max: 760px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.125rem;
  line-height: 1.75;
}

/* Kopfbereich */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  background: #000 center / cover no-repeat;
  padding: 4rem 1.5rem 3rem;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(27,26,24,0) 30%, rgba(27,26,24,.95) 100%);
}
.hero-inner { position: relative; z-index: 1; }
.hero h1 {
  font-size: clamp(2.6rem, 8vw, 4.5rem);
  font-weight: normal;
  letter-spacing: .04em;
  margin: 0;
}
.hero .dates {
  color: var(--accent);
  font-size: 1.1rem;
  letter-spacing: .12em;
  margin: .3rem 0 0;
}

/* Inhalt */
main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}
main p { margin: 0 0 1.4rem; }

.intro {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--muted);
  text-align: center;
  margin: 1rem 0 3rem;
}

figure { margin: 2.2rem 0; }
figure img,
figure video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  background: var(--bg-card);
}
figure img { cursor: zoom-in; }
figure img.portrait,
figure video.portrait { max-width: 480px; margin: 0 auto; }
figcaption {
  color: var(--muted);
  font-size: .95rem;
  font-style: italic;
  text-align: center;
  margin-top: .6rem;
}

.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .8rem;
  margin: 2.2rem 0;
}
.pair figure { margin: 0; }
.pair img { height: 100%; object-fit: cover; }

.farewell {
  text-align: center;
  font-style: italic;
  border-top: 1px solid #3a3631;
  border-bottom: 1px solid #3a3631;
  padding: 2rem 0;
  margin: 3rem 0;
}

/* Galerie */
.gallery-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
}
.gallery-section h2 {
  font-weight: normal;
  text-align: center;
  color: var(--accent);
  letter-spacing: .08em;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: .6rem;
}
.gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
  cursor: zoom-in;
  transition: opacity .2s;
}
.gallery img:hover { opacity: .85; }

/* Lightbox */
.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: 100vw;
  max-height: 100vh;
}
.lightbox::backdrop { background: rgba(0,0,0,.92); }
.lightbox img {
  display: block;
  max-width: 95vw;
  max-height: 92vh;
  border-radius: 6px;
}
.lightbox button {
  position: fixed;
  background: rgba(0,0,0,.5);
  color: #fff;
  border: 0;
  font-size: 2rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  cursor: pointer;
}
.lightbox .lb-close { top: 1rem; right: 1rem; }
.lightbox .lb-prev  { left: 1rem;  top: 50%; transform: translateY(-50%); }
.lightbox .lb-next  { right: 1rem; top: 50%; transform: translateY(-50%); }

/* Fußzeile */
footer {
  text-align: center;
  color: var(--muted);
  font-size: .9rem;
  padding: 2rem 1rem 3rem;
  border-top: 1px solid #2f2c28;
}
footer a { color: var(--muted); }
footer a:hover { color: var(--accent); }

@media (max-width: 560px) {
  .pair { grid-template-columns: 1fr; }
  body { font-size: 1.05rem; }
}
