/* Allgemeine Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    color: #333333;
    font-size: 16px;
    line-height: 1.6;
}

h1, h2, h3 {
    color: #141150;
    margin-bottom: 20px;
}

h4 {
    margin-bottom: 10px;
}

section {
    padding: 80px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.flex-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 30px 0;
}

.flex-item {
    flex: 1;
    min-width: 200px;
    margin: 10px;
    padding: 20px;
    background-color: #f1f1f1;
    border-radius: 5px;
    text-align: center;
}

.flex-item h4 {
    font-size: 16px;
    color: #141150;
}

.flex-item p {
    font-size: 24px;
    font-weight: bold;
}

li {
    text-indent: -23px;
    padding-left: 23px;
}
/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 800;
    padding: 15px 0;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: #333333;
    font-weight: 600;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #141150;
}

/* Video Section */
.video-section {
    position: relative;
    height: 80vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 60px;
}

.video-section video {
    position: absolute;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    object-fit: cover;
}

/* Überblick Section */
#ueberblick {
    background-color: white;
}

/* Galerie Section */
#galerie {
    background-color: #141150;
    color: white;
}
/*
#galerie .container {
    max-width: none;
    padding: 0;
}
*/
 */
#galerie h2 {
    color: white;
}

.slick-slide {
    margin: 0 10px;
}

.slick-slide img {
    width: 100%;
    border: 5px solid white;
}
#galerie {
    padding: 40px 0;
}
#galerie .slick-next, #luftaufnahme .slick-next {
    right:0;
}
#galerie .slick-prev, #luftaufnahme .slick-prev {
    left:0;
}
#galerie .slick-arrow {
    z-index:10;
    background: rgba(20,17,80,1);
    width:50px;
    height:104%;
}
#luftaufnahme .slick-arrow {
    z-index:10;
    background: rgba(255,255,255,1);
    width:50px;
    height:104%;
}
#luftaufnahme .slick-next:before, #luftaufnahme .slick-prev:before {
    color: #141150;
}
#luftaufnahme .slick-slide img {
    width: 100%;
    border: 5px solid #141150;
}

.slick-next:before, .slick-prev:before {
    font-size: 40px;
}
.gallery-item {
    position: relative;
}
.image-overlay {
    position: absolute;
    bottom: 0px;
    width: 100%;
    padding: 5px 10px;
    background: rgba(255, 255, 255, 0.8);
    color: #333;
}
/* Details Section */
#details {
    background-color: white;
}

.details-section {
    margin-bottom: 40px;
}

.details-section h3 {
    margin-bottom: 20px;
}

.weitere-details ul {
    list-style-position: inside;
    margin-left: 20px;
}

/* Grundrisse Section */
#grundrisse {
    background-color: #f2f2f2;
}

.grundriss-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.grundriss-item {
    width: 30%;
    margin: 15px;
    cursor: pointer;
}

.grundriss-item img {
    width: 100%;
    border: 2px solid #141150;
    transition: transform 0.3s;
}

.grundriss-item img:hover {
    transform: scale(1.05);
}

/* Modal für Grundrisse */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 100%;
    max-height: 80vh;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}
/* Galery Modal */

.gallery-item {

    cursor: pointer;
}
.gallery-modal {
    position: fixed;
    top:0;
    background: rgba(155,155,155,0.9);
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    z-index:900;
}
.gallery-modal img {
    max-height: 80vh;
    max-width:100%;
}
.gallery-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 50px;
    cursor: pointer;
}
.gallery-nav {
    font-size: 50px;
    margin: 0 3%;
    cursor: pointer;
}

.gallery-next

    /* Umgebung Section */
.umgebung-item {
    display: flex;
    align-items: center;
    min-height: 300px;
}

.umgebung-item:nth-child(odd) {
    background-color: white;
    flex-direction: row;
    display: flex;
    min-height: 300px;
}

.umgebung-item:nth-child(even) {
    background-color: #f2f2f2;
    flex-direction: row;
    display: flex;
    min-height: 300px;
}
/*
.umgebung-item:nth-child(even) h3 {
    color: white;
}
*/
.umgebung-image {
    flex: 1;
    padding: 20px;
    background-size: cover;;
    background-position: center;
}

.umgebung-image img {
    width: 100%;
    border-radius: 5px;
}

.umgebung-content {
    flex: 3;
    padding: 20px;
}

.umgebung-content h4 {
    margin-top: 10px;
    color: #8e740b;
}

.umgebung-content a {
    display: inline-block;
    margin-top: 15px;
    color: #8e740b;
    text-decoration: none;
    font-weight: bold;
}

/* umgebung Modal */

.gallery-item {

    cursor: pointer;
}
.umgebung-modal {
    position: fixed;
    top:0;
    background: rgba(155,155,155,0.9);
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    z-index:900;
}
.umgebung-modal img {
    max-height: 80vh;
    max-width:100%;
}
.umgebung-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 50px;
    cursor: pointer;
}
/*
.umgebung-item:nth-child(even) .umgebung-content a {
    color: white;
}
*/
/* Kontakt Section */
#kontakt {
    background-color: #f2f2f2;
}

.kontakt-container {
    display: flex;
    align-items: center;
}

.kontakt-image {
    flex: 1;
    padding: 20px;
}

.kontakt-image img {
    width: 100%;
    max-width: 300px;
}

.kontakt-info {
    flex: 2;
    padding: 20px;
}

.kontakt-info h3 {
    font-size: 22px;
    margin-bottom:10px;
}

.kontakt-info p {
    margin-bottom:10px;
    font-size: 18px;
}

.kontakt-info strong {
    color: #141150;
}

/* Footer */
footer {
    background-color: #141150;
    color: white;
    padding: 30px 0;
}

.footer-links {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.footer-links a {
    color: white;
    margin: 0 15px;
    text-decoration: none;
}

.footer-copyright {
    text-align: center;
    font-size: 12px;
    opacity: 0.7;
}

.divider {
    border-top: 2px solid #b28e3b;
    margin:40px auto;
}
a {
    color: #b28e3b;
}
/* Responsive Design */
@media (max-width: 768px) {
    .flex-container {
        flex-direction: column;
    }

    .umgebung-item, .umgebung-item:nth-child(odd), .umgebung-item:nth-child(even) {
        flex-direction: column;
    }
    .umgebung-image {
        flex:unset;
        height:300px;
        order:1;
    }
.umgebung-content {
    order: 2
}
    .kontakt-container {
        flex-direction: column;
    }

    .grundriss-item {
        width: 80%;
    }

    nav ul {
        flex-wrap: wrap;
    }

    nav ul li {
        margin: 5px;
    }
}
}


.property-description {
    position: relative;
    margin-bottom: 20px;
}

.short-text {
    display: block;
}

.full-text {
    display: none;
}

.read-more-btn {
    display: inline-block;
    color: #0066cc;
    font-weight: 500;
    cursor: pointer;
    margin-top: 10px;
    text-decoration: underline;
}

.read-more-btn:hover {
    color: #004080;
}