/* ============================================================
   MONTAURIO REAL ESTATE — Buy-Side Luxury Property Advisory, Mallorca
   Static · Mobile-First · Fluid Typography · Premium / Apple-quiet
   Marken-Konstanten zentral: brand.config.json · Rename: rename_brand.py
   ============================================================ */

:root {
  /* ---- Color tokens (Navy primary · Gold/Sand accent · viel Weiss) ---- */
  --bg:        #ffffff;
  --bg-soft:   #f7f6f3;        /* helles Warmgrau */
  --bg-soft-2: #f1efe9;
  --bg-sand:   #efe7d6;        /* Sand-Akzentflaeche */
  --bg-cream:  #faf8f3;

  --navy:      #111113;        /* PRIMAER — echtes Schwarz statt Marineblau */
  --navy-2:    #202024;
  --navy-deep: #000000;        /* tiefste Flaeche: Hero/Footer/bg-navy */

  --ink:       #141416;        /* Texte (neutral, nicht blaustichig) */
  --ink-2:     #2b2b2f;
  --muted:     #5f5f66;        /* Sekundaertext */
  --muted-2:   #8b8b93;
  --muted-3:   #b8b8bf;

  --line:      #e7e5df;
  --line-2:    #dcd9d0;
  --line-soft: #f0eee8;

  --gold:      #c0a062;        /* GOLD — Akzent, Emphasis, CTA-Linien */
  --gold-2:    #a8854a;        /* dunkleres Gold (Hover/Text auf hell) */
  --gold-soft: #e7d9b6;
  --gold-bg:   #f6efdd;

  /* ---- Fluid Typography ---- */
  --fs-display: clamp(2.6rem, 5.2vw + 1rem, 5.5rem);
  --fs-h1:      clamp(2.2rem, 4vw + 1rem, 4.25rem);
  --fs-h2:      clamp(1.8rem, 2.6vw + 1rem, 3.1rem);
  --fs-h3:      clamp(1.35rem, 1.4vw + 0.8rem, 1.85rem);
  --fs-h4:      clamp(1.1rem, 0.5vw + 0.9rem, 1.3rem);
  --fs-card-h:  clamp(1.3rem, 0.7vw + 1.05rem, 1.55rem);  /* Card-/Step-/Pain-Ueberschriften, groesser als fs-h4 */
  --fs-body:    clamp(1rem, 0.3vw + 0.92rem, 1.075rem);
  --fs-lede:    clamp(1.1rem, 0.5vw + 1rem, 1.35rem);
  --fs-small:   0.875rem;
  --fs-eyebrow: 0.72rem;

  /* ---- Spacing / Layout ---- */
  --section-y:       clamp(4.5rem, 9vw, 9rem);
  --section-y-tight: clamp(3rem, 5vw, 5.5rem);
  --gutter:          clamp(1.25rem, 4vw, 2.25rem);
  --max:             1200px;
  --max-content:     720px;

  /* ---- Radii ---- */
  --radius:    14px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --radius-pill: 999px;

  /* ---- Fonts ---- */
  --serif: "Cormorant Garamond", "Lora", "Times New Roman", Georgia, serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* ---- Shadows ---- */
  --shadow-card: 0 1px 2px rgba(0,0,0,.05), 0 12px 30px -16px rgba(0,0,0,.16);
  --shadow-lg:   0 40px 80px -40px rgba(0,0,0,.45);
  --shadow-gold: 0 0 0 1px rgba(192,160,98,.25), 0 24px 48px -28px rgba(192,160,98,.4);

  /* ---- Easing ---- */
  --ease:     cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ============================================================ RESET */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-wrap: pretty;
  -webkit-tap-highlight-color: transparent;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
img, picture, svg, video { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================ LAYOUT */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; }
.section.tight { padding: var(--section-y-tight) 0; }
.section-narrow .wrap { max-width: 940px; }
.bg-soft { background: var(--bg-soft); }
.bg-sand { background: var(--bg-cream); }
.bg-navy { background: var(--navy-deep); color: #ededee; }
.center { text-align: center; }
.measure { max-width: 62ch; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ============================================================ TYPOGRAPHY */
.eyebrow {
  display: inline-block;
  font-size: var(--fs-eyebrow);
  line-height: 1.45;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-2);
}
.bg-navy .eyebrow { color: var(--gold); }
.display {
  font-family: var(--serif);
  font-weight: 500;
  font-size: var(--fs-display);
  line-height: 1.04;
  letter-spacing: -.01em;
  margin: 0;
  color: var(--navy);
}
.bg-navy .display, .bg-navy h1, .bg-navy h2 { color: #fff; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--navy); letter-spacing: -.01em; }
h2.h2 { font-size: var(--fs-h2); line-height: 1.15; margin: 0 0 .5em; }
h3.h3 { font-size: var(--fs-h3); line-height: 1.18; margin: 0 0 .4em; }
.display em, h1 em, h2 em { font-style: italic; color: var(--gold-2); }
.bg-navy .display em { color: var(--gold); }
.lede {
  font-size: var(--fs-lede);
  line-height: 1.55;
  color: var(--muted);
  font-weight: 400;
  margin: 1.1em 0 0;
}
.bg-navy .lede { color: #b9b9c0; }
.serif { font-family: var(--serif); font-style: italic; }
.subhead { font-size: var(--fs-lede); color: var(--muted); max-width: 60ch; margin: 1.1em auto 0; }
p { margin: 0 0 1.1em; }
.kicker { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--gold-2); }

/* ============================================================ BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-size: .95rem; font-weight: 600; line-height: 1;
  padding: 1.05em 1.7em; border-radius: var(--radius-pill);
  transition: transform .25s var(--ease-out), background .25s var(--ease), box-shadow .25s var(--ease), color .25s;
  white-space: nowrap;
}
.btn svg { transition: transform .25s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: var(--gold-2); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-gold); }
.btn-light { background: #fff; color: var(--navy); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-light:hover { box-shadow: inset 0 0 0 1px var(--navy); transform: translateY(-2px); }
.btn-ghost { color: var(--navy); padding-left: .2em; padding-right: .2em; }
.btn-ghost:hover { color: var(--gold-2); }
.bg-navy .btn-light { background: rgba(255,255,255,.06); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.bg-navy .btn-light:hover { background: rgba(255,255,255,.12); }
.link-gold { color: var(--gold-2); font-weight: 600; display: inline-flex; align-items: center; gap: .4em; }
.link-gold:hover { color: var(--navy); }

/* ============================================================ NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: transform .4s var(--ease-out), background .3s var(--ease), box-shadow .3s, border-color .3s;
  background: var(--navy-deep);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav.scrolled { background: var(--navy-deep); border-bottom-color: rgba(255,255,255,.14); box-shadow: 0 1px 30px -12px rgba(0,0,0,.5); }
.nav.nav-hidden { transform: translateY(-100%); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 1.5rem; }
.logo { display: inline-flex; align-items: center; gap: .6rem; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--gold); color: var(--navy-deep);
  display: grid; place-items: center;
  font-family: var(--serif); font-weight: 600; font-size: 1.15rem;
  flex: none;
}
.logo-wordmark { display: flex; flex-direction: column; line-height: 1; }
.logo-wordmark b { font-family: var(--serif); font-weight: 600; font-size: 1.12rem; letter-spacing: .04em; color: #fff; }
.logo-wordmark span { font-size: .58rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin-top: 3px; }
.bg-navy .logo-wordmark b, .nav-drawer .logo-wordmark b { color: inherit; }
.nav-links { display: flex; gap: 2rem; margin-left: auto; }
.nav-links a { font-size: .92rem; font-weight: 500; color: rgba(255,255,255,.85); position: relative; padding: .3em 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1.5px; background: var(--gold); transition: right .3s var(--ease-out); }
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { right: 0; }
.nav-cta-btn { padding: .75em 1.35em; }
.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; color: #fff; }
.nav-toggle svg { width: 24px; height: 24px; }

.nav-drawer {
  position: fixed; inset: 0; z-index: 200; background: var(--navy-deep); color: #fff;
  display: flex; flex-direction: column; padding: 1.25rem var(--gutter) 2rem;
  transform: translateX(100%); transition: transform .42s var(--ease-out); visibility: hidden;
}
.nav-drawer.open { transform: translateX(0); visibility: visible; }
.nav-drawer-head { display: flex; align-items: center; justify-content: space-between; }
.nav-drawer .logo-mark { background: var(--gold); color: var(--navy-deep); }
.nav-drawer .logo-wordmark b { color: #fff; }
.nav-drawer .nav-toggle { color: #fff; display: flex; }
.nav-drawer-links { display: flex; flex-direction: column; margin-top: 2.5rem; gap: .25rem; }
.nav-drawer-links a { display: flex; align-items: baseline; padding: 1.05rem 0; font-family: var(--serif); font-size: 1.7rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.nav-drawer-cta { margin-top: auto; padding-top: 2rem; }
.nav-drawer-cta .btn { width: 100%; justify-content: center; }

/* ============================================================ HERO */
.hero { position: relative; padding: calc(72px + clamp(3.5rem, 9vw, 8rem)) 0 var(--section-y); overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(1200px 600px at 75% -10%, rgba(192,160,98,.16), transparent 60%),
    radial-gradient(900px 500px at 10% 110%, rgba(0,0,0,.06), transparent 60%),
    var(--bg-cream);
}
.hero .wrap { max-width: 1000px; }
.hero .display { max-width: 16ch; }
/* Laengere Hero-Headline (Offer-Wortlaut) bewusst kleiner als die volle Display-Groesse;
   Breite an die Subline (.hero .lede) angeglichen, damit rechts kein toter Raum bleibt */
.hero .display.hero-headline { font-size: clamp(2rem, 2.6vw + 1.05rem, 3.5rem); max-width: 47rem; margin-top: 1.75rem; }

/* ---- Hero mit Foto-Hintergrund + dunklem Overlay, heller Text ---- */
.hero.hero-photo .hero-bg {
  background:
    linear-gradient(180deg, rgba(0,0,0,.74) 0%, rgba(0,0,0,.82) 100%),
    url("assets/hero-bg.webp") center / cover no-repeat;
}
/* Startseite: eigenes Hero-Foto, kinematischer Verlauf (Bild oben fast klar,
   nach unten zunehmend schwarz, am dunkelsten dort wo der Text steht) */
.hero.hero-photo.hero-home .hero-bg {
  background:
    linear-gradient(180deg,
      rgba(0,0,0,.20) 0%,
      rgba(0,0,0,0)   20%,
      rgba(0,0,0,.32) 50%,
      rgba(0,0,0,.70) 76%,
      rgba(0,0,0,.94) 100%),
    url("assets/hero-home.webp") center 30% / cover no-repeat;
}
.hero.hero-photo .display, .hero.hero-photo h1 { color: #fff; }
.hero.hero-photo .display em { color: var(--gold-soft); }
.hero.hero-photo .lede { color: rgba(255,255,255,.9); }
.hero.hero-photo .lede em { color: var(--gold-soft); font-style: italic; }
.hero.hero-photo .hero-note { color: rgba(255,255,255,.82); }
.hero.hero-photo .hero-note svg { color: var(--gold-soft); }
.hero.hero-photo .pill { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.28); box-shadow: none; backdrop-filter: saturate(1.2) blur(6px); }
.hero.hero-photo .btn-light { background: #fff; color: var(--navy); }
.hero.hero-photo .btn-dark { box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
/* Checklisten im Foto-Hero (z.B. Kaeuferbriefing) hell */
.hero.hero-photo .check b { color: #fff; }
.hero.hero-photo .check span { color: rgba(255,255,255,.82); }
.hero.hero-photo .check .ck { background: rgba(192,160,98,.2); color: var(--gold); }
.hero .lede { max-width: 47rem; }
/* Mobil: Sub-Headline etwas kleiner + kraeftigerer, fluessiger Verlauf (oben heller, unten dunkler)
   fuer bessere Lesbarkeit des weissen Texts, Verlauf bleibt transparent (kein Vollton) */
@media (max-width: 620px) {
  .hero .lede { font-size: .95rem; }
  .hero.hero-photo.hero-home .hero-bg {
    background:
      linear-gradient(180deg,
        rgba(0,0,0,.40) 0%,
        rgba(0,0,0,.20) 14%,
        rgba(0,0,0,.58) 34%,
        rgba(0,0,0,.86) 56%,
        rgba(0,0,0,.97) 100%),
      url("assets/hero-home.webp") center 30% / cover no-repeat;
  }
  /* Hero mobil: Pill entfaellt, ihr Inhalt steht stattdessen als Vorspann in der Subline */
  .hero .pill { display: none; }
  /* Hero-H1 mobil deutlich groesser */
  .hero .display.hero-headline { font-size: clamp(2.35rem, 8.5vw, 3rem); }
  .hero .lede-mobile-intro { display: inline; color: var(--gold-soft); font-weight: 500; }
}
/* Der Pill-Vorspann in der Subline existiert nur mobil */
.lede-mobile-intro { display: none; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }
.hero-note { margin-top: 1.6rem; font-size: var(--fs-small); color: var(--muted-2); display: flex; align-items: center; gap: .5rem; }
.hero-note svg { width: 16px; height: 16px; color: var(--gold-2); flex: none; }

.hero-figure { position: relative; margin-top: clamp(3rem, 6vw, 5rem); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 16/8; }
.hero-figure img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================ SECTIONS MIT FOTO-HINTERGRUND */
/* Analog zum Foto-Hero: dunkles Foto + Verlauf im Hintergrund, heller Text.
   Je Sektion eigenes Bild ueber eine ID (Klasse allein setzt nur Struktur/Text). */
.section-photo { position: relative; overflow: hidden; }
.section-photo::before { content: ""; position: absolute; inset: 0; z-index: 0; }
.section-photo > .wrap { position: relative; z-index: 1; }
.section-photo .eyebrow { color: var(--gold-soft); }
.section-photo .sec-head h2 { color: #fff; }
.section-photo .sec-head p { color: rgba(255,255,255,.82); }

/* ---- "Das Prinzip" (Startseite): Villa-Foto + Glass-Cards ---- */
#buy-side.section-photo::before {
  background:
    linear-gradient(180deg, rgba(0,0,0,.74) 0%, rgba(0,0,0,.84) 100%),
    url("assets/prinzip-bg.webp") center / cover no-repeat;
}
#buy-side.section-photo .card {
  background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.24);
  backdrop-filter: saturate(1.1) blur(8px);
}
#buy-side.section-photo .card:hover { border-color: rgba(255,255,255,.4); box-shadow: var(--shadow-lg); }
#buy-side.section-photo .card h3, #buy-side.section-photo .card p { color: #fff; }
#buy-side.section-photo .card p { color: rgba(255,255,255,.82); }
#buy-side.section-photo .card .ico { background: rgba(255,255,255,.18); color: var(--gold-soft); }

/* ---- CTA-Wiederholung (Startseite): das urspruengliche Hero-Foto (hero-bg.webp) ---- */
#cta-photo.section-photo::before {
  background:
    linear-gradient(180deg, rgba(0,0,0,.66) 0%, rgba(0,0,0,.80) 100%),
    url("assets/hero-bg.webp") center / cover no-repeat;
}
#cta-photo.section-photo .cta-band { background: rgba(0,0,0,.55); }
/* Unterseiten-Hero (ohne grosses Bild) etwas kompakter */
.hero--page { padding-bottom: var(--section-y-tight); }
.img-caption { margin-top: .9rem; font-size: var(--fs-small); color: var(--muted-2); font-style: italic; text-align: center; }

/* ---- Pill / Badge ---- */
.pill {
  display: inline-flex; align-items: center; gap: .55em;
  font-size: var(--fs-small); font-weight: 500; color: var(--ink-2);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-pill);
  padding: .5em 1em; box-shadow: var(--shadow-card);
}
.bg-navy .pill { background: rgba(255,255,255,.06); color: #ededee; border-color: rgba(255,255,255,.14); box-shadow: none; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(192,160,98,.18); flex: none; }

/* ============================================================ SECTION HEAD */
.sec-head { max-width: 700px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sec-head.center { margin-left: auto; margin-right: auto; }
/* Einheitlicher Zeilenrhythmus in allen Sektionskoepfen (auch .split): Eyebrow 1.45 | Ueberschrift 1.15 | Untertext 1.6 */
.sec-head .eyebrow, .split .eyebrow { display: block; margin-bottom: .9rem; }
.sec-head h2 { font-size: var(--fs-h2); line-height: 1.15; margin: 0; color: var(--navy); }
.sec-head p, .split .lede { line-height: 1.6; margin-top: 1rem; color: var(--muted); font-size: var(--fs-lede); }

/* ============================================================ GRIDS / CARDS */
.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 1.75rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem); box-shadow: var(--shadow-card);
  transition: transform .4s var(--ease-out), box-shadow .4s, border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gold-soft); }
/* Icon + Ueberschrift nebeneinander */
.card-head { display: flex; align-items: center; gap: .9rem; margin-bottom: .9rem; }
.card .ico {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--gold-bg); color: var(--gold-2); flex: none;
}
.card .ico svg { width: 24px; height: 24px; }
.card-head h3 { margin: 0; }
.card h3 { font-size: var(--fs-card-h); margin: 0 0 .5em; color: var(--navy); }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }
.card.sand { background: var(--bg-cream); border-color: var(--gold-soft); }

