/* ===========================
   VARIABLES & RESET
   =========================== */
:root {
  --navy: #0f1f3d;
  --navy-mid: #1a3260;
  --gold: #c09a4a;
  --gold-light: #d4b06a;
  --gold-pale: #f5eed8;
  --white: #ffffff;
  --off-white: #faf9f7;
  --light-gray: #f2f1ef;
  --mid-gray: #e8e6e2;
  --text: #1a1a1a;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --radius: 10px;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.07);
  --shadow: 0 6px 28px rgba(0,0,0,0.1);
  --shadow-lg: 0 16px 56px rgba(0,0,0,0.15);
  --transition: 0.3s ease;
  --font-h: 'Playfair Display', Georgia, serif;
  --font-b: 'Inter', system-ui, sans-serif;
  --max-w: 1240px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-b); color: var(--text); background: var(--white); line-height: 1.7; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }

/* Visualisierung-Hinweis ÜBER den Fotos */
.viz-wrap { position: relative; display: block; }
.viz-wrap .viz-label {
  position: absolute;
  bottom: 10px;
  right: 12px;
  font-size: 0.60rem;
  font-weight: 600;
  color: rgba(255,255,255,0.92);
  text-shadow: 0 1px 4px rgba(0,0,0,0.7);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  pointer-events: none;
  z-index: 10;
}
a { text-decoration: none; color: inherit; }

/* ===========================
   UTILITIES
   =========================== */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5.5rem 0; }
.section--light { background: var(--off-white); }
.section--dark { background: var(--navy); }
.text-center { text-align: center; }

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-h);
  font-size: clamp(1.9rem, 3.5vw, 2.9rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.section-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

/* ===========================
   BUTTONS
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius);
  font-family: var(--font-b);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
}

.btn--gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn--gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(192,154,74,0.4);
}

.btn--dark {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn--dark:hover {
  background: var(--navy-mid);
  border-color: var(--navy-mid);
  transform: translateY(-2px);
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}

.btn--outline-dark {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--outline-dark:hover {
  background: var(--navy);
  color: var(--white);
}

/* ===========================
   HEADER
   =========================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--mid-gray);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: var(--shadow); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header__logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 1px;
}
.logo-meins {
  font-family: var(--font-h);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.1em;
}
.logo-immo {
  font-family: var(--font-b);
  font-size: 0.6rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav__link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav__link:hover, .nav__link.active { color: var(--navy); }
.nav__link:hover::after, .nav__link.active::after { width: 100%; }
.nav__cta { margin-left: 0.5rem; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--navy);
  transition: all var(--transition);
}

/* ===========================
   HERO
   =========================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
}
.hero__img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(10,20,45,0.82) 0%,
    rgba(15,31,61,0.65) 45%,
    rgba(10,20,45,0.4) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 2;
  padding-top: var(--header-h);
  max-width: 720px;
}
.hero__badge {
  display: inline-block;
  background: rgba(192,154,74,0.2);
  border: 1px solid rgba(192,154,74,0.5);
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}
.hero__title {
  font-family: var(--font-h);
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.hero__title em {
  font-style: italic;
  color: var(--gold-light);
}
.hero__sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  max-width: 560px;
  margin-bottom: 2.25rem;
  line-height: 1.75;
}
.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.hero__stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 1rem 1.75rem;
  width: fit-content;
}
.hero__stat { text-align: center; }
.hero__stat-num {
  display: block;
  font-family: var(--font-h);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}
.hero__stat-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.05em;
}
.hero__stat-div {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.2);
}

/* ===========================
   PORTFOLIO GRID
   =========================== */
.portfolio-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.portfolio-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--mid-gray);
  transition: all var(--transition);
}
.portfolio-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}
.portfolio-card--featured {
  grid-row: span 1;
}

.portfolio-card__img-wrap {
  position: relative;
  height: 260px;
  overflow: hidden;
}
.portfolio-card--featured .portfolio-card__img-wrap {
  height: 320px;
}
.portfolio-card__img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.portfolio-card:hover .portfolio-card__img-wrap img {
  transform: scale(1.05);
}
.portfolio-card__badge {
  position: absolute;
  top: 1rem; right: 1rem;
  background: var(--navy);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
}

.portfolio-card__body {
  padding: 1.75rem;
}
.portfolio-card__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.portfolio-card__body h3 {
  font-family: var(--font-h);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.portfolio-card__body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1rem;
}
.portfolio-card__features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}
.portfolio-card__features span {
  font-size: 0.75rem;
  color: var(--navy);
  background: var(--gold-pale);
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
  font-weight: 500;
}

