/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

:root {
  --black: #0e0e0e;
  --white: #f8f6f2;
  --grey-50: #fafaf8;
  --grey-100: #f0ede8;
  --grey-200: #ddd9d2;
  --grey-400: #a09890;
  --grey-600: #706860;
  --grey-800: #302820;
  --gold: #b8936a;
  --gold-light: #d4b08c;
  --gold-dark: #8a6a48;
  --font-display: Georgia, 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
  font-weight: 300;
}

img { max-width: 100%; display: block; }
a { cursor: pointer; }

/* ===== NAV ===== */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 3rem;
  height: 68px;
  background: rgba(248,246,242,0.94);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid rgba(184,147,106,0.15);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--black);
  text-decoration: none;
}
.nav-logo span { color: var(--gold); font-style: italic; }
.nav-links { display: flex; gap: 0; list-style: none; }
.nav-links a {
  color: var(--grey-600);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0 1.25rem;
  height: 68px;
  display: flex; align-items: center;
  border-bottom: 2px solid transparent;
  transition: color 0.25s, border-color 0.25s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--black); border-bottom-color: var(--gold); }
.nav-cta {
  background: var(--black) !important;
  color: var(--white) !important;
  padding: 0.55rem 1.4rem !important;
  height: auto !important;
  border: none !important;
  border-bottom: none !important;
  transition: background 0.25s !important;
  margin-left: 1rem;
}
.nav-cta:hover { background: var(--gold) !important; }
.nav-cta.active { border-bottom: none !important; }

/* ===== PAGE WRAPPER ===== */
.page-wrapper { padding-top: 68px; min-height: 100vh; }

/* ===== HERO ===== */
.hero {
  height: calc(100vh - 68px);
  min-height: 600px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.hero-image { position: relative; overflow: hidden; }
.hero-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 8s ease;
}
.hero-image:hover img { transform: scale(1.03); }
.hero-image::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(14,14,14,0.12) 0%, transparent 60%);
}
.hero-content {
  display: flex; flex-direction: column; justify-content: center;
  padding: 5rem 5rem 5rem 6rem;
  background: var(--white);
  position: relative;
}
.hero-content::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 3px; height: 90px;
  background: var(--gold);
}
.hero-kicker {
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
  display: flex; align-items: center; gap: 1rem;
}
.hero-kicker::before {
  content: ''; width: 2rem; height: 1px; background: var(--gold); display: block;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.5vw, 4.2rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--black);
  margin-bottom: 1.5rem;
}
.hero-title em { font-style: italic; color: var(--gold); }
.hero-subtitle {
  font-size: 1rem;
  color: var(--grey-600);
  line-height: 1.75;
  max-width: 400px;
  margin-bottom: 2.5rem;
}
.hero-stats {
  display: flex; gap: 2.5rem;
  padding: 2rem 0;
  border-top: 1px solid var(--grey-200);
  border-bottom: 1px solid var(--grey-200);
  margin-bottom: 2.5rem;
}
.stat-val {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 400;
  color: var(--black);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.stat-label {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-400);
}

/* ===== URGENCY BADGE ===== */
.urgency-badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: #1a1a1a;
  color: var(--white);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  margin-bottom: 2rem;
  width: fit-content;
  border-left: 3px solid var(--gold);
}
.urgency-dot {
  width: 7px; height: 7px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.75rem;
  background: var(--black);
  color: var(--white);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  transition: var(--transition);
  border: 1px solid var(--black);
  width: fit-content;
}
.btn-primary::after { content: '→'; transition: transform 0.3s; }
.btn-primary:hover { background: var(--gold); border-color: var(--gold); }
.btn-primary:hover::after { transform: translateX(6px); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 0.75rem;
  background: transparent; color: var(--black);
  text-decoration: none;
  font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 1rem 2rem;
  transition: var(--transition);
  border: 1px solid var(--grey-200);
  width: fit-content;
}
.btn-outline:hover { border-color: var(--black); }

/* ===== STRIP ===== */
.strip {
  background: var(--black); color: var(--white);
  display: flex; overflow: hidden;
  border-top: 2px solid var(--gold);
}
.strip-item {
  flex: 1; padding: 1.75rem 2.5rem;
  border-right: 1px solid rgba(255,255,255,0.08);
  display: flex; flex-direction: column; gap: 0.3rem;
}
.strip-item:last-child { border-right: none; }
.strip-label { font-size: 0.65rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); }
.strip-val { font-family: var(--font-display); font-size: 1.4rem; font-weight: 400; color: var(--white); }

