:root {
  --orange: #ff7a00;
  --dunkel: #1c1c1c;
  --hell: #fafafa;
  --schatten: 0 4px 16px rgba(0,0,0,.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "Segoe UI", system-ui, sans-serif;
  background: var(--hell);
  color: var(--dunkel);
  line-height: 1.5;
}

/* ---------- Header ---------- */
.logo-wrap {
  text-align: center;
  padding: 16px;
  background: var(--dunkel);
}
.logo {
  max-height: 90px;
  width: auto;
}

.titelbild-wrap {
  position: relative;
  width: 100%;
  line-height: 0;
}
.titelbild {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.titelbild-text {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
  padding: 14px 0;
  font-size: clamp(1.4rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: 1px;
  color: #fff;
  line-height: 1.2;
  background: linear-gradient(to top, rgba(0,0,0,.7), rgba(0,0,0,0));
  text-shadow: 0 2px 6px rgba(0,0,0,.6);
}

/* ---------- Vorschau ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 16px;
}
.vorschau {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--schatten);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
}
.card-title {
  font-size: 1.05rem;
  padding: 14px 16px 8px;
  color: var(--dunkel);
}

.toggle-btn {
  margin: 0 16px 16px;
  padding: 10px 14px;
  border: none;
  border-radius: 8px;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  transition: background .2s, transform .1s;
}
.toggle-btn:hover { background: #e96e00; }
.toggle-btn:active { transform: scale(.98); }

/* ---------- Ausklapp-Galerie ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 0 16px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .4s ease;
}
.gallery.open {
  max-height: 1000px;
  padding: 0 16px 16px;
}
.gallery img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform .2s;
}
.gallery img:hover { transform: scale(1.04); }

/* ---------- Footer ---------- */
.footer {
  text-align: center;
  padding: 24px 16px;
  background: var(--dunkel);
  color: #ccc;
  font-size: .9rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 800px) {
  .vorschau { grid-template-columns: 1fr; }
}