/* ===========================
   LOCATIONS BAND
   =========================== */
.locations-band {
  background: var(--navy);
  padding: 1.5rem 0;
}
.locations-band__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.locations-band__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  flex-shrink: 0;
}
.locations-band__cities {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.city-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  transition: all var(--transition);
}
.city-chip:hover {
  background: rgba(192,154,74,0.2);
  border-color: var(--gold);
  color: var(--white);
}
.city-chip__dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}
.city-chip--new { border-color: rgba(192,154,74,0.4); }
.city-chip--new em {
  font-style: normal;
  font-size: 0.65rem;
  background: var(--gold);
  color: var(--white);
  padding: 0.1rem 0.4rem;
  border-radius: 100px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* ===========================
   PROJEKTENTWICKLUNG TEASER
   =========================== */
.dev-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.dev-teaser__text p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.dev-teaser__cards {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.75rem;
}
.dev-mini-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--off-white);
  border: 1px solid var(--mid-gray);
  border-radius: var(--radius);
  padding: 0.9rem 1.25rem;
  transition: all var(--transition);
}
.dev-mini-card:hover {
  border-color: var(--gold);
  background: var(--gold-pale);
}
.dev-mini-card__icon {
  width: 40px; height: 40px;
  color: var(--gold);
  flex-shrink: 0;
}
.dev-mini-card__icon svg { width: 100%; height: 100%; }
.dev-mini-card strong {
  display: block;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 0.1rem;
}
.dev-mini-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

.dev-teaser__img-stack {
  position: relative;
  height: 520px;
}
.dev-teaser__img {
  border-radius: var(--radius-xl);
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}
.dev-teaser__img--main {
  width: 88%;
  height: 380px;
  position: absolute;
  top: 0; right: 0;
}
.dev-teaser__img--accent {
  width: 58%;
  height: 220px;
  position: absolute;
  bottom: 0; left: 0;
  border: 4px solid var(--white);
}

/* ===========================
   PROJECT HIGHLIGHT
   =========================== */
.project-highlight {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.project-highlight__badge {
  display: inline-block;
  background: rgba(192,154,74,0.2);
  border: 1px solid rgba(192,154,74,0.4);
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}
.project-highlight__title {
  font-family: var(--font-h);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.project-highlight__text {
  color: rgba(255,255,255,0.72);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 2rem;
}

/* ===========================
   CONTACT TEASER
   =========================== */
.contact-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.contact-teaser__text p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.contact-teaser__details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 1.5rem 0 2rem;
  padding: 1.25rem;
  background: var(--light-gray);
  border-radius: var(--radius);
  border-left: 3px solid var(--gold);
}
.contact-teaser__details a {
  color: var(--gold);
  transition: color var(--transition);
}
.contact-teaser__details a:hover { color: var(--navy); }
.contact-teaser__img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 420px;
  box-shadow: var(--shadow-lg);
}
.contact-teaser__img img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: var(--navy);
  padding: 4rem 0 0;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer__brand .logo-meins { color: var(--white); font-size: 1.4rem; }
.footer__brand .logo-immo { font-size: 0.65rem; }
.footer__brand p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  margin-top: 0.75rem;
}
.footer__nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.footer__nav-col {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer__nav-col strong {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.25rem;
}
.footer__nav-col a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
}
.footer__nav-col a:hover { color: var(--gold-light); }
.footer__bottom {
  padding: 1.25rem 0;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  text-align: center;
}

/* ===========================
   PAGE HERO (inner pages)
   =========================== */
.page-hero {
  background: var(--navy);
  padding: calc(var(--header-h) + 3.5rem) 0 3.5rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(192,154,74,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.page-hero__title {
  font-family: var(--font-h);
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
}
.page-hero__sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  max-width: 580px;
  margin-top: 1rem;
}

/* ===========================
   VERMIETUNG PAGE
   =========================== */
.rental-section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--mid-gray);
}
.rental-section:last-of-type { border-bottom: none; }

.rental-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}
.rental-grid--reverse { direction: rtl; }
.rental-grid--reverse > * { direction: ltr; }

.rental-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.rental-img img {
  width: 100%; height: 420px;
  object-fit: cover;
}

