/* Bohabaita — built from Figma frames
   "Website / Desktop 1440 / Colour v1" + "Website / Mobile 390 / Colour v1" */

:root {
  --cream: #f7f1e7;
  --ink: #262322;
  --ink-80: rgba(38, 35, 34, 0.8);
  --teal: #1d4e64;
  --sage: #b8c4be;
  --sage-50: rgba(184, 196, 190, 0.5);
  --terracotta: #c96b47;
  --grey-blue: #6e7b85;
  --cream-80: rgba(247, 241, 231, 0.8);
  --cream-75: rgba(247, 241, 231, 0.75);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: var(--cream);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
}

a {
  color: inherit;
}

.mobile-only {
  display: none;
}

/* ---------- Nav ---------- */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 80px;
  border-bottom: 1px solid var(--sage);
  position: relative;
}

.logo-lockup {
  position: relative;
  width: 409.91px;
  height: 100.99px;
  flex-shrink: 0;
}

.logo-lockup .logo-word {
  position: absolute;
  left: 0;
  top: 27.14px;
  width: 374.283px;
  height: auto;
}

.logo-lockup .logo-heb {
  position: absolute;
  left: 262.41px;
  top: 0;
  width: 147.5px;
  height: auto;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}

.nav-links a:hover {
  text-decoration: underline;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: 0;
  padding: 8px 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  height: 800px;
  padding: 130px 80px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  overflow: hidden;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 88% 42%;
  transform: scale(1.12);
  transform-origin: 88% 42%;
}

.hero-headline,
.hero-sub {
  position: relative;
}

.hero-headline {
  font-size: 62px;
  line-height: 1.1;
  font-weight: 700;
}

.hero-headline .light {
  display: block;
  font-weight: 400;
}

.hero-sub {
  font-size: 16px;
  color: var(--ink-80);
}

/* ---------- About ---------- */

.about {
  background: var(--teal);
  display: flex;
  gap: 80px;
  align-items: center;
  padding: 112px 80px;
  min-height: 740px;
}

.about-photo {
  width: 520px;
  height: 640px;
  flex-shrink: 0;
  border: 1px solid var(--sage-50);
  object-fit: cover;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  flex: 1;
}

.about-eyebrow {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.68px;
  color: var(--sage);
}

.about-title {
  font-size: 40px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--cream);
}

.about-body {
  font-size: 18px;
  line-height: 1.5;
  color: var(--cream-80);
}

.about-body p + p {
  margin-top: 1.5em;
}

.cta-button {
  display: inline-block;
  background: var(--terracotta);
  color: var(--cream);
  font-size: 16px;
  font-weight: 700;
  padding: 18px 36px;
  border-radius: 4px;
  text-decoration: none;
}

.cta-button:hover {
  filter: brightness(1.06);
}

/* ---------- Properties ---------- */

.properties {
  border-top: 1px solid var(--sage);
  padding: 96px 80px 112px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.properties-title {
  font-size: 40px;
  font-weight: 700;
}

.property-row {
  display: flex;
  gap: 40px;
}

.property-card {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.property-card .thumb {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.property-card h3 {
  margin-top: 4px;
  font-size: 22px;
  font-weight: 700;
}

.property-card h3 .light {
  font-weight: 400;
}

.property-meta {
  font-size: 16px;
  color: var(--grey-blue);
}

.property-links {
  display: flex;
  gap: 32px;
}

.property-links a {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: underline;
}

/* ---------- Footer ---------- */

.footer {
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 64px 80px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-contact h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--cream);
}

.footer-contact p,
.footer-contact a {
  font-size: 16px;
  color: var(--cream-75);
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.footer-middle {
  display: flex;
  align-items: center;
  gap: 24px;
}

.legal-links {
  display: flex;
  gap: 24px;
}

.legal-links a {
  font-size: 14px;
  color: var(--sage);
  text-decoration: underline;
}

.social-links {
  display: flex;
  gap: 24px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border: 1px solid var(--sage);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--cream);
  text-decoration: none;
}

.footer-logo {
  position: relative;
  width: 130.9px;
  height: 32.26px;
}

.footer-logo .logo-word {
  position: absolute;
  left: 0;
  top: 8.67px;
  width: 119.526px;
  height: auto;
}

.footer-logo .logo-heb {
  position: absolute;
  left: 83.8px;
  top: 0;
  width: 47.103px;
  height: auto;
}

/* ---------- Legal pages (Impressum / Datenschutz) ---------- */

.legal-page {
  max-width: 720px;
  padding: 96px 80px 112px;
}

.legal-page h1 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 40px;
}

.legal-page h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 32px 0 12px;
}

