
body, html {
    margin: 0;
    padding: 0;
    overflow-y: scroll !important;
    scroll-behavior: auto !important;
}



#fullscreen-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

#content {
    position: relative;
    z-index: 1; /* Ensures content is above the video */
}


#content {
    position: relative;
    z-index: 1; /* Ensures content is above the video */
    padding-top: 11.5vw;
}


/* New Container Styling */
.photo-container {
    position: relative;
    margin: 50px auto;
    max-width: 92%; /* Takes up most of the width */
    background: #fff; /* Background color for contrast */
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2); /* Adds subtle shadow */
    padding: 35px; /* Space inside the container */
    overflow: hidden;
}

@media (max-width: 800px) {
    .photo-container{
        padding: 20px;
    }
}

.photo-container .img-first {
    width: 100%;
    height: auto;
}

.photo-container .img-second {
    width: 100%;
    height: auto;
    padding-top: 150px;
}

.img-responsive {
    display: block;
    max-width: 100%;
    height: auto;
    padding-top: 20%;
}



.info-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Four equally sized columns */
}

.info-box {
    background: #fff;
    text-align: left;
    padding: 25px;
    border: 1px solid #a3a3a3;
    border-top: none;
    padding-top: 80px;
    position: relative;
    transition: background-color 0.5s ease, color 0.5s ease;
}

.info-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%; /* Startposition außerhalb der Box */
    width: 100%;
    height: 100%;
    background: #a3a3a3;
    z-index: -1; /* Hinter den Text und SVG legen */
    transition: left 0.4s ease-in-out; /* Animationsdauer und -art */
}

.info-box:hover::before {
    left: 0; /* Verschiebt das Element vollständig in die Box */
}

.info-box:hover {
    background: #6b5a4a;
    color: #fff;
}
/* 545648 */


.info-box:nth-child(2) {
    border-left: none;
    border-right: none;
}

.info-box:nth-child(3) {
    border-right: none;
}


.info-box svg {
    width: 40px;
    height: 40px;
    fill: #000;
    margin-bottom: 10px;
    display: block;
    transition: fill 0.3s ease;
}

.info-box:hover svg {
    fill: #fff;
}


.info-box h4 {
    font-size: 20px;
    margin: 10px 0;
    font-weight: lighter;
    color: #545454;
    text-align: left;
    padding-top: 10px;
    transition: color 0.3s ease;
}

.info-box p {
    font-size: 16px;
    color: #666;
    text-align: left;
    margin: 10px 0;
    transition: color 0.3s ease;
}


.info-box:hover h4,
.info-box:hover p {
    color: #fff;
}

@media (max-width: 880px) and (min-width: 768px) {
    .info-container {
      grid-template-columns: repeat(2, 1fr);
    }
    .info-box:nth-child(2){
        border-right: 1px solid #a3a3a3;
    }

  }
  
  /* Unter 768px: Alle 4 Container untereinander (1 Container pro Zeile) */
  @media (max-width: 767px) {
    .info-container {
      grid-template-columns: 1fr;
    }
    .info-box:nth-child(2){
        border: 1px solid #a3a3a3;
        border-top: none;
    }
    .info-box:nth-child(3){
        border-right: 1px solid #a3a3a3;
    }
  }


.content-wrapper {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: #fff;
    padding-top: 200px;
}

.left-image {
    flex: 1;
    max-width: 50%;
}

.left-image img {
    width: 100%;
    object-fit: cover;
}

.right-accordion {
    flex: 1;
    max-width: 50%;
    padding-left: 50px;
}

.accordion-item {
    border-bottom: 1px solid #000;
    margin-bottom: 10px;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    cursor: pointer;
    padding: 10px 0;
    font-weight: bold;
    color: #333;
    font-size: 16px;
}

.accordion-header h4 {
    margin: 0;
    flex-grow: 1;
    padding-left: 15px;
    font-weight: 400;
    color: #333;
    padding-bottom: 0;
    font-family: 'Abnes', sans-serif;
    font-size: 1.3rem;
}

.accordion-header span {
    font-weight: 600;
    color: #333;
    padding-bottom: 15px;
}

.accordion-header i {
    font-size: 16px;
    transition: transform 0.4s ease;
}

.arrow-icon {
    display: inline-block;
    transition: transform 0.3s ease;
}

.arrow-icon.open {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    font-size: 14px;
    color: #666;
    margin-left: 10.5%;
}

.accordion-content p {
    margin: 0;
    padding-left: 3.5;
    padding-right: 1.5rem;
    padding-top: 5px;
    padding-bottom: 30px;
    font-size: 16px;
    color: #333;
    text-align: justify;
}


@media (max-width: 999px) {
    .content-wrapper {
      flex-direction: column;
      align-items: center; /* optional: zentriert die Inhalte */
    }
    
    .left-image,
    .right-accordion {
      max-width: 100%;
      flex: none;
    }
    
    .right-accordion {
      padding-left: 0;
      margin-top: 20px; /* Abstand zwischen Bild und Accordion */
    }
     .accordion-content p {
        padding-left: 4.2rem;
     }
  }

.map-container {
    position: relative;
    width: 100%;
    height: 450px;
    margin: 0;
    padding: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 5rem;
}

.map-container iframe {
    display: block;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

.address-box {
    margin-top: 40px;
    padding: 20px 25px;
    background: rgba(255, 255, 255, 0.85);
    border-left: 4px solid #6b5a4a; /* Akzentfarbe aus Theme */
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: #333;
    line-height: 1.6;
    box-shadow: 0px 2px 8px rgba(0,0,0,0.08);
}

.address-box {
    margin-top: 2rem;
    padding: 1rem 1.5rem;
    background: rgba(255,255,255,0.85);
    border-left: 4px solid #6b5a4a; /* Corporate Akzent */
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #333;
    box-shadow: 0px 2px 8px rgba(0,0,0,0.08);
}

.address-box .address-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #6b5a4a; /* Corporate Akzent */
}

.address-box a {
    color: #6b5a4a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.address-box a:hover {
    color: #000;
}



/* Responsive Design für mobile Geräte */
@media (max-width: 768px) {
    .map-container {
        height: 300px;
        margin: 1rem 0;
    }
    
    .map-container iframe {
        height: 300px;
    }
}