/* ════════════════════════════════════════════════════════════════
   morevo COLOUR TOKENS — Immobilien Landing Page
   bg:      #f0efed   warm light grey (site background)
   surface: #f8f7f6   slightly lighter card surface
   white:   #ffffff   pure white panels
   border:  #e2e0dd   subtle dividers
   text:    #1e1c1a   primary text
   sub:     #4a4845   secondary text
   muted:   #8a8582   hints / labels
   orange:  #e84d00   morevo primary
   orange2: #c24200   morevo dark / hover
   ════════════════════════════════════════════════════════════════ */

/* ── Reset ───────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* ── Design Tokens ───────────────────────────────────────────── */
:root {
    --bg:       #f0efed;
    --surf:     #f8f7f6;
    --white:    #ffffff;
    --border:   #e2e0dd;
    --text:     #1e1c1a;
    --sub:      #4a4845;
    --muted:    #8a8582;
    --orange:   #e84d00;
    --orange2:  #c24200;
    --orange-lo: rgba(232, 77, 0, .10);
    --fhead:    'Raleway', Arial, sans-serif;
    --fbody:    'Lato', Arial, sans-serif;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --shadow-sm: 0 2px 10px rgba(0,0,0,.06);
    --shadow-md: 0 4px 24px rgba(0,0,0,.09);
    --shadow-lg: 0 8px 40px rgba(0,0,0,.12);
}

/* ── Base ────────────────────────────────────────────────────── */
html, body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--fbody);
    line-height: 1.65;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Subtle dot-grid background (identical to morevo tools) */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image: radial-gradient(circle, #c8c5c0 1px, transparent 1px);
    background-size: 34px 34px;
    opacity: .10;
}

.page {
    position: relative;
    z-index: 1;
    max-width: 1140px;
    margin: 0 auto;
    padding: 32px 24px 100px;
}

/* ── Topbar ───────────────────────────────────────────────────── */
.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 3px solid var(--orange);
    margin-bottom: 56px;
}
.brand {
    font-family: var(--fhead);
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -.03em;
    color: var(--text);
    text-decoration: none;
}
.brand span { color: var(--orange); }
.topbar-tag {
    font-size: 10px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--muted);
    border: 1.5px solid var(--border);
    padding: 5px 14px;
    border-radius: 20px;
    background: var(--white);
}

/* ── Section wrapper helpers ─────────────────────────────────── */
.section { margin-bottom: 72px; }

.section-tag {
    display: inline-block;
    font-size: 10px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--orange);
    font-weight: 700;
    margin-bottom: 10px;
    font-family: var(--fbody);
}
.section-h2 {
    font-family: var(--fhead);
    font-size: clamp(22px, 3.5vw, 34px);
    font-weight: 900;
    letter-spacing: -.03em;
    color: var(--text);
    margin-bottom: 14px;
}
.section-intro {
    font-size: 15px;
    color: var(--sub);
    max-width: 660px;
    line-height: 1.8;
    margin-bottom: 36px;
}

/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 64px;
    align-items: center;
    margin-bottom: 72px;
}
@media (max-width: 860px) {
    .hero { grid-template-columns: 1fr; gap: 36px; }
}

.hero-eyebrow {
    font-size: 10px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--orange);
    font-weight: 700;
    margin-bottom: 12px;
}
.hero-icon {
    font-size: 52px;
    margin-bottom: 12px;
    display: block;
    line-height: 1;
}
.hero-h1 {
    font-family: var(--fhead);
    font-size: clamp(34px, 5vw, 58px);
    font-weight: 900;
    line-height: 1.06;
    letter-spacing: -.04em;
    color: var(--text);
    margin-bottom: 20px;
}
.hero-h1 em {
    color: var(--orange);
    font-style: normal;
}
.hero-desc {
    font-size: 15px;
    color: var(--sub);
    line-height: 1.85;
    max-width: 480px;
    margin-bottom: 28px;
}
.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 32px;
}
.badge {
    font-size: 11px;
    padding: 5px 13px;
    border-radius: 20px;
    border: 1.5px solid var(--border);
    color: var(--sub);
    background: var(--white);
    font-family: var(--fbody);
    white-space: nowrap;
}
.hero-cta {
    display: inline-block;
    background: var(--orange);
    color: #fff;
    font-family: var(--fhead);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .04em;
    padding: 15px 32px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: background .2s, transform .15s, box-shadow .2s;
    box-shadow: 0 4px 18px rgba(232,77,0,.28);
}
.hero-cta:hover {
    background: var(--orange2);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(232,77,0,.36);
}

/* ── Hero Visual Card ────────────────────────────────────────── */
.hero-visual {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}
/* orange top stripe */
.hero-visual::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--orange), var(--orange2));
}
.hv-label {
    font-size: 10px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 18px;
    font-weight: 700;
}
.hv-chat {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.hv-msg {
    padding: 11px 15px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.55;
    max-width: 88%;
}
.hv-msg.user {
    background: var(--orange-lo);
    border: 1px solid rgba(232,77,0,.18);
    color: var(--text);
    align-self: flex-end;
    border-bottom-right-radius: 3px;
}
.hv-msg.ai {
    background: var(--surf);
    border: 1px solid var(--border);
    color: var(--sub);
    align-self: flex-start;
    border-bottom-left-radius: 3px;
}
.hv-sender {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.hv-sender.orange { color: var(--orange); }
.hv-sender.muted  { color: var(--muted);  }
.hv-status {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    color: #16a34a;
    margin-top: 14px;
    font-weight: 700;
}
.hv-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #16a34a;
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: .5; transform: scale(.8); }
}