/* ===== SECTIONS ===== */
section { padding: 6rem 0; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 5rem; }
.section-label {
  font-size: 0.68rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem;
  display: flex; align-items: center; gap: 1rem;
}
.section-label::before { content: ''; width: 1.5rem; height: 1px; background: var(--gold); display: block; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.8vw, 2.8rem);
  font-weight: 400; line-height: 1.15; letter-spacing: -0.01em;
  color: var(--black);
}
.section-title em { font-style: italic; color: var(--gold); }

/* ===== FEATURE GRID ===== */
.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: 4rem; border: 1px solid var(--grey-200);
}
.feature-item {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--grey-200); border-bottom: 1px solid var(--grey-200);
  position: relative; transition: background 0.3s; overflow: hidden;
}
.feature-item::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 0; height: 2px; background: var(--gold); transition: width 0.4s;
}
.feature-item:hover::before { width: 100%; }
.feature-item:hover { background: var(--grey-50); }
.feature-item:nth-child(3n) { border-right: none; }
.feature-num {
  font-family: var(--font-display); font-size: 4rem; font-weight: 400;
  color: var(--grey-100); position: absolute; top: 1rem; right: 1.5rem;
  line-height: 1; user-select: none;
}
.feature-icon { font-size: 1.3rem; margin-bottom: 1.2rem; }
.feature-title { font-size: 0.9rem; font-weight: 500; letter-spacing: 0.04em; margin-bottom: 0.6rem; }
.feature-desc { font-size: 0.83rem; color: var(--grey-600); line-height: 1.65; }

/* ===== GALLERY ===== */
.gallery-section { background: var(--grey-50); }
.gallery-grid {
  display: grid; grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto; gap: 0.5rem; margin-top: 3rem;
}
.gallery-main { grid-row: 1 / 3; overflow: hidden; height: 500px; }
.gallery-sub { overflow: hidden; height: 248px; }
.gallery-main img, .gallery-sub img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-main:hover img, .gallery-sub:hover img { transform: scale(1.04); }

/* ===== EINHEITEN TABLE ===== */
.einheiten-section { background: var(--white); }
.availability-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 3rem; flex-wrap: wrap; gap: 1.5rem;
}
.availability-note {
  display: flex; align-items: center; gap: 0.75rem;
  background: var(--black); color: var(--white);
  padding: 0.75rem 1.5rem;
  font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase;
  border-left: 3px solid var(--gold);
}
.availability-note .dot { width: 8px; height: 8px; background: var(--gold); border-radius: 50%; animation: pulse 2s infinite; }

.units-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(3, 1fr);
}
.unit-card {
  border: 1px solid var(--grey-200);
  padding: 2rem;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  position: relative;
}
.unit-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  border-color: var(--gold);
}
.unit-card.vergeben { opacity: 0.38; pointer-events: none; }
.unit-card.vergeben::after {
  content: 'Vergeben';
  position: absolute; top: 1rem; right: 1rem;
  background: var(--grey-400); color: var(--white);
  font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase;
  padding: 0.25rem 0.6rem;
}
.unit-card.available { border-color: rgba(184,147,106,0.4); }
.unit-card.available .unit-top { color: var(--gold); }
.unit-badge-available {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--gold); color: var(--white);
  font-size: 0.62rem; letter-spacing: 0.15em; text-transform: uppercase;
  padding: 0.25rem 0.6rem;
}
.unit-top {
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--grey-400); margin-bottom: 0.4rem;
}
.unit-m2 {
  font-family: var(--font-display); font-size: 2rem; font-weight: 400;
  line-height: 1; margin-bottom: 0.3rem;
}
.unit-m2 sup { font-size: 0.9rem; }
.unit-type { font-size: 0.78rem; color: var(--grey-600); margin-bottom: 1.5rem; }
.unit-divider { border: none; border-top: 1px solid var(--grey-200); margin: 1.25rem 0; }
.price-table { width: 100%; border-collapse: collapse; }
.price-table tr td {
  font-size: 0.8rem;
  padding: 0.3rem 0;
  color: var(--grey-600);
  vertical-align: top;
}
.price-table tr td:last-child { text-align: right; color: var(--black); font-weight: 400; }
.price-table tr.price-total td {
  font-size: 0.88rem; font-weight: 500;
  color: var(--black);
  padding-top: 0.6rem;
  border-top: 1px solid var(--grey-200);
}
.price-table tr.price-total td:last-child { color: var(--gold-dark); }
.price-table tr.price-bk td { font-size: 0.75rem; color: var(--grey-400); }
.unit-cta {
  display: block; text-align: center;
  background: var(--black); color: var(--white);
  text-decoration: none;
  font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase;
  padding: 0.75rem;
  margin-top: 1.25rem;
  transition: background 0.25s;
}
.unit-cta:hover { background: var(--gold); }
.unit-schluessel {
  font-size: 0.68rem; color: var(--gold-dark);
  letter-spacing: 0.08em;
  margin-top: 0.75rem;
  text-align: center;
}

