body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f4f4f4;
  color: #333;
}

header {
  background: #4CAF50;
  color: white;
  padding: 1em 0;
  text-align: center;
}

@media (max-width: 768px) {
  header {
    padding: 0.5em 0; /* Weniger Abstand oben/unten */
  }

  header h1 {
    font-size: 1.5em; /* Schrift kleiner auf Mobil */
  }

  header p {
    font-size: 1em;
  }
}
.logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo {
  width: 200px;
  height: auto;
}

nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  background: #333;
}

nav a {
  color: white;
  padding: 1rem;
  text-decoration: none;
}

nav a:hover {
  background: #4CAF50;
}

.hero {
  background: url('hero.jpg') center/cover no-repeat;
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-shadow: 1px 1px 3px #000;
}

.bildreihe {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
}

.bild-container {
  flex: 1 1 45%;
  max-width: 500px;
  text-align: center;
}

.bild-container img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.bild-container img:hover {
  transform: scale(1.02);
}

footer {
  background: #333;
  color: white;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}

footer a {
  color: #ddd;
  text-decoration: underline;
}

/* Responsive Layout */
@media (max-width: 768px) {
  .bildreihe {
    flex-direction: column;
    gap: 1rem;
  }

  .bild-container {
    flex: 1 1 100%;
  }

  nav a {
    flex: 1 1 100%;
    text-align: center;
  }
}

.hero {
    background: url('gartenmoebel.jpg') center/cover no-repeat;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 2em;
    font-weight: bold;
    text-shadow: 2px 2px 5px #000;
    text-align: center;
    padding: 1em;
}

.container {
    padding: 2em;
    max-width: 1200px;
    margin: auto;
}

.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2em;
}

.product {
    background: white;
    padding: 1em;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
}

.product img {
    width: 100%;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.2s;
}

.product img:hover {
    transform: scale(1.02);
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    border-radius: 8px;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 2em 0;
    margin-top: 2em;
}


    /* Slider styles */
.slider {
  width: 100%;
  height: auto;
  overflow: hidden;
  background-color: #000; /* Optional, um schwarze Ränder sichtbar zu machen */
}

.hero-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
  height: 60vh;
  max-height: 500px;
}

.slider-track {
  display: flex;
  width: calc(100% * 6); /* 6 Bilder */
  animation: slide 36s linear infinite;
}

.slider-track img {
  width: 100%;
  height: auto; /* ← Bildhöhe ergibt sich aus dem Bild selbst */
  object-fit: contain; /* ← Zeigt das ganze Bild, kein Beschnitt */
  display: block;
  margin: 0 auto;
  max-height: 100vh; /* Optional, um Bildschirmhöhe nicht zu überschreiten */
}


.slides {
  display: flex;
  width: 400%; /* 4 Bilder = 400% */
  animation: slide 20s infinite ease-in-out;
}

.slides img {
  max-height: 500px;
  margin: auto;
}
    .slider-text {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      color: white;
      font-size: 2em;
      font-weight: bold;
      text-shadow: 2px 2px 5px #000;
      text-align: center;
    }

@keyframes slide-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-300%); }
}
/* Keyframes anpassen (1 Schritt mehr) */
@keyframes slide {
  0%   { transform: translateX(0%); }
  25%  { transform: translateX(-100%); }
  50%  { transform: translateX(-200%); }
  75%  { transform: translateX(-300%); }
  100% { transform: translateX(0%); }
}

    .container {
      max-width: 1000px;
      margin: auto;
      padding: 2em;
    }

    .intro {
      background: white;
      padding: 2em;
      border-radius: 8px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    }

    footer {
      margin-top: 2em;
    }
.ausstellung-img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1em auto;
    border-radius: 8px;
}

    @media (max-width: 768px) {
      .slider-text {
        font-size: 1.2em;
        padding: 0 1em;
      }
@media (max-width: 768px) {
  .slider-track img {
    height: 40vh;
    object-fit: contain;
  }
}
      
    }

  .bild-container {
    flex: 1 1 100%;
  }
}

form input[type="text"],
form input[type="email"],
form textarea {
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-bottom: 1.5rem;
  box-sizing: border-box;
}

form textarea {
  min-height: 150px;
  resize: vertical;
}
.contact-section {
  max-width: 600px;
  margin: 40px auto;
  padding: 2rem;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  font-family: Arial, sans-serif;
}

.contact-section h2,
.contact-section h3 {
  text-align: center;
  color: #333;
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  transition: border-color 0.3s;
}

input:focus,
textarea:focus {
  border-color: #28a745;
  outline: none;
}

button {
  background-color: #28a745;
  color: white;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
  display: block;
  margin: 0 auto;
}

button:hover {
  background-color: #218838;
}

.contact-info {
  margin-top: 2rem;
}

.contact-info ul {
  list-style-type: none;
  padding: 0;
}

.contact-info li {
  margin: 0.5rem 0;
  font-size: 1rem;
}

.contact-info a {
  color: #007bff;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}
.product-card {
  text-align: center;
  padding: 20px;
  max-width: 300px;
  margin: auto;
}

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

.price-info {
  font-weight: bold;
  margin: 10px 0;
  color: #444;
}

.request-price-btn {
  background-color: #4CAF50;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.request-price-btn:hover {
  background-color: #45a049;
}
.kalender-wrapper {
  padding: 2em 1em;
  background-color: #f4f4f4;
  text-align: center;
}

.kalender-title {
  font-size: 2em;
  margin-bottom: 1em;
  color: #222;
}

.kalender-container {
  max-width: 1000px;
  margin: 0 auto;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.kalender-container iframe {
  width: 100%;
  height: 600px;
  max-width: 100%;
}
.maps-wrapper {
  text-align: center;
  padding: 2em 1em;
  background-color: #f8f8f8;
}

.maps-title {
  font-size: 2em;
  margin-bottom: 1em;
}

.maps-container {
  max-width: 1000px;
  margin: 0 auto;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}
.ansprechpartner-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #f9f9f9;
}

.ansprechpartner-section h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #222;
}

.ansprechpartner-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.ansprechpartner-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 20px;
  width: 280px;
  text-align: center;
  transition: transform 0.3s ease;
  flex: 1 1 280px; /* passt sich flexibler an */
}

@media (max-width: 768px) {
  .ansprechpartner-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .ansprechpartner-card {
    width: 90%; /* macht die Karten auf Mobil breiter */
  }
}

.ansprechpartner-card:hover {
  transform: scale(1.03);
}

.ansprechpartner-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
}

.ansprechpartner-card h3 {
  font-size: 1.3rem;
  margin: 10px 0 5px;
  color: #111;
}

.ansprechpartner-card p {
  font-size: 0.95rem;
  color: #555;
  margin: 4px 0;
}