/* ===========================================================
   DOMIZIL — Immobilien-Boutique Zürich
   Premium · architectural · warm stone & brass
   Fictional demo — gestaltet von loew.me
   =========================================================== */

/* --- Reset / base --- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

:root {
  --stone: #efe9e0;       /* warm greige base */
  --stone-2: #e6dfd3;     /* slightly deeper stone */
  --paper: #f7f4ee;       /* light card surface */
  --ink: #1c1a17;         /* deep charcoal */
  --ink-soft: #3a3630;
  --muted: #7c756a;       /* muted greige text */
  --brass: #b08d4c;       /* refined gold/brass */
  --brass-deep: #8f7038;
  --line: rgba(28, 26, 23, .14);
  --line-soft: rgba(28, 26, 23, .08);

  --font-display: "Cormorant Garamond", "Georgia", serif;
  --font-body: "Jost", "Inter", system-ui, -apple-system, sans-serif;

  --maxw: 1280px;
  --gut: clamp(20px, 5vw, 80px);
  --header-h: 76px;

  --ease: cubic-bezier(.19, 1, .22, 1);
}

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

body {
  background: var(--stone);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(15.5px, 1vw, 17px);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.005em;
}

/* --- Focus states (accessibility) --- */
:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  background: var(--ink); color: var(--stone);
  padding: 10px 18px; z-index: 300;
  border-radius: 2px;
  transition: top .2s var(--ease);
  font-weight: 500; letter-spacing: .04em;
}
.skip-link:focus { top: 12px; }

/* --- Layout helpers --- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.label {
  font-size: .72rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--brass-deep);
  display: inline-flex;
  align-items: center;
  gap: .8em;
}
.label::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--brass);
  display: inline-block;
}
.label.center::before { display: none; }

.section {
  padding-block: clamp(64px, 10vw, 128px);
}
.section-head {
  max-width: 720px;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  margin-top: 18px;
}
.section-head p {
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 60ch;
}
.section-head.center p { margin-inline: auto; }

.lead {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.55;
  color: var(--ink-soft);
  font-weight: 300;
}

/* Thin gold underline that draws in under headings */
.rule-draw {
  position: relative;
  padding-bottom: 4px;
}
.rule-draw::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  height: 2px; width: 100%;
  max-width: 120px;
  background: linear-gradient(90deg, var(--brass), var(--brass-deep));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.1s var(--ease) .15s;
}
.rule-draw.is-in::after { transform: scaleX(1); }
.center .rule-draw::after,
.rule-draw.center::after { left: 50%; transform: translateX(-50%) scaleX(0); transform-origin: center; }
.center .rule-draw.is-in::after,
.rule-draw.center.is-in::after { transform: translateX(-50%) scaleX(1); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .7em;
  padding: 15px 30px;
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease), border-color .35s var(--ease);
}
.btn-primary {
  background: var(--ink);
  color: var(--stone);
}
.btn-primary:hover { background: var(--brass-deep); transform: translateY(-2px); }
.btn-ghost {
  border: 1px solid var(--line);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--stone); transform: translateY(-2px); }
