/* ============================================================
   Lindenhof Immobilien — Demo (klassisch/seriös)
   Musterprojekt von WebEstate
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --green-dark: #2E4636;
  --green: #3B5A45;
  --green-soft: #EAF0EC;
  --brass: #A9824C;
  --brass-dark: #8A6838;
  --cream: #F6F2E9;
  --bg: #FBF9F4;
  --white: #FFFFFF;
  --text: #2B2723;
  --muted: #6F665B;
  --line: rgba(46,70,54,0.12);
  --line-soft: rgba(0,0,0,0.07);
  --shadow-sm: 0 1px 3px rgba(43,39,35,0.06), 0 1px 2px rgba(43,39,35,0.05);
  --shadow-md: 0 6px 24px rgba(43,39,35,0.08);
  --shadow-lg: 0 16px 48px rgba(43,39,35,0.12);
  --radius: 10px;
}
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: 'Inter', sans-serif; font-size: 16px; line-height: 1.7; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: 'Lora', serif; font-weight: 600; line-height: 1.25; color: var(--green-dark); }

/* ── DEMO-BANNER ── */
.demo-banner { background: var(--green-dark); color: #EDE7DA; text-align: center; font-size: 13px; padding: 8px 16px; letter-spacing: 0.2px; }
.demo-banner a { color: #fff; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.4); }
.demo-banner a:hover { border-color: #fff; }

/* ── NAV ── */
nav { position: sticky; top: 0; z-index: 100; background: rgba(251,249,244,0.95); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); padding: 0 5%; height: 76px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-icon { width: 38px; height: 38px; color: var(--brass); flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: 'Lora', serif; font-size: 1.3rem; font-weight: 600; color: var(--green-dark); letter-spacing: 0.5px; }
.brand-sub { font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--brass-dark); }
.nav-links { display: flex; gap: 30px; list-style: none; align-items: center; }
.nav-links a { color: var(--text); text-decoration: none; font-size: 14.5px; font-weight: 500; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--brass-dark); }
.nav-cta { background: var(--green-dark); color: #fff !important; padding: 11px 22px; border-radius: 6px; font-weight: 600 !important; transition: background .2s; }
.nav-cta:hover { background: var(--green); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--green-dark); border-radius: 2px; }
.mobile-menu { display: none; flex-direction: column; background: var(--white); border-bottom: 1px solid var(--line); padding: 12px 5%; }
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 12px 0; text-decoration: none; color: var(--text); font-weight: 500; border-bottom: 1px solid var(--line-soft); }
.mobile-menu a:last-child { border: none; }