/* ===== DARK SECTION ===== */
.dark-section { background: var(--black); color: var(--white); }
.dark-section .section-title { color: var(--white); }
.dark-section .section-label { color: var(--gold-light); }
.dark-section .section-label::before { background: var(--gold-light); }

/* ===== LOCATION ===== */
.location-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 5rem; margin-top: 4rem; }
.location-items { display: flex; flex-direction: column; gap: 1.5rem; }
.location-item {
  display: flex; gap: 1.5rem; align-items: flex-start;
  padding-bottom: 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.location-item:last-child { border-bottom: none; }
.loc-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  border: 1px solid rgba(184,147,106,0.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--gold);
}
.loc-title { font-size: 0.88rem; font-weight: 500; margin-bottom: 0.3rem; color: var(--white); }
.loc-desc { font-size: 0.8rem; color: rgba(255,255,255,0.5); line-height: 1.5; }
.location-mapbox {
  border: 1px solid rgba(255,255,255,0.1);
  padding: 3rem;
  display: flex; flex-direction: column; gap: 1.5rem;
  justify-content: center; align-items: center; text-align: center;
  background: rgba(255,255,255,0.03); min-height: 300px;
}
.map-pin-large { font-size: 3.5rem; }
.map-address { font-family: var(--font-display); font-size: 1.5rem; color: var(--white); line-height: 1.3; }
.map-sub { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.map-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--gold-light); text-decoration: none;
  font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  border-bottom: 1px solid rgba(184,147,106,0.3); padding-bottom: 0.2rem;
  transition: color 0.25s, border-color 0.25s;
}
.map-link:hover { color: var(--white); border-color: var(--white); }

/* ===== AUSSTATTUNG ===== */
.ausstattung { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; margin-top: 4rem; align-items: start; }
.ausstattung-image { position: relative; overflow: hidden; height: 520px; }
.ausstattung-image img { width: 100%; height: 100%; object-fit: cover; }
.ausstattung-list { display: flex; flex-direction: column; }
.ausstattung-item {
  padding: 1.2rem 0; border-bottom: 1px solid var(--grey-200);
  display: flex; align-items: flex-start; gap: 1rem;
}
.ausstattung-item:last-child { border-bottom: none; }
.aust-icon { color: var(--gold); font-size: 0.9rem; flex-shrink: 0; margin-top: 0.15rem; }
.aust-content h4 { font-size: 0.88rem; font-weight: 500; margin-bottom: 0.2rem; }
.aust-content p { font-size: 0.8rem; color: var(--grey-600); line-height: 1.5; }

