/* =========================
   Allgemein / Basis
   ========================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
  background-color: #fff;
  color: #222;
  padding-top: 60px; /* Platz für fixe Navigation */
}

/* =========================
   Navigation
   ========================= */
/* Desktop-Navigation */
nav ul {
  display: flex;
  justify-content: space-between;
  list-style: none;
  background-color: #aa1616;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 0;
  margin: 0;
}

nav ul li {
  flex: 1;
  text-align: center;
}

nav ul li a {
  display: block;
  padding: 11px;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  transition: background-color 0.3s ease;
}

nav ul li a:hover {
  background-color: #cc3333;
}

/* Hamburger-Menü - KORRIGIERT: NUR MOBIL sichtbar */
.menu-toggle {
  display: none !important; /* DESKTOP: IMMER AUSBLENDEN */
  position: fixed;
  top: 15px;
  right: 20px;
  width: 40px;
  height: 32px;
  background-color: #aa1616;
  border-radius: 4px;
  cursor: pointer;
  z-index: 1100;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.menu-toggle span {
  position: absolute;
  height: 2px;
  width: 24px;
  background-color: #fff;
  border-radius: 2px;
  transition: all 0.3s ease-in-out;
}

.menu-toggle span:nth-child(1) {
  transform: translateY(-6px);
}
.menu-toggle span:nth-child(2) {
  transform: translateY(0);
}
.menu-toggle span:nth-child(3) {
  transform: translateY(6px);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg);
}

/* =========================
   Startbild (statisch)
   ========================= */
.startbild {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 5px;
}

.startbild img {
  max-width: 30%;
  height: auto;
}

/* =========================
   Home Content
   ========================= */
.home-content {
  display: flex;
  justify-content: center;     /* Horizontal zentriert */
  align-items: center;         /* Vertikal zentriert */
  gap: 60px;
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;              /* Gesamter Block mittig */
  flex-wrap: wrap;
}

.hometext {
  flex: 1;
  max-width: 600px;
  text-align: center;
}

.aussenansicht {
  flex: 1;
  max-width: 900px;
}

.aussenansicht img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.waren {
  list-style: none;
  margin: 20px auto 0;
  max-width: 450px;
  padding: 0;
  line-height: 1.8;
}

.waren li {
  padding: 4px 0;
  position: relative;
}

.waren li:before {
  position: absolute;
  left: 0;
  color: #aa1616;
  font-weight: bold;
}

/* Überschriften */
h1 {
  font-size: 30px;
  text-align: center;
  margin: 20px 0;
}

/* =========================
   Öffnungszeiten
   ========================= */
#oeffnungszeiten {
  padding: 20px;
  margin: 40px auto;
  max-width: 650px;
  background-color: #f9f9f9;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.tableOeffnungszeiten {
  margin: 0 auto;
  border-spacing: 20px 10px;
}

/* =========================
   Kontaktformular
   ========================= */
#kontakt {
  padding: 20px 20px;
  background-color: #fafafa;
  text-align: center;
}

.kontakt-formular {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-group label {
  font-size: 1rem;
  color: #333;
  display: block;
  margin-bottom: 5px;
}

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

.form-group textarea {
  resize: vertical;
}

.submit-btn {
  padding: 12px 25px;
  font-size: 1rem;
  background-color: #aa1616;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-btn:hover {
  background-color: #555;
}

/* =========================
   Footer
   ========================= */
footer {
  text-align: center;
  background-color: #f5f5f5;
  padding: 20px;
  font-size: 0.9em;
  margin-top: 40px;
}

/* =========================
   Galerie / Diashow
   ========================= */
.diashow-container {
  position: relative;
  width: 60%;
  max-width: 900px;
  aspect-ratio: 4 / 3;
  margin: 40px auto;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.diashow-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  border-radius: 8px;
}

.diashow-image.active {
  opacity: 1;
}

/* =========================
   Aktuelles / Instagram
   ========================= */

#aktuelles {
  padding: 0px 0.5px !important;
  text-align: center !important;
  margin: 40px 0 !important;
}

.aktuelles-wrapper {
  max-width: 1000px !important;
  margin: 0 auto !important;
  display: block !important;
}

.tagembed-widget {
  width: 90% !important;
  max-width: 900px !important;
  margin: 0 auto !important;
  display: block !important;
}

/* =========================
   Mobile Styles
   ========================= */
@media (max-width: 768px) {
  /* Navigation mobil */
  nav ul {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #aa1616;
    padding: 60px 0 20px;
    z-index: 1000;
  }

  nav ul.show {
    display: flex;
  }

  nav ul li {
    margin: 15px 0;
    text-align: center;
  }

  /* Hamburger-Menü MOBIL ANZEIGEN */
  .menu-toggle {
    display: flex !important;
  }

  .home-content {
    flex-direction: column;
    gap: 30px;
    padding: 20px 15px;
  }
  
  .hometext {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .waren {
    max-width: 400px;
  }
  
  .aussenansicht {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  .diashow-container {
    width: 80%;
  }

  .TextSortiment,
  .hometext {
    padding: 0 5px;
  }
  
  .startbild img {
  max-width: 70%;
  height: auto;
  }
}
