/* ==========================================================================
   LVK Immobilien — Designsystem
   Farben und Proportionen sind aus der Visitenkarte abgeleitet
   (Pixelanalyse der Originaldateien, siehe README.md).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Schriften — selbst gehostet, keine Verbindung zu Google.
      Grund: LG München I, Az. 3 O 17493/20. Dadurch entstehen keine
      einwilligungspflichtigen Cookies und es ist kein Cookie-Banner nötig.
   -------------------------------------------------------------------------- */

/* Cormorant Garamond ist eine Variable Font: eine Datei je Subset für 300–700 */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Poppins"; font-style: normal; font-weight: 300; font-display: swap;
  src: url("../fonts/poppins-300-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins"; font-style: normal; font-weight: 300; font-display: swap;
  src: url("../fonts/poppins-300-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/poppins-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/poppins-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/poppins-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/poppins-500-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}


/* --------------------------------------------------------------------------
   2. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Markenfarben — exakt aus der Visitenkarte gemessen */
  --green:     #053827;
  --green-800: #0A4331;
  --green-900: #03271B;
  --gold:      #C6A86B;
  --gold-soft: #D9C089;
  --ivory:     #F5F1E8;
  --ivory-2:   #EBE5D9;
  --muted:     #5A6B62;

  /* Gold ist Akzent, nie Fläche — Linien daher stets transparent gemischt */
  --rule-on-ivory: rgba(198, 168, 107, .55);
  --rule-on-green: rgba(198, 168, 107, .34);
  --hair-on-ivory: rgba(5, 56, 39, .13);
  --hair-on-green: rgba(245, 241, 232, .16);

  --serif: "Cormorant Garamond", "EB Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Poppins", "Century Gothic", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Fluide Typoskala */
  --fs-display: clamp(2.6rem, 1.7rem + 3.9vw, 5rem);
  --fs-h1:      clamp(2.2rem, 1.6rem + 2.5vw, 3.75rem);
  --fs-h2:      clamp(1.8rem, 1.42rem + 1.6vw, 2.8rem);
  --fs-h3:      clamp(1.28rem, 1.16rem + .48vw, 1.55rem);
  --fs-body:    1.0625rem;
  --fs-small:   .9375rem;
  --fs-label:   .72rem;

  --container: 1200px;
  --gutter:    clamp(1.25rem, .6rem + 2.6vw, 2.5rem);
  --section-y: clamp(4.5rem, 3rem + 6vw, 8.5rem);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 78px;
}

/* --------------------------------------------------------------------------
   3. Reset und Grundlagen
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--green);
  font-family: var(--sans);
  font-weight: 300;
  font-size: var(--fs-body);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: .005em;
  margin: 0 0 .6em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); font-weight: 300; }
h2 { font-size: var(--fs-h2); font-weight: 300; }
h3 { font-size: var(--fs-h3); font-weight: 500; }
h4 { font-size: 1.1rem; font-weight: 500; }

p { margin: 0 0 1.15em; max-width: 68ch; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration-color: var(--rule-on-ivory); text-underline-offset: .25em; }
a:hover { text-decoration-color: currentColor; }

img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0 0 1.15em; padding-left: 1.15em; }
li { margin-bottom: .45em; }
li::marker { color: var(--gold); }
strong { font-weight: 500; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--gold); color: var(--green); }

.skip-link {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -130%);
  z-index: 200; background: var(--green); color: var(--ivory);
  padding: .8rem 1.6rem; font-size: var(--fs-small); text-decoration: none;
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* --------------------------------------------------------------------------
   4. Layout
   -------------------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 840px; }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }

.section--green { background: var(--green); color: var(--ivory); }
.section--green h1, .section--green h2, .section--green h3, .section--green h4 { color: var(--ivory); }
.section--green a { text-decoration-color: var(--rule-on-green); }
.section--ivory-2 { background: var(--ivory-2); }
/* Folgeabschnitt auf gleichem Hintergrund: sonst addieren sich beide Abstände.
   Die Goldlinie der Überschrift übernimmt die Trennung. */
.section--continued { padding-top: 0; }

/* Kleinversal-Label — das wiederkehrende Erkennungsmerkmal der Marke */
.eyebrow {
  display: block; margin: 0 0 1.35rem;
  font-family: var(--sans); font-weight: 400; font-size: var(--fs-label);
  letter-spacing: .22em; text-transform: uppercase; color: var(--gold);
}
.eyebrow--line { display: flex; align-items: center; gap: 1.15rem; }
.eyebrow--line::after { content: ""; flex: 1 1 auto; height: 1px; background: var(--rule-on-ivory); }
.section--green .eyebrow--line::after { background: var(--rule-on-green); }

.lede { font-size: clamp(1.08rem, 1rem + .35vw, 1.28rem); line-height: 1.68; font-weight: 300; }
.muted { color: var(--muted); }
.section--green .muted { color: rgba(245, 241, 232, .74); }

.stack > * + * { margin-top: 1.15em; }
.center { text-align: center; }
.center p { margin-inline: auto; }
.mt-l { margin-top: clamp(2rem, 1.4rem + 2vw, 3.25rem); }
/* Lange Straßennamen mit Bindestrichen nicht mitten im Namen umbrechen */
.nowrap { white-space: nowrap; }

.grid { display: grid; gap: clamp(1.5rem, 1rem + 2vw, 2.75rem); }
@media (min-width: 640px)  { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px)  { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 620px)  { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }

/* --------------------------------------------------------------------------
   5. Marke: Logo, Eckwinkel, Claim-Trenner
   -------------------------------------------------------------------------- */

/* Monogramm im Doppelrahmen — Nachbau der Visitenkarten-Vorderseite */
.monogram { display: block; width: 100%; height: auto; }
.monogram__frame { fill: none; stroke: var(--gold); }
.monogram__letters { fill: var(--gold); font-family: var(--serif); font-weight: 500; }

.logo-lockup { display: inline-flex; align-items: center; gap: .85rem; text-decoration: none; }
.logo-lockup .monogram { width: 42px; flex: none; }
.logo-lockup__word {
  display: block; font-family: var(--sans); font-weight: 400;
  font-size: .95rem; letter-spacing: .2em; text-transform: uppercase;
  line-height: 1; color: var(--green);
}
.logo-lockup__sub {
  display: block; margin-top: .34rem;
  font-family: var(--sans); font-weight: 300; font-size: .58rem;
  letter-spacing: .26em; text-transform: uppercase; color: var(--gold);
  white-space: nowrap;
}
/* Auf sehr schmalen Schirmen bräche die Unterzeile um und sprengte die
   Kopfhöhe — dort trägt die Wortmarke allein. */
@media (max-width: 480px) { .site-header .logo-lockup__sub { display: none; } }
.section--green .logo-lockup__word, .site-header--over .logo-lockup__word { color: var(--ivory); }

/* Gestapeltes Lockup wie auf der Karte */
.logo-stacked { text-align: center; }
.logo-stacked .monogram { width: clamp(96px, 8vw, 132px); margin: 0 auto 1.5rem; }
.logo-stacked__word {
  font-family: var(--sans); font-weight: 300;
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem);
  letter-spacing: .3em; text-transform: uppercase; color: var(--gold);
  margin: 0 0 0 .3em; line-height: 1;
}

