html, body {
  height: 100%;
  margin: 0;
  font-family: Arial, sans-serif;
  background: #ffffff;
  color: #333;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.logo {
  display: block;
  max-width: 100%;
  width: 300px;   
  height: auto;
  margin: 1rem auto;
}

hr.shadow-line {
  border: none;
  height: 3px;
  background: #cccccc;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
  margin: 1rem 0;
}

hr.custom-hr {
  border: none;
  height: 1px;
  background-color: black;
  max-width: 1000px;
  margin: 1rem auto;
}

.nav {
  background: #3704c1;
  text-align: center;
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav a {
  color: white;
  text-decoration: none;
  margin: 0;
  font-weight: bold;
  padding: 8px 25px;
  border-radius: 5px;
  transition: background 0.3s;
}

.nav a:hover {
  background: #1f83d4;
}

.custom-line {
  text-align: center;
  color: #941515;
  font-weight: bold;
  font-size: 1.2rem;
}

.flex-columns {
  display: flex;
  gap: 10px;
  padding: 1rem;
  background: #ffffff;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: auto;
  font-size: 0.9rem;
}

.flex-columns .column {
  flex: 1;
  min-width: 200px;
  border-radius: 8px;
  background: #fff;
  color: #941515;
  padding: 5px;
}

.column h2 {
  color: #941515;
  margin-top: 0;
}

.content-wrapper {
  max-width: 98%;
  margin: 0 auto;
  padding-top: 1rem;
}

.legal {
  padding: 2rem;
  max-width: 800px;
  margin: auto;
  background: #f9f9f9;
  color: #333;
}

.footer-bg {
  background: #3704c1;
  width: 100%;
}

.footer {
  background: #3704c1;
  color: white;
  display: flex;
  justify-content: space-between; /* Spalten mit maximalem Abstand */
  gap: 40px; /* Abstand zwischen den Spalten */ 
  padding: 10px 20px; /* Abstand oben/unten 10px, links/rechts 20px */
  max-width: 1000px;
  margin: 0 auto;  /* Zentriert den Footer */
  border-radius: 10px;
  flex-wrap: wrap; /* für responsives Verhalten */
}

.footer-column {
  flex: 1;
  min-width: 200px;
  font-size: 0.9rem;
}

.footer-column h3 {
  font-size: 1.1rem; 
  margin: auto;
}

.footer-column a {
  color: white;
  font-size: 0.9rem;
  text-decoration: none;
  line-height: 1.4;
}

.footer-column a:hover {
  text-decoration: underline;
}

.Adress {
  text-align: center;
  padding-right: 4px;
}

.opening-hours {
  text-align: right;
  padding-right: 4px;
}

.gallery-preview {
  padding: 2rem;
  background-color: #fff;
  text-align: center;
}

.gallery-large-wrapper {
  width: 100%;
  max-width: 1000px;
  height: 400px;
  margin: 0 auto; /* zentriert den Wrapper */
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background-color: #000; /* optional, damit bei Ladeverzögerung nichts blinkt */
}

.arrow {
  background: rgba(0, 0, 0, 0.1);
  border: none;
  color: white;
  font-size: 1.5rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  z-index: 2;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 1rem;
}

.gallery-grid img {
  width: 150px;
  height: auto;
  object-fit: cover;
  border-radius: 5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s;
}

.gallery-grid img:hover {
  transform: scale(1.05);
}

.gallery-large img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
}

.arrow.left {
  left: 5px;
}

.arrow.right {
  right: 5px;
}

.gallery-thumbnails-scroll {
  overflow-x: auto;
  white-space: nowrap;
  padding: 1rem 0;
  margin-top: 1rem;
}

.map-wrapper {
  max-width: 100%;
  margin: 0 auto;
  padding: 10px;
}

.thumbnail-row {
  display: flex;
  gap: 10px;
}

.thumbnail-row img {
  width: 100px;
  height: auto;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 5px;
  transition: border 0.2s;
}

.thumbnail-row img:hover {
  border: 2px solid #0080ff;
}

/* Mobil: 1 Spalte */
@media (max-width: 768px) {  
  .footer {    
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  .opening-hours {
    text-align: center;
  }
}

