/* style.css */

body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  background-color: #fdf6f0;
  color: #3a2d22;
}

header.hero {
  background: url('bilder/hero.jpg') center/cover no-repeat;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero-content h1 {
  font-size: 3rem;
  margin: 0;
}

.hero-content p {
  font-size: 1.5rem;
  margin: 10px 0 0 0;
}

nav {
  background-color: #8b5e3c;
  display: flex;
  justify-content: center;
  padding: 10px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
}

nav a:hover {
  color: #f4d6a2;
}

main {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
}

.section {
  max-width: 100%;
  margin: 0;
  padding: 0;
}

h2 {
  color: #6a452d;
  font-size: 2rem;
  margin-bottom: 20px;
}

p, ul, address {
  font-size: 1.1rem;
  line-height: 1.6;
}

ul li {
  margin-bottom: 10px;
}

input, textarea, button {
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

input {
  box-sizing: border-box;
}

textarea {
  resize: none !important;
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
  box-sizing: border-box;
  display: block;
}

button {
  background-color: #6a452d;
  color: white;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover {
  background-color: #5c3c24;
}

footer {
  background-color: #8b5e3c;
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #4b3c2d;
  color: white;
  padding: 10px;
  font-size: 0.9rem;
  text-align: center;
  display: none;
}

.cookie-banner button {
  background: #f4d6a2;
  color: #4b3c2d;
  border: none;
  padding: 8px 15px;
  margin-left: 10px;
  border-radius: 5px;
  cursor: pointer;
}

.gallery, .product-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.gallery-item, .product-item img {
  width: 100%;
  border-radius: 10px;
}

.gallery-item {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
}
/* Hintergrund abdunkeln */
.modal {
  display: none; /* nur sichtbar, wenn per JS aktiviert */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6); /* halbtransparent schwarz */
}

/* Modal-Fenster */
.modal-content {
  background-color: #fffdf7;
  margin: 5% auto;
  padding: 20px;
  border: 2px solid #3a2d22;
  width: 90%;
  max-width: 600px;
  border-radius: 12px;
  max-height: 80vh;          /* begrenzt die Höhe */
  overflow-y: auto;          /* Scrollen innerhalb, wenn zu lang */
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  font-family: sans-serif;
}

/* Schließen-Button */
.close-button {
  color: #3a2d22;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close-button:hover {
  color: #6b4c2a;
}



.site-footer {
  background-color: #6a452d;
  color: #fdf6f0;
  padding: 40px 20px;
  font-size: 0.95rem;
}

.footer-top {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-navigation a {
  color: #fdf6f0;
  text-decoration: underline;
  margin: 0 10px;
  font-weight: 500;
}

.footer-navigation a:hover {
  color: #f4d6a2;
}

.social-icon {
  width: 60px;
  height: 60px;
  fill: currentColor;
  margin-left: 10px;
  vertical-align: middle;
  transition: transform 0.3s ease;
}


.footer-bottom {
  margin-top: 5px;
  text-align: center;
  border-top: 1px solid #fdf6f0;
  padding-top: 2px;
  padding-bottom: 2px;
  font-size: 0.75rem;
  line-height: 1.2;
}

.popup-success {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}

.popup-content {
  background-color: #fff;
  color: #3a2d22;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  margin: 20% auto;
  text-align: center;
  font-size: 1.1rem;
  font-weight: bold;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}


.popup {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup-content {
  background: #fff;
  padding: 20px 30px;
  border-radius: 8px;
  text-align: center;
}

.popup-content button {
  margin-top: 10px;
  padding: 8px 16px;
  background-color: #4b3c2d;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.popup-content button:hover {
  background-color: #3a2d22;
}

#contact-form .privacy-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  margin-bottom: 20px;
  font-size: 0.95rem;
  color: #3a2d22;
}

#contact-form .privacy-checkbox input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

#contact-form .privacy-checkbox label {
  margin: 0;
  line-height: 1.4;
  display: inline;
}

#contact-form .privacy-checkbox a {
  color: #3a2d22;
  text-decoration: underline;
}

.price-table {
  margin-top: 20px;
  overflow-x: auto;
}

.price-table table {
  width: 100%;
  border-collapse: collapse;
  background-color: #fffdf7;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.price-table th,
.price-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.price-table th {
  background-color: #f4d6a2;
  color: #4b3c2d;
  font-weight: bold;
}

.price-table tr:last-child td {
  border-bottom: none;
}

.price-table td {
  color: #3a2d22;
}

/* ============================= */
/* Mobile Navigation - bis max 768px */
/* ============================= */
@media screen and (max-width: 768px) {

  /* Menü-Button */
  .mobile-menu-toggle {
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 1001;
    background-color: #7a4e2e;
    color: #fff;
    border: none;
    padding: 10px 14px;
    font-size: 1.4rem;
    cursor: pointer;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    width: auto;
    height: auto;
  }

  body.menu-open .mobile-menu-toggle {
    opacity: 0;
    pointer-events: none;
  }

  /* Menü-Overlay */
  .mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 80%;
    max-width: 320px;
    background-color: #fdf6ee;
    z-index: 2000;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    padding: 60px 20px 20px;
    display: flex;
    flex-direction: column;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.2);
  }

  .mobile-menu-overlay.show {
    transform: translateX(0);
  }

  /* Menülinks */
.mobile-menu-overlay a {
  display: block;
  color: #3a2d22;
  font-weight: bold;
  text-decoration: none;
  font-size: 1.2rem;
  margin: 14px 0;
}

  .mobile-menu-overlay a:hover {
    text-decoration: underline;
  }

  /* Schließen-Button */
  .close-menu {
    position: absolute;
    top: 16px;
    left: 16px;
    font-size: 1rem;
    color: white;
    font-weight: bold;
    background-color: #7a4e2e;
    border: none;
    padding: 8px 14px;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .close-menu:hover {
    background-color: #5a3c2e;
  }

  /* Desktop-Navigation ausblenden */
  nav.desktop-nav {
    display: none;
  }
}

/* ============================= */
/* Desktop Navigation - ab 769px */
/* ============================= */
@media screen and (min-width: 769px) {
 
  .mobile-menu-toggle,
  .mobile-menu-overlay {
    display: none;
  }

  nav.desktop-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    background-color: #7a4e2e;
    padding: 10px;
  }

  nav.desktop-nav a {
    color: white;
    font-weight: bold;
    text-decoration: none;
  }

  nav.desktop-nav a:hover {
    text-decoration: underline;
  }
}

@media screen and (max-width: 768px) {
  h1, h2:first-of-type {
    margin-top: 90px; /* je nach Höhe deines Buttons */
  }
}
