:root {
  --bg: #ffffff;
  --bg-alt: #faf9f7;
  --text: #1a1a1a;
  --text-muted: #5c5c60;
  --line: #e8e6e1;
  --gold: #b08d3f;
  --gold-dark: #8f701f;
  --gold-soft: #f4ecd8;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-w: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Nav ---------- */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
header.scrolled {
  border-color: var(--line);
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
}
nav.wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.logo { display: flex; align-items: center; gap: 10px; line-height: 1; }
.logo-icon { flex-shrink: 0; }
.logo .name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: var(--text);
}
.logo .sub {
  margin-top: 4px;
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  color: var(--gold-dark);
  font-weight: 600;
}

.nav-links { display: flex; gap: 40px; }
.nav-links a {
  font-size: 0.92rem;
  color: var(--text);
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0%;
  height: 1px;
  background: var(--gold);
  transition: width 0.25s ease;
}
.nav-links a:hover::after { width: 100%; }

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 13px 28px;
  border: 1px solid var(--text);
  color: var(--text);
  background: transparent;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold {
  border-color: var(--gold-dark);
  background: var(--gold-dark);
  color: #fff;
}
.btn-gold:hover { background: var(--gold); border-color: var(--gold); }

.nav-cta { display: none; }
@media (min-width: 860px) { .nav-cta { display: inline-block; } }

.burger {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
}
@media (max-width: 859px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 12px 32px 24px;
    background: rgba(255,255,255,0.98);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 28px rgba(0,0,0,0.08);
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--line); }
  .nav-links li:last-child { border-bottom: 0; }
  .nav-links a { display: block; padding: 15px 0; font-size: 1rem; }
  .burger { display: inline-flex; }
  body.menu-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 200px 0 140px;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-alt) 100%);
  position: relative;
  overflow: hidden;
}
.hero-inner { max-width: 720px; }
.kicker {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 22px;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin-bottom: 26px;
}
.hero p.lead {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.gold-rule {
  width: 64px;
  height: 2px;
  background: var(--gold);
  margin: 28px 0;
}

/* fade-up on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Sections generic ---------- */
section { padding: 110px 0; }
.section-head { max-width: 620px; margin-bottom: 64px; }
.section-head .kicker { margin-bottom: 14px; }
.section-head h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  margin-bottom: 16px;
}
.section-head p { color: var(--text-muted); font-size: 1rem; }

/* ---------- Leistungen ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.service-card {
  background: #fff;
  padding: 40px 32px;
  transition: background 0.3s ease, transform 0.3s ease;
}
.service-card:hover { background: var(--bg-alt); transform: translateY(-2px); }
.service-num {
  font-family: var(--serif);
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
  display: block;
}
.service-card h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.service-card p { color: var(--text-muted); font-size: 0.94rem; }

/* ---------- Über uns ---------- */
.about {
  background: var(--bg-alt);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
@media (min-width: 900px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
}
.about-visual {
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, #1a1a1a 0%, #2b2b2b 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.about-visual::before {
  content: '';
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(176,141,63,0.5);
}
.about-visual .mono {
  font-family: var(--serif);
  font-size: 5rem;
  color: var(--gold);
  font-weight: 600;
}
.about-text h2 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  font-weight: 600;
  margin-bottom: 22px;
}
.about-text p { color: var(--text-muted); margin-bottom: 18px; }
.about-points { margin-top: 28px; }
.about-points li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}
.about-points li:last-child { border-bottom: 1px solid var(--line); }
.about-points .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 8px;
  flex-shrink: 0;
}
.lead-credit {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.lead-credit .label-mini {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 6px;
}
.lead-credit .lead-name {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
}

/* ---------- Zielgruppe ---------- */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 36px;
}
.audience-item { border-left: 2px solid var(--gold); padding-left: 20px; }
.audience-item h3 {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.audience-item p { color: var(--text-muted); font-size: 0.92rem; }

/* ---------- Immobilien ---------- */
.property-preview { background: #fff; }
.property-preview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: end;
}
.property-preview .section-head { margin-bottom: 0; }
.property-preview-action { padding-bottom: 4px; }

.page-hero {
  padding: 170px 0 82px;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-alt) 100%);
  border-bottom: 1px solid var(--line);
}
.page-hero-inner { max-width: 760px; }
.page-hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.18;
  margin-bottom: 20px;
}
.page-hero p { max-width: 620px; color: var(--text-muted); font-size: 1.05rem; }

