body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background: #1c1c1c;
  color: white;
  overflow-x: hidden;
}

header {
  text-align: center;
  margin-top: 60px;
}

header h1 {
  font-size: 2rem;
  color: #fff;
  margin: 0;
}

header h2 {
  position: relative;
  display: inline-block;
  color: #c59d5f;
  font-weight: 700;
  font-size: 5rem;
  margin: 0;
  margin-top: -0.5rem;
  filter: drop-shadow(0 0 10px #c59c5fa6);
}

header h2 .stars::before,
header h2 .stars::after {
  content: '★';
  position: absolute;
  font-size: 1.5rem;
  color: #efd481;
  opacity: 0;
  animation: twinkle 6s infinite;
}

header h2 .stars::before { top: 20%; left: 15%; animation-delay: 0s; }
header h2 .stars::after { top: 50%; left: 70%; animation-delay: 3s; }

@keyframes twinkle {
  0%, 100% { opacity: 0; transform: rotate(0deg); }
  10%, 50% { opacity: 1; transform: rotate(180deg); }
  90% { opacity: 0; transform: rotate(360deg); }
}

/* === GALLERY === */
.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding: 60px 20px;
}

.frame {
  position: relative;
  width: 40%;
  max-width: 400px;
  cursor: zoom-in;
  transition: transform 0.3s ease;
}

.frame:hover {
  transform: scale(1.02);
}

.img-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #d5ac68;
}

.img-container img:first-child {
  width: 92%;
  height: auto;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  object-fit: contain;
}

.frame-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

/* === RAHMEN-TYPEN === */

/* 🔲 Quadratisch (Standard) */
.frame-quad .img-container img:first-child {
  width: 75%;
  top: 50%;
  left: 50%;
}

/* ⬛ Querformat */
.frame-hor .img-container img:first-child {
  width: 90%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.95);
}

/* 🧱 Hochformat */
.frame-ver .img-container img:first-child {
  width: 77%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1.05);
}

/* === OVERLAY === */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease;
  z-index: 1000;
}

.overlay img {
  max-width: 80%;
  max-height: 80%;
  border-radius: 10px;
  transform: scale(0.8);
  transition: transform 0.4s ease;
}

.overlay:not(.hidden) {
  opacity: 1;
  visibility: visible;
}

.overlay:not(.hidden) img {
  transform: scale(1);
  cursor: auto;
}

.overlay .buttons {
  margin-top: 20px;
  display: flex;
  gap: 20px;
}

.btn {
  background: #1c1c1c;
  color: #c59d5f;
  border: 2px solid #c59d5f;
  border-radius: 10px;
  padding: 10px 25px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn:hover {
  background: #c59d5f;
  color: #1c1c1c;
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(197, 157, 95, 0.6);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .frame {
    width: 90%;
  }
}

footer {
  text-align: center;
  margin-top: 50px;
  font-size: 0.9rem;
  color: #ffffff;
  background-color: #c59d5f;
  height: 3rem;
  width: 100%;

    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 15px;
}

footer p {
  font-size: 1.2rem;
  font-weight: 900;
  padding-top: 0.9rem;
}