/* Eckwinkel — auf der Kartenrückseite der Rahmen für den QR-Code */
.brackets { position: relative; padding: clamp(1.25rem, 1rem + 1vw, 1.9rem); }
.brackets::before, .brackets::after {
  content: ""; position: absolute; width: 34px; height: 34px; pointer-events: none;
  border-color: var(--gold); border-style: solid; border-width: 0;
}
.brackets::before { top: 0; left: 0;  border-top-width: 1.5px; border-left-width: 1.5px; }
.brackets::after  { top: 0; right: 0; border-top-width: 1.5px; border-right-width: 1.5px; }
.brackets > .brackets__b { position: absolute; inset: 0; pointer-events: none; }
.brackets > .brackets__b::before, .brackets > .brackets__b::after {
  content: ""; position: absolute; width: 34px; height: 34px;
  border-color: var(--gold); border-style: solid; border-width: 0;
}
.brackets > .brackets__b::before { bottom: 0; left: 0;  border-bottom-width: 1.5px; border-left-width: 1.5px; }
.brackets > .brackets__b::after  { bottom: 0; right: 0; border-bottom-width: 1.5px; border-right-width: 1.5px; }

/* Doppelrahmen — Motiv des Logos */
.double-frame { position: relative; border: 1px solid var(--rule-on-ivory); padding: clamp(1.6rem, 1.2rem + 1.6vw, 2.75rem); }
.double-frame::before {
  content: ""; position: absolute; inset: 7px; border: 1px solid var(--rule-on-ivory); pointer-events: none;
}
.section--green .double-frame, .section--green .double-frame::before { border-color: var(--rule-on-green); }

