/* ═══════════════════════════════════════════════════
   OBJEKT-DETAIL — verkaufs-/conversion-orientiert
   Gemeinsam für: tiefgaragenstellplatz, gewerbepark-buero,
   buero-salurnerstrasse
   Tokens kommen aus base.css (--navy, --gold, --cream …)
═══════════════════════════════════════════════════ */

body { font-weight: 300; line-height: 1.7; }

/* ── Reveal-Animationen (objekt-detail.js setzt .in / .js-ready) ── */
.js-ready .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.js-ready .reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }

/* ── Layout-Grundlage ── */
.od-wrap { background: var(--cream); }
.od-section { padding: clamp(56px, 9vh, 96px) 0; }
.od-eyebrow {
  font-family: var(--ff-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.od-h2 {
  font-family: var(--ff-serif);
  font-weight: 400;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  color: var(--navy);
  margin-bottom: 10px;
}
.od-h2 em { font-style: italic; color: var(--gold); }
.od-lead {
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.75;
  color: var(--muted);
  max-width: 62ch;
}

/* ═══════════ TOP / HERO-INTRO ═══════════ */
.od-top {
  background: var(--navy);
  color: var(--white);
  padding: clamp(96px, 12vh, 140px) 0 clamp(40px, 6vh, 64px);
  position: relative;
  overflow: hidden;
}
.od-top::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 400px at 80% -10%, rgba(240,180,41,0.14), transparent 60%);
  pointer-events: none;
}
.od-top .container { position: relative; z-index: 1; }

.od-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.62);
  margin-bottom: clamp(22px, 4vh, 38px);
  transition: color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.od-back:hover { color: var(--gold-bright); transform: translateX(-4px); }

.od-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(240,180,41,0.14);
  border: 1px solid rgba(240,180,41,0.42);
  color: var(--gold-bright);
  font-family: var(--ff-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.od-badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 0 0 rgba(240,180,41,0.6);
  animation: od-pulse 2.2s infinite;
}
@keyframes od-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(240,180,41,0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(240,180,41,0); }
  100% { box-shadow: 0 0 0 0 rgba(240,180,41,0); }
}

.od-title {
  font-family: var(--ff-serif);
  font-weight: 400;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.od-title em { font-style: italic; color: var(--gold-bright); }
.od-address {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(15px, 1.6vw, 18px);
  color: rgba(255,255,255,0.74);
  margin-bottom: 30px;
}
.od-address svg { width: 18px; height: 18px; fill: var(--gold-bright); flex: none; }

/* Spec-Pills */
.od-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.od-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.92);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.od-pill:hover { border-color: rgba(240,180,41,0.5); background: rgba(240,180,41,0.08); }
.od-pill svg { width: 15px; height: 15px; stroke: var(--gold-bright); fill: none; stroke-width: 2.2; }

/* ═══════════ HAUPT-LAYOUT (Galerie + sticky CTA) ═══════════ */
.od-main {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: clamp(28px, 4vw, 52px);
  align-items: start;
  padding-top: clamp(48px, 7vh, 80px);
  padding-bottom: clamp(56px, 9vh, 96px);
}

/* ── Galerie ── */
.od-gallery { display: grid; gap: 14px; }
.od-gallery-main {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  box-shadow: 0 24px 60px -28px rgba(11,28,53,0.5);
}
.od-gallery-main img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.od-gallery-main:hover img { transform: scale(1.04); }

.od-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.od-gallery-thumbs.is-duo { grid-template-columns: 1fr; }
.od-thumb {
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 14px 34px -22px rgba(11,28,53,0.5);
}
.od-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.od-thumb:hover img { transform: scale(1.06); }

/* Solo-Galerie (nur 1 Bild – Salurnerstraße) */
.od-gallery--solo .od-gallery-main { aspect-ratio: 3 / 2; }

/* ── Beschreibung unter der Galerie ── */
.od-desc { margin-top: clamp(26px, 4vh, 40px); }
.od-desc h2 {
  font-family: var(--ff-serif);
  font-weight: 400;
  font-size: clamp(26px, 3.4vw, 38px);
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 14px;
}
.od-desc h2 em { font-style: italic; color: var(--gold); }
.od-desc p {
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.8;
  color: var(--muted);
}

/* ── Highlights ── */
.od-highlights {
  margin-top: clamp(26px, 4vh, 38px);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 26px;
}
.od-highlights li {
  list-style: none;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15.5px;
  font-weight: 400;
  color: var(--navy);
  line-height: 1.4;
}
.od-check {
  flex: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--gold-pale);
  display: grid;
  place-items: center;
  margin-top: 1px;
}
.od-check svg { width: 13px; height: 13px; stroke: var(--gold); fill: none; stroke-width: 2.6; }