.legal-page p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-80);
  margin-bottom: 12px;
}

.placeholder-note {
  background: rgba(201, 107, 71, 0.12);
  border-left: 3px solid var(--terracotta);
  padding: 12px 16px;
  margin-bottom: 32px;
}

/* ---------- Tablet fluid padding ---------- */

@media (max-width: 1100px) {
  .nav,
  .hero,
  .about,
  .properties,
  .footer,
  .legal-page {
    padding-left: 40px;
    padding-right: 40px;
  }

  .about {
    gap: 48px;
  }

  .about-photo {
    width: 42%;
    height: auto;
    aspect-ratio: 520 / 640;
  }

  .hero-headline {
    font-size: 52px;
  }
}

/* ---------- Mobile (390 frame) ---------- */

@media (max-width: 768px) {
  .mobile-only {
    display: inline;
  }

  .desktop-only {
    display: none;
  }

  /* Nav */
  .nav {
    padding: 18px 24px;
  }

  .logo-lockup {
    width: 210.02px;
    height: 51.74px;
  }

  .logo-lockup .logo-word {
    top: 13.9px;
    width: 191.77px;
  }

  .logo-lockup .logo-heb {
    left: 134.45px;
    width: 75.574px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--sage);
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 16px;
    z-index: 10;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    display: block;
    padding: 12px 0;
    font-size: 18px;
  }

  /* Hero */
  .hero {
    height: 640px;
    padding: 0 24px 56px;
    justify-content: flex-end;
    gap: 14px;
  }

  .hero-img {
    object-position: 62% 50%;
    transform: none;
  }

  .hero-headline {
    font-size: 39px;
  }

  .hero-sub {
    font-size: 15px;
  }

  /* About */
  .about {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 64px 24px;
    min-height: 0;
  }

  .about-photo {
    width: 100%;
    height: 420px;
    aspect-ratio: auto;
  }

  .about-text {
    gap: 18px;
  }

  .about-eyebrow {
    font-size: 12px;
    letter-spacing: 1.44px;
  }

  .about-title {
    font-size: 28px;
  }

  .about-body {
    font-size: 16px;
  }

  .cta-button {
    width: 100%;
    text-align: center;
    padding: 16px 0;
  }

  /* Properties */
  .properties {
    padding: 56px 24px 64px;
  }

  .properties-title {
    font-size: 28px;
  }

  .property-row {
    flex-direction: column;
    gap: 40px;
  }

  .property-card {
    gap: 10px;
  }

  .property-card .thumb {
    height: 240px;
  }

  .property-card h3 {
    margin-top: 2px;
    font-size: 18px;
  }

  .property-meta {
    font-size: 14px;
  }

  .property-links {
    gap: 24px;
  }

  .property-links a {
    font-size: 14px;
  }

  /* Footer */
  .footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    padding: 48px 24px;
  }

  .footer-contact {
    gap: 6px;
  }

  .footer-contact h2 {
    font-size: 18px;
  }

  .footer-contact p,
  .footer-contact a {
    font-size: 14px;
  }

  .footer-middle {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }

  /* mobile frame shows social icons above the legal links */
  .social-links {
    order: -1;
  }

  .social-links {
    gap: 12px;
  }

  .legal-links {
    gap: 20px;
  }

  .legal-links a {
    font-size: 13px;
  }

  /* Legal pages */
  .legal-page {
    padding: 56px 24px 64px;
  }

  .legal-page h1 {
    font-size: 28px;
  }
}