/* Claim-Trenner: zwei Goldlinien, Claim dazwischen — wie auf der Karte */
.claim-rule {
  display: flex; align-items: center; gap: clamp(1rem, .6rem + 1.6vw, 2.25rem);
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(.98rem, .92rem + .32vw, 1.22rem);
  letter-spacing: .12em; text-transform: uppercase; color: var(--gold);
  text-align: center; margin: 0; max-width: none;
}
.claim-rule::before, .claim-rule::after {
  content: ""; flex: 1 1 auto; height: 1px; background: var(--rule-on-green);
}
.section--ivory .claim-rule::before, .section--ivory .claim-rule::after,
.claim-rule--ivory::before, .claim-rule--ivory::after { background: var(--rule-on-ivory); }
.claim-rule > span { flex: 0 1 auto; }
@media (max-width: 620px) {
  .claim-rule { flex-direction: column; gap: 1rem; letter-spacing: .1em; line-height: 1.5; }
  .claim-rule::before, .claim-rule::after { width: 84px; flex: none; }
}

/* --------------------------------------------------------------------------
   6. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .85rem 1.9rem;
  font-family: var(--sans); font-weight: 400; font-size: .84rem;
  letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  border: 1px solid var(--gold); cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn--gold { background: var(--gold); color: var(--green); }
.btn--gold:hover { background: var(--gold-soft); border-color: var(--gold-soft); }
.btn--outline { background: transparent; color: var(--gold); }
.btn--outline:hover { background: var(--gold); color: var(--green); }
.section--ivory .btn--outline, .btn--outline-green { color: var(--green); border-color: var(--green); background: transparent; }
.btn--outline-green:hover { background: var(--green); color: var(--ivory); }

.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }
.btn-row--center { justify-content: center; }
/* Gestapelte Buttons auf schmalen Schirmen gleich breit — sonst wirkt es ausgefranst */
@media (max-width: 520px) {
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { width: 100%; }
}

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .84rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); text-decoration: none; font-weight: 400;
  border-bottom: 1px solid var(--rule-on-green); padding-bottom: .3rem;
  transition: border-color .25s var(--ease), gap .25s var(--ease);
}
.link-arrow:hover { border-color: var(--gold); gap: .8rem; }
.link-arrow svg { width: 16px; height: 16px; flex: none; }

/* --------------------------------------------------------------------------
   7. Kopfbereich und Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: var(--ivory);
  border-bottom: 1px solid var(--hair-on-ivory);
  transition: background-color .35s var(--ease), border-color .35s var(--ease);
}
/* Über dem grünen Hero transparent */
.site-header--over { background: transparent; border-bottom-color: transparent; }
.site-header--over .nav__link { color: rgba(245, 241, 232, .88); }
.site-header--over .nav__link:hover { color: var(--ivory); }
.site-header--over .nav-toggle__bar { background: var(--ivory); }

.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; width: 100%; }