/* ═══════════ STICKY CTA-BOX ═══════════ */
.od-aside { position: relative; }
.od-cta-card {
  position: sticky;
  top: calc(11vh + 20px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 30px 28px;
  box-shadow: 0 30px 70px -34px rgba(11,28,53,0.42);
}
.od-cta-card::before {
  content: "";
  display: block;
  height: 4px;
  width: 54px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  margin-bottom: 20px;
}
.od-cta-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.od-cta-title {
  font-family: var(--ff-serif);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.12;
  color: var(--navy);
  margin-bottom: 6px;
}
.od-cta-title em { font-style: italic; color: var(--gold); }
.od-cta-text {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 22px;
}

/* Ansprechpartner */
.od-person {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--cream);
  border-radius: var(--r-md);
  margin-bottom: 22px;
}
.od-person-avatar {
  flex: none;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-bright);
  display: grid;
  place-items: center;
  font-family: var(--ff-serif);
  font-size: 20px;
  font-weight: 600;
}
.od-person-name { font-weight: 500; font-size: 15px; color: var(--navy); }
.od-person-role { font-size: 13px; color: var(--muted); }

/* Buttons */
.od-btns { display: grid; gap: 10px; }
.od-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 20px;
  border-radius: var(--r-md);
  font-family: var(--ff-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.od-btn svg { width: 18px; height: 18px; flex: none; }
.od-btn:hover { transform: translateY(-2px); }

.od-btn--primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: var(--navy);
  box-shadow: 0 16px 32px -14px rgba(201,151,42,0.7);
}
.od-btn--primary svg { fill: var(--navy); }
.od-btn--primary:hover { box-shadow: 0 22px 40px -14px rgba(201,151,42,0.85); }

.od-btn--navy {
  background: var(--navy);
  color: var(--white);
}
.od-btn--navy svg { fill: var(--gold-bright); }
.od-btn--navy:hover { background: var(--navy-light); }

.od-btn--ghost {
  background: var(--white);
  color: var(--navy);
  border: 1.5px solid var(--border);
}
.od-btn--ghost svg { fill: var(--gold); }
.od-btn--ghost:hover { border-color: var(--gold); background: var(--gold-pale); }

.od-btn--wa { background: #25d366; color: #fff; }
.od-btn--wa svg { fill: #fff; }
.od-btn--wa:hover { background: #1ebe5a; box-shadow: 0 16px 32px -16px rgba(37,211,102,0.7); }

.od-cta-note {
  margin-top: 16px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
}

/* ═══════════ ECKDATEN-RASTER ═══════════ */
.od-facts {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.od-facts-grid {
  margin-top: clamp(26px, 4vh, 40px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.od-fact {
  background: var(--white);
  padding: 24px 22px;
  transition: background var(--dur) var(--ease);
}
.od-fact:hover { background: var(--cream); }
.od-fact-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.od-fact-value {
  font-family: var(--ff-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.15;
}

/* ═══════════ VERTRAUEN / BERATUNG ═══════════ */
.od-trust { background: var(--cream); }
.od-trust-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.od-trust-visual {
  background: var(--navy);
  border-radius: var(--r-lg);
  padding: 38px 34px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.od-trust-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 300px at 110% 0%, rgba(240,180,41,0.18), transparent 60%);
}
.od-trust-visual .q {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.3;
  position: relative;
}
.od-trust-visual .who {
  margin-top: 22px;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  position: relative;
}
.od-trust-visual .who b { color: var(--gold-bright); font-weight: 600; }
.od-trust-points { list-style: none; display: grid; gap: 18px; }
.od-trust-points li { display: flex; gap: 14px; }
.od-trust-points .ic {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--gold-pale);
  display: grid;
  place-items: center;
}
.od-trust-points .ic svg { width: 19px; height: 19px; stroke: var(--gold); fill: none; stroke-width: 2; }
.od-trust-points h3 {
  font-family: var(--ff-sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}
.od-trust-points p { font-size: 14.5px; line-height: 1.6; color: var(--muted); }

/* ═══════════ ABSCHLUSS-CTA-BAND ═══════════ */
.od-band {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: clamp(56px, 9vh, 100px) 0;
  position: relative;
  overflow: hidden;
}
.od-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 360px at 50% 120%, rgba(240,180,41,0.16), transparent 60%);
  pointer-events: none;
}
.od-band-inner { position: relative; }
.od-band .od-eyebrow { color: var(--gold-bright); }
.od-band h2 {
  font-family: var(--ff-serif);
  font-weight: 400;
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.08;
  margin-bottom: 14px;
}
.od-band h2 em { font-style: italic; color: var(--gold-bright); }
.od-band p {
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.7;
  color: rgba(255,255,255,0.78);
  max-width: 56ch;
  margin: 0 auto 30px;
}
.od-band-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.od-band-btns .od-btn { padding: 16px 26px; }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 980px) {
  .od-main { grid-template-columns: 1fr; }
  .od-cta-card { position: static; top: auto; }
  .od-trust-inner { grid-template-columns: 1fr; }
  .od-facts-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .od-highlights { grid-template-columns: 1fr; }
  .od-gallery-thumbs { grid-template-columns: repeat(2, 1fr); }
  .od-facts-grid { grid-template-columns: 1fr; }
  .od-pill { font-size: 13px; padding: 8px 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .js-ready .reveal { opacity: 1; transform: none; transition: none; }
  .od-badge .dot { animation: none; }
}