.listing-section { background: #fff; }
.listing-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  margin-bottom: 34px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.listing-toolbar h2 { font-family: var(--serif); font-size: 1.65rem; font-weight: 600; }
.listing-count { color: var(--text-muted); font-size: .9rem; }
.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.property-card { border: 1px solid var(--line); background: #fff; }
.property-card-image {
  aspect-ratio: 16/10;
  background: var(--bg-alt);
  object-fit: cover;
  width: 100%;
}
.property-card-body { padding: 26px; }
.property-card-status {
  color: var(--gold-dark);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.property-card h3 { font-family: var(--serif); font-size: 1.25rem; margin: 8px 0; }
.property-card-location { color: var(--text-muted); font-size: .9rem; }
.property-facts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 20px 0; font-size: .86rem; }
.property-price { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; }

.empty-listing {
  border: 1px solid var(--line);
  background: var(--bg-alt);
  padding: clamp(42px, 8vw, 76px);
  text-align: center;
}
.empty-listing-mark {
  width: 54px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 28px;
}
.empty-listing h2 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 600;
  margin-bottom: 14px;
}
.empty-listing p { max-width: 590px; margin: 0 auto 28px; color: var(--text-muted); }

@media (max-width: 720px) {
  .property-preview-grid { grid-template-columns: 1fr; gap: 28px; }
  .listing-toolbar { align-items: flex-start; flex-direction: column; gap: 6px; }
}

/* ---------- Kontakt ---------- */
.contact { background: var(--text); color: #f2f0ec; }
.contact .section-head p { color: #b8b6b0; }
.contact .kicker { color: var(--gold); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 0.9fr 1.1fr; }
}
.contact-info li {
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.95rem;
}
.contact-info li:last-child { border-bottom: 1px solid rgba(255,255,255,0.12); }
.contact-info .label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 540px) { .form-row { grid-template-columns: 1fr; } }
label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #b8b6b0;
  margin-bottom: 8px;
  display: block;
}
input, textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.28);
  color: #fff;
  font-family: var(--sans);
  font-size: 0.98rem;
  padding: 10px 2px;
  transition: border-color 0.25s ease;
}
input:focus, textarea:focus {
  outline: none;
  border-color: var(--gold);
}
textarea { resize: vertical; min-height: 100px; }
form .btn-gold { align-self: flex-start; margin-top: 10px; }

/* ---------- Footer ---------- */
footer {
  background: var(--text);
  color: #8a8880;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 32px 0;
  font-size: 0.82rem;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: #8a8880; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--gold); }

/* ---------- Legal pages (Impressum / Datenschutz) ---------- */
.legal {
  padding: 180px 0 120px;
  max-width: 760px;
}
.legal h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin-bottom: 40px;
}
.legal h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.25rem;
  margin: 40px 0 14px;
}
.legal h2:first-of-type { margin-top: 0; }
.legal p { color: var(--text-muted); margin-bottom: 12px; }
.legal a.inline-link { color: var(--gold-dark); text-decoration: underline; }
.legal ul.legal-list { list-style: disc; padding-left: 22px; margin-bottom: 14px; }
.legal ul.legal-list li { color: var(--text-muted); margin-bottom: 6px; }
.legal .back-link { display: inline-block; margin-bottom: 40px; font-size: 0.9rem; color: var(--gold-dark); }

/* Original PASSIONIS logo */
.brand-logo { width: 155px; height: 76px; object-fit: contain; }
.about-visual { background: #000; }
.about-logo { width: 78%; height: auto; position: relative; }

.form-privacy { color: #b8b6b0; font-size: .9rem; line-height: 1.6; }
.form-privacy a { text-decoration: underline; text-underline-offset: 3px; }