/* ── BUTTONS ── */
.btn { display: inline-block; padding: 14px 30px; border-radius: 6px; text-decoration: none; font-weight: 600; font-size: 15px; cursor: pointer; border: none; transition: transform .2s, box-shadow .2s, background .2s; }
.btn-primary { background: var(--brass); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--brass-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--green-dark); border: 1px solid var(--green-dark); }
.btn-ghost:hover { background: var(--green-dark); color: #fff; }
.btn-light { background: #fff; color: var(--green-dark); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ── LAYOUT HELPERS ── */
.wrap { max-width: 1140px; margin: 0 auto; }
section { padding: 84px 5%; }
.eyebrow { font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--brass-dark); font-weight: 600; margin-bottom: 14px; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ── HERO ── */
.hero { position: relative; min-height: 88vh; display: flex; align-items: center; padding: 80px 5%; color: #fff; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(28,42,33,0.78) 0%, rgba(28,42,33,0.45) 55%, rgba(28,42,33,0.15) 100%); z-index: 1; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-inner { position: relative; z-index: 2; max-width: 620px; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 22px; }
.hero p { font-size: 1.15rem; color: rgba(255,255,255,0.92); margin-bottom: 34px; max-width: 520px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ── PAGE HERO (Unterseiten) ── */
.page-hero { background: var(--green-dark); color: #fff; text-align: center; padding: 64px 5%; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto; }
.breadcrumb { font-size: 13px; color: var(--muted); padding: 18px 5% 0; }
.breadcrumb a { color: var(--brass-dark); text-decoration: none; }

/* ── STATS-LEISTE ── */
.stats { background: var(--green-dark); color: #fff; }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat .num { font-family: 'Lora', serif; font-size: 2.4rem; color: #fff; }
.stat .lbl { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,0.7); margin-top: 4px; }

/* ── OBJEKT-GRID / CARDS ── */
.obj-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 30px; }
.obj-card { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column; }
.obj-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.obj-thumb { position: relative; aspect-ratio: 3/2; overflow: hidden; }
.obj-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.obj-card:hover .obj-thumb img { transform: scale(1.05); }
.obj-tag { position: absolute; top: 14px; left: 14px; background: var(--brass); color: #fff; font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 4px; letter-spacing: .5px; }
.obj-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.obj-loc { font-size: 13px; color: var(--brass-dark); font-weight: 600; letter-spacing: .5px; margin-bottom: 6px; }
.obj-title { font-size: 1.2rem; margin-bottom: 14px; }
.obj-facts { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: 13.5px; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line-soft); }
.obj-facts span { display: inline-flex; align-items: center; gap: 6px; }
.obj-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.obj-price { font-family: 'Lora', serif; font-size: 1.4rem; font-weight: 600; color: var(--green-dark); }
.obj-link { color: var(--brass-dark); font-weight: 600; font-size: 14px; }

/* ── FEATURE / WARUM ── */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.feature { text-align: center; padding: 10px; }
.feature-ic { width: 56px; height: 56px; margin: 0 auto 18px; color: var(--brass); }
.feature h3 { font-size: 1.2rem; margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: .96rem; }

/* ── SPLIT (Bild + Text) ── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow-md); }
.split h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 18px; }
.split p { color: var(--muted); margin-bottom: 16px; }
.split ul { list-style: none; margin-top: 18px; }
.split li { padding: 8px 0 8px 30px; position: relative; color: var(--text); }
.split li::before { content: '✓'; position: absolute; left: 0; color: var(--brass); font-weight: 700; }

/* ── EXPOSÉ (Objekt-Detail) ── */
.expo-gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, 200px); gap: 12px; margin-bottom: 14px; }
.expo-gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.expo-gallery .main { grid-row: span 2; height: 412px; }
.expo-layout { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.expo-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 28px 0; }
.expo-fact { background: var(--cream); border-radius: 8px; padding: 16px 18px; }
.expo-fact .k { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }
.expo-fact .v { font-family: 'Lora', serif; font-size: 1.2rem; color: var(--green-dark); margin-top: 2px; }
.expo-side { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 28px; position: sticky; top: 96px; box-shadow: var(--shadow-sm); }
.expo-side .price { font-family: 'Lora', serif; font-size: 2rem; color: var(--green-dark); }
.expo-side .price small { display: block; font-family: 'Inter'; font-size: 13px; color: var(--muted); font-weight: 400; margin-top: 2px; }
.expo-side .btn { width: 100%; text-align: center; margin-top: 18px; }
.prose p { color: var(--text); margin-bottom: 16px; }
.prose h3 { margin: 28px 0 12px; }

/* ── FORM ── */
.form-card { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-sm); }
.fg { margin-bottom: 18px; }
.fg label { display: block; font-size: 13px; font-weight: 600; color: var(--green-dark); margin-bottom: 7px; }
.fg input, .fg select, .fg textarea { width: 100%; border: 1px solid var(--line); border-radius: 7px; padding: 13px 15px; font-family: 'Inter'; font-size: 15px; background: var(--bg); outline: none; transition: border-color .2s, box-shadow .2s; }
.fg input:focus, .fg select:focus, .fg textarea:focus { border-color: var(--brass); box-shadow: 0 0 0 3px rgba(169,130,76,0.12); }
.fg textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 10px; }

/* ── CTA-BAND ── */
.cta-band { background: var(--brass); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,0.92); max-width: 520px; margin: 0 auto 28px; }

