/* Allgemeine Stile */
body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #ffffff;
    color: #333;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-logo img {
    height: 60px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.main-nav ul li {
    margin-left: 30px;
}

.main-nav ul li a {
    font-weight: bold;
    font-size: 1rem;
    transition: color 0.3s;
}

.main-nav ul li a:hover {
    color: #345cca;
}

/* Hero Section */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: calc(100vh - 80px);
    position: relative;
}

.hero-text {
    width: 50%;
    padding-left: 50px;
}

.hero-image {
    width: 50%;
    height: 100%;
    position: relative;
}

.hero-image .banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 30%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
    z-index: 1;
}

.text-overlay .hero-subtitle {
    font-family: 'Allura', cursive;
    font-size: 7rem;
    color: #4d88cc;
    font-style: italic;
    margin-bottom: 10px;
}

.text-overlay .hero-title {
    font-size: 3rem;
    color: #000;
    font-weight: bold;
    margin-bottom: 20px;
}

.text-overlay p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
}

.btn-to-assortment {
    display: inline-block;
    padding: 12px 30px;
    background-color: #4d88cc;
    color: #fff;
    text-transform: uppercase;
    font-size: 1rem;
    border-radius: 25px;
    margin-right: 10px;
    transition: background-color 0.3s;
}

.btn-to-order {
    display: inline-block;
    padding: 12px 30px;
    background-color: #32ac57;
    color: #fff;
    text-transform: uppercase;
    font-size: 1rem;
    border-radius: 25px;
    margin-right: 10px;
    transition: background-color 0.3s;
}

.btn-to-assortment:hover {
    background-color: #2264bb;
}

.btn-to-order:hover {
    background-color: #17963d;
}

/* Sortiment Section */
.assortment-section {
    padding: 50px 20px;
}
/* Ausgangszustand */
.assortment-item {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1.4s ease, transform 1.4s ease;
}

.assortment-item.img-left {
    transform: translateX(-100px); /* Bild von links starten */
}

.assortment-item.text-top {
    transform: translateY(-50px); /* Text von oben starten */
}

.assortment-item.slider-bottom {
    transform: translateY(50px); /* Slider von unten starten */
}

/* Sichtbar: Animation aktiviert */
.assortment-item.visible {
    opacity: 1;
    transform: translate(0, 0); /* Normaler Zustand */
}


.container {
    max-width: 1200px;
    margin: 0 auto;
}

.row {
    display: flex;
    flex-wrap: wrap;
    gap: 45px;
}

.column-img-bg {
    background-size: cover;
    background-position: center;
    height: 620px;
    border-radius: 10px;
}

.column-text {
    flex: 0 0 auto;
    width: 48%;
}

.section-heading {
    margin-bottom: 20px;
}

.heading-sub {
    font-family: 'Allura', cursive;
    font-size: 5.5rem;
    font-weight: bold;
    color: #4d88cc;
    font-style: italic;
    margin-bottom: 10px;
}

.product-heading {
    font-size: 2.5rem;
    color: #333;
}

p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

/* Slider Container */
.slider-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 1200px;
    margin: 30px auto;
}

.image-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slider-item {
    flex: 0 0 33.333%;
    text-align: center;
    padding: 10px;
    box-sizing: border-box;
}

.slider-item img {
    width: 90%;
    max-width: 300px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    cursor: pointer;
}

.slider-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    z-index: 10;
    font-size: 20px;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.slider-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.prev-button {
    left: 10px;
}

.next-button {
    right: 10px;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    transition: color 0.3s;
}

.lightbox-close:hover {
    color: #ff5a58;
}

/* Bestellung Section */
.order-section {
    background-color: #f9f9f9;
    padding: 50px 20px;
  }
  
  .order-heading {
    font-family: 'Allura', cursive;
    font-size: 5.5rem;
    font-weight: bold;
    color: #4d88cc;
    font-style: italic;
    text-align: center;
    margin-bottom: 30px;
  }
  
  .order-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 30px;
  }
  
  .order-left,
  .order-right {
    flex: 1;
  }
  
  .order-left p,
  .order-right p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 20px;
  }
  
  .whatsapp-order {
    display: flex;
    align-items: center;
    gap: 15px;
  }
  
  .whatsapp-icon {
    width: 50px;
    height: 50px;
  }
  
  .btn-whatsapp-order {
    padding: 12px 30px;
    background-color: #25d366;
    color: #fff;
    text-transform: uppercase;
    font-size: 1rem;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  .btn-whatsapp-order:hover {
    background-color: #1da851;
  }
  
  .opening-hours {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .opening-hours li {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 10px;
  }
  
  /* Map Container */
  .map-container {
    margin-top: 30px;
  }
  
  .map-container iframe {
    width: 100%;
    border: none;
    border-radius: 10px;
  }
  

/* Responsive Design */
@media (max-width: 768px) {
    .slider-item {
        flex: 0 0 50%;
    }
}

@media (max-width: 576px) {
    .slider-item {
        flex: 0 0 100%;
    }
}


/* ===========================================
   MOBILE STYLES (Responsive Optimierungen)
   =========================================== */

/* --- Header --- */
@media (max-width: 992px) {
  .main-nav {
    display: none;
  }
}

/* --- Hero Section --- */
@media (max-width: 992px) {
  .hero-section {
    flex-direction: column-reverse;
    height: auto;
    text-align: center;
  }

  .hero-image {
    width: 100%;
    height: 300px;
  }

  .hero-text {
    width: 100%;
    padding: 20px;
  }

  .text-overlay .hero-subtitle {
    font-size: 3.5rem;
  }

  .text-overlay .hero-title {
    font-size: 2rem;
  }

  .text-overlay p {
    font-size: 1rem;
  }

  .btn-to-assortment,
  .btn-to-order {
    padding: 10px 20px;
    font-size: 0.9rem;
    margin-bottom: 10px;
  }
}

/* --- Sortiment Section --- */
@media (max-width: 992px) {
  .row {
    flex-direction: column;
    gap: 20px;
  }

  .column-text,
  .column-img-bg {
    width: 100%;
    height: auto;
  }

  .column-img-bg {
    height: 300px;
  }

  .heading-sub {
    font-size: 3rem;
  }

  .product-heading {
    font-size: 1.8rem;
  }

  .slider-item img {
    width: 100%;
    max-width: 100%;
  }

  .slider-container {
    margin: 20px 0;
  }

  .slider-button {
    padding: 6px 12px;
    font-size: 18px;
  }
}

/* --- Bestellung Section --- */
@media (max-width: 992px) {
  .order-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .order-left,
  .order-right {
    width: 100%;
  }

  .order-heading {
    font-size: 3.5rem;
  }

  .btn-whatsapp-order {
    width: 80%;
    max-width: 300px;
  }

  .whatsapp-icon {
    width: 40px;
    height: 40px;
  }

  .opening-hours li {
    font-size: 1rem;
  }
}

/* --- Map Container --- */
@media (max-width: 992px) {
  .map-container iframe {
    height: 250px;
  }
}

/* --- Extra Small Screens --- */
@media (max-width: 576px) {
  .text-overlay .hero-subtitle {
    font-size: 2.8rem;
  }

  .text-overlay .hero-title {
    font-size: 1.6rem;
  }

  .heading-sub {
    font-size: 2.5rem;
  }

  .product-heading {
    font-size: 1.5rem;
  }

  .order-heading {
    font-size: 2.8rem;
  }

  .slider-item img {
    border-radius: 6px;
  }

  .lightbox-content {
    max-width: 95%;
    max-height: 80%;
  }
}
