html, body {
  margin: 0;
  background-color: #fbf1dd;
  font-family: "Source Serif 4", serif;
  scroll-behavior: smooth;
}

header {
  height: 50px;
  box-shadow: 4px 6px 10px 0px rgba(0, 0, 0, 0.25);
  position: relative;

  max-width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
  box-sizing: border-box;
}

header img {
  width: 25vw;
  max-width: 107px;
  height: auto;
  margin-top: 75px;
  border-radius: 50%;
  position: relative;
  z-index: 999;
}

.column-reverse-mobile{
    display: flex;
    flex-direction: column-reverse;
}

.hide-tablet{
    display: contents;
}

.column{
    display: flex;
    flex-direction: column;
}

.row{
    display: flex;
    flex-direction: row;
}

.block{
    width: 50%;
}
.slider-image {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  border-radius: 4px;
}

.about-us {
  background-color: #fbf1dd;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 5%;
  box-sizing: border-box;
}

.about-us h2 {
    font-family: "Kalnia", serif;
    color: #296A0F;
    font-weight: 400;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    -webkit-text-stroke: 0.3px black;
    margin-bottom: 0;
}

.about-us p {
  font-size: 14px;
  max-width: 340px;
  margin-top: 17px;
}

.about-us button {
  background-color: green;
  color: white;
  width: 150px;
  height: 35px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  margin-top: 17px;
}

.wochenmarkte {
  background-color: #fbf1dd;
  padding: 30px 5%;
  box-sizing: border-box;
  text-align: center;
}

.wochenmarkte h2 {
  font-family: "Kalnia", serif;
  color: #296A0F;
  font-weight: 400;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
  -webkit-text-stroke: 0.3px black;
  margin-bottom: 0;
}

.wochenmarkte p {
  font-size: 14px;
  margin-top: 12px;
}

.wochenmarkte-flex {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

.wochenmarkte-wrapper {
  width: 100%;
  text-align: left;
}

.wochenmarkte-wrapper h3 {
  font-size: 15px;
  font-weight: 400;
  margin-bottom: 8px;
}

.wochenmarkte-wrapper p {
  color: #4C4C4C;
  font-size: 12px;
}

.wochenmarkte-wrapper iframe {
  width: 100%;
  height: 250px;
  aspect-ratio: 4 / 3;
  margin-top: 7px;
}

.sortiment {
  background-color: #fbf1dd;
  padding: 30px 5%;
  box-sizing: border-box;
  text-align: center;

  display: flex;
  flex-direction: column;
}

.sortiment h2 {
  font-family: "Kalnia", serif;
  color: #296A0F;
  font-weight: 400;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
  -webkit-text-stroke: 0.3px black;
  margin-bottom: 0;
}

.sortiment p {
    margin: 12px auto 20px;
}

.sortiment-desc{
    width: 90%;
}

.sortiment-row {
  display: flex;
  flex-direction: row;
  gap: 15px; /* space between items */
  justify-content: center;
}

.sortiment-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100px; /* base width */
}

.hide-mobile{
    display: none;
}

.sortiment-item img {
  width: 100px;
  height: 100px;
  border-radius: 5px;
}

.sortiment-item p {
  text-align: center;
  color: #296A0F;
  margin-top: 6px;
  margin-bottom: 10px;
  font-family: "Source Serif 4", serif;
}

/* Responsive sizes */

/* Medium screens (tablets and up) */
@media (max-width: 425px) {
  .sortiment-item {
    width: 80px;
  }

  .sortiment-item img {
    width: 80px;
    height: 80px;
  }
}

@media (min-width: 425px) {
  .sortiment-item {
    width: 100px;
  }

  .sortiment-item img {
    width: 100px;
    height: 100px;
  }
}

.firmenbelieferung {
  background-color: #fbf1dd;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 5%;
  box-sizing: border-box;
}

.firmenbelieferung h2 {
    font-family: "Kalnia", serif;
    color: #296A0F;
    font-weight: 400;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    -webkit-text-stroke: 0.3px black;
    margin-bottom: 0;
}