/* ── KONTAKT-INFO ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 22px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item .ic { width: 42px; height: 42px; flex-shrink: 0; background: var(--green-soft); border-radius: 9px; display: flex; align-items: center; justify-content: center; color: var(--green-dark); }
.contact-item h4 { font-size: 1rem; margin-bottom: 2px; }
.contact-item p { color: var(--muted); font-size: .95rem; }

/* ── FOOTER ── */
footer { background: var(--green-dark); color: rgba(255,255,255,0.7); padding: 56px 5% 28px; }
footer .wrap { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.f-brand .brand-name { color: #fff; }
.f-brand p { margin-top: 14px; max-width: 280px; font-size: .92rem; }
footer h4 { color: #fff; font-family: 'Inter'; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 16px; }
footer ul { list-style: none; }
footer li { margin-bottom: 9px; }
footer a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: .93rem; transition: color .2s; }
footer a:hover { color: var(--brass); }
.f-bottom { max-width: 1140px; margin: 22px auto 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .82rem; color: rgba(255,255,255,0.5); }

/* ── EXPOSÉ-GALERIE (neu, mit Lightbox) ── */
.expo-main { width: 100%; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; margin-bottom: 12px; cursor: zoom-in; }
.expo-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.expo-main:hover img { transform: scale(1.03); }
.expo-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 8px; }
.expo-thumbs img { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: 8px; cursor: zoom-in; transition: opacity .2s; }
.expo-thumbs img:hover { opacity: .85; }

/* ── LIGHTBOX ── */
.lb { position: fixed; inset: 0; background: rgba(22,30,24,0.94); z-index: 2000; display: none; align-items: center; justify-content: center; }
.lb.open { display: flex; }
.lb img { max-width: 88%; max-height: 84%; border-radius: 8px; box-shadow: 0 24px 70px rgba(0,0,0,0.55); }
.lb-btn { position: absolute; background: rgba(255,255,255,0.14); color: #fff; border: none; width: 52px; height: 52px; border-radius: 50%; font-size: 22px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.lb-btn:hover { background: rgba(255,255,255,0.28); }
.lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lb-close { top: 22px; right: 22px; }
.lb-count { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.85); font-size: 14px; letter-spacing: 1px; }

/* ── SCROLL-REVEAL ── */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal].d1 { transition-delay: .1s; } [data-reveal].d2 { transition-delay: .2s; } [data-reveal].d3 { transition-delay: .3s; }

/* ── FILTER-LEISTE ── */
.filterbar { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; justify-content: center; margin-bottom: 38px; background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm); }
.filterbar select { padding: 11px 14px; border: 1px solid var(--line); border-radius: 7px; background: var(--bg); font-family: 'Inter'; font-size: 14px; color: var(--text); cursor: pointer; outline: none; }
.filterbar select:focus { border-color: var(--brass); }
.filter-count { width: 100%; text-align: center; font-size: 13px; color: var(--muted); margin-top: 4px; }
.no-results { display: none; text-align: center; color: var(--muted); padding: 50px 20px; font-size: 1.05rem; }

/* ── DROPDOWN-NAVIGATION ── */
.has-drop { position: relative; }
.has-drop > .drop-t { cursor: pointer; }
.has-drop > .drop-t::after { content: ' \25BE'; font-size: 9px; }
.has-drop::after { content: ''; position: absolute; top: 100%; left: 0; width: 100%; height: 16px; }
.dropdown { position: absolute; top: calc(100% + 10px); left: -14px; background: #fff; border: 1px solid var(--line-soft); border-radius: 10px; box-shadow: var(--shadow-lg); min-width: 215px; padding: 8px 0; display: none; z-index: 200; }
.dropdown a { display: block; padding: 10px 18px; font-size: 13.5px; color: var(--text); text-decoration: none; transition: background .15s, color .15s; }
.dropdown a:hover { background: var(--green-soft); color: var(--green-dark); }
.has-drop:hover .dropdown { display: block; }

/* ── RECHNER (Wertrechner / Finanzierung) ── */
.calc-result { background: var(--green-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; text-align: center; margin-top: 22px; display: none; }
.calc-result.show { display: block; animation: fadeIn .5s ease; }
.calc-result .rlabel { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }
.calc-result .big { font-family: 'Lora', serif; font-size: 2rem; color: var(--green-dark); margin: 6px 0; }
.calc-result .sub { font-size: 14px; color: var(--muted); }

/* ── RATGEBER ── */
.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); gap: 28px; }
.article-card { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; transition: transform .3s, box-shadow .3s; }
.article-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.article-card .ac-body { padding: 24px; }
.article-card .ac-cat { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--brass-dark); font-weight: 600; }
.article-card h3 { font-size: 1.2rem; margin: 8px 0 10px; }
.article-card p { color: var(--muted); font-size: .93rem; }
.article-body { max-width: 760px; margin: 0 auto; }
.article-body p { margin-bottom: 16px; color: var(--text); }
.article-body h2 { font-size: 1.5rem; margin: 30px 0 12px; }
.article-body ul { margin: 0 0 16px 22px; color: var(--text); }
.article-body li { margin-bottom: 8px; }