.nav { display: none; }
@media (min-width: 1040px) {
  .nav { display: flex; align-items: center; gap: clamp(1.2rem, .4rem + 1.4vw, 2.1rem); }
}
.nav__link {
  font-size: .78rem; letter-spacing: .15em; text-transform: uppercase;
  text-decoration: none; color: var(--green); font-weight: 400;
  padding: .4rem 0; position: relative; white-space: nowrap;
  transition: color .25s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px;
  background: var(--gold); transition: right .3s var(--ease);
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after { right: 0; }
.nav__link[aria-current="page"] { color: var(--gold); }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 48px; height: 48px; padding: 0 11px; margin-right: -11px;
  background: none; border: 0; cursor: pointer;
}
@media (min-width: 1040px) { .nav-toggle { display: none; } }
.nav-toggle__bar {
  display: block; height: 1.5px; width: 100%; background: var(--green);
  transition: transform .3s var(--ease), opacity .2s var(--ease), background-color .35s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobiler Vollbild-Drawer */
.drawer {
  position: fixed; inset: 0; z-index: 99;
  background: var(--green); color: var(--ivory);
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + 2rem) var(--gutter) 2.5rem;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  overflow-y: auto;
}
.drawer[data-open="true"] { opacity: 1; visibility: visible; transform: none; }
@media (min-width: 1040px) { .drawer { display: none; } }
.drawer__list { list-style: none; margin: 0 0 auto; padding: 0; }
.drawer__list li { margin: 0; border-bottom: 1px solid var(--rule-on-green); }
.drawer__link {
  display: block; padding: 1.05rem 0; text-decoration: none;
  font-family: var(--serif); font-size: 1.65rem; font-weight: 300; color: var(--ivory);
}
.drawer__link[aria-current="page"] { color: var(--gold); }
.drawer__foot { margin-top: 2.5rem; }
.drawer__claim {
  font-family: var(--serif); font-size: .92rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--gold); text-align: center; margin: 0;
}
body[data-nav-open="true"] { overflow: hidden; }

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative; background: var(--green); color: var(--ivory);
  padding-block: calc(var(--header-h) + clamp(4rem, 2.5rem + 7vw, 8rem)) clamp(4rem, 2.5rem + 6vw, 7.5rem);
  overflow: hidden;
}
/* Sehr dezente Tiefe — kein Foto, wie besprochen rein typografisch */
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(115% 78% at 78% 8%, rgba(198,168,107,.10), transparent 62%);
}
.hero > * { position: relative; z-index: 1; }
.hero__inner { max-width: 900px; }
.hero__title { font-size: var(--fs-display); font-weight: 300; margin-bottom: .35em; }
.hero__title em { font-style: normal; color: var(--gold); }
.hero__lede { max-width: 56ch; color: rgba(245, 241, 232, .82); }
.hero__actions { margin-top: clamp(2rem, 1.4rem + 2vw, 3rem); }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; align-items: center;
  margin-top: clamp(2.5rem, 2rem + 2vw, 4rem);
  padding-top: 1.6rem; border-top: 1px solid var(--rule-on-green);
  font-size: var(--fs-label); letter-spacing: .18em; text-transform: uppercase;
  color: rgba(245, 241, 232, .66); max-width: none;
}
.hero__meta span { display: inline-flex; align-items: center; gap: .55rem; }
.hero__meta span::before { content: ""; width: 4px; height: 4px; background: var(--gold); flex: none; }

/* Seitenkopf für Unterseiten */
.pagehead {
  background: var(--green); color: var(--ivory);
  padding-block: calc(var(--header-h) + clamp(3rem, 2rem + 4vw, 5.5rem)) clamp(3rem, 2rem + 4vw, 5.5rem);
}
.pagehead__lede { max-width: 60ch; color: rgba(245, 241, 232, .82); }

.breadcrumb { font-size: var(--fs-label); letter-spacing: .16em; text-transform: uppercase; color: rgba(245,241,232,.6); margin: 0 0 1.5rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; }
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before { content: "·"; margin-right: .5rem; color: var(--gold); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }

/* --------------------------------------------------------------------------
   9. Karten und Inhalte
   -------------------------------------------------------------------------- */