/* ---- Pain points list ---- */
.pain-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.pain {
  display: flex; gap: 1rem; padding: 1.4rem 1.5rem; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line);
}
.pain .x { flex: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; color: var(--gold-2); display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-2); }
.pain .x svg { width: 15px; height: 15px; }
.pain b { display: block; color: var(--navy); font-family: var(--serif); font-size: var(--fs-card-h); font-weight: 600; margin-bottom: .15em; }
.pain span { color: var(--muted); font-size: .95rem; }

/* ---- Signature Method steps (Karten-Variante, aktuell ungenutzt, siehe .steps-draft) ---- */
.steps { display: grid; gap: 1.5rem; counter-reset: step; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: start;
  padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-card);
}
.step-num {
  font-family: var(--serif); font-style: italic; font-size: 2.4rem; line-height: 1;
  color: var(--gold); width: 2.4ch;
}
.step h3 { font-size: var(--fs-card-h); margin: 0 0 .35em; color: var(--navy); }
.step p { margin: 0; color: var(--muted); }
.step .tag { display: inline-block; margin-top: .9rem; font-size: .78rem; letter-spacing: .04em; color: var(--gold-2); font-weight: 600; }

/* ---- "Die Ausgangslage" (Startseite): Bild neben Sektionskopf, Symbole statt Kaesten ---- */
.sec-head-media {
  display: grid; grid-template-columns: 280px 1fr;
  gap: clamp(1.5rem, 4vw, 3rem); align-items: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.sec-head-media .sec-head-img {
  border-radius: var(--radius-xl); overflow: hidden;
  aspect-ratio: 4/5; box-shadow: var(--shadow-card); flex: none;
}
.sec-head-media .sec-head-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sec-head-media .sec-head-media-text { margin-bottom: 0; max-width: none; }

/* Icon links, vertikal mittig neben dem gesamten Textblock; bewusst anders als .steps-draft */
.pain-draft {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(2.2rem, 4.5vw, 3.5rem) clamp(2rem, 5vw, 4rem);
  margin-top: .5rem;
}
.pain-item { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 1.6rem); }
.pain-item .pain-ico {
  flex: none; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--gold-2); box-shadow: inset 0 0 0 1px var(--gold-soft);
}
.pain-item .pain-ico svg { width: 25px; height: 25px; }
.pain-item .pain-text { flex: 1 1 auto; min-width: 0; }
.pain-item b {
  display: block; font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.4rem, 1vw + 1.15rem, 1.7rem); color: var(--navy);
  line-height: 1.25; margin-bottom: .35em;
}
.pain-item p { margin: 0; color: var(--muted); line-height: 1.6; max-width: 46ch; }
.pain-hl { color: var(--gold-2); font-weight: 600; }