.rental-text h3 {
  font-family: var(--font-h);
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 1rem;
}
.rental-text p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.75;
}
.rental-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin: 1.5rem 0;
}
.rental-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text);
}
.rental-feature::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Apartment Tiers */
.apt-tiers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}
.apt-tier {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--mid-gray);
}
.apt-tier__img {
  height: 200px;
  overflow: visible;
}
.apt-tier__img img {
  height: 200px;
  width: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.apt-tier:hover .apt-tier__img img { transform: scale(1.05); }
.apt-tier__body {
  padding: 1.25rem;
  background: var(--white);
}
.apt-tier__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}
.apt-tier__body h4 {
  font-family: var(--font-h);
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.apt-tier__body p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ===========================
   PROJEKTENTWICKLUNG PAGE
   =========================== */
.project-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--mid-gray);
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 2.5rem;
}
.project-card__img {
  height: 100%;
  min-height: 360px;
  overflow: hidden;
}
.project-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.project-card__body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.project-card__status {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.project-card__status--active {
  background: #dcfce7;
  color: #166534;
}
.project-card__status--search {
  background: var(--gold-pale);
  color: #7c5c1a;
}
.project-card__body h3 {
  font-family: var(--font-h);
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.project-card__body p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}
.project-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 1.25rem 0;
}
.project-spec {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
}
.project-spec__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.2rem;
}
.project-spec__value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
}

/* Ankauf Suchprofile */
.search-profiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.search-profile {
  background: var(--white);
  border: 1px solid var(--mid-gray);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: all var(--transition);
}
.search-profile:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.search-profile__icon {
  width: 52px; height: 52px;
  background: var(--gold-pale);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.search-profile__icon svg { width: 28px; height: 28px; }
.search-profile h3 {
  font-family: var(--font-h);
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.search-profile p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 0.5rem;
}
.search-profile__criteria {
  list-style: none;
  margin-top: 1rem;
}
.search-profile__criteria li {
  font-size: 0.82rem;
  color: var(--text);
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--light-gray);
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}
.search-profile__criteria li::before {
  content: '›';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}

/* ===========================
   KONTAKT PAGE
   =========================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}
.contact-info h3 {
  font-family: var(--font-h);
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.contact-info p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}
.contact-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  border: 1px solid var(--mid-gray);
}
.contact-card__icon {
  width: 40px; height: 40px;
  background: var(--gold-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.contact-card__icon svg { width: 18px; height: 18px; }
.contact-card__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.2rem;
}
.contact-card__value {
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.5;
}
.contact-card__value a {
  color: var(--gold);
  transition: color var(--transition);
}
.contact-card__value a:hover { color: var(--navy); }

.contact-form {
  background: var(--off-white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  border: 1px solid var(--mid-gray);
}
.contact-form h3 {
  font-family: var(--font-h);
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.contact-form > p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  margin-bottom: 1.1rem;
}
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--mid-gray);
  border-radius: var(--radius);
  font-family: var(--font-b);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(192,154,74,0.15);
}
.form-group textarea { height: 120px; resize: vertical; }
.form-note {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 1rem;
  line-height: 1.6;
}
.form-note a { color: var(--gold); }

/* ===========================
   LEGAL PAGES
   =========================== */
.legal-content {
  max-width: 780px;
  padding: 5rem 0;
}
.legal-content h2 {
  font-family: var(--font-h);
  font-size: 1.4rem;
  color: var(--navy);
  margin: 2.5rem 0 0.75rem;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.8;
  margin-bottom: 0.75rem;
}
.legal-content ul { list-style: disc; padding-left: 1.5rem; }

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1100px) {
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-card--featured { grid-column: span 2; }
  .portfolio-card--featured .portfolio-card__img-wrap { height: 380px; }
  .dev-teaser { grid-template-columns: 1fr; gap: 3rem; }
  .dev-teaser__img-stack { height: 320px; }
  .dev-teaser__img--main { height: 260px; }
  .dev-teaser__img--accent { height: 160px; }
  .contact-teaser { grid-template-columns: 1fr; gap: 3rem; }
  .footer__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .search-profiles { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav {
    display: none;
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1.25rem;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--mid-gray);
  }
  .nav.open { display: flex; }
  .nav__toggle { display: flex; }
  .nav__cta { width: 100%; justify-content: center; }

  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-card--featured { grid-column: span 1; }

  .hero__stats { flex-wrap: wrap; gap: 1rem; }
  .hero__stat-div { display: none; }

  .rental-grid, .rental-grid--reverse { grid-template-columns: 1fr; direction: ltr; }
  .apt-tiers { grid-template-columns: 1fr; }
  .project-card { grid-template-columns: 1fr; }
  .project-card__img { min-height: 240px; }
  .search-profiles { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer__nav { grid-template-columns: 1fr 1fr; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .section { padding: 3.5rem 0; }
  .project-specs { grid-template-columns: 1fr; }
  .footer__nav { grid-template-columns: 1fr; }
}
