/* --- GLOBAL --- */
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: #f7f7f7 !important;
    color: #222;
}

/* Entfernt dunkle Hintergründe von allen Sektionen */
section,
.content,
main,
.wrapper,
.page {
    background: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* MAIN muss volle Breite haben */
main {
    display: block;
    width: 100%;
    background: #f7f7f7 !important;
    margin: 0 !important;
    padding: 0 !important;
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
}

/* Container nur f端r Header/Footer */
.container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent !important;
}

/* --- HEADER --- */
.topbar {
    background: #efefef;
    width: 100% !important;
    padding: 18px 0;
    border-bottom: 1px solid #ddd;
    position: sticky;
    top: 0;
    z-index: 999;
}
/* Header-Inhalt wieder einr端cken */
.topbar .container {
    padding: 0 40px;
}

.logo-img {
    height: 60px;
    width: auto;
    display: block;
}

.menu {
    display: flex;
    gap: 28px;
}

.menu a {
    color: #2A7DE1;
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: color 0.25s ease, transform 0.2s ease;
}

.menu a:hover {
    color: #00c8ff;
    transform: translateY(-2px);
}

.lang-switch a {
    color: #999;
    text-decoration: none;
    font-size: 15px;
    margin-left: 10px;
}

.lang-switch a:hover {
    color: #00c8ff;
}

/* --- HERO SECTION --- */
.hero {
    background: #ffffff;
    padding: 80px 40px;
    text-align: center;
    border-bottom: 1px solid #e5e5e5;
}

.hero h1 {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #222;
}

.hero-sub {
    font-size: 22px;
    color: #555;
    margin-bottom: 40px;
}

.hero-inner {
    max-width: 900px;
    margin: 0 auto;
}

.hero-top {
    text-align: center;
    padding: 80px 20px 40px;
}

.hero-top h1 {
    font-size: 48px;
    font-weight: 700;
    margin: 0;
    color: #1F3A5F;
}

.hero-top p {
    font-size: 22px;
    margin-top: 10px;
    color: #4A4A4A;
}

.hero-search {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.hero-search input {
    width: 420px;
    padding: 16px 20px;
    border-radius: 10px 0 0 10px;
    border: 1px solid #ccc;
    font-size: 18px;
}

.hero-search button {
    padding: 16px 26px;
    background: #2A7DE1;
    color: #fff;
    border: none;
    font-size: 18px;
    border-radius: 0 10px 10px 0;
    font-weight: 600;
    cursor: pointer;
}

.hero-search button:hover {
    background: #1a5fc0;
}



/* --- SLIDER WRAPPER (hellgrau, volle Breite) --- */
.hero-slider-wrapper,
.mySwiper {
    background: #ffffff;      /* white instead of dark grey */
}

.mySwiper .swiper-slide img {
    width: 100%;
    height: 480px;
    object-fit: contain;      /* whole image shown, may leave white margins */
    display: block;
}

/* --- SLIDER --- */
.hero-slider {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    background: transparent !important;
}

.hero-slider img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
}

/* --- SWIPER --- */
.swiper-button-next,
.swiper-button-prev {
    color: #2A7DE1;
}

.swiper-pagination-bullet-active {
    background: #2A7DE1;
}

/* --- SEARCH FORM --- */
.search-form input,
.search-form button {
    padding: 12px;
    border-radius: 6px;
    border: none;
    margin-right: 10px;
}

.search-form input {
    background: #fff;
    color: #222;
}

.search-form button {
    background: #2A7DE1;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
}

.search-form button:hover {
    background: #0A84FF;
}

/* --- PROPERTY CARDS --- */
.card {
    background: #ffffff;
    color: #222;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.card h2 {
    font-size: 22px;
    margin-bottom: 10px;
}

.card a {
    color: #2A7DE1;
    text-decoration: none;
    font-weight: 600;
}

.card a:hover {
    color: #1a5fc0;
}

/* --- PROPERTY IMAGES --- */
.images img {
    width: 100%;
    border-radius: 6px;
    margin-bottom: 10px;
}

/* --- FEATURED PROPERTIES --- */
.featured-properties {
    padding: 60px 0;
    background: #ffffff;
}

.fp-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.fp-title {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #222;
}

.fp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 30px;
}

.fp-card {
    display: block;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
    transition: transform .2s, box-shadow .2s;
    text-decoration: none;
    color: inherit;
}

.fp-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
}

.fp-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.fp-info {
    padding: 18px 20px;
}

.fp-info h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
}

.fp-info p {
    margin-top: 8px;
    font-size: 16px;
    color: #666;
}

.fp-price {
    margin-top: 14px;
    font-size: 22px;
    font-weight: 700;
    color: #2A7DE1;
}


/* --- MAP --- */
#map {
    border-radius: 10px;
    overflow: hidden;
}

/* --- ADMIN HEADER --- */
.admin-header {
    background: #111;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    color: #EEE;
}

.logo-img-small {
    height: 40px;
}

/* --- FOOTER --- */
.footer {
    background: #efefef;
    padding: 50px 40px;
    color: #333;
    border-top: 1px solid #dcdcdc;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-left {
    max-width: 300px;
}

.footer-logo {
    height: 55px;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.25s ease;
}

.footer-links a:hover {
    color: #2A7DE1;
}

.footer-copy {
    text-align: center;
    margin-top: 40px;
    color: #666;
    font-size: 14px;
}

