/* ==========================================================================
   ImmoManager – Ort-Landingpages
   Farben: #000080 Navy · #DA2424 Rot  —  passend zu sallaba.de
   Alle Farb-Deklarationen im Hero mit !important, da Breakdance
   .breakdance h1/h2 auf --grey-900 setzt und sonst überschreibt.
   ========================================================================== */

/* ---- Tokens (auf :root, damit keine Scope-Probleme) ------------------- */
:root {
    --lp-navy       : #000080;
    --lp-navy-dark  : #000060;
    --lp-red        : #DA2424;
    --lp-red-dark   : #b81c1c;
    --lp-white      : #ffffff;
    --lp-off-white  : #fafafa;
    --lp-gray-50    : #f5f5f5;
    --lp-gray-200   : #e8e8e8;
    --lp-gray-400   : #aaaaaa;
    --lp-gray-600   : #555555;
    --lp-black      : #111111;
    --lp-max-w      : 1200px;
    --lp-ease       : cubic-bezier(.4,0,.2,1);
}

/* ---- Wrapper ---------------------------------------------------------- */
.immo-lp-wrap {
    width: 100%;
    overflow-x: hidden;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---- Shared container ------------------------------------------------- */
.immo-lp-container {
    max-width: var(--lp-max-w);
    margin: 0 auto;
    padding: 0 32px;
}

/* ---- Shared section --------------------------------------------------- */
.immo-lp-section {
    padding: 88px 0;
}

/* ---- Overline label --------------------------------------------------- */
.immo-lp-overline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--lp-red);
    margin-bottom: 12px;
}

.immo-lp-overline::before {
    content: '';
    display: block;
    width: 28px;
    height: 2px;
    background: var(--lp-red);
    border-radius: 2px;
    flex-shrink: 0;
}

/* ---- Headlines -------------------------------------------------------- */
.immo-lp-h2 {
    font-size: clamp(24px, 3vw, 38px) !important;
    font-weight: 800 !important;
    color: var(--lp-black) !important;
    line-height: 1.2 !important;
    margin: 0 0 14px !important;
    letter-spacing: -.3px;
}

.immo-lp-h2--white {
    color: var(--lp-white) !important;
}

.immo-lp-sub {
    font-size: 16px;
    color: var(--lp-gray-600);
    line-height: 1.7;
    margin: 0 0 36px;
    max-width: 560px;
}

.immo-lp-sub--white {
    color: rgba(255,255,255,.72) !important;
}

/* ---- Buttons ---------------------------------------------------------- */
.immo-lp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all .22s var(--lp-ease);
    cursor: pointer;
    white-space: nowrap;
    line-height: 1;
}

.immo-lp-btn .material-symbols-outlined {
    font-size: 19px;
    transition: transform .2s ease;
}

.immo-lp-btn--primary {
    background: var(--lp-red) !important;
    color: var(--lp-white) !important;
    box-shadow: 0 4px 16px rgba(218,36,36,.28);
}

.immo-lp-btn--primary:hover {
    background: var(--lp-red-dark) !important;
    color: var(--lp-white) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(218,36,36,.38);
    text-decoration: none !important;
}

.immo-lp-btn--primary:hover .material-symbols-outlined { transform: translateX(3px); }

.immo-lp-btn--outline {
    background: rgba(255,255,255,.10) !important;
    color: var(--lp-white) !important;
    border: 2px solid rgba(255,255,255,.50);
    backdrop-filter: blur(8px);
}

.immo-lp-btn--outline:hover {
    background: rgba(255,255,255,.20) !important;
    border-color: rgba(255,255,255,.85);
    color: var(--lp-white) !important;
    text-decoration: none !important;
}

/* =========================================================================
   1 · HERO  — exakt wie Homepage (border-radius: 25px, gradient overlay)
   ========================================================================= */

/* Äußerer Abstand – wie Breakdance section padding-top/bottom */
.immo-lp-hero-wrap {
    padding: 25px 20px 50px;
    background: var(--lp-off-white);
}

/* Die eigentliche Hero-Card */
.immo-lp-hero {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    min-height: 420px;
    display: flex;
    align-items: center;
    padding: 50px 50px 50px 50px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    max-width: 1240px;
    margin: 0 auto;
}

/* Gradient-Overlay — identisch zur Homepage:
   linear-gradient(37deg, navy 0%, rgba(255,255,255,.71) 100%) bei opacity 0.7
   → opacity baked in: rgba(0,0,128,.70) → rgba(255,255,255,.497) */
.immo-lp-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(37deg, rgba(0,0,128,.70) 0%, rgba(255,255,255,.50) 100%);
    z-index: 0;
}