/* ── Problem Cards ───────────────────────────────────────────── */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
@media (max-width: 720px) {
    .problem-grid { grid-template-columns: 1fr; }
}
.problem-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow .2s, transform .2s;
}
.problem-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
.pc-icon {
    font-size: 30px;
    margin-bottom: 14px;
    display: block;
}
.pc-title {
    font-family: var(--fhead);
    font-size: 15px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 8px;
}
.pc-text {
    font-size: 13px;
    color: var(--sub);
    line-height: 1.7;
}

/* ── Solution Steps ──────────────────────────────────────────── */
.solution-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.solution-step {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 24px;
    align-items: start;
    padding: 28px 0;
    border-bottom: 1px solid var(--border);
}
.solution-step:last-child { border-bottom: none; }
.ss-num {
    font-family: var(--fhead);
    font-size: 36px;
    font-weight: 900;
    color: var(--orange);
    opacity: .25;
    line-height: 1;
    padding-top: 3px;
    letter-spacing: -.04em;
}
.ss-title {
    font-family: var(--fhead);
    font-size: 17px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 8px;
}
.ss-text {
    font-size: 14px;
    color: var(--sub);
    line-height: 1.75;
}

/* ── Key Facts ───────────────────────────────────────────────── */
.facts-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}
@media (max-width: 900px) {
    .facts-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .facts-grid { grid-template-columns: 1fr; }
}
.fact-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    padding: 22px 18px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}
.fact-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--orange), var(--orange2));
}
.fact-value {
    font-family: var(--fhead);
    font-size: 28px;
    font-weight: 900;
    color: var(--orange);
    letter-spacing: -.03em;
    margin-bottom: 7px;
    line-height: 1;
}
.fact-label {
    font-size: 12px;
    color: var(--sub);
    line-height: 1.5;
}

/* ── FAQ ─────────────────────────────────────────────────────── */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow .2s;
}
.faq-item.open { box-shadow: var(--shadow-md); }
.faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    cursor: pointer;
    background: none;
    border: none;
    text-align: left;
    gap: 16px;
}
.faq-q-text {
    font-family: var(--fhead);
    font-size: 15px;
    font-weight: 800;
    color: var(--text);
    flex: 1;
}
.faq-chevron {
    width: 22px;
    height: 22px;
    border: 1.5px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform .25s, background .2s, border-color .2s;
    font-size: 11px;
    color: var(--muted);
}
.faq-item.open .faq-chevron {
    transform: rotate(180deg);
    background: var(--orange);
    border-color: var(--orange);
    color: #fff;
}
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .32s ease, padding .25s;
    font-size: 14px;
    color: var(--sub);
    line-height: 1.75;
    padding: 0 22px;
}
.faq-item.open .faq-a {
    max-height: 300px;
    padding: 0 22px 18px;
}

/* ── CTA Banner ──────────────────────────────────────────────── */
.cta-banner {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 52px 40px;
    text-align: center;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--orange), var(--orange2));
}
/* Subtle orange radial glow */
.cta-banner::after {
    content: '';
    position: absolute;
    top: -60px; left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 200px;
    background: radial-gradient(ellipse, rgba(232,77,0,.07) 0%, transparent 70%);
    pointer-events: none;
}
.cta-h2 {
    font-family: var(--fhead);
    font-size: clamp(22px, 4vw, 38px);
    font-weight: 900;
    letter-spacing: -.035em;
    color: var(--text);
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}
.cta-desc {
    font-size: 15px;
    color: var(--sub);
    line-height: 1.8;
    max-width: 540px;
    margin: 0 auto 32px;
    position: relative;
    z-index: 1;
}
.cta-btn-main {
    display: inline-block;
    background: var(--orange);
    color: #fff;
    font-family: var(--fhead);
    font-size: 16px;
    font-weight: 800;
    letter-spacing: .04em;
    padding: 16px 40px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(232,77,0,.30);
    transition: background .2s, transform .15s, box-shadow .2s;
    position: relative;
    z-index: 1;
    margin-bottom: 18px;
}
.cta-btn-main:hover {
    background: var(--orange2);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(232,77,0,.38);
}
.cta-sub {
    display: block;
    font-size: 12px;
    color: var(--muted);
    position: relative;
    z-index: 1;
}

/* ── Footer ──────────────────────────────────────────────────── */
.foot {
    text-align: center;
    font-size: 12px;
    color: var(--muted);
    margin-top: 56px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}
.foot a {
    color: var(--muted);
    text-decoration: none;
    margin: 0 8px;
}
.foot a:hover { color: var(--orange); }
