html, body {
    overflow-x: hidden; 
    width: 100%;
}
.top-bar {
    background-color: #ffffff; 
    padding: 10px 20px; 
    font-size: 14px;
    color: #333;
}

.top-bar .container-fluid {
    display: flex;
    justify-content: center; 
    align-items: center;
}

.contact-info {
    margin-right: 15px; 
}

.social-icon {
    margin-left: 10px; 
}

.social-icon img {
    width: 20px;
    height: 20px;
    vertical-align: middle;
}

.phone-separator {
    margin: 0 15px; 
}

.phone-link {
    text-decoration: none;
    color: inherit;
}

.custom-nav-bg {
    background-color: #BEC8B6 !important; 
}

.custom-btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 18px;
    font-weight: bold;
    color: #BEC8B6 !important; 
    border: 2px solid #BEC8B6; 
    border-radius: 30px; 
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

.custom-btn:hover {
    background-color: #BEC8B6;
    color: #333 !important; 
}

.nav-text {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 1em;
    margin: 2;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #BEC8B6;
    display: flex;
    align-items: center; 
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    z-index: 9999;
  }
  
  .menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }
  

  .overlay-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: center;
    position: relative;
  }
  

  .overlay-menu {
    list-style: none;
    padding: 0;
    text-align: center;
  }
  
  .overlay-menu li {
    margin: 20px 0;
  }
  
  .overlay-menu a {
    font-size: 2rem;
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
  }
  
  .overlay-menu a:hover {
    color: #000000;
  }

  .overlay-social-icons {
    position: absolute;
    bottom: 110px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
  }
  
  .overlay-social-icons img {
    width: 48px;
    height: 48px;
    transition: transform 0.2s ease-in-out;
  }
  
  .overlay-social-icons img:hover {
    transform: scale(1.1);
    cursor: pointer;
  }

.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
}

.close-btn:hover {
    transform: scale(1.2); 
}


.einleitung {
    background-image: url('img/startbild.webp'); 
    background-size: cover !important; 
    background-position: center; 
    background-repeat: no-repeat; 
    width: 100% !important; 
    margin: 0 !important;
}

.einleitung img {
    transition: transform 0.3s ease-in-out; 
}

.einleitung img:hover {
    transform: scale(1.05);
}

#lieblingscafe {
    margin: 10px;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 0.8rem
}

.gallery-section {
    background-color: #BEC8B6;
  }
  
  .image-box {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1 / 1;
    background-color: #ddd;
    overflow: hidden;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
  }
  
  .image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
  }
  
  .image-box img:hover {
    transform: scale(1.05);
  }
  
  .image-header {
    font-family: "Schoolbell", cursive;
    max-width: 390px;
    margin: 15px auto;
    font-size: 1.5em;
    font-weight: 400;
    color: #000;
    text-align: center;
  }
  
  .image-text {
    max-width: 390px;
    margin: 10px auto 0;
    font-size: 16px;
    color: #333;
    text-align: justify;
  }

.header{
    font-family: "Schoolbell", cursive;
    margin-top: 40px;
    margin-bottom: 50px;
    font-weight: 600;
    font-style: normal;
    font-size: 3.5em;
}

.text{
    margin: 10px;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.weil-satz { 
    margin-top: 55px;
    font-family: "Schoolbell", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 20;
}

.custom-carousel {
    position: relative;
    height: 700px;
    background-color: #BEC8B6
}

.carousel-header {
    font-family: "Poppins", sans-serif;
    font-size: 1.7rem;
    font-weight: 550;
    margin-bottom: 30px;
    text-align: center;
    padding-top: 40px;
    padding-bottom: 30px;
}

.custom-carousel-inner {
    padding-top: 50px;
    padding-bottom: 50px;
    height: 500px;
    overflow: hidden; 
    padding: 20px;
}

.custom-carousel .carousel-item {
    padding: 20px;
}

.custom-carousel .carousel-item img {
    height: 400px;
    object-fit: cover;
    border-radius: 15px; 
}

.custom-carousel .carousel-caption {
    color: white; 
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8); 
    background: rgba(0, 0, 0, 0.4);
    padding: 10px; 
    width: 95%; 
    left: 50%;
    transform: translateX(-50%); 
    bottom: 10px; 
    position: absolute; 
}