/* Zwei gleichwertige Eigentümer-Einstiege: Verkaufen und Vermieten */
.track {
  display: flex; flex-direction: column;
  padding: clamp(1.9rem, 1.4rem + 2vw, 3rem);
  background: var(--ivory); border: 1px solid var(--rule-on-ivory);
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.track:hover { border-color: var(--gold); transform: translateY(-3px); }
@media (prefers-reduced-motion: reduce) { .track:hover { transform: none; } }
.track__num {
  font-family: var(--serif); font-size: 1.05rem; color: var(--gold);
  letter-spacing: .2em; margin-bottom: 1.1rem;
}
.track p { flex: 1 1 auto; }
.track .link-arrow { align-self: flex-start; margin-top: 1.6rem; border-color: var(--rule-on-ivory); }

/* Leistungskarte */
.service { border-top: 1px solid var(--rule-on-ivory); padding-top: 1.6rem; }
.section--green .service { border-color: var(--rule-on-green); }
.service__icon { width: 34px; height: 34px; stroke: var(--gold); fill: none; stroke-width: 1.25; margin-bottom: 1.1rem; }
.service h3 { margin-bottom: .5em; }
.service p { font-size: var(--fs-small); color: var(--muted); }
.section--green .service p { color: rgba(245, 241, 232, .74); }

/* Wertekarte */
.value { border-left: 1px solid var(--rule-on-green); padding-left: clamp(1.1rem, .8rem + 1vw, 1.75rem); }
.value__num { font-family: var(--serif); font-size: 1.6rem; color: var(--gold); line-height: 1; display: block; margin-bottom: .9rem; }
.value h3 { font-size: 1.15rem; margin-bottom: .45em; }
.value p { font-size: var(--fs-small); color: rgba(245, 241, 232, .74); }

/* Ablauf-Zeitleiste */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.step { position: relative; padding: 0 0 2.4rem 3.25rem; margin: 0; }
.step:last-child { padding-bottom: 0; }
.step::before {
  content: ""; position: absolute; left: 13px; top: 30px; bottom: -6px;
  width: 1px; background: var(--rule-on-ivory);
}
.step:last-child::before { display: none; }
.step__dot {
  position: absolute; left: 0; top: 2px;
  width: 27px; height: 27px; border: 1px solid var(--gold); border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--serif); font-size: .88rem; color: var(--gold); background: var(--ivory);
}
.section--green .step::before { background: var(--rule-on-green); }
.section--green .step__dot { background: var(--green); }
.step h3 { margin-bottom: .4em; }
.step p { font-size: var(--fs-small); color: var(--muted); }
.section--green .step p { color: rgba(245, 241, 232, .74); }

@media (min-width: 900px) {
  .steps--rail { grid-template-columns: repeat(3, 1fr); gap: 2.75rem clamp(1.5rem, 1rem + 2vw, 3rem); }
  .steps--rail .step { padding: 3.25rem 0 0; }
  .steps--rail .step::before { left: 30px; right: -3rem; top: 13px; bottom: auto; width: auto; height: 1px; }
  .steps--rail .step:nth-child(3n)::before { display: none; }
  .steps--rail .step__dot { top: 0; left: 0; }
}

/* Objekt- und Referenzkarte */
.property { display: flex; flex-direction: column; background: var(--ivory); border: 1px solid var(--rule-on-ivory); }
.property__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ivory-2); }
.property__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.property:hover .property__media img { transform: scale(1.035); }
@media (prefers-reduced-motion: reduce) { .property:hover .property__media img { transform: none; } }
.property__status {
  position: absolute; left: 0; top: 1.1rem;
  background: var(--green); color: var(--gold);
  font-size: var(--fs-label); letter-spacing: .18em; text-transform: uppercase;
  padding: .5rem 1.1rem;
}
.property__body { padding: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); display: flex; flex-direction: column; flex: 1 1 auto; }
.property__place { font-size: var(--fs-label); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin: 0 0 .7rem; }
.property__title { font-size: 1.32rem; margin-bottom: .5em; }
.property__desc { font-size: var(--fs-small); color: var(--muted); }
.property__facts {
  list-style: none; margin: 1.35rem 0 0; padding: 1.2rem 0 0;
  border-top: 1px solid var(--hair-on-ivory);
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem;
  font-size: var(--fs-small);
}
.property__facts li { margin: 0; display: flex; flex-direction: column; }
.property__facts dt, .property__facts .k {
  font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.property__facts .v { font-family: var(--serif); font-size: 1.12rem; }
.property__result {
  margin-top: 1.35rem; padding-top: 1.2rem; border-top: 1px solid var(--hair-on-ivory);
  font-family: var(--serif); font-size: 1.16rem; color: var(--green);
}
.property__result strong { color: var(--gold); font-weight: 500; }

/* Leerzustand für „Aktuelle Angebote“ */
.empty-state { text-align: center; }
.empty-state h3 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); font-weight: 300; }
.empty-state p { margin-inline: auto; max-width: 54ch; }

