html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* LOGIN PAGE */
.login-page {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                url('SecretSale.jpg') center/cover;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-container {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 80vh;
    max-height: 800px;
}

.login-logo {
    max-width: 500px;
    width: 90%;
    height: auto;
}

.makler-logo {
    max-width: 400px;
    width: 80%;
    height: auto;
}

.login-box {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    width: auto;
    max-width: 700px;
}

.nda-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 5px;
    border: 1px solid #ddd;
    margin-bottom: 20px;
}

.nda-checkbox input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

.nda-checkbox label {
    font-size: 14px;
    color: #555;
    cursor: pointer;
    line-height: 1.4;
}

.nda-link {
    color: #2c3e50;
    text-decoration: underline;
    font-weight: bold;
}

.nda-link:hover {
    color: #34495e;
}

.login-box form {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.login-box input[type="text"],
.login-box input[type="password"] {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    width: 200px;
}

.login-box button {
    padding: 12px 30px;
    background: #2c3e50;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
    white-space: nowrap;
}

.login-box button:disabled {
    background: #95a5a6;
    cursor: not-allowed;
    opacity: 0.6;
}

.login-box button:hover:not(:disabled) {
    background: #34495e;
}

.error {
    color: #e74c3c;
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
}

.access-info {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
    color: #555;
    word-break: break-word;
}

.access-info a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: bold;
    word-break: break-all;
}

.access-info a:hover {
    text-decoration: underline;
}

/* MAIN PAGE */
header {
    background: #2c3e50;
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: opacity 0.3s;
}

.nav-menu a:hover {
    opacity: 0.8;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

.logout {
    color: white;
    text-decoration: none;
    padding: 8px 20px;
    border: 1px solid white;
    border-radius: 5px;
    transition: all 0.3s;
}

.logout:hover {
    background: white;
    color: #2c3e50;
}

.hero {
    position: relative;
    height: 100vh;
    margin-top: 60px;
    overflow: hidden;
}

.slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.8s ease-in-out;
}

.slide.active {
    opacity: 1;
    transform: translateX(0);
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    color: white;
    text-align: center;
    padding: 20px;
}

.hero-content h1,
.hero-content p {
    background: rgba(0, 0, 0, 0.6);
    padding: 20px 40px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 24px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

@media (max-width: 768px) {
    .container {
        padding: 40px 15px;
    }
}

section {
    padding: 40px 0;
}

.section-default {
    background: #ffffff;
}

.section-alt {
    background: #f8f9fa;
}

.kaufpreis-bg {
    background: linear-gradient(rgba(248, 249, 250, 0.95), rgba(248, 249, 250, 0.95)), 
                url('SecretSale.jpg') center/cover fixed;
}

.kaufpreis-content {
    max-width: 800px;
    margin: 0 auto;
}

.kaufpreis-main {
    background: white;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.kaufpreis-main h3 {
    color: #2c3e50;
    font-size: 24px;
    margin-bottom: 20px;
}

.price-large {
    font-size: 48px;
    color: #27ae60;
    font-weight: bold;
    margin: 0;
}

.nebenkosten-box {
    background: white;
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.nebenkosten-box h3 {
    color: #2c3e50;
    font-size: 24px;
    margin-bottom: 25px;
    text-align: center;
}

.kosten-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.kosten-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 5px;
    align-items: center;
}

.kosten-item.highlight {
    background: #e8f5e9;
    border: 2px solid #27ae60;
    font-weight: bold;
}

.kosten-label {
    color: #555;
}

.kosten-wert {
    color: #2c3e50;
    font-weight: 600;
}

.kosten-subtext {
    text-align: center;
    color: #666;
    font-size: 14px;
    font-style: italic;
    margin-top: -5px;
}

.disclaimer {
    background: white;
    padding: 20px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.disclaimer p {
    color: #666;
    font-size: 14px;
    font-style: italic;
    margin: 0 0 15px 0;
}

.pdf-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #2c3e50;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 15px;
    transition: background 0.3s;
}

.pdf-link:hover {
    background: #34495e;
}

.pdf-link span {
    font-size: 20px;
}

@media (max-width: 768px) {
    .kaufpreis-main {
        padding: 30px 20px;
    }
    
    .price-large {
        font-size: 36px;
    }
    
    .nebenkosten-box {
        padding: 30px 20px;
    }
    
    .kosten-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        padding: 12px 15px;
    }
    
    .kosten-wert {
        align-self: flex-end;
    }
}

.content-text {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.content-text p {
    margin-bottom: 15px;
}

.lage-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.lage-text h3 {
    color: #2c3e50;
    font-size: 22px;
    margin-top: 25px;
    margin-bottom: 15px;
}

.lage-text ul {
    list-style: none;
    padding: 0;
}

.lage-text li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
}

.lage-text li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

.lage-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.lage-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

@media (max-width: 1024px) {
    .lage-content {
        grid-template-columns: 1fr;
    }
    
    .lage-gallery {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .lage-gallery {
        grid-template-columns: 1fr;
    }
    
    .lage-gallery img {
        height: 250px;
    }
}

.ausstattung-text {
    max-width: 900px;
    margin: 0 auto 40px auto;
}

.ausstattung-text h3 {
    color: #2c3e50;
    font-size: 22px;
    margin-top: 25px;
    margin-bottom: 15px;
}

.ausstattung-text ul {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.ausstattung-text li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
}

.ausstattung-text li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

.zimmer-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.zimmer-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.zimmer-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 12px rgba(0,0,0,0.2);
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.95);
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
}