/* --- BUTTONS --- */
button,
.search-form button {
    background: #2A7DE1;
    color: #fff;
    padding: 12px 26px;
    border-radius: 6px;
    border: none;
    font-weight: 600;
    font-size: 16px;
    transition: background 0.25s ease, transform 0.2s ease;
}

button:hover,
.search-form button:hover {
    background: #1a5fc0;
    transform: translateY(-2px);
}
/* --- WHY MÜLLER LIVING --- */
.why-ml {
    padding: 80px 0;
    background: #f7f7f7;
    border-top: 1px solid #e5e5e5;
}

.why-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.why-title {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 50px;
    color: #222;
    text-align: center;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.why-item {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.why-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.why-icon {
    font-size: 42px;
    margin-bottom: 20px;
}

.why-item h3 {
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 600;
}

.why-item p {
    color: #555;
    font-size: 16px;
    line-height: 1.5;
}
/* --- REGIONS --- */
.regions {
    padding: 80px 0;
    background: #ffffff;
    border-top: 1px solid #e5e5e5;
}

.regions-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.regions-title {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 50px;
    color: #222;
    text-align: center;
}

.regions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.region-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.region-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.region-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.region-info {
    padding: 20px;
}
/* --- NEUBAU PROJEKTE --- */
.newbuild {
    padding: 80px 0;
    background: #f7f7f7;
    border-top: 1px solid #e5e5e5;
}

.newbuild-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.newbuild-title {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 50px;
    color: #222;
    text-align: center;
}

.newbuild-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.newbuild-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.newbuild-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.newbuild-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.newbuild-info {
    padding: 20px;
}

.newbuild-info h3 {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 600;
}

.newbuild-info p {
    margin: 0 0 12px;
    color: #555;
}

.newbuild-status {
    font-size: 16px;
    font-weight: 600;
    color: #2A7DE1;
}

.region-info h3 {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 600;
}

.region-info p {
    color: #555;
    font-size: 16px;
    line-height: 1.5;
}
/* --- CTA (Kontakt / Beratung) --- */
.cta {
    padding: 80px 0;
    background: #ffffff;
    border-top: 1px solid #e5e5e5;
}

.cta-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #222;
}

.cta-content p {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    background: #2A7DE1;
    color: #fff;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.2s ease;
}

.cta-button:hover {
    background: #1a5fc0;
    transform: translateY(-2px);
}

.cta-image img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    height: 360px;
}
/* --- REGION SEARCH WITH IMAGES --- */
.region-search {
    padding: 80px 0;
    background: #ffffff;
    border-top: 1px solid #e5e5e5;
}

.rs-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.rs-title {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 50px;
    color: #222;
    text-align: center;
}

.rs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.rs-card {
    position: relative;
    display: block;
    border-radius: 14px;
    overflow: hidden;
    height: 260px;
    cursor: pointer;
    text-decoration: none;
    color: #fff;
}

.rs-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.rs-card:hover img {
    transform: scale(1.08);
}

.rs-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;

    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0));

    display: flex;
    flex-direction: column;
}

.rs-overlay h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 6px;
}

.rs-overlay span {
    font-size: 16px;
    opacity: 0.9;
}

/* --- LISTEN --- */
.list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 32px;
    padding: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.list-card {
    display: block;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
    transition: transform .2s, box-shadow .2s;
}

.list-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
}

.list-image-wrapper {
    position: relative;
}

.list-image-wrapper img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.badge-new {
    background: #2A7DE1;
}

.badge-reserved {
    background: #E6A100;
}

.badge-sold {
    background: #C62828;
}

.list-info {
    padding: 20px;
}

.list-info h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
}

.list-meta {
    margin-top: 8px;
    font-size: 16px;
    color: #666;
}

.list-price {
    margin-top: 14px;
    font-size: 22px;
    font-weight: 700;
    color: #2A7DE1;
}
/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-page {
    max-width: 720px;
    margin: 50px auto;
    padding: 0 20px;
}

.contact-page h1 {
    font-size: 34px;
    margin-bottom: 10px;
    color: #222;
}

.contact-intro {
    color: #666;
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.contact-form {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e2e2e2;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Two fields side by side on wide screens, stacked on mobile */
.contact-form .form-row {
    display: flex;
    gap: 18px;
    margin-bottom: 18px;
}
.contact-form .form-row .form-field {
    flex: 1;
    margin-bottom: 0;
}

.contact-form .form-field {
    margin-bottom: 18px;
}

.contact-form label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: #444;
    margin-bottom: 6px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #2A7DE1;
    box-shadow: 0 0 0 3px rgba(42,125,225,0.15);
}

.contact-form textarea {
    resize: vertical;
    min-height: 130px;
}

.contact-submit {
    background: #2A7DE1;
    color: #fff;
    border: none;
    padding: 13px 28px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
    transition: background 0.15s;
}
.contact-submit:hover {
    background: #1c64bd;
}

/* Honeypot — keep visually hidden but present in DOM */
.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Messages */
.form-errors {
    background: #fdecec;
    border: 1px solid #f5c2c2;
    color: #c0392b;
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 20px;
}
.form-errors p { margin: 4px 0; }

.form-success {
    background: #eaf7ee;
    border: 1px solid #b6e2c4;
    color: #1a7f37;
    padding: 18px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
}

/* Mobile: stack the name/email row */
@media (max-width: 560px) {
    .contact-form .form-row {
        flex-direction: column;
        gap: 0;
    }
    .contact-form .form-row .form-field {
        margin-bottom: 18px;
    }
}