.btn-gold {
  background: var(--brass);
  color: #fff;
}
.btn-gold:hover { background: var(--brass-deep); transform: translateY(-2px); }
.btn .arr { transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

/* ===========================================================
   HEADER
   =========================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.site-header.is-stuck {
  background: rgba(239, 233, 224, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line-soft);
  height: 64px;
}
.brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: .18em;
  display: flex;
  align-items: center;
  gap: .55em;
}
.brand .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brass);
  display: inline-block;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 40px);
}
.nav a {
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
  transition: color .25s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav a[aria-current="page"] { color: var(--ink); }
.nav .btn { padding: 11px 22px; }

.burger {
  display: none;
  width: 42px; height: 42px;
  position: relative;
  z-index: 210;
}
.burger span {
  position: absolute;
  left: 9px; right: 9px; height: 1.5px;
  background: var(--ink);
  transition: transform .35s var(--ease), opacity .25s var(--ease);
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: var(--stone);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--gut);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
}
.nav-overlay.is-open { opacity: 1; visibility: visible; transform: none; }
.nav-overlay a {
  font-family: var(--font-display);
  font-size: clamp(2rem, 9vw, 3.2rem);
  font-weight: 500;
  padding: 8px 0;
  color: var(--ink);
  border-bottom: 1px solid var(--line-soft);
}
.nav-overlay a[aria-current="page"] { color: var(--brass-deep); }

/* ===========================================================
   HERO
   =========================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-top: var(--header-h);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%; height: 120%;
  object-fit: cover;
  will-change: transform;
}
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(28,26,23,.35) 0%, rgba(28,26,23,.15) 40%, rgba(28,26,23,.75) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  color: var(--stone);
  padding-bottom: clamp(48px, 8vw, 96px);
  width: 100%;
}
.hero .label { color: #e7cfa0; }
.hero .label::before { background: #e7cfa0; }
.hero h1 {
  font-size: clamp(3rem, 9vw, 7rem);
  font-weight: 500;
  margin: 22px 0 0;
  max-width: 15ch;
  text-shadow: 0 2px 30px rgba(0,0,0,.25);
}
.hero h1 em { font-style: italic; color: #e7cfa0; }
.hero p {
  margin-top: 24px;
  max-width: 46ch;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 300;
  color: rgba(247,244,238,.9);
}
.hero-actions {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.hero-actions .btn-ghost { border-color: rgba(247,244,238,.4); color: var(--stone); }
.hero-actions .btn-ghost:hover { background: var(--stone); color: var(--ink); border-color: var(--stone); }
.scroll-cue {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(247,244,238,.75);
  font-size: .68rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.scroll-cue span {
  width: 1px; height: 42px;
  background: linear-gradient(rgba(247,244,238,.7), transparent);
  animation: cue 2.4s var(--ease) infinite;
}
@keyframes cue { 0%{transform:scaleY(0);transform-origin:top} 45%{transform:scaleY(1);transform-origin:top} 55%{transform:scaleY(1);transform-origin:bottom} 100%{transform:scaleY(0);transform-origin:bottom} }

/* Small page hero (interior pages) */
.page-hero {
  padding-top: calc(var(--header-h) + clamp(60px, 10vw, 120px));
  padding-bottom: clamp(40px, 6vw, 72px);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 500;
  margin-top: 18px;
}
.page-hero p { margin-top: 22px; max-width: 58ch; color: var(--ink-soft); font-size: 1.1rem; }

/* ===========================================================
   REVEAL animation
   =========================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* ===========================================================
   USP / TRUST strip
   =========================================================== */
.usps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border-block: 1px solid var(--line);
}
.usp {
  background: var(--stone);
  padding: clamp(28px, 4vw, 44px) clamp(20px, 3vw, 36px);
}
.usp .n {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 500;
  color: var(--ink);
  line-height: 1;
}
.usp .n .suf { color: var(--brass); }
.usp .t {
  margin-top: 12px;
  font-size: .82rem;
  letter-spacing: .06em;
  color: var(--muted);
  text-transform: uppercase;
}

/* ===========================================================
   FEATURED / PROPERTY CARDS
   =========================================================== */