.close-lightbox:hover {
    color: #ccc;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    padding: 20px;
    user-select: none;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    color: #ccc;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

@media (max-width: 768px) {
    .zimmer-gallery {
        grid-template-columns: 1fr;
    }
    
    .lightbox-prev,
    .lightbox-next {
        font-size: 30px;
        padding: 10px;
    }
    
    .close-lightbox {
        font-size: 40px;
        right: 20px;
    }
}

.wellness-text {
    max-width: 900px;
    margin: 0 auto 40px auto;
}

.wellness-text h3 {
    color: #2c3e50;
    font-size: 24px;
    margin-bottom: 15px;
}

.wellness-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.wellness-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.wellness-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 12px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .wellness-gallery {
        grid-template-columns: 1fr;
    }
}

.aussenbereich-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #e0e0e0;
}

.aussenbereich-section h3 {
    color: #2c3e50;
    font-size: 28px;
    text-align: center;
    margin-bottom: 20px;
}

.aussenbereich-section p {
    max-width: 900px;
    margin: 0 auto 25px auto;
}

.aussenbereich-features {
    list-style: none;
    padding: 0;
    max-width: 600px;
    margin: 0 auto 40px auto;
}

.aussenbereich-features li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
}

.aussenbereich-features li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

.aussenbereich-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.aussenbereich-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.aussenbereich-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 12px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .aussenbereich-gallery {
        grid-template-columns: 1fr;
    }
}

.bilder-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.bilder-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.bilder-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 12px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .bilder-gallery {
        grid-template-columns: 1fr;
    }
}

.hauptkennzahlen {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.kennzahl-box {
    background: white;
    padding: 40px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
    transition: transform 0.3s;
}

.kennzahl-box:hover {
    transform: translateY(-10px);
}

.kennzahl-icon {
    font-size: 50px;
    margin-bottom: 15px;
}

.kennzahl-wert {
    font-size: 36px;
    font-weight: bold;
    color: #27ae60;
    margin-bottom: 10px;
}

.kennzahl-label {
    font-size: 18px;
    color: #555;
}

.plaene-section,
.dokumente-section {
    margin-top: 50px;
}

.plaene-section h3,
.dokumente-section h3 {
    color: #2c3e50;
    font-size: 28px;
    text-align: center;
    margin-bottom: 30px;
}

.plaene-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.plan-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.plan-card h4 {
    color: #2c3e50;
    font-size: 20px;
    margin-bottom: 15px;
    text-align: center;
}

.plan-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.plan-link {
    display: block;
    padding: 10px 15px;
    background: #ecf0f1;
    color: #2c3e50;
    text-decoration: none;
    border-radius: 5px;
    text-align: center;
    transition: background 0.3s;
}

.plan-link:hover {
    background: #bdc3c7;
}

.dokumente-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.dokument-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: white;
    color: #2c3e50;
    text-decoration: none;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.dokument-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0,0,0,0.15);
}

.doc-icon {
    font-size: 30px;
}

.doc-text {
    font-size: 16px;
    font-weight: 500;
}

@media (max-width: 1024px) {
    .hauptkennzahlen {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .plaene-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .kennzahl-wert {
        font-size: 28px;
    }
    
    .plaene-grid {
        grid-template-columns: 1fr;
    }
    
    .dokumente-links {
        grid-template-columns: 1fr;
    }
}


h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 36px;
    color: #2c3e50;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 1024px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr;
    }
}

.detail-box {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-decoration: none;
    color: #333;
    display: block;
    transition: all 0.3s ease;
    cursor: pointer;
}

.detail-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0,0,0,0.15);
    background: #e9ecef;
}

.detail-box h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 22px;
}

.price {
    font-size: 32px;
    color: #27ae60;
    font-weight: bold;
    margin: 10px 0;
}

.contact {
    text-align: center;
}

.contact > .container > p {
    margin-bottom: 40px;
    font-size: 18px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-decoration: none;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0,0,0,0.15);
}

.contact-logo {
    width: 260px;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.contact-details {
    text-align: center;
}

.contact-details p {
    margin: 10px 0;
    font-size: 16px;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-logo {
        width: 210px;
        height: 210px;
    }
}

footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 20px;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-content p {
        font-size: 18px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .logout {
        font-size: 14px;
        padding: 6px 12px;
    }
    
    nav {
        justify-content: flex-end;
    }
    
    .login-wrapper {
        height: 85vh;
    }
    
    .login-logo {
        max-width: 350px;
    }
    
    .makler-logo {
        max-width: 300px;
    }
    
    .login-box {
        padding: 20px;
        margin: 0 15px;
    }
    
    .login-box form {
        flex-direction: column;
        gap: 10px;
    }
    
    .login-box input {
        width: 100%;
    }
    
    .login-box button {
        width: 100%;
    }
    
    .nda-checkbox {
        padding: 12px;
    }
    
    .nda-checkbox label {
        font-size: 13px;
    }
    
    .logo {
        font-size: 18px;
    }
    
    h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .detail-box h3 {
        font-size: 20px;
    }
    
    .price {
        font-size: 28px;
    }
    
    .access-info {
        font-size: 12px;
    }
}