/* ---- "Die Methode" (Startseite): roemische Ziffern, Ueberschrift direkt daneben ---- */
.steps-draft { display: grid; gap: 0; }
.steps-draft .step-row { padding: clamp(1.6rem, 3.5vw, 2.6rem) 0; }
.steps-draft .step-row + .step-row { border-top: 1px solid var(--line-2); }
.steps-draft .step-top {
  display: flex; align-items: center;
  gap: clamp(1rem, 2.5vw, 1.8rem);
}
.steps-draft .step-big {
  flex: none;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1;
  color: var(--gold-2); font-variant-numeric: tabular-nums;
}
.steps-draft .step-top h3 {
  font-size: clamp(1.4rem, 1.1vw + 1.1rem, 1.75rem); line-height: 1.25;
  margin: 0; color: var(--navy);
}
.steps-draft .step-body {
  margin-top: .9rem;
  padding-left: calc(clamp(2.2rem, 4vw, 3.4rem) + clamp(1rem, 2.5vw, 1.8rem));
}
.steps-draft .step-body p { margin: 0; color: var(--muted); line-height: 1.6; max-width: 60ch; }
.steps-draft .step-body .tag {
  display: inline-block; margin-top: 1rem; font-size: .78rem;
  letter-spacing: .06em; color: var(--gold-2); font-weight: 600; line-height: 1.45;
}

