/* ───────────────────────────────────────────────
   Grundlayout & Reset
───────────────────────────────────────────────── */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  font-family: system-ui, -apple-system, sans-serif;
  color: #4a463a;
}

body {
  background: linear-gradient(120deg, #fffaf0, #f5f0dc, #fff3c4, #fdfdfd);
  background-size: 400% 400%;
  animation: wave 20s ease-in-out infinite;
}

@keyframes wave {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ───────────────────────────────────────────────
   Start-Logos (oben links?)
───────────────────────────────────────────────── */
.start-logo,
.start-logo2 {
  position: absolute;
  top: 20px;
  left: 30px;           /* ← von 435/450 auf vernünftige Werte */
  width: 180px;         /* sinnvollere Größe */
  height: auto;
  z-index: 10;
}

.start-logo2 {
  left: 220px;          /* etwas versetzt */
  top: 35px;
}

/* ───────────────────────────────────────────────
   Sidebar – Hauptänderungen hier
───────────────────────────────────────────────── */
.sidebar {
  position: fixed;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;               /* war 35px → jetzt viel enger */
  width: 260px;            /* etwas breiter für bessere Lesbarkeit */
  padding: 20px 0;
  z-index: 100;
}

.nav-item {
  width: 100%;
  min-height: 56px;        /* war 70px → kompakter */
  border: 2px solid #d6cba5;
  border-radius: 16px;
  background: rgba(255,255,255,0.65);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  font-size: 1.05rem;      /* etwas kleiner als 18px */
  color: #4a463a;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0,0,0,0.04);
  transition: all 0.25s ease;
}

.nav-item:hover {
  background: rgba(255,255,255,0.85);
  transform: translateX(4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.nav-item.active {
  font-weight: 700;
  background: rgba(255,255,255,0.92);
  border-color: #c7b985;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

/* Katzen-Icons in der Navigation */
.menu-cat {
  width: 42px;             /* war 150×80 → viel kleiner & realistischer */
  height: 42px;
  object-fit: contain;
  opacity: 0.25;
  transition: opacity 0.3s ease;
  margin-left: 8px;
}

.nav-item:hover .menu-cat,
.nav-item.active .menu-cat {
  opacity: 0.9;
}

/* Trennlinie vor Admin-Bereich */
.sidebar hr {
  margin: 14px 0 10px;
  border: none;
  border-top: 1px solid rgba(214, 203, 165, 0.4);
  width: 80%;
  align-self: center;
}

/* Admin-Link hervorheben */
.nav-item[href*="page=ad"] {
  background: rgba(255, 243, 205, 0.75) !important;
  border-color: #d4a017;
  color: #8b6f00;
  font-weight: 600;
}

/* ───────────────────────────────────────────────
   Content-Bereich
───────────────────────────────────────────────── */
#content {
  margin-left: 300px;         /* Sidebar + Puffer */
  padding: 40px 60px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 35px;
  box-sizing: border-box;
}

/* ───────────────────────────────────────────────
   Info-Box (wird jetzt überall verwendet)
───────────────────────────────────────────────── */
.info-box {
  width: 100%;
  max-width: 820px;
  border: 2px solid #d6cba5;
  border-radius: 20px;
  background: rgba(255,255,255,0.72);
  padding: 28px 36px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  box-sizing: border-box;
  text-align: left;
}

/* ───────────────────────────────────────────────
   Katzen-Layout
───────────────────────────────────────────────── */
.katzen-liste {
  display: flex;
  flex-direction: column;
  gap: 45px;
  width: 100%;
  max-width: 1100px;
}

.katze-box {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.katze-bild-wrapper {
  position: relative;
  width: 360px;
  height: 360px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 16px;
}

.slideshow img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0; left: 0;
  display: none;
}

.slideshow img.active {
  display: block;
}

.katze-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.48);
  color: white;
  font-size: 2.1rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  pointer-events: none;
  z-index: 5;
}

/* ───────────────────────────────────────────────
   Kleinere Hilfs-Klassen
───────────────────────────────────────────────── */
.katzen-details {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
}

.katzen-details li {
  margin: 0.5rem 0;
  font-size: 0.98rem;
}

.zusatz-info {
  border-top: 1px solid #eee;
  padding-top: 1rem;
  margin-top: 1.2rem;
  font-style: italic;
  color: #555;
}



.menu-cat {
  width: 550px;
  height: 60px;
  object-fit: contain;
  opacity: 0;
  transition: all 0.3s ease;
  margin-left: 8px;
  margin-bottom: -17px;
}

/* Nur wenn aktiv → größer */
.nav-item.active .menu-cat {
  opacity: 10;
  transform: scale(1.6);   /* ← hier wird sie größer */
}
