/* Neue, eigenständige Objektseite (objekt.php) für denkmal-investment.com –
   bewusst ohne Abhängigkeit vom alten Theme (Bootstrap 4, Revolution Slider,
   Owl Carousel usw.), damit sie schlank und leicht wartbar bleibt. Nutzt
   die schon im alten style.css angelegte, aber nie eingesetzte edle
   Navy/Gold-Palette, damit es trotzdem zur Marke passt. */

:root {
    --dh-navy: #0a1926;
    --dh-navy2: #132336;
    --dh-gold: #c6a15b;
    --dh-gold-light: #e5d5b3;
    --dh-cream: #faf7f2;
    --dh-ink: #1e2f4a;
    --dh-sub: #5e6f8d;
    --dh-line-dark: rgba(255,255,255,.12);
    --dh-line-light: rgba(30,47,74,.12);
}

.dh-page { font-family: 'Poppins', Arial, sans-serif; color: var(--dh-ink); background: #fff; overflow-x: hidden; }
.dh-page * { box-sizing: border-box; }
.dh-page h1, .dh-page h2, .dh-page h3 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600; margin: 0; }
.dh-page em { color: var(--dh-gold); font-style: italic; }
.dh-container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.dh-reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.dh-reveal.is-visible { opacity: 1; transform: none; }

/* -- Kopf -- */
.dh-header { position: absolute; top: 0; left: 0; right: 0; z-index: 5; padding: 22px 0; }
.dh-header .dh-container { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.dh-header img { height: 34px; display: block; }
.dh-header a.dh-back { color: rgba(255,255,255,.85); text-decoration: none; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; }
.dh-header a.dh-back:hover { color: var(--dh-gold-light); }

/* -- Hero -- */
.dh-hero { position: relative; min-height: 82vh; background: var(--dh-navy); color: #fff; display: flex; align-items: flex-end; overflow: hidden; }
.dh-hero-media { position: absolute; inset: 0; }
.dh-hero-media img, .dh-hero-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.dh-hero-placeholder { background: radial-gradient(circle at 70% 25%, #24405e 0%, transparent 45%), linear-gradient(135deg, #071019 20%, #0d1e30 70%, #132336); }
.dh-hero-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(5,12,20,.92) 0%, rgba(5,12,20,.35) 55%, rgba(5,12,20,.15) 100%); }
.dh-hero-content { position: relative; z-index: 2; padding: 100px 0 64px; width: 100%; }
.dh-hero-badge { display: inline-block; padding: 5px 14px; border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.08); backdrop-filter: blur(6px); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.dh-hero-eyebrow { display: block; color: var(--dh-gold-light); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 14px; }
.dh-hero-title { font-size: clamp(2.4rem, 5vw, 4.4rem); line-height: 1.05; letter-spacing: -.02em; margin-bottom: 18px; max-width: 900px; }
.dh-hero-sub { font-size: 1.08rem; line-height: 1.7; color: rgba(255,255,255,.75); max-width: 620px; margin-bottom: 28px; }
.dh-btn { display: inline-flex; align-items: center; gap: 9px; padding: 14px 26px; border: 1px solid var(--dh-gold); color: #fff; text-decoration: none; text-transform: uppercase; font-size: .72rem; letter-spacing: .1em; transition: .25s; background: transparent; }
.dh-btn:hover { background: var(--dh-gold); color: var(--dh-navy); }
.dh-btn.dh-btn-solid { background: var(--dh-gold); color: var(--dh-navy); }
.dh-btn.dh-btn-solid:hover { background: var(--dh-gold-light); border-color: var(--dh-gold-light); }
.dh-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* -- Kennzahlen-Leiste -- */
.dh-stats { background: var(--dh-navy2); color: #fff; }
.dh-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); border-top: 1px solid var(--dh-line-dark); }
.dh-stats-grid > div { padding: 26px 22px; border-right: 1px solid var(--dh-line-dark); border-bottom: 1px solid var(--dh-line-dark); }
.dh-stats-grid small { display: block; font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 8px; }
.dh-stats-grid strong { display: block; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.5rem; color: var(--dh-gold-light); font-weight: 600; }

/* -- Abschnitte allgemein -- */
.dh-section { padding: 88px 0; }
.dh-section.dh-dark { background: var(--dh-navy); color: #fff; }
.dh-section.dh-cream { background: var(--dh-cream); }
.dh-eyebrow { display: block; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--dh-gold); font-weight: 600; margin-bottom: 14px; }
.dh-section.dh-dark .dh-eyebrow { color: rgba(255,255,255,.4); }
.dh-h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-bottom: 24px; }
.dh-lead { font-size: 1.02rem; line-height: 1.85; color: var(--dh-sub); max-width: 760px; }
.dh-section.dh-dark .dh-lead { color: rgba(255,255,255,.62); }
.dh-body { font-size: 1rem; line-height: 1.9; color: var(--dh-sub); max-width: 760px; }
.dh-body p { margin: 0 0 1.1em; }
.dh-section.dh-dark .dh-body { color: rgba(255,255,255,.62); }

.dh-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 8px; }
@media (max-width: 860px) { .dh-two-col { grid-template-columns: 1fr; gap: 36px; } }

