
html {
    background-color: transparent !important;
}

.header .navbar-collapse {
    border-top: none !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
}

body {
    margin: 0;
    padding: 0;
    overflow-y: scroll !important;
    scroll-behavior: auto !important;
    background-color: transparent !important;
}

.page-on-scroll .logo-img-main {
    display: none !important;
}



#fullscreen-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../assets/Light_Sculptures/Light_Sculpture_09.jpg) center center no-repeat;
    background-size: cover;
    z-index: -1;
}

#content {
    position: relative;
    z-index: 1; /* Ensures content is above the video */
    padding-top: 8.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;
}

.img-responsive {
    display: block;
    max-width: 100%;
    height: auto;
    padding-top: 20%;
}



.info-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.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.touch-active::before {
    left: 0;
}

body:not(.is-touch) .info-box:hover::before {
    left: 0;
}

body:not(.is-touch) .info-box:hover {
    background: #6b5a4a;
    color: #fff;
}

.info-box.touch-active {
    background: #6b5a4a;
    color: #fff;
}

.info-box + .info-box {
    border-left: none;
}

.info-box:nth-child(3n+1) {
    border-left: 1px solid #a3a3a3;
}


.info-box svg {
    width: 40px;
    height: 40px;
    color: #000;
    margin-bottom: 10px;
    display: block;
    transition: color 0.3s ease;
}

body:not(.is-touch) .info-box:hover svg {
    color: #fff;
}

.info-box lord-icon {
    width: 75px;
    height: 75px;
    margin-top: -35px;
    margin-bottom: 10px;
    display: block;
}


.info-box h4 {
    font-size: 16px;
    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: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
    margin: 10px 0;
    transition: color 0.3s ease;
}


body:not(.is-touch) .info-box:hover h4,
body:not(.is-touch) .info-box:hover p {
    color: #fff;
}

.info-box.touch-active h4,
.info-box.touch-active p {
    color: #fff;
}

@media (max-width: 1100px) and (min-width: 768px) {
    .info-container {
        grid-template-columns: repeat(3, 1fr);
    }
    .info-box + .info-box {
        border-left: none;
    }
    .info-box:nth-child(4) {
        border-left: 1px solid #a3a3a3;
        border-top: none;
    }
}

@media (max-width: 767px) {
    .info-container {
        grid-template-columns: 1fr;
    }
    .info-box + .info-box {
        border-left: 1px solid #a3a3a3;
        border-top: none;
    }
    .info-box:nth-child(4) {
        border-left: 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 {
    position: relative;
    display: flex;
    align-items: baseline;
    cursor: pointer;
    padding: 10px 0 10px 55px;
    color: #333;
    font-size: 16px;
}

.accordion-header span {
    position: absolute;
    left: 0;
    font-weight: 600;
    color: #333;
}

.accordion-header h4 {
    margin: 0;
    flex-grow: 1;
    font-weight: 400;
    color: #333;
    font-family: 'Abnes', sans-serif;
    font-size: 1.3rem;
}

.accordion-header i {
    font-size: 16px;
    transition: transform 0.4s ease;
    margin-left: 10px;
}

.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;
}

.accordion-content p {
    margin: 0;
    padding: 5px 1.5rem 30px 55px;
    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 */
    }
  }

/* Embedded Footer in white container */
.about-footer {
    margin-top: 4rem;
    background: url(../assets/Kontaktabzüge/lake-starnberg-7614034.jpg) center center no-repeat;
    background-size: cover;
    position: relative;
    overflow: hidden;
}

.about-footer::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 10%;
    pointer-events: none;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    z-index: 1;
}

.about-footer.footer {
    height: auto !important;
    overflow: visible;
}

@media (max-width: 767px) {
    .about-footer.footer {
        overflow: hidden;
    }
}

.about-footer-inner {
    overflow: hidden;
}

.about-footer .form-control.footer-input {
    min-width: 0;
    box-sizing: border-box;
}

.about-footer textarea.footer-input {
    max-width: 100%;
    box-sizing: border-box;
}

@media (min-width: 801px) {
    .about-footer-inner {
        padding: 4rem 3rem 3rem 0;
        margin-left: clamp(-75px, -5vw, 0px);
    }
    .about-footer-inner .row {
        max-width: 100%;
        margin-left: 0;
    }
    .about-footer-inner .row > [class*="col-"] {
        padding-left: 0;
    }
}

@media (max-width: 800px) {
    .about-footer-inner {
        padding: 2rem 1.5rem 2rem 20px;
    }
}

/* Re-use footer styles scoped to .about-footer */
.about-footer .footer-input {
    background: rgba(0,0,0,.15);
}

.about-footer .section-title {
    font-weight: 400;
    color: #fff;
}

.about-footer .planning-section .section-title {
    margin-bottom: 0.5rem;
    margin-left: -0.5rem !important;
}

.about-footer h2.abnes {
    margin-bottom: 6rem;
    margin-left: -0.5rem !important;
}

