body, html {
    margin: 0;
    padding: 0;
    max-width: 100%!important;
    overflow-x: hidden;
    font-family: 'Work Sans', sans-serif!important;
    font-optical-sizing: auto;
    color: #725438;
}


.container-fluid{
    padding: 0;
    margin: 0;
}


/* Allgemeine Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    color: #725438;
    background-color: rgba(255, 255, 255, 0.9);
}

.navbar-brand, .nav-link {
    color: #725438 !important;
}

/* Burger-Navigation (mobile) */
@media (max-width: 991px) {
    .navbar-collapse {
        height: 100vh; /* Über die gesamte Höhe */
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .navbar-nav {
        flex-direction: column;
        gap: 1.5rem; 
        width: 100%;
    }

    .nav-link {
        font-size: 1.8rem; /* Größere Schriftgröße */
        text-align: center;
        padding: 1rem 0; /* Vertikaler Abstand */
        color: #725438 !important;
    }

    .nav-link.active{
            font-weight: 600;
            text-decoration: underline;
    }

    .navbar-toggler {
        border: none;
        outline: none;
    }
}

@media (min-width: 768px) {
    .navbar-collapse {
        padding-left: 5%;
    }
    .nav-item{
        margin: 0px 20px;
    }
}


b, strong, .fw-bold{
    font-weight: 600 !important;
}

.hero {
    background-image: url('../img/Sued_2_1.png');
    background-size: cover;
    background-position: center;
    height: 100vh;
    position: relative;
}

.hero .content {
    z-index: 9;
    position: absolute;
    top: 25%;
    left: 5%;
    transform: translateY(-20%);
    color: #725438;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.hero h1 {
    font-size: 4rem;
    font-weight: 600;
    font-weight: 600 !important;
}

.hero p {
    font-size: 2.5rem;
}
.carousel-item img {
    height: 100vh;
    width: 100%;
    object-fit: cover;
}

.circles {
    position: fixed;
    width: 150px;
    top: 20%; 
    right: 2%; 
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px; 
}

.circle {
    margin: 0;
}

.btn-circle {
    width: 100%;
}

.btn-link {
    display: block;
}

.circle-brown{
    width: 15vw;
    top: 2vh;
    position: fixed;
    right: 5vw;
}

.circle-green{
    top: 15vw;
    position: fixed;
    right: 2vw;
}

.circle_mobile{
    max-width: 200px;
}

@media only screen and (max-width: 1199px) {
.circle-brown{
    width: 20vw!important;
}
    .circle-green{
        top: 25vh!important;
    }

}

.footer-bar {
    width: 100%;
    height: 30px;
    background-color: #725438;
}

/* Introduction Section */
.introduction {
    background-color: #fff;
    padding: 2rem 0;
}

.introduction h2 {
    color: #725438;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600 !important;
}

.lead {
    font-size: 1.2rem;
    font-weight: 600 !important;
    margin-bottom: 1rem;
}

.text-brown {
    color: #725438;
}

.introduction p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: #725438;
}

/* Responsive Abstände */
@media (min-width: 768px) {
    .introduction {
        padding: 3rem 0;
    }

    .introduction h2 {
        font-size: 3rem;
    }

    .lead {
        font-size: 1.3rem;
    }
}

@media (max-width: 767px) {
    .introduction {
        padding: 2rem 0rem;
    }

    .introduction h2 {
        font-size: 2rem;
    }

    .lead {
        font-size: 1.1rem;
    }
}


/* Schräge Linie mit Bild */
.slant {
    width: 100%;
    margin-top: -10px;
}

.slant img {
    width: 100%;
    height: auto;
}

.slanted-section {
    position: relative;
}

.slanted-section h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #725438;
}


/* Responsive Anpassung */
@media (max-width: 768px) {
    .slanted-section h2 {
        font-size: 2rem;
    }

    .slant {
        margin-top: -5px;
    }
}

.map-container {
    width: 100%;
    height: 500px;
    margin-top: 1rem;
    background-color: white;
}

@media (max-width: 768px) {
    .map-container {
        height: 300px;
    }
}

.map-container {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin-top: 1rem;
    text-align: center;
}

.map-container img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .map-container img {
        max-height: 300px;
    }
}

/* Section mit schräger Linie */
.slanted-section {
    
}