.immo-lp-hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 32px;
    align-items: center;
}

/* ---- Badge — solid rot wie auf Homepage (#DA2424, border-radius: 8px) - */
.immo-lp-hero-badge {
    display: inline-block;
    background: #DA2424 !important;
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 8px;
    margin-bottom: 18px;
    border: none;
}

.immo-lp-hero-badge .material-symbols-outlined {
    font-size: 14px;
    color: #ffffff !important;
    vertical-align: middle;
    margin-right: 4px;
}

/* H1 — !important wegen Breakdance .breakdance h1 { color: var(--grey-900) } */
.immo-lp-hero-h1 {
    font-size: clamp(32px, 4.5vw, 58px) !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    line-height: 1.1 !important;
    margin: 0 0 16px !important;
    letter-spacing: -.3px;
}

.immo-lp-hero-h1 em {
    font-style: normal !important;
    color: #ffffff !important;
}

.immo-lp-hero-sub {
    font-size: 16px !important;
    color: rgba(255,255,255,.85) !important;
    line-height: 1.65 !important;
    margin: 0 0 32px !important;
    max-width: 480px;
}

.immo-lp-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

/* Buttons im Hero — weiß mit dunklem Text (wie Homepage) */
.immo-lp-hero .immo-lp-btn--primary {
    background: #ffffff !important;
    color: var(--lp-navy) !important;
    box-shadow: 0 2px 12px rgba(0,0,0,.18);
    border: none;
}

.immo-lp-hero .immo-lp-btn--primary:hover {
    background: #f0f0f0 !important;
    color: var(--lp-navy) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,.22);
}

.immo-lp-hero .immo-lp-btn--outline {
    background: transparent !important;
    color: #ffffff !important;
    border: 2px solid rgba(255,255,255,.55);
}

.immo-lp-hero .immo-lp-btn--outline:hover {
    background: rgba(255,255,255,.12) !important;
    border-color: rgba(255,255,255,.90);
    color: #ffffff !important;
}

/* ---- Stats-Karte rechts ----------------------------------------------- */
.immo-lp-hero-stats-card {
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 16px;
    padding: 8px 0;
    backdrop-filter: blur(12px);
    overflow: hidden;
}

.immo-lp-hero-stat {
    padding: 16px 22px;
    border-bottom: 1px solid rgba(255,255,255,.10);
}

.immo-lp-hero-stat:last-child { border-bottom: none; }

.immo-lp-hero-stat-num {
    display: block !important;
    font-size: 38px !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    line-height: 1 !important;
    margin-bottom: 4px;
}

.immo-lp-hero-stat-num span {
    color: #ff6666 !important;
    font-size: 0.6em;
}