.custom-carousel .carousel-control-prev {
    left: -60px;
}

.custom-carousel .carousel-control-next {
    right: -60px; 
}

.custom-carousel .carousel-control-prev-icon,
.custom-carousel .carousel-control-next-icon {
    width: 50px; 
    height: 50px;
    filter: brightness(0) invert(1) drop-shadow(5px 5px 10px rgba(0, 0, 0, 1)); 
    opacity: 1 !important; 
}

.location-section {
    background-color: #f8f9fa; 
    padding: 50px 0;
    margin-top: 70px;
}

.section-header {
    font-family: "Poppins", sans-serif;
    font-size: 1.7rem;
    font-weight: 550;
    margin-bottom: 30px;
}

.section-subheader {
    font-family: "Poppins", sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    margin-top: 20px;
    margin-bottom: 20px;
}

.location-address {
    font-size: 1rem;
    color: #333;
    margin-bottom: 30px;
}

.opening-hours-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 400px; 
    
}

.opening-hours-table {
    width: 100%;
    max-width: 400px;
    margin: auto;
    border-collapse: collapse;
    font-size: 1rem;
}

.opening-hours-table td {
    padding: 5px 15px;
    text-align: left;
}

.opening-hours-table td:first-child {
    font-weight: 600; 
    width: 50%;
}

.google-map {
    width: 100%;
    height: 400px;
    border-radius: 10px; 
}

.gallery {
    background-color: #f8f9fa;
    display: grid;
    grid-template-columns: repeat(12, 1fr); 
    grid-auto-rows: 200px; 
    gap: 0; 
    width: 100vw; 
    overflow: hidden; 
    padding-top: 60px;
    padding-bottom: 60px;
}

.gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
}

.gallery img:nth-child(1),
.gallery img:nth-child(2),
.gallery img:nth-child(3),
.gallery img:nth-child(4),
.gallery img:nth-child(8),
.gallery img:nth-child(9),
.gallery img:nth-child(10),
.gallery img:nth-child(11) {
    grid-column: span 3;
}

.gallery img.wide {
    grid-column: span 4; 
}

.gallery img {
    transition: transform 0.3s ease-in-out;
}

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

.footer {
    background-color: #d1d1c7; 
    padding: 50px 0;
    color: #333;
    text-align: center;
}

.footer-title {
    font-family: "Poppins", sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 25px;
}

#tabletArmeritter {
    margin-top:20px !important;
  }

.footer-icons img {
    width: 40px; 
    height: 40px;
    margin-right: 8px;
    transition: transform 0.3s ease-in-out; 
    margin-bottom: 15px;
}

.footer-icons img:hover {
    transform: scale(1.2); 
    cursor: pointer;
}

.footer-icons a {
    text-decoration: none !important;
}

.social-icon {
    text-decoration: none;
    border: none;
}

.footer-address {
    font-size: 1rem;
    margin-top: 10px;
}

.footer-opening-hours {
    font-size: 0.8rem;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%; 
    margin: 0 auto; 
}

.footer-opening-hours td {
    padding: 5px 20px;
    text-align: left; 
}


.weil-saetze {
    font-family: "Schoolbell", cursive;
    font-size: 1.2rem;
    font-weight: 400;
    margin-top: 15px;
    line-height: 1.5;
}

.footer-links {
    margin-top: 15px;
}

.phone-footer {
    display: inline-block;
    margin-top: 10px;
}
.footer-link {
    display: inline-block;
    font-size: 1rem;
    color: #333;
    text-decoration: none;
    margin: 0 10px;
}

.footer-link:hover {
    text-decoration: underline;
}

#opening-hours-kontakt {
    font-size: 0.8rem;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    text-align: left;
    width: 100%; 
    margin: 0 auto; 
}