.slant {
    width: 100%;
}

.slant img {
    width: 100%;
    height: auto;
}

.slanted-section h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #725438;
    margin-bottom: 1.5rem;
}

/* Impressionen Bildergalerie */
.image-wrapper {
    position: relative;
    overflow: hidden;
}

.hover-image {
    transition: transform 0.3s ease;
}

.image-wrapper:hover .hover-image {
    transform: scale(1.01);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(95, 64, 35, 0.7);
    color: #fff;
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-wrapper:hover .overlay {
    opacity: 1;
}

/* Responsive Anpassung */
@media (max-width: 768px) {
    .slanted-section h2 {
        font-size: 2rem;
    }

    .overlay {
        font-size: 1.2rem;
    }

    .image-wrapper {
        margin-bottom: 1rem;
    }
}

.btn-floor{
    border-radius: 20px;
}

.btn-floor.active{
    background-color: #725438;
    color: white;
}

/* Informationsbereich */
.floor-info {
color: #725438;
font-size: 1.2rem;
}

.floor-info h3 {
font-size: 1.8rem;
font-weight: 600;
margin-bottom: 1rem;
}

.floor-info p {
margin-bottom: 0.5rem;
}

.info-item {
display: flex;
justify-content: space-between;
padding: 0.5rem 0;
border-bottom: 1px solid #ccc;
}

.info-item:last-child {
border-bottom: none;
}

.info-label {
font-weight: normal;
}

.info-value {
font-weight: 600;
text-align: right;
}

.btn-outline-brown {
border: 2px solid white;
color: #725438;
padding: 0.5rem 1rem;
border-radius: 5px;
text-decoration: none;
}

.btn-outline-brown:hover {
border: 2px solid #725438;
}

/* Tabellenstil */
.table th, .table td {
    vertical-align: middle;
    padding: 1rem;
    color: #725438;
}

.table th {
    font-weight: 600;
    background-color: #EAE6E1!important;
    color: #725438;
}

.table-secondary, .table-secondary td {
    background-color: #EAE6E1!important;
    color: #725438;
}
.table-light {
    background-color: #EAE6E1!important;
    color: #725438;
}

.table-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.table-responsive {
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .table-responsive {
        overflow-x: auto;
    }

    .table th, .table td {
        font-size: 0.9rem;
        padding: 0.75rem;
    }

    .table-section h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
}


.accordion-header{
    margin: 0px!important;
    background-color: #FFFFFF;
}

.accordion-button {
    color: #725438!important;
    font-weight: 600;
    background-color: #FFFFFF!important;
}

.accordion-body {
    background-color: #FFFFFF;
}

.accordion-button.bg-light {
    background-color: #EAE6E1!important;
}


.map-container {
    position: relative;
    width: 100%;
    height: auto;
}

.interactive-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: auto;
    z-index: 10;
}

.house-polygon {
    fill: rgba(255, 255, 255, 0.4);
    /*stroke: #725438;*/
    /*stroke-width: 2;*/
    transition: fill 0.2s ease;
    pointer-events: all;
}

.house-polygon:hover {
    fill: rgba(95, 64, 35, 0.7);
    stroke: #8a6242;
}

.info-box {
    position: absolute;
    background-color: #8a6242;
    color: #fff;
    padding: 1rem;
    border-radius: 5px;
    pointer-events: none;
    white-space: nowrap;
    z-index: 20;
    display: none;
    font-family: 'Work Sans', sans-serif;
}

.house-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.info-label {
    font-weight: 600;
}

.info-box p {
    margin: 0.2rem 0;
}



.contact-container {
    padding: 2rem;
    background-color: #f8f5f1;
    border-radius: 8px;
}

.btn-brown {
    background-color: #8a6242;
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 0.5rem 1.5rem;
}

form button {
    float: right;
}


.form-check-label {
    margin-right: 1rem;
}

input, select, textarea {
    border: 2px solid #8a6242;
    border-radius: 5px;
}

input:focus, select:focus, textarea:focus {
    border-color: #725438;
    outline: none;
}

label {
    font-weight: 600;
    color: #725438;
}

/* Contact Section */
.contact-section {
    background-color: #f8f5f1!important;
}

.contact-section .container {
    background-color: transparent!important;
}

.contact-box {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%; /* Gleiche Höhe */
}