.about-footer .mobile-break {
    display: none;
}

@media (max-width: 486px) {
    .about-footer .mobile-break {
        display: inline;
    }
    .about-footer h2.abnes {
        font-size: 22px;
    }
}

@media (min-width: 600px) {
    .about-footer h2.abnes {
        white-space: nowrap;
    }
}

.about-footer .planning-section {
    margin-top: 4rem;
}

@media (max-width: 486px) {
    .about-footer .planning-section {
        margin-top: 6rem;
    }
}

@media (min-width: 768px) {
    .about-footer .kontakt-section {
        margin-top: 10rem;
    }
}

@media (min-width: 992px) {
    .about-footer .row .col-sm-6:nth-of-type(1) {
        padding-right: 8rem;
    }
}

@media (max-width: 991px) {
    .about-footer .row .col-sm-6:nth-of-type(1) {
        padding-right: 0;
    }
}

.about-footer textarea {
    color: #fff;
}

.about-footer .btn-base-bg {
    background-color: #906c4c;
}

.about-footer .footer-input:not(textarea) {
    margin-right: 0 !important;
}

@media (max-width: 767px) {
    .about-footer .footer-input:not(textarea) {
        margin-right: 0 !important;
        box-sizing: border-box;
    }
    .about-footer .checkbox-with-text {
        max-width: 100%;
        overflow: hidden;
    }
    .about-footer .checkbox-with-text .form-control {
        min-width: 0;
    }
    .about-footer .planning-section .checkbox-with-text > label {
        flex: 0 0 95px;
    }
    .about-footer .kontakt-section .checkbox-with-text > label {
        flex: 0 0 75px;
    }
    .about-footer .planning-section .checkbox-with-text > input.form-control,
    .about-footer .kontakt-section .checkbox-with-text > input[type="text"] {
        margin-left: 0.5rem;
    }
}

.about-footer .footer-input:is(textarea) {
    margin-right: 0 !important;
}

.about-footer textarea.footer-input {
    margin-right: 0 !important;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.about-footer .form-section label {
    display: block;
    margin-bottom: 0.5rem;
    align-items: center;
    margin-right: 1rem;
    color: #cbd3e1;
    font-weight: 500;
    cursor: pointer;
}

.about-footer .form-section > label,
.about-footer .form-section > .checkbox-with-text > label {
    display: block;
    margin-top: 0.75rem;
}

.about-footer .checkbox-with-text > label {
    display: inline-flex;
    align-items: center;
}

.about-footer .planning-section .checkbox-with-text > label,
.about-footer .kontakt-section .checkbox-with-text > label {
    display: inline-flex;
    align-items: center;
}

.about-footer .form-section input[type="checkbox"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 1px solid rgba(255,255,255,0.5);
    background: rgba(0,0,0,0.15);
    position: relative;
    transition: background-color .2s, border-color .2s;
}

.about-footer .form-section input[type="checkbox"]:checked {
    background: #906c4c;
    border-color: #906c4c;
}

.about-footer .form-section input[type="checkbox"]:checked::before {
    content: "";
    display: block;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    position: absolute;
    top: 2px;
    left: 7px;
}

.about-footer .form-section input[type="checkbox"]:hover {
    background: rgba(255,255,255,0.1);
}

.about-footer .form-section input[type="checkbox"],
.about-footer .form-section input[type="checkbox"]:checked {
    border-width: 1px !important;
    border-style: solid;
}

.about-footer .form-section input[type="checkbox"]:focus,
.about-footer .form-section input[type="checkbox"]:active {
    outline: none !important;
    box-shadow: none !important;
}

.about-footer .checkbox-with-text {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.about-footer .checkbox-with-text .form-control {
    margin-left: 1rem;
    flex: 1;
    color: #fff;
}

.about-footer .checkbox-with-text label {
    margin-bottom: 1rem;
    white-space: nowrap;
}

.about-footer .checkbox-desc {
    margin-left: 1rem !important;
}

.about-footer .planning-section .checkbox-with-text {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.about-footer .planning-section .checkbox-with-text > label {
    flex: 0 0 110px;
    margin-bottom: 0;
    white-space: nowrap;
}

.about-footer .planning-section .checkbox-with-text > input.form-control {
    flex: 1;
    margin-left: 1rem;
}

.about-footer .kontakt-section .checkbox-with-text {
    display: flex;
    align-items: center;
}

.about-footer .kontakt-section .checkbox-with-text > label {
    flex: 0 0 90px;
    margin-bottom: 0;
    white-space: nowrap;
}

.about-footer .kontakt-section .checkbox-with-text > input[type="text"] {
    flex: 1;
    margin-left: 1rem;
}

.about-footer .d-block {
    padding-bottom: 5px;
}

.about-footer .footer-input:focus::placeholder {
    color: #b9b9b9 !important;
}

.about-footer .footer-input:focus::-webkit-input-placeholder {
    color: #b9b9b9 !important;
}