/* ---- Feature / check list ---- */
.checks { display: grid; gap: .9rem; }
.checks.cols2 { grid-template-columns: repeat(2, 1fr); }
.check { display: flex; gap: .85rem; align-items: flex-start; }
.check .ck { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--gold-bg); color: var(--gold-2); display: grid; place-items: center; margin-top: 1px; }
.check .ck svg { width: 14px; height: 14px; }
.check b { display: block; color: var(--navy); font-weight: 600; margin-bottom: .2em; }
.check span { color: var(--muted); }
.bg-navy .check b { color: #fff; }
.bg-navy .check span { color: #b9b9c0; }
.bg-navy .check .ck { background: rgba(192,160,98,.16); color: var(--gold); }
/* ---- "Die Bruecke" (ueber-uns.html): Checks-Karte statt Bild in .split, braucht eigenen Freiraum ---- */
.bruecke-card { padding: clamp(2rem, 4vw, 2.75rem); }
.bruecke-card .checks { gap: 1.5rem; }

/* ---- Stat / figure ---- */
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.stat { text-align: center; padding: 1.5rem 1rem; }
.stat b { display: block; font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 3.4rem); color: var(--gold-2); line-height: 1; }
.bg-navy .stat b { color: var(--gold); }
.stat span { display: block; margin-top: .6rem; color: var(--muted); font-size: .95rem; }
.bg-navy .stat span { color: #b9b9c0; }

/* ---- Split (text + media) ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split-media { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/5; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---- Quote / trust ---- */
/* ---- Vision / Anspruch (bg-navy) ---- */
.vision .eyebrow { display: block; margin-bottom: .75rem; }
.vision p { font-family: var(--serif); font-size: clamp(1.05rem, 1.8vw, 1.3rem); line-height: 1.5; color: #cdd5e2; margin: 0; }
.bg-navy .vision em { color: var(--gold); font-style: normal; }

.quote { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.4rem); line-height: 1.3; color: var(--navy); font-weight: 500; }
.quote em { color: var(--gold-2); font-style: italic; }
/* Zitat auf dunklem Hintergrund: heller Text, helleres Gold */
.bg-navy .quote { color: #fff; }
.bg-navy .quote em { color: var(--gold); }

/* ============================================================ CTA BAND */
.cta-band { background: var(--navy-deep); color: #fff; border-radius: var(--radius-xl); padding: clamp(2.5rem, 6vw, 5rem); text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 350px at 80% -20%, rgba(192,160,98,.22), transparent 60%); pointer-events: none; }
.cta-band h2 { color: #fff; font-size: var(--fs-h2); margin: 0 0 .5em; position: relative; }
.cta-band p { color: #b9b9c0; max-width: 50ch; margin: 0 auto 2rem; position: relative; }
/* Beide CTA-Buttons exakt gleich breit (Desktop wie Mobil): Grid mit gleichen Spalten,
   Container schrumpft auf Inhaltsbreite, 1fr/1fr zieht beide auf die Breite des laengeren */
.cta-band .hero-cta {
  position: relative; display: grid; grid-template-columns: repeat(2, 1fr);
  gap: .9rem; width: fit-content; margin-left: auto; margin-right: auto;
}
.cta-band .hero-cta .btn { width: 100%; justify-content: center; }
/* Mobil: beide CTA-Buttons untereinander, weiterhin exakt gleich breit */
@media (max-width: 620px) {
  .cta-band .hero-cta { grid-template-columns: 1fr; width: 100%; }
}

/* ============================================================ FORMS */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); padding: clamp(1.75rem, 4vw, 3rem); box-shadow: var(--shadow-lg); }
.field { margin-bottom: 1.15rem; }
.field label { display: block; font-size: .85rem; font-weight: 600; color: var(--navy); margin-bottom: .5rem; }
.field label .req { color: var(--gold-2); }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--ink);
  padding: .9em 1em; border: 1px solid var(--line-2); border-radius: var(--radius);
  background: var(--bg-soft); transition: border-color .2s, background .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px rgba(192,160,98,.14); }
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.form-note { font-size: .8rem; color: var(--muted-2); margin-top: .5rem; }
.form-consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .82rem; color: var(--muted); margin: 1.25rem 0; }
.form-consent input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--gold-2); }
.form-consent a { color: var(--gold-2); text-decoration: underline; }
.form-submit { width: 100%; justify-content: center; margin-top: .5rem; }
.form-success { display: none; text-align: center; padding: 1rem 0; }
.form-success.show { display: block; }
.form-success .ck-big { width: 64px; height: 64px; border-radius: 50%; background: var(--gold-bg); color: var(--gold-2); display: grid; place-items: center; margin: 0 auto 1.25rem; }
.form-success h3 { color: var(--navy); margin: 0 0 .4em; }
.form-success p { color: var(--muted); margin: 0; }

