@charset "utf-8";
/* CSS Document */

/* Sanftes Scrollen für die ganze Seite */
html {
  scroll-behavior: smooth;
}

/* Kachel-Layout */
.kachel-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 40px 20px;
}

.kachel {
  position: relative;
  width: 300px;
  height: 400px;
  background-size: cover;
  background-position: center;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.kachel:hover {
  transform: scale(1.02); /* Minimales Vergrößern beim Drüberfahren */
}

/* Das schwebende Plus-Icon */
.plus-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.9);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%; /* Rund wirkt oft edler */
  font-size: 24px;
  font-weight: bold;
  color: #333;
  transition: transform 0.4s ease, background-color 0.3s ease;
  z-index: 2;
}

/* Drehung des Plus-Icons bei Hover über die Kachel */
.kachel:hover .plus-icon {
  transform: rotate(90deg);
  background-color: #ffffff;
}

/* Text-Overlay mit Schattenverlauf */
.kachel-text {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
  color: white;
  z-index: 1;
}

.kachel-text span {
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* --- AKKORDEON STYLES --- */
.detail-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  background: #f9f9f9;
  transition: max-height 0.6s ease, opacity 0.4s ease;
}

.detail-content.active {
  max-height: 2000px; /* Hoch genug für viel Text/Bilder */
  opacity: 1;
  border-bottom: 3px solid #d4af37; /* Ein goldener/holzfarbener Akzent unten */
}

.content-inner {
  padding: 60px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.detail-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Erzeugt Spalten automatisch */
  gap: 15px; /* Abstand zwischen den Bildern */
  margin-top: 25px;
}

.detail-gallery img {
  width: 100%;
  height: 200px; /* Einheitliche Höhe */
  object-fit: cover; /* Verhindert Verzerrung: Bild wird passend beschnitten */
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  cursor: zoom-in; /* Signalisiert, dass man es genauer ansehen will */
}

.detail-gallery img:hover {
  transform: scale(1.03); /* Kleiner Effekt beim Drüberfahren */
}

