/* ==========================================================
   Gürster Immobilien – Stylesheet
   ========================================================== */

:root {
  --paper: #f4f1eb;
  --paper-2: #ebe6dc;
  --ink: #151413;
  --ink-2: #3a3734;
  --muted: #7d766c;
  --line: rgba(21, 20, 19, 0.14);
  --accent: #9a7a52;
  --accent-ink: #6f5536;

  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(20px, 5vw, 72px);
  --max: 1360px;
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--ink); color: var(--paper); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }

.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; }
/* Hervorhebungen: aufrecht, nur farblich abgesetzt (keine Kursive) */
em, .italic { font-style: normal; }

h1, h2, h3 { margin: 0; font-weight: 400; }

.h-display {
  font-family: var(--serif);
  font-size: clamp(54px, 9.4vw, 148px);
  line-height: .92;
  letter-spacing: -.025em;
}
.h-section {
  font-family: var(--serif);
  font-size: clamp(40px, 5.6vw, 84px);
  line-height: 1;
  letter-spacing: -.02em;
}
.lead {
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 56ch;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 17px 26px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .04em;
  border: 1px solid currentColor;
  border-radius: 100px;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--solid { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--solid:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--light { color: #fff; border-color: rgba(255,255,255,.5); }
.btn--light:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
  color: #fff;
  border-bottom: 1px solid transparent;
}
.header.is-solid,
.header--static {
  background: rgba(244, 241, 235, .9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: var(--ink);
  border-color: var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand svg { width: 42px; height: 36px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-size: 15px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.brand__sub { font-size: 9.5px; letter-spacing: .34em; text-transform: uppercase; opacity: .7; margin-top: 6px; }

.nav { display: flex; align-items: center; gap: 36px; }
.nav a { font-size: 14px; letter-spacing: .02em; position: relative; padding: 6px 0; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.nav .btn { padding: 11px 20px; font-size: 13px; }
.header:not(.is-solid):not(.header--static) .nav .btn { border-color: rgba(255,255,255,.55); }
.header:not(.is-solid):not(.header--static) .nav .btn:hover { background: #fff; color: var(--ink); }
.header.is-solid .nav .btn:hover,
.header--static .nav .btn:hover { background: var(--ink); color: var(--paper); }

.menu-toggle {
  display: none;
  background: none; border: 0; color: inherit; cursor: pointer;
  width: 44px; height: 44px; padding: 0; position: relative;
}
.menu-toggle span {
  position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor;
  transition: transform .35s var(--ease), top .35s var(--ease);
}
.menu-toggle span:nth-child(1) { top: 17px; }
.menu-toggle span:nth-child(2) { top: 26px; }
.menu-open .menu-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: #1b1a18;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%;
  filter: saturate(.55) contrast(1.05);
  transform: scale(1.06);
  animation: heroZoom 14s var(--ease) forwards;
}
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(15,14,13,.55) 0%, rgba(15,14,13,.05) 30%, rgba(15,14,13,.25) 55%, rgba(15,14,13,.88) 100%);
}
@keyframes heroZoom { to { transform: scale(1); } }

.hero__content { position: relative; width: 100%; padding-bottom: clamp(48px, 8vh, 96px); padding-top: 140px; }
.hero__eyebrow { color: rgba(255,255,255,.75); margin-bottom: 28px; }
.hero h1 { max-width: 12ch; }
.hero h1 em { color: #d9c3a0; }
.hero__bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 40px;
  margin-top: clamp(36px, 5vw, 64px);
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.22);
}
.hero__bottom p { margin: 0; max-width: 46ch; color: rgba(255,255,255,.82); font-size: clamp(16px, 1.3vw, 19px); }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__actions .btn--solid { background: #fff; color: var(--ink); border-color: #fff; }
.hero__actions .btn--solid:hover { background: #d9c3a0; border-color: #d9c3a0; }

.scroll-cue {
  position: absolute; right: var(--gutter); top: 50%;
  writing-mode: vertical-rl; font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
  color: rgba(255,255,255,.6); display: flex; align-items: center; gap: 16px;
}
.scroll-cue::after { content: ""; width: 1px; height: 64px; background: rgba(255,255,255,.4); animation: cue 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: clamp(96px, 13vw, 180px) 0; }
.section--tight { padding: clamp(72px, 9vw, 120px) 0; }
.section--dark { background: var(--ink); color: var(--paper); }
.section--dark .eyebrow { color: rgba(244,241,235,.55); }
.section--dark .lead { color: rgba(244,241,235,.75); }
.section--alt { background: var(--paper-2); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(56px, 8vw, 104px);
}
.section-head .eyebrow { margin-bottom: 28px; }

/* Intro statement */
.statement { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: clamp(24px, 6vw, 96px); }
.statement__text {
  font-family: var(--serif);
  font-size: clamp(32px, 4.3vw, 64px);
  line-height: 1.08;
  letter-spacing: -.015em;
  margin: 0;
}
.statement__text em { color: var(--accent-ink); }

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(64px, 9vw, 120px);
  border-top: 1px solid var(--line);
}
.fact { padding: 32px 32px 0 0; }
.fact + .fact { padding-left: 32px; border-left: 1px solid var(--line); }
.fact__k { font-family: var(--serif); font-size: clamp(30px, 3vw, 44px); line-height: 1.05; display: block; margin-bottom: 14px; }
.fact__v { color: var(--muted); font-size: 15px; max-width: 32ch; display: block; }

/* Services */
.services { display: grid; gap: clamp(80px, 10vw, 140px); }
.service {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.service:nth-child(even) { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.service:nth-child(even) .service__media { order: 2; }
.service__media { position: relative; overflow: hidden; aspect-ratio: 5 / 4; background: #ccc; }
.service__media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.5) contrast(1.04);
  transition: transform 1.2s var(--ease), filter 1.2s var(--ease);
}
.service:hover .service__media img { transform: scale(1.04); filter: saturate(.85); }
.service__num {
  font-family: var(--serif); font-size: 20px; color: var(--accent-ink);
  display: flex; align-items: center; gap: 16px; margin-bottom: 26px;
}
.service__num::after { content: ""; flex: 0 0 48px; height: 1px; background: var(--line); }
.service h3 { font-family: var(--serif); font-size: clamp(36px, 4vw, 60px); line-height: 1; letter-spacing: -.02em; margin-bottom: 24px; }
.service p { color: var(--ink-2); margin: 0 0 28px; max-width: 48ch; }
.ticks { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.ticks li { padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; gap: 16px; font-size: 15px; }
.ticks li::before { content: "—"; color: var(--accent); }

/* Approach */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(244,241,235,.18);
}
.step { padding: 40px 32px 8px 0; position: relative; }
.step + .step { padding-left: 32px; border-left: 1px solid rgba(244,241,235,.18); }
.step__n { font-size: 12px; letter-spacing: .22em; color: #d9c3a0; display: block; margin-bottom: 64px; }
.step h3 { font-family: var(--serif); font-size: clamp(28px, 2.6vw, 38px); line-height: 1.05; margin-bottom: 16px; }
.step p { margin: 0; color: rgba(244,241,235,.68); font-size: 15px; }

.values {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px;
  margin-top: clamp(80px, 10vw, 130px);
}
.value { background: rgba(244,241,235,.05); padding: clamp(28px, 3vw, 44px); }
.value svg { width: 36px; height: 36px; color: #d9c3a0; margin-bottom: 40px; }
.value h3 { font-size: 19px; font-weight: 500; margin-bottom: 10px; letter-spacing: .01em; }
.value p { margin: 0; color: rgba(244,241,235,.65); font-size: 15px; }

/* Locations */
.locations { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2vw, 32px); }
.location {
  position: relative; overflow: hidden; min-height: clamp(420px, 46vw, 620px);
  color: #fff; display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(28px, 3.4vw, 52px); background: #222;
}
.location img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(.6) brightness(.72);
  transition: transform 1.4s var(--ease), filter 1.4s var(--ease);
}
.location:hover img { transform: scale(1.05); filter: grayscale(.2) brightness(.65); }
.location > *:not(img) { position: relative; }
.location__top { display: flex; justify-content: space-between; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; opacity: .85; }
.location h3 { font-family: var(--serif); font-size: clamp(64px, 9vw, 150px); line-height: .85; letter-spacing: -.03em; }
.location p { margin: 22px 0 0; max-width: 38ch; color: rgba(255,255,255,.82); font-size: 15px; }

.coverage {
  margin-top: clamp(28px, 3vw, 40px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  font-size: 15px; color: var(--ink-2);
}
.coverage strong { font-weight: 500; color: var(--ink); }

/* Acquisition */
.acq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.acq__sticky { position: sticky; top: 130px; }
.acq__sticky .h-section { margin: 28px 0 28px; }
.acq__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.acq__item { padding: clamp(28px, 3vw, 40px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .4s var(--ease); }
.acq__item:hover { background: var(--paper); }
.acq__item span { font-family: var(--serif); color: var(--accent-ink); font-size: 18px; }
.acq__item h3 { font-size: 20px; font-weight: 500; margin: 28px 0 10px; line-height: 1.25; }
.acq__item p { margin: 0; color: var(--muted); font-size: 15px; }
.acq__note { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.acq__note p { margin: 0; max-width: 46ch; color: var(--ink-2); font-size: 15px; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(48px, 8vw, 140px); }
.contact__mail {
  font-family: var(--serif);
  font-size: clamp(34px, 5.2vw, 80px);
  line-height: 1;
  letter-spacing: -.02em;
  display: inline-block;
  margin: 36px 0 56px;
  border-bottom: 1px solid rgba(244,241,235,.3);
  padding-bottom: 10px;
  transition: color .3s var(--ease), border-color .3s var(--ease);
  word-break: break-word;
}
.contact__mail:hover { color: #d9c3a0; border-color: #d9c3a0; }
.contact__details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
.contact__details h4 { margin: 0 0 10px; font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: rgba(244,241,235,.5); }
.contact__details p { margin: 0; color: rgba(244,241,235,.85); font-size: 15px; }
.contact__details a:hover { color: #d9c3a0; }

.form { display: grid; gap: 4px; }
.field { position: relative; border-bottom: 1px solid rgba(244,241,235,.22); }
.field label { position: absolute; left: 0; top: 22px; font-size: 15px; color: rgba(244,241,235,.55); pointer-events: none; transition: all .3s var(--ease); }
.field input, .field textarea, .field select {
  width: 100%; background: transparent; border: 0; outline: 0; color: var(--paper);
  font: inherit; font-size: 16px; padding: 30px 0 12px; resize: vertical; border-radius: 0;
}
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.field select option { color: var(--ink); }
.field textarea { min-height: 120px; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field--select label { top: 6px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
.field:focus-within { border-color: #d9c3a0; }
.form__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 32px; flex-wrap: wrap; }
.form__foot small { color: rgba(244,241,235,.5); font-size: 12.5px; max-width: 34ch; line-height: 1.5; }
.form .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); cursor: pointer; font-family: inherit; }
.form .btn:hover { background: #d9c3a0; border-color: #d9c3a0; }

/* Footer */
.footer { background: var(--ink); color: rgba(244,241,235,.6); font-size: 14px; }
.footer__big {
  font-family: var(--serif); color: var(--paper);
  font-size: clamp(56px, 13.5vw, 230px); line-height: .82; letter-spacing: -.035em;
  padding: clamp(40px, 6vw, 80px) 0 clamp(28px, 3vw, 40px);
  border-top: 1px solid rgba(244,241,235,.12);
  white-space: nowrap;
}
.footer__big em { color: #d9c3a0; }
.footer__bar {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px;
  padding: 28px 0 36px; border-top: 1px solid rgba(244,241,235,.12);
}
.footer__bar nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer__bar a:hover { color: var(--paper); }

/* Legal page */
.legal { padding: 180px 0 120px; }
.legal__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 96px); }
.legal h1 { font-family: var(--serif); font-size: clamp(56px, 8vw, 120px); line-height: .9; letter-spacing: -.03em; margin-top: 24px; }
.legal h2 { font-family: var(--serif); font-size: clamp(26px, 2.4vw, 34px); margin: 56px 0 16px; line-height: 1.1; }
.legal h2:first-child { margin-top: 0; }
.legal p { color: var(--ink-2); margin: 0 0 14px; max-width: 68ch; }
.legal dl { display: grid; grid-template-columns: 200px 1fr; margin: 0; border-top: 1px solid var(--line); }
.legal dt, .legal dd { padding: 14px 0; border-bottom: 1px solid var(--line); margin: 0; }
.legal dt { color: var(--muted); font-size: 14px; }
.legal dd a { border-bottom: 1px solid var(--line); }
.legal dd a:hover { border-color: var(--ink); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .1s; }
.js .reveal[data-delay="2"] { transition-delay: .2s; }
.js .reveal[data-delay="3"] { transition-delay: .3s; }

.js .hero .line { display: block; overflow: hidden; }
.js .hero .line > span { display: block; transform: translateY(105%); animation: lineUp 1.2s var(--ease) forwards; }
.js .hero .line:nth-child(2) > span { animation-delay: .12s; }
.js .hero .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes lineUp { to { transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .step:nth-child(n+3) { border-top: 1px solid rgba(244,241,235,.18); }
  .step__n { margin-bottom: 36px; }
  .acq { grid-template-columns: 1fr; }
  .acq__sticky { position: static; }
}

@media (max-width: 900px) {
  .nav {
    position: fixed; inset: 0; background: var(--ink); color: var(--paper);
    flex-direction: column; align-items: flex-start; justify-content: center;
    padding: 0 var(--gutter); gap: 8px;
    opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
  }
  .nav a:not(.btn) { font-family: var(--serif); font-size: 44px; line-height: 1.15; }
  .nav .btn { margin-top: 28px; font-size: 15px; padding: 15px 24px; border-color: rgba(244,241,235,.5) !important; color: var(--paper) !important; }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .menu-open .header { color: var(--paper); background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .menu-toggle { display: block; position: relative; z-index: 2; }
  .brand { position: relative; z-index: 2; }

  .section-head, .statement, .service, .service:nth-child(even), .contact, .legal__grid { grid-template-columns: 1fr; }
  .service:nth-child(even) .service__media { order: 0; }
  .facts { grid-template-columns: 1fr; }
  .fact, .fact + .fact { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .values { grid-template-columns: 1fr; }
  .locations { grid-template-columns: 1fr; }
  .hero__bottom { grid-template-columns: 1fr; }
  .scroll-cue { display: none; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .header__inner { height: 72px; }
  .brand__sub { display: none; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 32px 0 28px; border-left: 0; }
  .step + .step { border-top: 1px solid rgba(244,241,235,.18); }
  .acq__grid { grid-template-columns: 1fr; }
  .contact__details { grid-template-columns: 1fr; gap: 28px; }
  .legal dl { grid-template-columns: 1fr; }
  .legal dt { border-bottom: 0; padding-bottom: 0; }
  .hero__actions .btn { flex: 1 1 auto; justify-content: center; }
  .footer__big { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .hero .line > span { transform: none; }
  html { scroll-behavior: auto; }
}