/* ---- Lead magnet visual ---- */
.magnet { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.magnet-cover { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--navy-deep); aspect-ratio: 3/4; position: relative; }
/* Cover-Box: generiertes Magazin-Mockup als Mittelpunkt, Text zentriert darum herum.
   Kein space-between mehr (erzeugte riesige Luecken), stattdessen zentriert mit engem Gap. */
.magnet-cover .mc-inner {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  justify-content: center; align-items: center; text-align: center;
  gap: clamp(.85rem, 2.2vw, 1.25rem);
  padding: clamp(1.25rem, 3vw, 1.9rem); color: #fff;
}
.magnet-cover .eyebrow { color: var(--gold); margin: 0; }
.magnet-cover .mc-shot {
  flex: 0 1 auto; min-height: 0; max-height: 56%; aspect-ratio: 3/4;
  border-radius: 8px; overflow: hidden; box-shadow: 0 18px 42px rgba(0,0,0,.5);
}
.magnet-cover .mc-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.magnet-cover .mc-copy { margin: 0; }
.magnet-cover h3 { font-family: var(--serif); font-size: clamp(1.25rem, 2.4vw, 1.7rem); color: #fff; line-height: 1.2; margin: 0; }
.magnet-cover .mc-copy p { color: #aeb6c6; font-size: .88rem; line-height: 1.5; margin: .55rem 0 0; }
.magnet-cover .mc-foot { font-size: .78rem; color: #aeb6c6; letter-spacing: .04em; margin: 0; }

/* ============================================================ FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.4rem 0; text-align: left; font-family: var(--serif); font-size: 1.25rem; color: var(--navy); }
.faq-q .pm { flex: none; width: 26px; height: 26px; position: relative; }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; top: 50%; left: 50%; width: 13px; height: 1.5px; background: var(--gold-2); transform: translate(-50%,-50%); transition: transform .3s var(--ease); }
.faq-q .pm::after { transform: translate(-50%,-50%) rotate(90deg); }
.faq-item.open .pm::after { transform: translate(-50%,-50%) rotate(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-item.open .faq-a { max-height: 360px; }
.faq-a p { color: var(--muted); padding-bottom: 1.4rem; margin: 0; }

/* ============================================================ FOOTER */
.foot { background: var(--navy-deep); color: #b9b9c0; padding: clamp(3rem, 6vw, 5rem) 0 2rem; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; }
/* Logo-Mark im Footer wie in der Nav: Navy-Kreis, goldenes M (nicht invertiert) */
.foot .logo-mark { background: var(--navy); color: var(--gold); }
.foot .logo-wordmark b { color: #fff; }
.foot-about { margin-top: 1.1rem; font-size: .92rem; line-height: 1.7; color: #94949c; max-width: 34ch; }
.foot-col .eyebrow { color: var(--gold); margin-bottom: 1.1rem; display: block; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.foot-col a { font-size: .92rem; color: #b9b9c0; transition: color .2s; }
.foot-col a:hover { color: var(--gold); }
.foot-contact { display: grid; gap: .8rem; }
.foot-contact a { display: flex; align-items: center; gap: .6rem; font-size: .92rem; }
.foot-contact svg { color: var(--gold); flex: none; }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; color: #8b8b93; }
.foot-legal { display: flex; gap: 1.5rem; }
.foot-legal a:hover { color: var(--gold); }

/* ============================================================ STICKY CTA (mobile) */
.sticky-cta { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 90; display: none; align-items: center; justify-content: space-between; gap: 1rem; background: var(--navy-deep); color: #fff; padding: .85rem 1rem .85rem 1.25rem; border-radius: var(--radius-pill); box-shadow: var(--shadow-lg); transform: translateY(140%); transition: transform .4s var(--ease-out); }
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta-text { display: flex; flex-direction: column; line-height: 1.2; font-size: .78rem; color: #aeb6c6; }
.sticky-cta-text strong { color: #fff; font-size: .92rem; }

/* ============================================================ COOKIE BANNER */
.cookie-banner { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 300; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 1.25rem 1.5rem; max-width: 520px; transform: translateY(160%); transition: transform .45s var(--ease-out); }
.cookie-banner.show { transform: translateY(0); }
.cookie-banner-text strong { color: var(--navy); font-family: var(--serif); font-size: 1.1rem; }
.cookie-banner-text p { font-size: .85rem; color: var(--muted); margin: .4rem 0 1rem; }
.cookie-banner-text a { color: var(--gold-2); text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: .7rem; }
.cookie-banner-actions .btn { padding: .7em 1.2em; font-size: .85rem; flex: 1; justify-content: center; }

/* ============================================================ LEGAL PAGES */
.legal-page { padding: calc(72px + 56px) 0 80px; }
.legal-page .wrap { max-width: 760px; }
.legal-page h1 { font-size: clamp(2rem, 3vw, 2.8rem); font-family: var(--serif); font-weight: 500; margin: 0 0 1.5rem; color: var(--navy); }
.legal-page h2 { font-size: 1.05rem; font-weight: 600; font-family: var(--sans); margin: 2rem 0 .5rem; color: var(--navy); }
.legal-page p, .legal-page li { font-size: .95rem; line-height: 1.75; color: var(--muted); }
.legal-page ul { padding-left: 20px; margin: .5rem 0; }
.legal-page a { color: var(--gold-2); text-decoration: underline; }
.legal-page .lede { font-size: .95rem; color: var(--muted); margin-bottom: 2rem; max-width: 65ch; }
.placeholder { background: var(--gold-bg); border: 1px dashed var(--gold); border-radius: 6px; padding: 1px 7px; color: var(--gold-2); font-style: normal; font-weight: 600; font-size: .9em; }
.breadcrumb { display: flex; align-items: center; gap: .5rem; font-size: .82rem; color: var(--muted-2); margin-bottom: 1.75rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--gold-2); }
.breadcrumb svg { opacity: .5; }

/* ============================================================ SCROLL REVEAL */
.sr { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.sr.vis { opacity: 1; transform: none; }
.sr-d1 { transition-delay: .08s; }
.sr-d2 { transition-delay: .16s; }
.sr-d3 { transition-delay: .24s; }
.sr-d4 { transition-delay: .32s; }

/* ============================================================ UTIL */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.tagline-serif { font-family: var(--serif); font-style: italic; color: var(--gold-2); font-size: 1.2rem; }

/* ============================================================ RESPONSIVE */
@media (max-width: 980px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 880px) {
  .nav-links, .nav-cta-btn { display: none; }
  .nav-toggle { display: flex; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split, .magnet { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .split-media { aspect-ratio: 16/10; max-height: 420px; }
  .sticky-cta { display: flex; }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4, .pain-grid, .checks.cols2, .stat-row, .field-row { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; gap: .5rem; }
  .step-num { font-size: 2rem; }
  .foot-grid { grid-template-columns: 1fr; }
  .cookie-banner, .sticky-cta { left: .75rem; right: .75rem; }
}
@media (max-width: 820px) {
  .sec-head-media { grid-template-columns: 160px 1fr; gap: 1.3rem; }
  .pain-draft { grid-template-columns: 1fr; gap: 1.8rem; }
  .steps-draft .step-big { font-size: 2.4rem; }
  .steps-draft .step-body { padding-left: calc(2.4rem + clamp(1rem, 2.5vw, 1.8rem)); }
}
@media (max-width: 480px) {
  .sec-head-media { grid-template-columns: 1fr; gap: 1.25rem; }
  /* Echtes Full-Bleed: Bild reicht bis an den Bildschirmrand, bricht aus dem .wrap-Gutter aus */
  .sec-head-media .sec-head-img {
    aspect-ratio: 16/15.2; max-width: none;
    width: calc(100% + 2 * var(--gutter));
    margin-left: calc(-1 * var(--gutter));
    margin-right: calc(-1 * var(--gutter));
    margin-top: 0;
    border-radius: 0;
  }
  .pain-item { align-items: flex-start; }
  /* "Die Ausgangslage": Bild direkt buendig unter dem Hero, kein weisser Freiraum ueber dem Bild */
  #problem.section, #methode.section { padding-top: 0; }
}

/* ---- Mobil: generell alles linksbuendig statt zentriert (alle Seiten).
   Ausnahme: Zitat ("Warum Montaurio"), Stat-Reihe und CTA-Band bleiben bewusst
   zentriert (Blickfang-Elemente, s. Absprache) ---- */
@media (max-width: 880px) {
  .center { text-align: left; }
  .sec-head.center, .mx-auto { margin-left: 0; margin-right: 0; }
  #vertrauen .center, #vertrauen .sec-head.center { text-align: center; margin-left: auto; margin-right: auto; }
}

/* ---- "Die Methode" (.steps-draft): Schritt-Ueberschriften mobil deutlich groesser ---- */
@media (max-width: 820px) {
  .steps-draft .step-top h3 { font-size: clamp(1.5rem, 5vw, 1.85rem); }
}

/* ---- Mobil: Hauptueberschriften (H2) aller Sections deutlich groesser als der Desktop-Clamp erlaubt ---- */
@media (max-width: 620px) {
  .sec-head h2, h2.h2, .cta-band h2 { font-size: clamp(2rem, 7.5vw, 2.5rem); }
  /* "Warum Montaurio": Zitat mobil groesser */
  .quote { font-size: clamp(1.8rem, 6.5vw, 2.2rem); }
}

/* ---- Split-Sections mit Bild: auf Mobil Bild ANS ENDE der Section-Reihenfolge NICHT ziehen,
   sondern in "Der Acquisition Service" (Startseite) + "Off-Market-Zugang" (leistungen.html)
   das Bild an den ANFANG (oben in der Section) ---- */
@media (max-width: 880px) {
  #leistungen .split-media,
  #offmarket .split-media {
    order: -1;
  }
  /* "Der Acquisition Service" mobil: Bild deutlich hoeher (mehr Bild nach unten),
     dafuer weniger Leerraum ueber der Section */
  #leistungen .split-media { aspect-ratio: 16/13; max-height: none; }
  #leistungen.section { padding-top: clamp(2rem, 5vw, 3rem); }
}