/* ── HERO-ANIMATION (Startseite) ── */
.hero-bg { animation: kenburns 20s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.08); } }
.hero-inner > * { opacity: 0; animation: heroUp .8s cubic-bezier(.16,1,.3,1) forwards; }
.hero-inner > *:nth-child(1) { animation-delay: .15s; }
.hero-inner > *:nth-child(2) { animation-delay: .3s; }
.hero-inner > *:nth-child(3) { animation-delay: .45s; }
.hero-inner > *:nth-child(4) { animation-delay: .6s; }
@keyframes heroUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.3); color: #fff; padding: 7px 18px; border-radius: 50px; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 22px; }
.hero-badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--brass-light, #D4AE7A); background: #E2C188; }

/* ── REGIONEN ── */
.regions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.region { background: #fff; border: 1px solid var(--line-soft); border-radius: 50px; padding: 11px 24px; font-size: 14px; color: var(--green-dark); font-weight: 500; box-shadow: var(--shadow-sm); }

/* ── ABLAUF / TIMELINE ── */
.steps { max-width: 820px; margin: 0 auto; }
.step { display: flex; gap: 24px; align-items: flex-start; margin-bottom: 30px; }
.step-n { width: 46px; height: 46px; flex-shrink: 0; border-radius: 50%; background: var(--green-dark); color: #fff; font-family: 'Lora', serif; font-weight: 600; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.step h3 { font-size: 1.15rem; margin-bottom: 5px; }
.step p { color: var(--muted); font-size: .95rem; }

/* ── KUNDENSTIMMEN-SLIDER ── */
.testi-wrap { position: relative; max-width: 760px; margin: 0 auto; }
.testi { display: none; text-align: center; }
.testi.active { display: block; animation: fadeIn .6s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.testi .stars { color: var(--brass); letter-spacing: 3px; margin-bottom: 16px; font-size: 1.1rem; }
.testi p { font-family: 'Lora', serif; font-size: 1.35rem; color: var(--green-dark); line-height: 1.6; font-style: italic; }
.testi .who { margin-top: 18px; font-size: .95rem; color: var(--brass-dark); font-weight: 600; }
.testi-dots { display: flex; gap: 9px; justify-content: center; margin-top: 30px; }
.tdot { width: 9px; height: 9px; border-radius: 50%; border: none; background: var(--line); cursor: pointer; padding: 0; transition: background .2s, transform .2s; }
.tdot.active { background: var(--brass); transform: scale(1.25); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .stats .wrap { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .feature-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split.rev .split-img { order: -1; }
  .expo-layout { grid-template-columns: 1fr; }
  .expo-side { position: static; }
  .expo-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 180px 180px; }
  .expo-gallery .main { grid-column: span 2; height: 240px; grid-row: auto; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  footer .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
  .stats .wrap { grid-template-columns: 1fr 1fr; }
  footer .wrap { grid-template-columns: 1fr; }
  .expo-gallery { grid-template-columns: 1fr; grid-template-rows: none; }
  .expo-gallery .main, .expo-gallery img { height: 220px; }
}
