body {
  font-family: Georgia, serif;
  background-color: #fdf5e6;
  color: #4b3621;
  margin: 0;
  padding: 0;
  font-size: 1.115rem;
  line-height: 1.6;
}

.container {
  max-width: 1000px;
  margin: 3rem auto;
  padding: 2rem;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

h1, h2, h3 {
  color: #2e4d32;
}

a {
  color: #0077cc;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

p {
  margin-bottom: 1rem;
}

.section {
  margin-top: 2rem;
}

/* styles.css */

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



/* Header mit Logo und Hintergrundbild */
.hero {
  position: relative;
  width: 100%;
  height: 65vh;
  background: url('../images/IMG_1413.png') no-repeat center center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 50px;
  background-size: cover;
}

.hero img {
  max-width: 60%;
  height: auto;
}

.hero
 {
  font-size: 3.2rem;
  color: #3a179a;
  margin-top: 20px;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -40px;
  left: 0;
  width: 100%;
  height: 80px;
  background: #fdf5e6;
  border-radius: 50% / 20px;
}

/* Navigation */
nav {
  width: 100%;
  background: #2e4d32;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  padding: 15px 0;
  text-align: center;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 30px;
}

nav ul li a {
  text-decoration: none;
  color: #fdf5e6;
  font-size: 1.1rem;
  font-weight: bold;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #ffcc80;
}

li {
  margin-left: 20px;
  margin-top: 0.5em;
}

.section {
  width: 90%;
  max-width: 1200px;
  margin: 30px auto;
  padding: 30px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
}

.header {
  background: none !important;
  border-radius: none !important;
  box-shadow: none !important;
  font-size: 1.7rem;
  color: #3a179a;
  margin-top: 20px;


}
.section .extra-content {
  display: none;
  margin-top: 20px;
}

.section h2 {
  font-size: 2rem;
  text-align: center;
  color: #2e4d32;
}

.section h3 {
  font-size: 1.5rem;
  text-align: center;
  color: #2e4d32;
  margin-top: 1em;
}

.section-image {
  width: 100%;
  max-height: 600px;
  object-fit: cover;
  border-radius: 10px;
  margin-top: 20px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 600px;
  margin: auto;
  text-align: left;
}

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

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

.contact-form button {
  background: #2e4d32;
  color: white;
  padding: 10px 15px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  border-radius: 5px;
  transition: 0.3s;
}

.contact-form button:hover {
  background: #3e6b48;
}

.div-toggle {
  text-align: center;
}

footer {
  background: #2e4d32;
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 50px;
}

.toggle-btn {
  background: #2e4d32;
  color: white;
  padding: 10px 15px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  border-radius: 5px;
  transition: 0.3s;
  margin-top: 15px;
}

.toggle-btn:hover {
  background: #3e6b48;
}

@media (max-width: 768px) {
  .hero img {
    max-width: 80%;
  }

  nav ul {
    flex-direction: column;
    gap: 15px;
  }
}

.back-link {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #2e4d32;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.back-link:hover {
  background-color: #2e4d32;
}

.impressum-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
}

.highlight-text {
  color: #2a8c82; /* z. B. ein beruhigendes Türkisgrün */
}

.image-wrapper {
  width: 100%;
  max-width: 37.5rem; /* entspricht z. B. 600px bei 16px Basisgröße */
  height: 30rem;       /* z. B. ca. 400px */
  border-radius: 1rem;
  overflow: hidden;
  margin: 0 auto;
  
}

.section-image {
  width: 100%;
  height: 100%;
  border-radius: 1rem;
  object-fit: cover;
  display: block;
  box-shadow: 1rem 0.5rem 1rem 1rem rgba(0, 0, 0, 0.1);
}

.expression-gallery {
  max-width: 80rem;
  margin: 0 auto;
  padding: 1rem;
  font-family: sans-serif;
  text-align: center;
}

.gallery-thumbnails {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.gallery-thumbnails figure {
  width: 8rem;
  margin: 0;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.gallery-thumbnails figure:hover {
  transform: scale(1.05);
}

.gallery-thumbnails img {
  width: 100%;
  height: 6rem;
  object-fit: cover;
  border-radius: 0.5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.gallery-thumbnails figcaption {
  font-size: 0.8rem;
  margin-top: 0.3rem;
  color: #555;
}

/* Lightbox-Stil */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 2rem;
}

.lightbox img {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 1rem;
  box-shadow: 0 0 20px rgba(255,255,255,0.2);
}

.lightbox p {
  margin-top: 1rem;
  color: #fff;
  font-size: 1rem;
}

.lightbox .close {
  position: absolute;
  top: 1rem;
  right: 2rem;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}

.image-caption {
  font-size: 1.0rem;
  font-style: italic;
  color: #555;
  text-align: center;  /* Zentriert den Text */
  margin-top: 0.5rem;
}

.bewertung {
  background-color: #2e4d32;
  border-left: 5px solid #ffcc80;
  margin: 2rem auto;
  padding: 1rem;
  max-width: 800px;
  color: #fff;
  font-style: italic;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  border-radius: 8px;
}

.bewertung p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-top: 0.5rem;
}

.bewertung footer {
  text-align: right;
  margin-top: 1rem;
  font-style: normal;
  font-weight: bold;
  color: #fff;
}

.bewertung .sterne {
  font-size: 1.4rem;
  color: #ffcc33; /* Goldgelb */
  margin-bottom: 0.5rem;
}

.header-title {
  color: black;
  text-align: center;
}

.star-rating {
  color: #FFD700; /* Goldene Farbe für Sterne */
  font-size: 1em; /* Optional, um die Sterne größer zu machen */
}

.kontakt-section {
  text-align: center;
  margin-top: 2rem;
  font-size: 1.2em;
  }
  
  .kontakt-section h2 {
  margin-bottom: 1rem;
  }
  
  .kontakt-section p {
  margin: 0.3rem 0;
  }
  
  .kontakt-section a {
  color: #0066cc;
  text-decoration: none;
  }
  
  .kontakt-section a:hover {
  text-decoration: underline;
  }

  #buchung {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 40px 20px;
  }

  .booking-form {
    background-color: #f9f9f9;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    flex-direction: column;
    align-items: stretch;
    padding: 2% 10%;
    
}

.booking-form label,
.booking-form input,
.booking-form select,
.booking-form textarea {
  display: block;
  width: 100%;
  text-align: left;
  box-sizing: border-box;
}
.h-captcha {
  text-align: center;
}
.booking-form label {
    font-weight: bold;
    margin-bottom: 8px;
    display: block;
}

.booking-form input, .booking-form select, .booking-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 12px;
    border-radius: 4px;
    border: 1px solid #ddd;
    font-size: 16px;
}

