:root {
  --bg: #f5f1eb;
  --bg-warm: #ece8e1;
  --ink: #110f0e;
  --muted: #7a7268;
  --muted-light: #9a9288;
  --gold: #9a6e28;
  --gold-soft: rgba(154, 110, 40, 0.12);
  --line: rgba(17, 15, 14, 0.1);
  --line-strong: rgba(17, 15, 14, 0.18);
  --container: min(1400px, calc(100% - 4rem));
  --container-text: min(920px, calc(100% - 4rem));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Outfit", sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a { font: inherit; }

/* NAV */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem 0;
  transition: background 0.4s ease, padding 0.3s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(245, 241, 235, 0.96);
  backdrop-filter: blur(20px);
  padding: 1rem 0;
  border-bottom-color: var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: var(--container);
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.brand em {
  font-style: normal;
  color: var(--gold);
  font-weight: 300;
}

.brand-mark {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 8px;
  filter: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.nav-links a:hover { color: var(--ink); }

.nav-cta {
  color: var(--gold) !important;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}

.nav-cta:hover { color: var(--ink) !important; }

.nav-toggle {
  display: none;
  position: relative;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  background: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  position: absolute;
  width: 1.1rem;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s;
}

.nav-toggle span:first-child { transform: translateY(-3.5px); }
.nav-toggle span:last-child  { transform: translateY(3.5px); }
.nav-toggle[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child  { transform: rotate(-45deg); }

/* BUTTONS */
.btn-primary {
  display: inline-flex;
  align-items: center;
  height: 3.2rem;
  padding: 0 1.8rem;
  background: var(--gold);
  color: var(--bg);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  border-radius: 4px;
  border: 1px solid var(--gold);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  background: #d4b278;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(196, 162, 101, 0.3);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  height: 3.2rem;
  padding: 0 1.8rem;
  background: transparent;
  color: var(--ink);
  font-size: 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  transition: border-color 0.2s, background 0.2s;
}

.btn-ghost:hover {
  border-color: var(--muted-light);
  background: rgba(255, 255, 255, 0.04);
}

/* HERO */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(14, 12, 11, 0.3) 0%,
    rgba(14, 12, 11, 0.55) 40%,
    rgba(14, 12, 11, 0.88) 80%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  width: var(--container);
  margin: 0 auto;
  padding: 0 0 5rem;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 1.4rem;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 2.5rem;
  font-family: "Playfair Display", serif;
  font-size: clamp(4rem, 9vw, 9rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--ink);
}

h2 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--ink);
}

h3 {
  margin: 0 0 0.75rem;
  font-family: "Playfair Display", serif;
  font-size: 1.65rem;
  font-weight: 400;
  color: var(--ink);
}

h4 {
  margin: 0 0 0.5rem;
  font-family: "Outfit", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  right: 3rem;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.hero-scroll span {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.scroll-line {
  width: 1px;
  height: 3.5rem;
  background: linear-gradient(to bottom, var(--muted), transparent);
}

/* Hero text stays light — it's always on a dark photo */
.hero h1 { color: #f0ebe3; }
.hero .eyebrow { color: #d4b278; }
.hero .btn-ghost {
  color: #f0ebe3;
  border-color: rgba(240, 235, 227, 0.35);
}
.hero .btn-ghost:hover {
  border-color: rgba(240, 235, 227, 0.65);
  background: rgba(240, 235, 227, 0.08);
}
.hero-scroll span { color: rgba(240, 235, 227, 0.5); }
.scroll-line { background: linear-gradient(to bottom, rgba(240, 235, 227, 0.45), transparent); }

/* STATEMENT */
.statement {
  width: var(--container-text);
  margin: 0 auto;
  padding: 6rem 0;
}

.statement p {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.25;
  color: var(--muted-light);
  letter-spacing: -0.01em;
  margin: 0 0 2rem;
}

.statement-rule {
  width: 4rem;
  height: 1px;
  background: var(--gold);
}

/* SECTIONS */
.section {
  width: var(--container);
  margin: 0 auto;
  padding: 5rem 0 7rem;
}

.section-dark {
  width: 100%;
  background: var(--bg-warm);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 5rem 0 7rem;
}

.section-dark > .section-intro,
.section-dark > .leistungen-grid {
  width: var(--container);
  margin-left: auto;
  margin-right: auto;
}

.section-intro {
  margin-bottom: 3.5rem;
}

.section-intro h2 {
  margin-top: 1.2rem;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0;
}

.section-label.light {
  color: var(--muted);
}

.label-num {
  color: var(--gold);
}

/* VORTEILE */
.vorteile-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.vorteil-row {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 2rem;
  padding: 2.4rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  transition: background 0.2s;
}

.vorteil-row:hover {
  background: rgba(196, 162, 101, 0.03);
}

.vn {
  font-family: "Playfair Display", serif;
  font-size: 2.4rem;
  font-weight: 400;
  color: rgba(154, 110, 40, 0.28);
  line-height: 1;
  padding-top: 0.4rem;
}

.vorteil-row h3 {
  font-size: 1.5rem;
  margin-bottom: 0.7rem;
}

.vorteil-row p { color: var(--muted); margin: 0; }

/* LEISTUNGEN */
.leistungen-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.leistung-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--bg-warm);
  min-height: 420px;
}

.leistung-reverse {
  direction: rtl;
}

.leistung-reverse > * {
  direction: ltr;
}

.leistung-photo {
  overflow: hidden;
}

.leistung-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) brightness(0.96);
  transition: transform 0.6s ease, filter 0.4s ease;
}

.leistung-item:hover .leistung-photo img {
  transform: scale(1.03);
  filter: saturate(1) brightness(1);
}