/* -- Kachel-Grid (Infrastruktur, generische Items) -- */
.dh-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1px; margin-top: 28px; background: var(--dh-line-light); }
.dh-section.dh-dark .dh-grid { background: var(--dh-line-dark); }
.dh-item { background: #fff; padding: 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.dh-section.dh-dark .dh-item { background: #0f2033; }
.dh-item strong { font-size: .92rem; }
.dh-item span { color: var(--dh-gold); font-size: .78rem; }

/* -- Investment-Highlights -- */
.dh-highlights { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 28px; }
.dh-highlight { background: rgba(255,255,255,.06); border: 1px solid var(--dh-line-dark); padding: 24px; border-radius: 8px; }
.dh-section:not(.dh-dark) .dh-highlight { background: #fff; border-color: var(--dh-line-light); box-shadow: 0 10px 30px rgba(10,25,38,.06); }
.dh-highlight-mark { color: var(--dh-gold); font-size: 1.1rem; margin-bottom: 10px; display: block; }
.dh-highlight strong { display: block; font-size: 1rem; margin-bottom: 8px; }
.dh-highlight p { margin: 0; font-size: .92rem; line-height: 1.6; color: var(--dh-sub); }
.dh-section.dh-dark .dh-highlight p { color: rgba(255,255,255,.6); }

/* -- Wohnungs-Explorer -- */
.dh-explorer-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 36px; }
.dh-explorer-btn { border: 1px solid var(--dh-line-light); background: #fff; padding: 10px 20px; font-size: .82rem; font-weight: 600; cursor: pointer; transition: .25s; border-radius: 4px; }
.dh-section.dh-dark .dh-explorer-btn { border-color: var(--dh-line-dark); background: transparent; color: #fff; }
.dh-explorer-btn:hover, .dh-explorer-btn.is-active { background: var(--dh-navy2); color: #fff; border-color: var(--dh-navy2); }
.dh-section.dh-dark .dh-explorer-btn:hover, .dh-section.dh-dark .dh-explorer-btn.is-active { background: var(--dh-gold); color: var(--dh-navy); border-color: var(--dh-gold); }
.dh-explorer-stage { display: grid; grid-template-columns: 320px 1fr; gap: 40px; align-items: center; }
@media (max-width: 760px) { .dh-explorer-stage { grid-template-columns: 1fr; } }
.dh-explorer-meta { background: #fff; padding: 28px; border-radius: 8px; box-shadow: 0 15px 40px rgba(10,25,38,.08); }
.dh-section.dh-dark .dh-explorer-meta { background: #0f2033; box-shadow: none; border: 1px solid var(--dh-line-dark); }
.dh-explorer-meta h4 { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.4rem; margin: 0 0 16px; }
.dh-explorer-meta ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.dh-explorer-meta li { font-size: .9rem; display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--dh-line-light); padding-bottom: 8px; }
.dh-section.dh-dark .dh-explorer-meta li { border-color: var(--dh-line-dark); color: rgba(255,255,255,.8); }
.dh-explorer-meta li span:first-child { color: var(--dh-sub); }
.dh-section.dh-dark .dh-explorer-meta li span:first-child { color: rgba(255,255,255,.45); }
.dh-explorer-meta li strong { text-align: right; }
.dh-explorer-image { position: relative; aspect-ratio: 4/3; overflow: hidden; border-radius: 8px; background: #eee; }
.dh-explorer-image img { width: 100%; height: 100%; object-fit: contain; background: #fff; display: block; transition: opacity .25s ease; }

/* -- AfA-Hinweis -- */
.dh-afa-hint { border: 1px solid var(--dh-gold); background: rgba(198,161,91,.08); padding: 26px 28px; border-radius: 8px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.dh-afa-hint p { margin: 0; font-size: .95rem; max-width: 620px; }

/* -- Downloads -- */
.dh-downloads { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

/* -- Galerie -- */
.dh-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-top: 28px; }
.dh-gallery-item { position: relative; aspect-ratio: 4/3; overflow: hidden; border: 0; padding: 0; background: #0a1a28; cursor: pointer; border-radius: 6px; }
.dh-gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease, opacity .3s ease; }
.dh-gallery-item:hover img { transform: scale(1.06); opacity: .92; }

.dh-lightbox { position: fixed; inset: 0; background: rgba(5,12,20,.94); display: flex; align-items: center; justify-content: center; z-index: 999; opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.dh-lightbox.is-open { opacity: 1; pointer-events: auto; }
.dh-lightbox-img { max-width: 88vw; max-height: 82vh; object-fit: contain; }
.dh-lightbox-close, .dh-lightbox-prev, .dh-lightbox-next { position: absolute; background: none; border: 0; color: #fff; font-size: 1.6rem; cursor: pointer; padding: 14px; }
.dh-lightbox-close { top: 10px; right: 10px; }
.dh-lightbox-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.dh-lightbox-next { right: 10px; top: 50%; transform: translateY(-50%); }
.dh-lightbox-count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.6); font-size: .8rem; letter-spacing: .08em; }

/* -- Kontakt (bindet libs/kontakt-formular.php ein) -- */
.dh-kontakt-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 860px) { .dh-kontakt-wrap { grid-template-columns: 1fr; } }
.dh-kontakt-form { background: #fff; padding: 34px; border-radius: 10px; color: var(--dh-ink); }
.dh-kontakt-form .mb-3 { margin-bottom: 16px; }
.dh-kontakt-form .form-label { display: block; font-size: .78rem; letter-spacing: .04em; color: var(--dh-sub); margin-bottom: 6px; }
.dh-kontakt-form .form-control { width: 100%; border: 1px solid var(--dh-line-light); border-radius: 5px; padding: 11px 14px; font-family: inherit; font-size: .95rem; color: var(--dh-ink); }
.dh-kontakt-form .form-control:focus { outline: none; border-color: var(--dh-gold); }
.dh-kontakt-form .form-check { display: flex; align-items: flex-start; gap: 10px; }
.dh-kontakt-form .form-check input { margin-top: 4px; }
.dh-kontakt-form .checkbox-text { font-size: .78rem; color: var(--dh-sub); line-height: 1.6; }
.dh-kontakt-form .checkbox-text a { color: var(--dh-ink); }
.dh-kontakt-form .btn.btn-primary { display: inline-block; margin-top: 6px; background: var(--dh-navy2); color: #fff; border: 0; padding: 13px 28px; font-size: .85rem; letter-spacing: .04em; border-radius: 5px; cursor: pointer; }
.dh-kontakt-form .btn.btn-primary:hover { background: var(--dh-gold); color: var(--dh-navy); }
.dh-kontakt-meta { color: rgba(255,255,255,.7); }
.dh-kontakt-meta a { color: var(--dh-gold-light); text-decoration: none; }
.dh-kontakt-meta div { margin-bottom: 12px; }

/* -- Fuß -- */
.dh-footer { background: #06101a; color: rgba(255,255,255,.5); padding: 40px 0; font-size: .8rem; }
.dh-footer .dh-container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; align-items: center; }
.dh-footer a { color: rgba(255,255,255,.6); text-decoration: none; margin-left: 18px; }
.dh-footer a:hover { color: var(--dh-gold-light); }