.firmenbelieferung p {
  font-size: 14px;
  max-width: 700px;
  margin-top: 12px;
}

.firmenbelieferung button {
  background-color: green;
  color: white;
  width: 150px;
  height: 35px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  margin-top: 24px;
}

.lager {
  background-color: #fbf1dd;
  padding: 30px 5%;
  box-sizing: border-box;
  text-align: center;
}

.lager h2 {
  font-family: "Kalnia", serif;
  color: #296A0F;
  font-weight: 400;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
  -webkit-text-stroke: 0.3px black;
  margin-bottom: 0;
}

.lager p {
  font-size: 14px;
  margin-top: 12px;
}

.vk-wrapper {
  width: 90%;           /* or max-width: 600px; if you want to limit width */
  max-width: 600px;
  margin: 0 auto;       /* centers the whole wrapper horizontally */
  text-align: left;     /* keep text aligned to left */
}

.vk-wrapper iframe {
  width: 100%;          /* make iframe take full width of wrapper */
  height: 250px;        /* keep the height fixed or adjust as needed */
  border: 0;
  display: block;       /* removes any inline gap */
}
/* .vk-wrapper {
  width: 90%;
  text-align: left;
} */

.vk-wrapper h3 {
  font-size: 15px;
  font-weight: 400;
  margin-bottom: 8px;
}

.vk-wrapper p {
  color: #4C4C4C;
  font-size: 12px;
}

/* .vk-wrapper iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  margin-top: 7px;
} */

.kontakt {
  background-color: #fbf1dd;
  text-align: left;             /* <-- fix the typo here */
  display: flex;
  flex-direction: column;
  align-items: left;      /* <-- change this to align left */
  padding: 30px 5%;
  box-sizing: border-box;
}

.kontakt h2 {
  font-family: "Kalnia", serif;
  color: #296A0F;
  font-weight: 400;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
  -webkit-text-stroke: 0.3px black;
  margin-bottom: 0;
  text-align: center;
}

.adress{
    width: 130px;
    margin-bottom: 5px;
}

.number{
    margin-bottom: 5px;
}

.kontakt .adress {
  font-weight: 600;
  margin-top: 10px;
}

.kontakt .number,
.kontakt .email {
  margin-top: 5px;
}

footer {
    height: 50px;
    box-shadow: 4px 6px 10px 0px rgba(0, 0, 0, 0.25);
    position: relative;
    background-color: #296A0F;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    box-sizing: border-box;
}   

footer a{
    color: white;
    text-decoration: none;
}

footer a:hover{
    color: rgb(36, 38, 179);
}

.info-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 30px 5%;
  background-color: #F7F0E0;
  box-sizing: border-box;
}