.immo-lp-hero-stat-label {
    font-size: 10px !important;
    color: rgba(255,255,255,.60) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* =========================================================================
   2 · LISTINGS
   ========================================================================= */

.immo-lp-listings {
    background: var(--lp-off-white);
    padding-top: 72px;
    padding-bottom: 72px;
}

.immo-lp-listings-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.immo-lp-listings-head .immo-lp-h2 { margin-bottom: 0 !important; }

/* Kein Ergebnis Box */
.immo-lp-no-results {
    background: var(--lp-white);
    border-radius: 20px;
    padding: 72px 40px;
    text-align: center;
    border: 1px solid var(--lp-gray-200);
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

.immo-lp-no-results .material-symbols-outlined {
    font-size: 56px;
    color: var(--lp-gray-400);
    display: block;
    margin-bottom: 20px;
}

.immo-lp-no-results h3 {
    font-size: 22px !important;
    font-weight: 800 !important;
    color: var(--lp-black) !important;
    margin: 0 0 10px !important;
}

.immo-lp-no-results p {
    font-size: 16px;
    color: var(--lp-gray-600);
    margin: 0 0 28px;
    line-height: 1.65;
}

/* =========================================================================
   3 · KARTE  —  dunkler Navy-Hintergrund
   ========================================================================= */

.immo-lp-map-section {
    background: var(--lp-navy);
    padding: 0;
}

.immo-lp-map-header {
    max-width: var(--lp-max-w);
    margin: 0 auto;
    padding: 64px 32px 40px;
}

/* Overline weiß in dunkler Section */
.immo-lp-map-header .immo-lp-overline {
    color: rgba(255,255,255,.55) !important;
}

.immo-lp-map-header .immo-lp-overline::before {
    background: rgba(255,255,255,.35) !important;
}

.immo-lp-map-outer { width: 100%; }

.immo-lp-map-container {
    width: 100%;
    height: 460px;
    position: relative;
    background: #0a0a50;
}

.immo-lp-map-loading {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: rgba(255,255,255,.40);
    font-size: 15px;
}

.immo-lp-map-loading .material-symbols-outlined {
    font-size: 46px;
    animation: lp-pulse 1.6s ease-in-out infinite;
}

@keyframes lp-pulse {
    0%, 100% { opacity: .25; transform: scale(.93); }
    50%       { opacity: .9;  transform: scale(1); }
}

.immo-lp-map-placeholder {
    height: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.35);
    gap: 10px;
    font-size: 15px;
}

.immo-lp-map-placeholder .material-symbols-outlined { font-size: 52px; }

/* =========================================================================
   4 · SEO-TEXT
   ========================================================================= */

.immo-lp-seo-section {
    background: var(--lp-white);
}

.immo-lp-seo-inner {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 60px;
    align-items: start;
}

.immo-lp-seo-body {
    color: var(--lp-gray-600);
    font-size: 16px;
    line-height: 1.8;
}

.immo-lp-seo-body h3 {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: var(--lp-black) !important;
    margin: 30px 0 10px !important;
    padding-left: 16px;
    border-left: 3px solid var(--lp-red);
}

.immo-lp-seo-body p {
    margin: 0 0 16px;
}

/* ---- Kontakt-Karte ---------------------------------------------------- */
.immo-lp-contact-card {
    background: var(--lp-white);
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(0,0,0,.12);
    overflow: hidden;
    position: sticky;
    top: 100px;
    border: 1px solid var(--lp-gray-200);
}

.immo-lp-contact-card-top {
    background: var(--lp-navy);
    padding: 26px 26px 22px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.immo-lp-contact-card-icon {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,.12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.immo-lp-contact-card-icon .material-symbols-outlined {
    font-size: 26px;
    color: var(--lp-white) !important;
}

.immo-lp-contact-card-top h3 {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: var(--lp-white) !important;
    margin: 0 0 3px !important;
    line-height: 1.3;
}

.immo-lp-contact-card-top p {
    font-size: 12px;
    color: rgba(255,255,255,.55) !important;
    margin: 0;
}

.immo-lp-contact-card-body {
    padding: 22px 26px 26px;
}

.immo-lp-contact-card-body > p {
    font-size: 14px;
    color: var(--lp-gray-600);
    line-height: 1.65;
    margin: 0 0 18px;
}

.immo-lp-contact-card-body .immo-lp-btn {
    width: 100%;
    justify-content: center;
}

.immo-lp-trust-badges {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--lp-gray-200);
}

.immo-lp-trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--lp-gray-600);
}

.immo-lp-trust-badge .material-symbols-outlined {
    font-size: 17px;
    color: var(--lp-red) !important;
    flex-shrink: 0;
}

/* =========================================================================
   5 · CTA
   ========================================================================= */

.immo-lp-cta-section {
    background: var(--lp-gray-50);
    padding: 80px 32px;
}

.immo-lp-cta-section .immo-seller-cta { margin: 0; }

/* =========================================================================
   6 · GOOGLE MAPS EMBED
   ========================================================================= */

.immo-lp-gmaps-section {
    background: var(--lp-white);
    padding: 72px 0 0;
}

.immo-lp-gmaps-head {
    max-width: var(--lp-max-w);
    margin: 0 auto;
    padding: 0 32px 32px;
}

.immo-lp-gmaps-wrapper {
    width: 100%;
    height: 420px;
    overflow: hidden;
    border-top: 2px solid var(--lp-gray-200);
}

.immo-lp-gmaps-iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */

@media (max-width: 1024px) {
    .immo-lp-hero-inner {
        grid-template-columns: 60% 40%;
        gap: 24px;
    }
    .immo-lp-seo-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .immo-lp-contact-card { position: static; }
}

@media (max-width: 768px) {
    .immo-lp-container { padding: 0 20px; }
    .immo-lp-section { padding: 56px 0; }

    .immo-lp-hero-wrap { padding: 16px 16px 40px; }

    .immo-lp-hero {
        padding: 36px 28px 36px;
        min-height: unset;
        border-radius: 18px;
    }

    .immo-lp-hero-inner { grid-template-columns: 1fr; }
    .immo-lp-hero-stats-card { display: none; }

    .immo-lp-hero-h1 { font-size: 32px !important; }

    .immo-lp-listings-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .immo-lp-map-container { height: 320px; }
    .immo-lp-map-header { padding: 48px 20px 32px; }

    .immo-lp-gmaps-wrapper { height: 280px; }
    .immo-lp-gmaps-head { padding: 0 20px 24px; }

    .immo-lp-cta-section { padding: 56px 20px; }
}

@media (max-width: 480px) {
    .immo-lp-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .immo-lp-btn { justify-content: center; }
}