/* Energieausweis-Angaben nach § 87 GEG — Pflicht bei aktiven Inseraten */
.geg {
  margin-top: 1.35rem; padding-top: 1.2rem; border-top: 1px solid var(--hair-on-ivory);
  font-size: var(--fs-small); color: var(--muted);
}
.geg dl { display: grid; grid-template-columns: auto 1fr; gap: .3rem 1rem; margin: .6rem 0 0; }
.geg dt { font-size: var(--fs-label); letter-spacing: .12em; text-transform: uppercase; }
.geg dd { margin: 0; }

/* Zitat / Aussage */
.statement { font-family: var(--serif); font-size: clamp(1.35rem, 1.1rem + 1.2vw, 2.05rem); font-weight: 300; line-height: 1.4; }
.statement p { max-width: 26ch; }

/* FAQ über natives details/summary — funktioniert ohne JavaScript */
.faq { border-top: 1px solid var(--rule-on-ivory); }
.faq details { border-bottom: 1px solid var(--hair-on-ivory); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.35rem 2.5rem 1.35rem 0; position: relative;
  font-family: var(--serif); font-size: 1.22rem; font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: .4rem; top: 50%;
  width: 11px; height: 11px; margin-top: -7px;
  border-right: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold);
  transform: rotate(45deg); transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details > div { padding: 0 2.5rem 1.5rem 0; }
.faq p { font-size: var(--fs-small); color: var(--muted); }

/* --------------------------------------------------------------------------
   10. Kontakt
   -------------------------------------------------------------------------- */
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { display: flex; align-items: flex-start; gap: 1.1rem; margin: 0 0 1.6rem; }
.contact-list__icon { width: 30px; height: 30px; flex: none; stroke: var(--gold); fill: none; stroke-width: 1.25; margin-top: .1rem; }
.contact-list__k { display: block; font-size: var(--fs-label); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: .2rem; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--gold); }

/* QR-Code im Eckwinkel-Rahmen — Motiv der Kartenrückseite.
   Die Eckwinkel bleiben transparent, nur die QR-Kachel selbst ist hell:
   QR-Leser brauchen einen hellen Grund, das Ornament nicht. */
.qr-frame { display: inline-block; }
.qr-card { display: block; background: var(--ivory); padding: .55rem; }
.qr-card__img { display: block; width: clamp(112px, 11vw, 138px); height: auto; }
.qr-card__label {
  display: block; margin-top: .9rem; text-align: center;
  font-size: var(--fs-label); letter-spacing: .18em; text-transform: uppercase; color: var(--gold);
}
.qr-hide-mobile { display: none; }
@media (min-width: 700px) { .qr-hide-mobile { display: inline-block; } .qr-show-mobile { display: none; } }