@media (min-width: 768px) {
    .hide-mobile{
        display: contents;
    }

    .hide-tablet{
        display: none;
    }

    .column-reverse-mobile{
        display: flex;
        flex-direction: column;
    }
    .row-tablet {
        display: flex;
        flex-direction: row;
        align-items: center;            /* Vertically center both image & text */
        justify-content: center;        /* Optional: horizontally center the pair */
        gap: 10px;                      /* Optional spacing between image and text */
        /* padding: 20px; */
    }

    .slider-image {
        width: 50%;
        height: auto;
        object-fit: cover;
    }

    .about-us {
        background-color: #fbf1dd;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0;
        gap: 20px;
        width: 50%;                     /* Match image width */
        max-width: 600px;
        box-sizing: border-box;
    }

    .about-us h2 {
        font-size: 20px;
    }

    .about-us p {
        width: 330px;
    }


    h2{
        font-size: 32px;
    }
    
    p{
        font-size: 12px;
    }
    
    .wochenmarkte-flex {
    display: flex;
    flex-direction: row;
    justify-content: space-between; /* Ensures items push to opposite sides */
    gap: 50px;                      /* Adds consistent space between them */
    flex-wrap: wrap;               /* Allows wrapping on smaller screens */
    }

    .wochenmarkte-wrapper {
    flex: 1 1 0;                   /* Allows equal sizing and shrink/grow */
    max-width: 600px;              /* Limits size to match iframe */
    box-sizing: border-box;
    }

    .wochenmarkte-wrapper h3 {
    font-size: 20px;
    text-align: center;
    }

    .wochenmarkte-wrapper p {
    font-size: 12px;
    text-align: center;
    margin-bottom: 3px;
    margin-top: 5px;
    }

    .wochenmarkte-wrapper iframe {
    width: 100%;                   /* Responsive iframe */
    height: 300px;                 /* Adjust as needed */
    border: 0;
    }

    .sortiment-item{
        display: flex;
        flex-direction: column;
    }

    .sortiment-desc{
        text-align: center;
    }

    .sortiment-item {
        width: 120px;
    }

    .sortiment-item img {
        width: 120px;
        height: 120px;
  }

    .row {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap; /* optional, for responsiveness */
    }

    .column {
        flex: 1;
        /* padding: 30px 5%; */
        box-sizing: border-box;
    }

    .lager {
        flex: 1;
        background-color: #F7F0E0;
        padding: 30px 1%;
        box-sizing: border-box;
        text-align: center;
    }

    .firmenbelieferung h2{
        margin-top: 0;
    }

    .firmenbelieferung p{
        width: 330px;
    }
    
    .kontakt{
        /* display: flex; */
        align-items: center;
        padding: 0;
        padding-left: 20px;

        margin-top: 15px;
    }
    .kontakt-wrapper{
        display: flex;
        justify-content: space-between;
    }
    .kontakt h2{
        margin-top: 0;
    }

    .number{
        margin: 0;
    }
    
    .email{
        margin: 0;
    }

    .lager h2{
        margin-top: 0;
    }
    
    .special-box{
        height: 540px;
    }
}

/* .gallery-wrapper {
  background-color: #F7F0E0;
  padding: 30px 5%;
  padding-top: 0;
  box-sizing: border-box;
  text-align: center;

  display: flex;
  flex-direction: column;
}

.gallery-wrapper h2 {
  font-family: "Kalnia", serif;
  color: #296A0F;
  font-weight: 400;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
  -webkit-text-stroke: 0.3px black;
  margin-bottom: 0;
  margin-top: 0;
} */

/* .gallery {
  margin: 0;
  padding: 0;
  border: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 10px;
}
.gallery__item {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin: 0;
  padding: 0;
  border: none;
}

.gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0;
  padding: 0;
  border: none;
} */

@media (min-width: 1024px) {
  main {
    width: 768px;
    margin: 0 auto;
  }

  header div{
    width: 780px;
    margin: 0 auto;
  }

  footer div{
    width: 768px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
  }

  .gallerie h2{
    margin-top: -40px;
  }
}


.gallerie h2{
      font-family: "Kalnia", serif;
    color: #296A0F;
    font-weight: 400;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    -webkit-text-stroke: 0.3px black;
    margin-bottom: 15px;
    text-align: center;

    margin-top: 40px;
    margin-bottom: 0;
}

.container {
  display: flex;
  flex-wrap: wrap;    /* allow items to wrap onto new lines */
  gap: 10px;          /* space between images */
  max-width: 1200px;  /* optional, limit how wide it grows */
  margin: 30px auto;
  justify-content: center;
  
  margin-left: 30px;
  margin-right: 30px;
}


.container div {
  display: flex;
  flex-direction: row;
  gap: 5px;           /* spacing between images */
}

.container img {
  flex: 1 1 300px;   /* grow/shrink, base size 300px */
  height: 200px;     /* or auto */
  border-radius: 5px;
}

/* If you want the first image on top to be full width */
.photo1 {
  width: 100%; 
  height: 200px;   /* fixed height */
  object-fit: cover;
}

.photo3 { 
  width: 40%; 
  height: 200px;   /* fixed height */
  object-fit: cover;
}

.photo4 { 
   width: 40%; 
  height: 200px;   /* fixed height */
  object-fit: cover;
}