.leistung-copy {
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ln {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 3.5rem;
  font-weight: 400;
  color: rgba(154, 110, 40, 0.22);
  line-height: 1;
  margin-bottom: 1.5rem;
}

.leistung-copy h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.leistung-copy p { color: var(--muted); margin: 0; line-height: 1.7; }

/* APARTMENTS — editorial photo layout */
.photo-editorial {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1px;
  background: var(--line);
}

.photo-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 1px;
}

.photo-large,
.photo-medium {
  margin: 0;
  position: relative;
  overflow: hidden;
}

.photo-large img,
.photo-medium img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) brightness(0.95);
  transition: transform 0.6s ease;
}

.photo-large { height: 580px; }
.photo-medium { height: 289px; }

.photo-large:hover img,
.photo-medium:hover img {
  transform: scale(1.04);
}

.photo-large figcaption,
.photo-medium figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1.4rem 1rem;
  background: linear-gradient(to top, rgba(17, 15, 14, 0.65), transparent);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(240, 235, 227, 0.85);
}

/* ABLAUF */
.section-ablauf {
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.ablauf-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
  margin-top: 1rem;
}

.step-connector {
  width: 4rem;
  height: 1px;
  background: var(--gold);
  align-self: center;
  margin-top: -1rem;
  opacity: 0.4;
}

.ablauf-step {
  padding: 2rem 2rem 0 0;
}

.step-num {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 4rem;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 1.2rem;
  opacity: 0.6;
}

.ablauf-step h3 { font-size: 1.4rem; margin-bottom: 0.75rem; }
.ablauf-step p { color: var(--muted); margin: 0; font-size: 0.97rem; }

/* PULL QUOTE */
.pull-quote {
  padding: 7rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pull-quote-inner {
  width: var(--container-text);
  margin: 0 auto;
  position: relative;
}

.quote-mark {
  font-family: "Playfair Display", serif;
  font-size: 8rem;
  color: var(--gold);
  opacity: 0.18;
  line-height: 0.5;
  display: block;
  margin-bottom: 1.5rem;
}

.pull-quote-inner p {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 1.5rem;
}

.pull-quote-inner cite {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-style: normal;
}

/* CONTACT */
.contact-dark {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
  width: 100%;
  overflow: hidden;
}

.contact-inner {
  padding: 5rem;
  background: #110f0e;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

.contact-inner h2 {
  margin: 1.2rem 0 1.2rem;
  color: #f0ebe3;
}

.contact-inner .section-label {
  color: rgba(240, 235, 227, 0.45);
}

.contact-inner .section-label .label-num {
  color: #d4b278;
}

.contact-inner p {
  color: rgba(240, 235, 227, 0.55);
  margin: 0 0 2.5rem;
  max-width: 38ch;
}

.contact-inner .btn-primary {
  background: #d4b278;
  border-color: #d4b278;
  color: #110f0e;
}

.contact-inner .btn-ghost {
  color: #f0ebe3;
  border-color: rgba(240, 235, 227, 0.25);
}

.contact-inner .btn-ghost:hover {
  border-color: rgba(240, 235, 227, 0.5);
  background: rgba(240, 235, 227, 0.06);
}

.contact-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.contact-photo {
  overflow: hidden;
}

.contact-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7) brightness(0.72);
}

/* IMPRESSUM */
.section-impressum {
  padding: 5rem 0 6rem;
  border-top: 1px solid var(--line);
}

.impressum-wrap {
  width: var(--container);
  margin: 0 auto;
}

.eyebrow-light {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1rem;
}

.impressum-h {
  font-family: "Playfair Display", serif;
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 2.5rem;
}

.impressum-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
}

.impressum-cols > div {
  padding: 1.5rem;
  border-right: 1px solid var(--line);
}

.impressum-cols > div:last-child { border-right: none; }

.impressum-cols p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.8;
}

/* FOOTER */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.8rem 0;
}

.footer-inner {
  width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-inner a { color: var(--gold); }

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal.is-visible { opacity: 1; transform: none; }

/* RESPONSIVE */
@media (max-width: 1100px) {
  .leistung-item { grid-template-columns: 1fr; min-height: auto; }
  .leistung-reverse { direction: ltr; }
  .leistung-photo { height: 300px; }
  .ablauf-steps { grid-template-columns: 1fr; }
  .step-connector { display: none; }
  .ablauf-step { padding: 1.5rem 0; border-top: 1px solid var(--line); }
  .photo-editorial { grid-template-columns: 1fr; }
  .photo-stack { grid-template-rows: auto auto; }
  .photo-large { height: 340px; }
  .photo-medium { height: 260px; }
  .contact-dark { grid-template-columns: 1fr; }
  .contact-photo { height: 300px; }
  .contact-inner { padding: 3rem; }
  .impressum-cols { grid-template-columns: 1fr 1fr; }
  .impressum-cols > div:nth-child(2) { border-right: none; }
  .impressum-cols > div:nth-child(3),
  .impressum-cols > div:nth-child(4) { border-top: 1px solid var(--line); }
}

@media (max-width: 780px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(245, 241, 235, 0.99);
    backdrop-filter: blur(20px);
    border: 1px solid var(--line);
    padding: 1rem;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s, visibility 0.25s, transform 0.25s;
  }
  .nav-links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { padding: 0.8rem 0.5rem; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
  .nav-inner { position: relative; }

  h1 { font-size: clamp(3rem, 14vw, 5rem); }
  .vorteil-row { grid-template-columns: 3rem 1fr; gap: 1.2rem; }
  .vn { font-size: 1.8rem; }
  .impressum-cols { grid-template-columns: 1fr; }
  .impressum-cols > div { border-right: none; border-top: 1px solid var(--line); }
  .impressum-cols > div:first-child { border-top: none; }
  .footer-inner { flex-direction: column; gap: 0.5rem; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