.opening-hours-kontakt td {
    padding: 5px ;
    text-align: left; 
}

.phone-kontakt {
    display: inline-block; 
    margin-top: 5px;
}

.kontakt-öffnungszeiten-title {
    font-family: "Poppins", sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 25px;
    margin-bottom: 15px;
}

.datenschutz-header {
    font-family: "Poppins", sans-serif;
    font-size: 1.7rem;
    font-weight: 550;
    margin: 50px;
}

.datenschutz-subheader {
    font-family: "Poppins", sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    margin-left: 50px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.datenschutz-text {
    margin-left: 50px;
    margin-right:10px;
    margin-bottom: 8px;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.datenschutz-link {
    display: inline-block;
    font-size: 1rem;
    color: #333;
    text-decoration: underline;
    margin: 0 10px;
}

@media (max-width: 767px) {
    .top-bar {
        display: none;
    }
      
    .top-bar .container-fluid {
        justify-content: center !important;
    }
    .section-header {
        font-size: 1.4rem;
        margin-bottom: 25px;
      }
    
      .section-subheader {
        font-size: 1.2rem;
        margin-top: 15px;
        margin-bottom: 15px;
      }
    
      .location-address {
        font-size: 0.9rem;
        margin-bottom: 25px;
      }
    
      .opening-hours-table {
        font-size: 0.9rem;
      }
    
      .opening-hours-table td {
        padding: 4px 10px;
      }
      .google-map {
        margin: 3px;
      }
}

  @media (min-width: 991.98px) {
    .image-header {
      font-size: 1.3em;
      margin-bottom: 10px;
    }
  
    .image-text {
      font-size: 15px;
      line-height: 1.5;
    }
  }
  
  @media (min-width: 768px) and (max-width: 991.98px) {
    .einleitung img {
    width: 280px;
  }

  .header {
    font-size: 2.8em;
    margin-top: 35px;
    margin-bottom: 40px;
  }

  .text {
    font-size: 15px;
    margin: 0 30px;
    line-height: 1.6;
  }

  .weil-satz {
    font-size: 1.1rem;
    margin-top: 40px;
  }

  .gallery-section .row {
    padding: 0 4vw;
  }

  .image-box {
    max-width: 90%;
    aspect-ratio: 1 / 1;
    margin-bottom: 30px;
  }

  .image-header {
    font-size: 1.3em;
  }

  .image-text {
    font-size: 15px;
  }

  .section-header {
    font-size: 1.5rem;
  }

  .section-subheader {
    font-size: 1.3rem;
  }

  .location-address {
    font-size: 0.95rem;
  }

  .opening-hours-table {
    font-size: 0.95rem;
  }

  .google-map {
    margin-right: 10px;
  }
}
  

  @media (max-width: 767.98px) {
    .row-cols-md-3 {
      display: block;
    }
  
    .col {
      margin-bottom: 40px;
    }
  }
  
  @media (min-width: 768px) {
    .break {
        display: none; 
    }
}

  
@media (max-width: 768px) {
    .mobile-carousel-items {
      padding: 20px;
      margin: 30px;
      background-color: #BEC8B6;
    }
  
    .mobile-carousel-items .mobile-item {
      position: relative;
      margin-bottom: 30px;
    }
  
    .mobile-carousel-items img {
      width: 100%;
      height: 400px;
      object-fit: cover;
      border-radius: 15px;
      display: block;
    }
  
    .mobile-carousel-items .caption {
      color: white;
      text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
      background: rgba(0, 0, 0, 0.4);
      padding: 10px;
      width: 95%;
      position: absolute;
      left: 50%;
      bottom: 10px;
      transform: translateX(-50%);
      border-radius: 5px;
      font-family: "Poppins", sans-serif;
      font-size: 1rem;
      text-align: center;
    }
  
    .custom-carousel .carousel-inner,
    .custom-carousel .carousel-control-prev,
    .custom-carousel .carousel-control-next,
    .carousel-indicators {
      display: none !important;
    }
  
    .custom-carousel {
      height: auto !important;
      padding-bottom: 40px;
    }
  }
  
  @media (min-width: 768px) and (max-width: 991.98px) {
    .mobile-carousel-items {
      display: grid !important;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
      padding: 30px 20px;
      background-color: #BEC8B6;
    }
  
    .mobile-carousel-items .mobile-item {
      position: relative;
      width: 100%;
    }
  
    .mobile-carousel-items img {
      width: 100%;
      height: 300px;
      object-fit: cover;
      border-radius: 15px;
    }
  
    .mobile-carousel-items .caption {
      color: white;
      text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
      background: rgba(0, 0, 0, 0.4);
      padding: 10px;
      width: 90%;
      position: absolute;
      left: 50%;
      bottom: 10px;
      transform: translateX(-50%);
      border-radius: 5px;
      font-family: "Poppins", sans-serif;
      font-size: 1rem;
      text-align: center;
    }

    .custom-carousel .carousel-inner,
    .custom-carousel .carousel-control-prev,
    .custom-carousel .carousel-control-next,
    .carousel-indicators {
      display: none !important;
    }
  }  

@media (min-width: 769px) {
    .carousel-indicators.mobile {
        display: none !important; 
    }
    .carousel-indicators.desktop {
        display: flex;
        padding-bottom: 65px;
    }
}

@media (max-width: 767px) {
    .location-section .text-center {
        text-align: center !important;
    }

    .opening-hours-container {
        display: flex;
        flex-direction: column;
        align-items: center; 
        text-align: center;
        width: 100%; 
        margin: 0 auto; 
    }

    .section-subheader {
        text-align: center !important; 
        margin-left: auto;
        margin-right: auto;
    }

    .opening-hours-table {
        width: auto; 
        margin-left: auto;
        margin-right: auto; 
        text-align: left; 
    }

    .opening-hours-container {
        margin-bottom: 40px; 
    }

    .google-map {
        width: 90%;
        height: 300px;
        border-radius: 10px;
        margin: 30px auto 0; 
        display: block; 
    }
}

@media (max-width: 767.98px) {
    .gallery {
      display: grid;
      grid-template-columns: repeat(2, 1fr); 
      grid-auto-rows: 160px; 
      width: 100%;
      gap: 0;
    }
  
    .gallery img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  
    .gallery img:nth-child(1),
    .gallery img:nth-child(4),
    .gallery img:nth-child(7),
    .gallery img:nth-child(10),
    .gallery img:nth-child(11) {
      grid-column: span 2;
    }
  
    .gallery img:nth-child(2),
    .gallery img:nth-child(3),
    .gallery img:nth-child(5),
    .gallery img:nth-child(6),
    .gallery img:nth-child(8),
    .gallery img:nth-child(9) {
      grid-column: span 1;
    }
  }
  

@media (max-width: 767px) {
  .einleitung img {
    width: 220px !important;
    height: auto !important;
    transition: none !important;
  }

  .einleitung img:hover {
    transform: none !important;
  }

  .header {
    font-size: 2em !important;
    margin-top: 30px;
    margin-bottom: 30px;
  }

  .text {
    font-size: 14px !important;
    margin: 0 20px;
    line-height: 1.6;
  }

  .weil-satz {
    font-size: 1rem;
    margin-top: 30px;
  }

  .image-box {
    max-width: 70% !important;
    margin: 0 auto 20px auto;
  }

  .image-text {
    font-size: 14px !important;
    padding: 0 20px;
    text-align: justify;
  }

  .image-header {
    font-size: 1.3em;
    padding: 0 10px;
  }

  .mobile-carousel-items img {
    height: 280px !important;
  }

  .carousel-header {
    font-size: 1.4rem !important;
    padding-top: 0px;
    padding-bottom: 15px;
  }

  .mobile-carousel-items .caption {
    font-size: 0.9rem !important;
  }
  
    .gallery img:hover {
        transform: none !important;
    }

    .footer {
        text-align: center;
    }

    .footer-icons img {
        width: 35px; 
        height: 35px;
    }

    .footer-opening-hours {
        max-width: 80%; 
    }
}

@media (max-width: 767px) {
    .button-container {
        display: flex;
        justify-content: center;
        width: 100%;
        margin-bottom: 60px;
    }

    .button-container button {
        display: block;
        margin: 0 auto;
    }

    .content-kontakt {
        display: flex;
        flex-direction: column;
        align-items: center; 
        justify-content: center; 
        text-align: center; 
        width: 100%; 
    }

    .opening-hours-kontakt {
        margin-bottom: 20px;
    }

    #contactForm {
        margin: 0 10px !important; 
        width: calc(100% - 20px) !important; 
    }
}
@media (min-width: 768px) and (max-width: 991.98px) {
    .einleitung img {
      width: 280px;
    }
  
    .header {
      font-size: 2.8em;
      margin-top: 35px;
      margin-bottom: 40px;
    }
  
    .text {
      font-size: 15px;
      margin: 0 30px;
      line-height: 1.6;
    }
  
    .weil-satz {
      font-size: 1.1rem;
      margin-top: 40px;
    }
  
    .gallery-section .row {
      padding: 0 4vw;
    }
  
    .image-box {
      max-width: 90%;
      aspect-ratio: 1 / 1;
      margin-bottom: 30px;
    }
  
    .image-header {
      font-size: 1.3em;
    }
  
    .image-text {
      font-size: 15px;
    }
  
    .section-header {
      font-size: 1.5rem;
    }
  
    .section-subheader {
      font-size: 1.3rem;
    }
  
    .location-address {
      font-size: 0.8rem;
    }
  
    .opening-hours-table {
      font-size: 0.95rem;
    }
  
    .google-map {
      margin-right: 10px;
    }
  
    .footer {
        background-color: #d1d1c7;
        padding: 40px 20px;
        color: #333;
        text-align: center;
      }
    
      .footer .container {
        max-width: none;
        padding: 0;
      }
    
      .footer .row {
        display: flex;
        justify-content: space-between;
        align-items: flex-start; 
        flex-wrap: nowrap;
        width: 100%;
        box-sizing: border-box;
      }

      .footer .col-md-4:nth-child(1) {
        flex: 0 0 30%;
        text-align: left;
        font-size: 0.7rem;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        margin-left: 10px;
      }
    
      .footer-title {
        font-size: 0.8rem;
        margin-bottom: 6px;
      }

      #tabletArmeritter {
        margin-top:25px !important;
      }
    
      .footer-address {
        font-size: 0.75rem;
        margin-top: 5px;
      }
    
      .phone-footer {
        display: block;
        margin-top: 5px;
        font-size: 0.75rem;
      }
    
      .footer-icons {
        margin-top: 6px;
        display: flex;
        gap: 8px;
      }
    
      .footer-icons img {
        width: 36px;
        height: 36px;
      }
    
      .footer .col-md-4:nth-child(2) {
        flex: 1 1 auto;
        text-align: center;
        margin: 0 10px;
      }
    
      .footer-opening-hours {
        font-size: 0.7rem;
        max-width: 300px;
        margin: 0 auto;
      }
    
      .footer-opening-hours td {
        padding: 4px 8px;
        white-space: nowrap;
      }
    
      .footer .col-md-4:nth-child(3) {
        flex: 0 0 30%;
        text-align: right;
        font-size: 0.6rem;
        display: flex;
        flex-direction: column;
        justify-content: flex-start; 
        margin-right: 10px;
      }
    
      .weil-saetze {
        font-family: "Schoolbell", cursive;
        font-size: 0.8rem;
        line-height: 1.5;
        margin-bottom: 8px;
        text-align: right;
      }

      #tabletWeil {
        margin-top: 25px;
      }
    
      .footer-links {
        margin-top: 10px;
        text-align: right;
      }
    
      .footer-link {
        font-size: 0.7rem;
        margin-left: 10px;
        text-decoration: none;
        color: #333;
      }
    
      .footer-link:hover {
        text-decoration: underline;
      }
    
      }
      
      
  
  
