
/* --- Zusätzliche Sicherheitsregeln gegen horizontales Swipen --- */
html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}


/* --- style.css --- */


body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #fffaf3;
  color: #4a2f1e;
}

header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #fef0d4;
  position: sticky;
  top: 0;
  z-index: 1000;
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #fef0d4;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #8e4d1d;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links li a {
  text-decoration: none;
  color: #5a321e;
  font-weight: bold;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #d35400;
}

.hero {
  height: 100vh;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.hero-content {
  background: rgba(255, 255, 255, 0.8);
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  max-width: 600px;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.cta-button {
  display: inline-block;
  background-color: #d35400;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #a84300;
}

.intro-section, .mini-gallery, .call-to-action {
  padding: 3rem 2rem;
  text-align: center;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.gallery-item img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 2rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.lightbox-modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.lightbox-modal img {
  max-width: 80%;
  max-height: 80%;
  border-radius: 12px;
}

.lightbox-prev,
.lightbox-next,
.lightbox-X {
  position: absolute;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}

.lightbox-prev { left: 2%; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 2%; top: 50%; transform: translateY(-50%); }
.lightbox-X { top: 5%; right: 5%; font-size: 2.5rem; }

.kontakt-section {
  max-width: 700px;
  margin: 4rem auto;
  padding: 2rem;
  background-color: #fffefb;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.kontakt-section h1 {
  font-size: 2rem;
  color: #5a321e;
  margin-bottom: 0.5rem;
}

.kontakt-section p {
  margin-bottom: 2rem;
      font-size: 1rem;
    line-height: 1.6;
    text-align: justify;
    hyphens: auto;
  }

}

.kontakt-formular {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  text-align: left;
}

.kontakt-formular label {
  font-weight: bold;
  color: #5a321e;
}

.kontakt-formular input,
.kontakt-formular textarea {
  box-sizing: border-box; /* verhindert Überlauf trotz Padding */
  width: 100%;
  max-width: 100%;  
}

.kontakt-formular button {
  align-self: flex-start;
  background-color: #d35400;
  color: white;
  padding: 0.75rem 1.5rem;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.kontakt-formular button:hover {
  background-color: #a84300;
}

.feedback-message {
  margin-top: 1.5rem;
  font-weight: bold;
  font-size: 1rem;
  color: green;
}

/* 
Gästebuch CSS
*/

h1 {
  text-align: center;
  color: #333;
}

form {
  max-width: 600px;
  margin: 1rem auto;
  padding: 1rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

input, textarea {
  width: 100%;
  padding: 0.8rem;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

button {
  background-color: #007bff;
  color: white;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

button:hover {
  background-color: #0056b3;
}

.entries {
  max-width: 600px;
  margin: 2rem auto;
}

.entry {
  background: white;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  margin-bottom: 1rem;
}

.entry .meta {
  color: #666;
  font-size: 0.9rem;
}

.entry .message {
  margin-top: 0.5rem;
}

@media (max-width: 768px) {
  .container, .container2 {
    flex-direction: column;
    align-items: center;
  }

  .card, .card2, .content, .content2 {
    width: 100%;
    text-align: center; /* Optional: Auch den Text zentrieren, falls gewünscht */
  }
}

img {
  max-width: 100%;
  height: auto;
}
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    background-color: #fef0d4;
    width: 100%;
    flex-direction: column;
    align-items: center;
    display: none; /* Anfangszustand: versteckt */
    padding: 1rem 0;
  }

  .nav-links.active {
    display: flex; /* Eingeblendet bei Klick */
  }

  .hamburger {
    display: block;
    cursor: pointer;
  }

  .hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #5a321e;
    margin: 5px 0;
    transition: 0.4s;
  }
}

/* Optional: Swipen verhindern */
body {
  overflow-x: hidden;
}

/* --- style-ueber-mich.css --- */

.container {
  display: flex;
  flex-wrap: wrap;
  padding: 4rem 2rem;
  align-items: center;
  align-self: center;
}

.card {
  background: #f4e9df;
  padding: 7rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  flex: 1;
  min-width: 280px;
  margin-bottom: 2rem;
}

.card img {
  width: 450px;
  height: 450px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.container2 {
  display: flex;
  flex-wrap: wrap;
  padding: 4rem 2rem;
  align-items: center;
  align-self: center;
}

.card2 {
  background: #f4e9df;
  padding: 7rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
  flex: 1;
  min-width: 280px;
  margin-bottom: 2rem;
}

.card2 img {
  width: 450px;
  height: 450px;
  object-fit: cover;
  border-radius: 20%;
  margin-bottom: 2rem;
}

.card h2 {
  margin: 0.5rem 0;
}
.card p {
  color: #666;
  font-size: 0.9rem;
}
.card .socials {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}
.content {
  flex: 2;
  padding: 2rem;
  min-width: 300px;
}
.content h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}
.content p {
  font-size: 1.1rem;
  color: #555;
  text-align: justify;
  hyphens: auto;
}
.content2 {
  flex: 2;
  padding: 2rem;
  min-width: 300px;
}
.content2 h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}
.content2 p {
  font-size: 1.1rem;
  color: #555;
}
  footer {
  text-align: center;
  padding: 2rem;
  background-color: #fef0d4;
  margin-top: 3rem;
}

@media (max-width: 768px) {
  .container, .container2 {
    flex-direction: column;
    align-items: center;
  }

  .card, .card2, .content, .content2 {
    width: 100%;
    text-align: center; /* Optional: Auch den Text zentrieren, falls gewünscht */
  }
}

img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .container, .container2 {
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
  }

  .card, .card2, .content, .content2 {
    width: 100%;
    padding: 1.5rem;
    text-align: center;
  }

  .card img, .card2 img {
    width: 250px;
    height: 250px;
    margin: 1rem auto;
  }

  .content h1, .content2 h1 {
    font-size: 1.8rem;
  }

  .content p, .content2 p {
    font-size: 1rem;
    line-height: 1.6;
    text-align: justify;
    hyphens: auto;
  }

  .card .socials {
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
  }
}

/* --- serama.css --- */

.container {
  display: flex;
  flex-wrap: wrap;
  padding: 4rem 2rem;
  align-items: center;
  align-self: center;
}

.card {
  background: #f4e9df;
  padding: 7rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  flex: 1;
  min-width: 280px;
  margin-bottom: 2rem;
}

.card img {
  width: 450px;
  height: 450px;
  object-fit: cover;
  border-radius: 20%;
  margin-bottom: 1rem;
}

.container2 {
  display: flex;
  flex-wrap: wrap;
  padding: 4rem 2rem;
  align-items: center;
  align-self: center;
}

.card2 {
  background: #f4e9df;
  padding: 7rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
  flex: 1;
  min-width: 280px;
  margin-bottom: 2rem;
}

.card2 img {
  width: 450px;
  height: 450px;
  object-fit: cover;
  border-radius: 20%;
  margin-bottom: 2rem;
}

.card h2 {
  margin: 0.5rem 0;
}
.card p {
  color: #666;
  font-size: 0.9rem;
}
.card .socials {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}
.content {
  flex: 2;
  padding: 2rem;
  min-width: 300px;
}
.content h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}
.content p {
  font-size: 1.1rem;
  color: #555;
  text-align: justify;
  hyphens: auto;
}
.content2 {
  flex: 2;
  padding: 2rem;
  min-width: 300px;
}
.content2 h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}
.content2 p {
  font-size: 1.1rem;
  color: #555;
}
  footer {
  text-align: center;
  padding: 2rem;
  background-color: #fef0d4;
  margin-top: 3rem;
}

@media (max-width: 768px) {
  .container, .container2 {
    flex-direction: column;
    align-items: center;
  }

  .card, .card2, .content, .content2 {
    width: 100%;
    text-align: center; /* Optional: Auch den Text zentrieren, falls gewünscht */
  }
}

img {
  max-width: 100%;
  height: auto;
}


/* --- Optimierung für Smartphones: Bildergröße & Zentrierung --- */

@media (max-width: 768px) {
  .card img,
  .card2 img {
    width: 200%;
    max-width: none;
    height: auto;
    display: block;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
  }

  .card,
  .card2 {
    overflow: hidden; /* verhindert optisches Überlaufen */
  }
}