.contact-box p {
    margin: 0.2rem 0;
}

.logo-right {
    text-align: right;
    margin-top: auto;
}

.logo-img {
    max-width: 200px;
}

.text-brown {
    color: #725438;
}

a {
    color: #725438;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background-color: #8a6242;
    color: #fff;
}

.footer a {
    color: #fff;
}

.scroll-top {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #8a6242;
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

.scroll-top:hover {
    background-color: #725438;
}


.alert {
    background-color: #725438;
    color: #fff;
    padding: 1rem;
    margin-bottom: 1rem;
    text-align: center;
}

.alert-success {
    background-color: #725438!important;
    color: #FFFFFF!important;
    text-align: left!important;
    border: 0px!important;
}

.alert-danger {
    background-color: #a23e3e!important;
    color: #FFFFFF!important;
    text-align: left!important;
    border: 0px!important;
}

.impressum, .datenschutz {
    background-color: #fff;
    padding: 2rem 0;
}

.impressum h2, .datenschutz h2 {
    color: #725438;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    margin-top: 4rem;
}

.slanted-section .slant{
    background-color: transparent!important;
}

.slanted-section .container{
    background-color: white;
}



/* NAVIGATION */
/*
.anchor_element{ position:relative; width:10px;  border:1px solid green; }

#top{ scroll-margin-top: 0vh; padding-top: 0vh;}
#introduction{ scroll-margin-top: 15vh; padding-top: 15vh;}
#Lage{ scroll-margin-top: 15vh; padding-top: 15vh; }
#Impressionen{ scroll-margin-top: 12vh; padding-top: 12vh;}
#Grundrisse{ scroll-margin-top: 10vh; padding-top: 10vh; }
#Angebot{ scroll-margin-top: 15vh; padding-top: 15vh; }
#Kontakt{ scroll-margin-top: 15vh; padding-top: 15vh; }

@media (max-width: 991px) {
    #top{ scroll-margin-top: 0vh; padding-top: 0vh;}
    #introduction{ scroll-margin-top: 15vh; padding-top: 15vh;}
    #Lage{ scroll-margin-top: 55vh; padding-top: 55vh; margin-bottom: 300px; }
    #Impressionen{ scroll-margin-top: 15vh; padding-top: 15vh;}
    #Grundrisse{ scroll-margin-top: 15vh; padding-top: 15vh;}
    #Angebot{ scroll-margin-top: 15vh; padding-top: 15vh;}
    #Kontakt{ scroll-margin-top: 15vh; padding-top: 15vh;}

    .section_lage{
        min-height: 80vh;
    }

    .section_lage .container{
        height: 100%;
    }
}
*/
.anchor_element {
    display: block;
    position: relative;
    width: 10px;
    height: 0;
    overflow: hidden;
}

/* Desktop */
#top { scroll-margin-top: 0vh; padding-top: 0vh; }
#introduction { scroll-margin-top: 15vh; padding-top: 15vh; margin-top: -15vh; }
#Lage { scroll-margin-top: 5vh; padding-top: 5vh; }
#Impressionen { scroll-margin-top: 5vh; padding-top: 5vh; }
#Grundrisse { scroll-margin-top: 5vh; padding-top: 5vh; }
#Angebot { scroll-margin-top: 5vh; padding-top: 5vh; }
#Kontakt { scroll-margin-top: 5vh; padding-top: 5vh;}

/* Mobile */
@media (max-width: 991px) {
  #top { scroll-margin-top: 0vh; padding-top: 0vh; }
  #introduction { scroll-margin-top: 15vh; padding-top: 15vh; }
  #Lage { scroll-margin-top: 25vh; padding-top: 25vh; }
  #Impressionen { scroll-margin-top: 2vh; padding-top: 2vh; }
  #Grundrisse { scroll-margin-top: 5vh; padding-top: 5vh; }
  #Angebot { scroll-margin-top: 5vh; padding-top: 5vh; }
  #Kontakt { scroll-margin-top: 5vh; padding-top: 5vh; }

    .section_lage .container{
        height: 100%;
    }

}




/*MOBILE CORRECTIONS*/
@media (max-width: 800px) {
    .hero h1 {
        font-size: 3rem;
        font-weight: 600;
        font-weight: 600 !important;
    }
    .hero p {
        font-size: 1.8rem;
    }
}