/* Formular */
.form { display: grid; gap: 1.35rem; }
.field { display: grid; gap: .5rem; }
.field label { font-size: var(--fs-label); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.field .req { color: var(--gold); }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 1rem; font-weight: 300; color: var(--green);
  background: var(--ivory); border: 1px solid var(--rule-on-ivory);
  padding: .85rem 1rem; min-height: 48px; width: 100%;
  transition: border-color .25s var(--ease);
}
.section--ivory-2 .field input, .section--ivory-2 .field select, .section--ivory-2 .field textarea { background: var(--ivory); }
.field textarea { min-height: 148px; resize: vertical; line-height: 1.65; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--gold); }
.field input::placeholder, .field textarea::placeholder { color: rgba(90, 107, 98, .6); }
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: right 1.15rem center, right .8rem center;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.6rem;
}
.field--error input, .field--error select, .field--error textarea { border-color: #9B3B2E; }
.field__error { font-size: var(--fs-small); color: #9B3B2E; }
.field--check { grid-template-columns: auto 1fr; align-items: start; gap: .85rem; }
.field--check input { width: 20px; height: 20px; min-height: 0; margin-top: .28rem; accent-color: var(--green); }
.field--check label { font-size: var(--fs-small); letter-spacing: 0; text-transform: none; color: var(--muted); line-height: 1.6; }
@media (min-width: 700px) { .form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.35rem; } }

/* Honeypot — für Menschen unsichtbar, für Bots ein Köder */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-note { font-size: var(--fs-small); color: var(--muted); }
.alert { padding: 1.1rem 1.4rem; border: 1px solid var(--rule-on-ivory); font-size: var(--fs-small); }
.alert--ok { border-color: var(--gold); background: rgba(198, 168, 107, .1); }
.alert--error { border-color: #9B3B2E; background: rgba(155, 59, 46, .07); }

/* --------------------------------------------------------------------------
   11. Fußbereich
   -------------------------------------------------------------------------- */
.site-footer { background: var(--green); color: rgba(245, 241, 232, .78); padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem) 2.5rem; }
.site-footer h2, .site-footer h3 { color: var(--ivory); }
/* Der Footer ist grün, trägt aber nicht .section--green — Wortmarke sonst unsichtbar */
.site-footer .logo-lockup__word { color: var(--ivory); }
.site-footer a { text-decoration-color: var(--rule-on-green); }
.footer__grid { display: grid; gap: clamp(2.25rem, 1.5rem + 3vw, 3.5rem); }
@media (min-width: 760px)  { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1040px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr auto; } }
.footer__title { font-size: var(--fs-label); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin: 0 0 1.25rem; font-family: var(--sans); font-weight: 400; }
.footer__list { list-style: none; margin: 0; padding: 0; font-size: var(--fs-small); }
.footer__list li { margin-bottom: .7rem; }
.footer__list a { text-decoration: none; }
.footer__list a:hover { color: var(--gold); }
.footer__claim { margin-block: clamp(2.75rem, 2rem + 3vw, 4.5rem) 2rem; }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem;
  padding-top: 1.8rem; border-top: 1px solid var(--rule-on-green);
  font-size: var(--fs-small); color: rgba(245, 241, 232, .58);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.footer__legal a { text-decoration: none; }
.footer__legal a:hover { color: var(--gold); }

/* --------------------------------------------------------------------------
   12. Dezente Einblend-Animation
       Ohne JavaScript bleibt alles sichtbar (kein Inhalt geht verloren).
   -------------------------------------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(16px); }
.js [data-reveal].is-visible {
  opacity: 1; transform: none;
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; }
  .js [data-reveal].is-visible { transition: none; }
}

/* --------------------------------------------------------------------------
   13. Rechtstexte
   -------------------------------------------------------------------------- */
.legal h2 { font-size: clamp(1.4rem, 1.2rem + .9vw, 1.9rem); margin-top: 2.75rem; }
.legal h3 { font-size: 1.16rem; margin-top: 1.9rem; }
.legal p, .legal li { font-size: var(--fs-small); }
.legal address { font-style: normal; }
.legal__box { border-left: 1px solid var(--gold); padding-left: 1.5rem; margin: 1.5rem 0; }
/* Noch zu ergänzende Angaben sind bewusst sichtbar markiert */
.todo {
  background: rgba(198, 168, 107, .22); border-bottom: 1px solid var(--gold);
  padding: .1em .35em; font-family: var(--sans); font-size: .92em;
}

@media print {
  .site-header, .drawer, .nav-toggle, .skip-link { display: none !important; }
  body { background: #fff; color: #000; }
}
