/* ----------------------
   Reset & Basics
   ---------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif; /* Google Fonts Einbindung nutzen */
  line-height: 1.6;
  background: #EFE6DE;
  color: #B08F59;

  /* Kopieren/Markieren erschweren */
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none;    /* Firefox */
  -ms-user-select: none;     /* Internet Explorer / Edge Legacy */
  user-select: none;         /* Standard */

  margin: 0;
  padding: 0;
}

h1 {
	font-family: "Poppins";
	font-size: 24px;
	color: #B08F59;
	font-weight: 100;
	}
/* ----------------------
   Header
   ---------------------- */
/* Header fixiert mit Hintergrundbild */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;

  /* Hintergrund: Bild + Fallback-Farbe */
  background: url('') no-repeat center center;
  background-size: cover;
  background-color: #B08F59; /* falls Bild nicht lädt */

  color: #EFE6DE;
  padding: 1rem 2rem;

  display: flex;
  justify-content: space-between;
  align-items: center;

  font-family: "Poppins", sans-serif;
  font-size: 24px;

  /* Lesbarkeit verbessern */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

/* Logo */
.logo {
  font-family: 'Poppins', sans-serif;
  font-size: 1.7rem;
  font-weight: 200;
  color: #EFE6DE;
}

/* Navigation */
nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-size: 1.5rem;
  transition: color 0.3s;
}

nav a:hover {
  color: #f90;
}

/* Burger Menü Button (nur auf Handy sichtbar) */
.menu-toggle {
  display: none;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}

/* --- Responsive Styles --- */
@media (max-width: 768px) {
  /* Logo zentrieren */
  header {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .logo {
    flex: 1 1 100%;
    text-align: left;
    margin-bottom: 0.5rem;
  }

  /* Menü erstmal ausblenden */
  nav {
    display: none;
    position: absolute; /* Absolut positioniert, um den Fluss zu verlassen */
    top: 100%; /* Unterhalb des Headers */
    left: 0;
    width: 100%;
    z-index: 999;
  }

  nav ul {
    flex-direction: column;
    background: rgba(176, 143, 89, 0.9);
    padding: 1rem;
	border-bottom: 2px solid #B08F59;
    text-align: center;
  }

  nav ul li {
    margin: 0.5rem 0;
  }

  /* Burger Menü sichtbar */
  .menu-toggle {
    display: block;
    position: absolute;
    right: 1rem;
    top: 0.7rem;
  }

  /* Wenn Menü aktiv → anzeigen und main nach unten schieben */
  nav.active {
    display: block;
  }

  nav.active + main {
    padding-top: 10rem; /* Platz für die Navigation schaffen */
  }
}

/* ----------------------
   Main + Sections
   ---------------------- */
main {
  display: flex;
  flex-direction: column;
  align-items: center; /* horizontal zentrieren */
  justify-content: flex-start;
  width: 100%;
  transition: padding-top 0.3s ease; /* Sanfte Animation für Padding */
}

section {
  padding: 7rem 2rem; /* Einheitliches Padding für alle Bildschirmgrößen */
  max-width: 1200px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center; /* Inhalt mittig */
  text-align: center;  /* Überschrift + Text mittig */
}

h2 {
  margin-bottom: 1.5rem;
  font-size: 45px;
  border-bottom: 2px solid #ddd;
  display: inline-block;
  padding-bottom: 0.3rem;
  color: #B08F59;
  font-family: "Poppins";
}

/* ----------------------
   Galerie
   ---------------------- */
/* Galerie */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 Bilder pro Reihe auf großen Bildschirmen */
  gap: 1rem;
  justify-items: center;      /* Bilder in der Zelle zentriert */
  width: 100%;                 /* max. 80% der Breite */
  max-width: 1200px;          /* optional: nicht zu breit auf riesigen Bildschirmen */
  margin: 0 auto;             /* zentriert horizontal */
}

/* Responsive Anpassung für kleinere Bildschirme */
@media (max-width: 900px) {
  .grid {
    grid-template-columns: repeat(2, 1fr); /* 2 Bilder pro Reihe */
  }
}

@media (max-width: 600px) {
  .grid {
    grid-template-columns: 1fr; /* 1 Bild pro Reihe */
  }
}

.grid img {
  width: 100%;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  display: block;
}

.grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

/* ----------------------
   Buttons
   ---------------------- */
.button {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  background: #B08F59;
  color: #EFE6DE;
  border-radius: 5px;
  border: 1px solid #B08F59;
  font-size: 24px;
  font-family: "Poppins";
  transition: background 0.3s;
}

.button:hover {
  background: #EFE6DE;
  color: #B08F59;
}

/* ----------------------
   Footer
   ---------------------- */
footer {
  text-align: center;
  padding: 1.5rem;
  background: #B08F59;
  color: #EFE6DE;
  margin-top: 3rem;
}

/* ----------------------
   Lightbox
   ---------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background-color: rgba(0,0,0,0.9);

  display: flex;
  justify-content: center;
  align-items: center;

  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.lightbox.open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.lightbox-inner {
  position: relative;
  width: 100%;
  max-width: 1200px;
  max-height: calc(100vh - 40px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
}

.lightbox-content {
  max-width: 75%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 5px;
  box-shadow: 0 4px 25px rgba(0,0,0,0.6);
  display: block;
}

/* Lightbox Buttons */
.close {
  position: absolute;
  top: 15px;
  right: 25px;
  z-index: 1010;
  background: transparent;
  border: none;
  color: #ccc;
  font-size: 75px;
  cursor: pointer;
  padding: 6px;
  transition: color 0.15s;
}

.close:hover { color: #ff9800; }

.prev, .next {
  position: absolute;
  top: 50%;
  color: #CCC;
  transform: translateY(-50%);
  z-index: 1010;
  background: rgba(0,0,0,0.15);
  border: none;
  font-size: 44px;
  cursor: pointer;
  padding: 6px 10px;
  user-select: none;
  line-height: 1;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}

.prev:hover, .next:hover {
  color: #ff9800;
  background: rgba(0,0,0,0.25);
}

.prev { left: 10px; }
.next { right: 10px; }

@media (max-width: 420px) {
  .prev, .next { 
    font-size: 34px; 
    padding: 8px; 
  }
  .close { 
    font-size: 30px; 
    top: 8px; 
    right: 8px; 
  }
  .lightbox-inner { 
    padding: 12px; 
    max-width: calc(100vw - 24px); 
    max-height: calc(100vh - 24px); 
  }
}

/* ----------------------
   Kontaktformular
   ---------------------- */
/* Kontaktformular linksbündig */
.kontakt-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 600px;
  width: 100%;
  margin: 2rem auto;
  align-items: flex-start; /* war: center → jetzt linksbündig */
  text-align: left;        /* Labels und Texte links */
}

.kontakt-form label {
  font-weight: bold;
}

.kontakt-form input,
.kontakt-form textarea {
  width: 100%;
  padding: 0.7rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

.kontakt-form textarea {
  resize: vertical;
}

/* Sterne-Bewertung linksbündig */
.rating {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-start; /* links */
}

.rating input { display: none; }

.rating label {
  font-size: 2rem;
  color: #ccc;
  cursor: pointer;
  transition: color 0.3s;
}

.rating input:checked ~ label,
.rating label:hover,
.rating label:hover ~ label { color: #ff9800; }

#about p {
  color: #B08F59;
  font-family: Poppins;
  font-size: 24px;
  font-weight: 200;
}#kontakt p {
	font-size: 24px;
	font-weight: 200;
}