.booking-form textarea {
    resize: vertical;
}

.booking-form button {
    background-color: #2e4d32;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    text-align: center;
}

.booking-form button:hover {
    background-color: #2e4d32;
}

.flatpickr-day.selected-range {
  background: #2a8c82 !important;
  color: white !important;
}

#ueber-uns,
#zimmer,
#galerie,
#buchung,
#anfahrt,
#bewertungen {
scroll-margin-top: 80px;
}

.button-wrapper {
text-align: center;
margin-top: 1rem;
}
.booking-form label i {
margin-right: 6px;
color: #555;
}
.booking-form input, 
.booking-form select, 
.booking-form textarea {
margin-bottom: 12px;
padding: 8px;
width: 100%;
max-width: 400px;
}
.button-wrapper {
text-align: center;
margin-top: 20px;
}
button {
padding: 10px 20px;
font-size: 16px;
cursor: pointer;
}

#panorama-lightbox {
  display: none;
  position: fixed;
  top: 0; left: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.panorama-container {
  width: 80vw;
  height: 80vh;
  position: relative;
}

#panorama-lightbox .close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
  z-index: 10000;
}

#cookie-banner {
display: none;
position: fixed;
bottom: 0;
width: 100%;
background-color: #eee;
padding: 1em;
text-align: center;
z-index: 1000;
}

@media (max-width: 600px) {
  #cookie-banner button {
    display: block;
    margin: 0.5em auto;
    width: 90%;
  }
}

header {
display: flex;
justify-content: space-between;
align-items: center;
background: #333;
padding: 0.5em 1em;
color: white;
}

.confirmation-message {
  display:none; 
  color:green;
}
/* --- Desktop Navigation --- */
#main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  
}

#main-nav a {
  text-decoration: none;
  color: white;
  font-weight: bold;
}

/* --- Menü-Toggle (Hamburger) --- */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 1001;
  background-color: #2e4d32;
  padding: 10px;
  border-radius: 5px;
  position: fixed; /* <- Wichtig: bleibt sichtbar beim Scrollen */
  top: 15px;
  left: 20px;
}

.menu-toggle span {
  height: 3px;
  width: 100%;
  background: white;
  border-radius: 2px;

}

/* --- Mobile Styles --- */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  #main-nav {
    display: none;
    width: 100%;
    background: #2e4d32;
    position: fixed;
    top: 60px;
    left: 0;
    width: 300px;
    padding: 20px;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    flex-direction: column;
  }

  #main-nav.open {
    display: flex;
  }

  #main-nav ul {
    flex-direction: column;
    padding-top: 0;  
    padding-bottom: 0;
    margin: 0;
    
  }

  #main-nav li {
    border-top: 1px solid #ccc;
    padding: 1em 0.1em 0.2em 0.2em;   
    margin: 0.1em 0;  
    font-size: 0.90rem;       
    text-align: left;         
  }

  @media (max-width: 400px) {
    #main-nav li {
      font-size: 0.4rem;
      padding: 0.2em 0.2em;
    }
  }
}
