/* ===== Basislayout ===== */
body {
  margin: 0;
  font-family: sans-serif;
  background: url("assets/background.jpg") no-repeat center center fixed;
  background-size: cover;
  color: #111;
}

h1,h2,h3,h4,h5,h6 {
  font-family: 'Poiret One', cursive;
  font-weight: normal;
}

/* ===== Topbar ===== */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}
.topbar img {
  height: 140px;
  width: 200px;
  object-fit: contain;
}
.actions {
  display: flex;
  gap: 10px;
}
.actions .btn {
  padding: 10px 18px;
  border-radius: 999px;
  background: #6b7280;
  color: white;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease-in-out;
}
.actions .btn:hover { background: #374151; }

/* ===== Hero ===== */
#hero { text-align: center; padding: 40px 20px; }
#hero h2 { font-size: 1.8rem; margin: 0; }

/* ===== Galerie ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 15px;
  padding: 20px;
}
.thumb {
  width: 100%;
  height: 220px;        /* Querformatige Kacheln */
  object-fit: cover;
  cursor: pointer;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  transition: transform 0.2s;
}
.thumb:hover { transform: scale(1.02); }

/* ===== Pagination ===== */
.pagination { text-align: center; margin: 20px 0; }
.pagination a, .pagination span {
  display: inline-block;
  margin: 0 5px;
  padding: 8px 14px;
  border-radius: 6px;
  background: #6b7280;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.2s ease-in-out;
}
.pagination a:hover { background: #374151; }
.pagination .current { background: #374151; }

/* ===== Kontaktformular ===== */
.contact {
  padding: 40px 20px;
  background: rgba(255,255,255,0.8);
  margin: 30px 0;
  border-radius: 12px;
}
.contact h2 { margin-top: 0; }
.contact-form { display: flex; flex-direction: column; gap: 15px; }
.contact-form label { display: flex; flex-direction: column; font-weight: 600; gap: 6px; }
.contact-form input, .contact-form textarea {
  padding: 10px; border-radius: 6px; border: 1px solid #ccc; font-size: 1rem;
}
.contact-form button {
  align-self: flex-start; padding: 10px 20px; border-radius: 8px; border: none;
  background: #6b7280; color: white; font-size: 1rem; font-weight: bold; cursor: pointer;
  transition: background 0.2s ease-in-out;
}
.contact-form button:hover { background: #374151; }
.form-note { font-size: 0.85rem; color: #444; }
.hidden { display: none; }
.privacy-hint { font-size: 0.8rem; color: #333; margin-top: 10px; }

/* ===== Lightbox ===== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  z-index: 2000;
}
.lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 8px;
}

.lb-close {
  position: absolute;
  top: 20px;
  right: 30px;
  background: none;
  border: none;
  color: #e5e7eb;
  font-size: 40px;
  cursor: pointer;
}

/* Pfeile: graue, halbtransparente Controls über dem Bild */
.lb-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(107,114,128,0.9); /* grauer Pfeil */
  font-size: 64px;
  line-height: 1;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 12px;
  transition: transform 0.15s ease-in-out, color 0.15s ease-in-out;
}
.lb-arrow.prev { left: 30px; }
.lb-arrow.next { right: 30px; }
.lb-arrow:hover {
  transform: translateY(-50%) scale(1.05);
  color: rgba(156,163,175,1);
}

/* Caption unter dem Bild */
.lb-caption {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 90%;
  color: #e5e7eb;
  font-size: 0.95rem;
  text-align: center;
  opacity: 0.9;
}

/* ===== Über mich Overlay ===== */
#overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1500;
}
#ueber-mich-box {
  display: none;
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  max-width: 420px;
  padding: 24px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  z-index: 1600;
}

/* ===== Footer ===== */
.site-footer { text-align: center; padding: 20px; font-size: 0.9rem; color: #333; background: rgba(255,255,255,0.8); }