/* ===== CONTACT PAGE ===== */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 68px); }
.contact-left {
  background: var(--black); color: var(--white);
  padding: 6rem 5rem;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
}
.contact-left-bg {
  position: absolute; inset: 0;
  background: url('../img/aerial.jpg') center/cover no-repeat;
  opacity: 0.12; filter: grayscale(100%);
}
.contact-left-content { position: relative; z-index: 1; }
.contact-left h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3.2rem); font-weight: 400;
  color: var(--white); line-height: 1.15; margin-bottom: 1.5rem;
}
.contact-left h2 em { font-style: italic; color: var(--gold); }
.contact-left p { font-size: 0.92rem; color: rgba(255,255,255,0.6); line-height: 1.75; margin-bottom: 3rem; max-width: 380px; }
.contact-info-items { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-info-item { display: flex; gap: 1rem; align-items: flex-start; }
.ci-icon { color: var(--gold); font-size: 1rem; flex-shrink: 0; margin-top: 0.15rem; }
.ci-label { display: block; color: var(--white); font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 0.2rem; }
.ci-text { font-size: 0.83rem; color: rgba(255,255,255,0.65); line-height: 1.5; }
.ci-text a { color: var(--gold-light); text-decoration: none; }
.ci-text a:hover { text-decoration: underline; }

.contact-right { background: var(--white); padding: 6rem 5rem; display: flex; flex-direction: column; justify-content: center; }
.contact-right h3 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 400; margin-bottom: 2.5rem; }
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--grey-400); margin-bottom: 0.5rem; }
.form-input {
  width: 100%; padding: 0.9rem 1rem;
  background: var(--grey-50); border: 1px solid var(--grey-200);
  color: var(--black); font-family: var(--font-body); font-size: 0.9rem; font-weight: 300;
  outline: none; transition: border-color 0.25s; -webkit-appearance: none; border-radius: 0;
}
.form-input:focus { border-color: var(--gold); background: var(--white); }
.form-input::placeholder { color: var(--grey-400); }
select.form-input { cursor: pointer; }
textarea.form-input { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-submit {
  width: 100%; background: var(--black); color: var(--white); border: none;
  padding: 1rem; font-family: var(--font-body); font-size: 0.78rem;
  letter-spacing: 0.2em; text-transform: uppercase; cursor: pointer;
  transition: background 0.25s; margin-top: 0.5rem;
}
.form-submit:hover { background: var(--gold); }
.form-note { font-size: 0.72rem; color: var(--grey-400); margin-top: 1rem; line-height: 1.5; }
.form-note a { color: var(--gold-dark); }

/* ===== LEGAL PAGES ===== */
.legal-page { max-width: 780px; margin: 0 auto; padding: 5rem; }
.legal-page h1 { font-family: var(--font-display); font-size: 2.2rem; font-weight: 400; margin-bottom: 0.5rem; }
.legal-sub { font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 3rem; }
.legal-page h2 {
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 400;
  margin: 2rem 0 0.75rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--grey-200);
}
.legal-page p, .legal-page li { font-size: 0.88rem; color: var(--grey-600); line-height: 1.8; margin-bottom: 0.75rem; }
.legal-page ul { padding-left: 1.5rem; margin-bottom: 0.75rem; }
.legal-page a { color: var(--gold-dark); }
hr.legal-divider { border: none; border-top: 2px solid var(--grey-200); margin: 3rem 0; }

/* ===== FOOTER ===== */
footer {
  background: var(--black);
  padding: 2.5rem 5rem;
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid rgba(184,147,106,0.2);
}
.footer-brand { font-family: var(--font-display); font-size: 0.9rem; color: var(--white); letter-spacing: 0.08em; }
.footer-brand span { color: var(--gold); font-style: italic; }
.footer-links { display: flex; gap: 2rem; }
.footer-links a { font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.25s; }
.footer-links a:hover { color: var(--gold); }
.footer-copy { font-size: 0.72rem; color: rgba(255,255,255,0.25); letter-spacing: 0.05em; }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.animate-1 { animation: fadeUp 0.7s 0.1s both; }
.animate-2 { animation: fadeUp 0.7s 0.2s both; }
.animate-3 { animation: fadeUp 0.7s 0.35s both; }
.animate-4 { animation: fadeUp 0.7s 0.45s both; }
.animate-5 { animation: fadeUp 0.7s 0.55s both; }
.animate-6 { animation: fadeUp 0.7s 0.65s both; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .units-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  nav { padding: 0 1.5rem; }
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; height: auto; }
  .hero-image { height: 60vw; min-height: 280px; }
  .hero-content { padding: 3rem 2rem; }
  .hero-stats { gap: 1.5rem; }
  section { padding: 4rem 0; }
  .container { padding: 0 1.5rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-item { border-right: none; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-main, .gallery-sub { height: 55vw; }
  .gallery-main { grid-row: auto; }
  .ausstattung { grid-template-columns: 1fr; gap: 2.5rem; }
  .ausstattung-image { height: 55vw; }
  .location-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-left, .contact-right { padding: 3rem 2rem; }
  .strip { flex-wrap: wrap; }
  .strip-item { flex: 0 0 50%; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .units-grid { grid-template-columns: 1fr; }
  footer { flex-direction: column; gap: 1.5rem; padding: 2rem; text-align: center; }
  .footer-links { gap: 1.5rem; }
  .legal-page { padding: 3rem 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .availability-header { flex-direction: column; align-items: flex-start; }
}