.grid-props {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: clamp(24px, 3vw, 40px);
}
.prop {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.prop:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 60px -30px rgba(28,26,23,.45);
  border-color: var(--line);
}
.prop-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.prop-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.prop:hover .prop-media img { transform: scale(1.07); }
.badge {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(28,26,23,.82);
  color: var(--stone);
  font-size: .64rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 2px;
  backdrop-filter: blur(4px);
}
.badge.sold { background: rgba(176,141,76,.92); color:#fff; }
.badge.new { background: rgba(28,26,23,.82); }
.badge.reserved { background: rgba(124,117,106,.9); }
.prop-body {
  padding: 26px 26px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.prop-loc {
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brass-deep);
}
.prop h3 {
  font-size: 1.55rem;
  margin: 10px 0 0;
}
.prop .price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  margin-top: 14px;
  color: var(--ink);
}
.prop .price small { font-size: .7rem; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.prop-facts {
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  gap: 22px;
  border-top: 1px solid var(--line-soft);
  font-size: .82rem;
  color: var(--ink-soft);
}
.prop-facts span { display: flex; flex-direction: column; }
.prop-facts b { font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; }
.prop-facts em { font-style: normal; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* ===========================================================
   SPLIT / IMAGE FEATURE
   =========================================================== */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.split.rev { direction: rtl; }
.split.rev > * { direction: ltr; }
.split-media {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  aspect-ratio: 5 / 6;
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media .tag {
  position: absolute;
  bottom: 0; left: 0;
  background: var(--stone);
  padding: 16px 22px;
  border-top-right-radius: 3px;
}
.split-media .tag b { font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; display: block; }
.split-media .tag span { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.split-body h2 { font-size: clamp(2rem, 4.5vw, 3.3rem); margin: 18px 0 0; }
.split-body p { margin-top: 20px; color: var(--ink-soft); }
.split-body .mini-list { margin-top: 26px; display: grid; gap: 14px; }
.split-body .mini-list li { display: flex; gap: 14px; align-items: baseline; }
.split-body .mini-list li::before { content: "—"; color: var(--brass); }
.split-body .btn { margin-top: 32px; }

/* ===========================================================
   SERVICE cards
   =========================================================== */
.grid-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
}
.svc {
  background: var(--stone);
  padding: clamp(30px, 4vw, 48px);
  transition: background .4s var(--ease);
}
.svc:hover { background: var(--paper); }
.svc .num {
  font-family: var(--font-display);
  font-size: .95rem;
  color: var(--brass);
  letter-spacing: .1em;
}
.svc h3 { font-size: 1.75rem; margin: 16px 0 0; }
.svc p { margin-top: 14px; color: var(--ink-soft); font-size: .96rem; }
.svc ul { margin-top: 18px; display: grid; gap: 8px; }
.svc ul li { position: relative; padding-left: 20px; font-size: .92rem; color: var(--ink-soft); }
.svc ul li::before { content: ""; position: absolute; left: 0; top: .65em; width: 8px; height: 1px; background: var(--brass); }

/* Detailed leistung block */
.leistung {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: clamp(20px, 4vw, 56px);
  padding-block: clamp(40px, 6vw, 72px);
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.leistung:last-child { border-bottom: none; }
.leistung .idx {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  color: var(--brass);
  font-weight: 500;
  line-height: 1;
}
.leistung h3 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.leistung p { margin-top: 16px; max-width: 60ch; color: var(--ink-soft); }
.leistung .tags { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.leistung .tags span {
  border: 1px solid var(--line);
  padding: 7px 15px;
  border-radius: 40px;
  font-size: .74rem;
  letter-spacing: .06em;
  color: var(--ink-soft);
}

/* ===========================================================
   TEAM
   =========================================================== */
.grid-team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(24px, 3vw, 40px);
}
.member {}
.member-media {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 3px;
  background: var(--stone-2);
  position: relative;
}
.member-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.15); transition: transform .8s var(--ease), filter .8s var(--ease); }
.member:hover .member-media img { transform: scale(1.05); filter: none; }
.member h3 { font-size: 1.45rem; margin-top: 20px; }
.member .role { color: var(--brass-deep); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-top: 6px; }
.member p { margin-top: 12px; font-size: .92rem; color: var(--ink-soft); }

/* Values */
.grid-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(28px, 3vw, 48px);
}
.value h3 { font-size: 1.6rem; }
.value h3 .k { color: var(--brass); font-size: 1rem; margin-right: 8px; }
.value p { margin-top: 12px; color: var(--ink-soft); font-size: .96rem; }

/* ===========================================================
   CTA band
   =========================================================== */
.cta-band {
  position: relative;
  overflow: hidden;
  color: var(--stone);
  text-align: center;
  padding-block: clamp(72px, 12vw, 140px);
}
.cta-band .cta-media { position: absolute; inset: 0; z-index: 0; }
.cta-band .cta-media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band .cta-media::after { content: ""; position: absolute; inset: 0; background: rgba(28,26,23,.78); }
.cta-band .wrap { position: relative; z-index: 2; }
.cta-band .label { color: #e7cfa0; }
.cta-band .label::before { background: #e7cfa0; }
.cta-band h2 { font-size: clamp(2.2rem, 6vw, 4rem); margin: 18px auto 0; max-width: 20ch; }
.cta-band p { margin: 22px auto 0; max-width: 52ch; color: rgba(247,244,238,.85); }
.cta-band .actions { margin-top: 38px; display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }
.cta-band .btn-ghost { border-color: rgba(247,244,238,.4); color: var(--stone); }
.cta-band .btn-ghost:hover { background: var(--stone); color: var(--ink); border-color: var(--stone); }

/* ===========================================================
   CONTACT
   =========================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.contact-info .block { padding-block: 22px; border-bottom: 1px solid var(--line); }
.contact-info .block:first-child { padding-top: 0; }
.contact-info .k { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--brass-deep); }
.contact-info .v { font-family: var(--font-display); font-size: 1.35rem; margin-top: 8px; }
.contact-info .v a { transition: color .25s var(--ease); }
.contact-info .v a:hover { color: var(--brass-deep); }
.contact-info .sub { color: var(--ink-soft); font-size: .95rem; margin-top: 4px; }

.form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label {
  font-size: .74rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-soft); font-weight: 500;
}
.field input, .field select, .field textarea {
  font: inherit;
  font-size: .98rem;
  padding: 14px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink);
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brass);
  background: #fff;
}
.field textarea { resize: vertical; min-height: 140px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form .btn { justify-self: start; margin-top: 6px; }
.form-note { font-size: .82rem; color: var(--muted); }
.form-status {
  padding: 14px 18px;
  border: 1px solid var(--brass);
  background: rgba(176,141,76,.08);
  border-radius: 2px;
  font-size: .92rem;
  color: var(--brass-deep);
  display: none;
}
.form-status.show { display: block; }

.map-embed {
  margin-top: clamp(48px, 6vw, 80px);
  aspect-ratio: 21 / 7;
  border: 1px solid var(--line);
  border-radius: 3px;
  background:
    linear-gradient(rgba(28,26,23,.03), rgba(28,26,23,.03)),
    repeating-linear-gradient(0deg, transparent, transparent 38px, var(--line-soft) 38px, var(--line-soft) 39px),
    repeating-linear-gradient(90deg, transparent, transparent 38px, var(--line-soft) 38px, var(--line-soft) 39px),
    var(--stone-2);
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.map-embed .pin {
  text-align: center;
}
.map-embed .pin .dot {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--brass); margin: 0 auto 12px;
  box-shadow: 0 0 0 6px rgba(176,141,76,.25), 0 0 0 14px rgba(176,141,76,.12);
}
.map-embed .pin b { font-family: var(--font-display); font-size: 1.3rem; display: block; }
.map-embed .pin span { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* ===========================================================
   FOOTER
   =========================================================== */
.site-footer {
  background: var(--ink);
  color: rgba(247,244,238,.72);
  padding-block: clamp(56px, 8vw, 88px) 30px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  padding-bottom: clamp(40px, 6vw, 64px);
  border-bottom: 1px solid rgba(247,244,238,.12);
}
.footer-brand .brand { color: var(--stone); font-size: 1.7rem; }
.footer-brand p { margin-top: 18px; max-width: 34ch; font-size: .95rem; line-height: 1.7; }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(247,244,238,.5); font-weight: 500;
  margin-bottom: 18px;
}
.footer-col ul { display: grid; gap: 12px; }
.footer-col a { font-size: .95rem; transition: color .25s var(--ease); }
.footer-col a:hover { color: var(--brass); }
.footer-bottom {
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .8rem;
  color: rgba(247,244,238,.5);
  letter-spacing: .04em;
}
.footer-bottom .credit { color: rgba(247,244,238,.72); }

/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (max-width: 960px) {
  .usps { grid-template-columns: repeat(2, 1fr); }
  .split, .split.rev { grid-template-columns: 1fr; direction: ltr; }
  .split-media { aspect-ratio: 16 / 10; order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .nav { display: none; }
  .burger { display: block; }
  .leistung { grid-template-columns: 1fr; gap: 8px; }
  .leistung .idx { font-size: 2rem; }
  .field-row { grid-template-columns: 1fr; }
  .map-embed { aspect-ratio: 4 / 3; }
}
@media (max-width: 480px) {
  .usps { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .prop-facts { gap: 16px; }
}

/* ===========================================================
   Reduced motion
   =========================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .rule-draw::after { transform: scaleX(1); }
  .center .rule-draw::after, .rule-draw.center::after { transform: translateX(-50%) scaleX(1); }
  .hero-media img { height: 100%; }
}
