/* HeroSimple — Full-bleed image hero, headline links, lede rechts. */
const HERO4_CSS = `
.h4-hero { position: relative; min-height: 90vh; background: var(--v-ink); overflow: hidden; isolation: isolate; }

.h4-hero .h4-bg { position: absolute; inset: 0; z-index: 0; }
.h4-hero .h4-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Uniform low-tint over the whole image for text readability. */
.h4-hero .h4-bg::before { content: ''; position: absolute; inset: 0; background: rgba(12,10,8,0.32); pointer-events: none; }
/* Strong bottom fade where the text sits. */
.h4-hero .h4-bg::after { content: ''; position: absolute; inset: 0; background:
  linear-gradient(180deg,
    transparent 0%,
    transparent 28%,
    rgba(12,10,8,0.55) 50%,
    rgba(12,10,8,0.85) 72%,
    rgba(12,10,8,0.96) 100%
  );
  pointer-events: none; }

.h4-hero .h4-content { position: relative; z-index: 2; min-height: 90vh; display: grid; grid-template-rows: 1fr auto; padding: 140px 80px 56px; color: var(--v-paper); }

.h4-hero .h4-mid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: end; align-self: end; }

.h4-hero .h4-mid-left { max-width: 920px; }
.h4-hero .h4-eyebrow { font-family: var(--font-mono); font-size: 14px; letter-spacing: 3px; text-transform: uppercase; color: rgba(247,243,236,0.75); display: inline-flex; align-items: center; gap: 14px; margin-bottom: 32px; font-weight: 400; }
.h4-hero .h4-eyebrow::before { content: ''; width: 36px; height: 1px; background: var(--v-brass); }

.h4-hero h1 { font-family: var(--font-serif); font-weight: 300; font-size: 96px; line-height: 0.98; letter-spacing: -0.03em; color: var(--v-paper); margin: 0; text-shadow: 0 2px 24px rgba(0,0,0,0.45); }
.h4-hero h1 em { font-style: italic; font-weight: 400; color: var(--v-brass-300); }

.h4-hero .h4-mid-right { display: flex; flex-direction: column; align-items: flex-end; text-align: right; padding-bottom: 12px; }
.h4-hero .h4-lede { font-family: var(--font-serif); font-size: 22px; font-weight: 300; color: rgba(247,243,236,0.92); line-height: 1.5; margin: 0 0 28px; max-width: 460px; text-shadow: 0 2px 14px rgba(0,0,0,0.5); }
.h4-hero .h4-lede strong { font-weight: 400; font-style: italic; color: var(--v-brass-300); }
.h4-hero .h4-mid-right .h4-cta-row { justify-content: flex-end; }

.h4-hero .h4-cta-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 44px; }
.h4-hero .btn-primary { background: var(--v-bordeaux); color: #fff; padding: 20px 32px; font-family: var(--font-mono); font-size: 13px; letter-spacing: 2px; text-transform: uppercase; font-weight: 500; display: inline-flex; align-items: center; gap: 12px; transition: all 180ms; text-decoration: none; border: none; cursor: pointer; }
.h4-hero .btn-primary .arrow { transition: transform 180ms; }
.h4-hero .btn-primary:hover .arrow { transform: translateX(4px); }
.h4-hero .btn-primary:hover { background: var(--v-bordeaux-lift); transform: translateY(-2px); }
.h4-hero .btn-ghost { background: rgba(247,243,236,0.14); color: var(--v-paper); border: 1px solid rgba(247,243,236,0.6); padding: 20px 28px; font-family: var(--font-mono); font-size: 13px; letter-spacing: 2px; text-transform: uppercase; font-weight: 500; transition: all 180ms; text-decoration: none; cursor: pointer; display: inline-flex; align-items: center; gap: 12px; backdrop-filter: blur(6px); }
.h4-hero .btn-ghost:hover { background: rgba(247,243,236,0.22); border-color: var(--v-paper); transform: translateY(-2px); }
.h4-hero .btn-ghost .arrow { transition: transform 180ms; }
.h4-hero .btn-ghost:hover .arrow { transform: translateX(4px); }

@media (max-width: 1200px) {
  .h4-hero .h4-content { padding: 120px 48px 48px; }
  .h4-hero h1 { font-size: 68px; }
  .h4-hero .h4-lede { font-size: 18px; }
  .h4-hero .h4-mid { gap: 40px; }
}

@media (max-width: 900px) {
  .h4-hero .h4-content { padding: 96px 28px 36px; }
  .h4-hero .h4-mid { grid-template-columns: 1fr; gap: 32px; align-items: start; }
  .h4-hero .h4-mid-right { align-items: flex-start; text-align: left; }
  .h4-hero .h4-mid-right .h4-cta-row { justify-content: flex-start; }
  .h4-hero h1 { font-size: 48px; }
  .h4-hero .h4-lede { font-size: 17px; max-width: 100%; }
  .h4-hero .h4-cta-row { margin-top: 28px; }
}

@media (max-width: 560px) {
  .h4-hero .h4-content { padding: 84px 22px 32px; }
  .h4-hero h1 { font-size: 36px; }
  .h4-hero .h4-lede { font-size: 15px; }
  .h4-hero .h4-cta-row { flex-direction: column; align-items: stretch; gap: 10px; width: 100%; }
  .h4-hero .btn-primary, .h4-hero .btn-ghost { width: 100%; justify-content: center; }
}
`;

const HeroSimple = ({ onBook }) => {
  const handleCta = (e) => { e.preventDefault(); onBook && onBook(); };

  return (
    <>
      <style dangerouslySetInnerHTML={{ __html: HERO4_CSS }} />
      <Nav onCta={onBook}/>
      <section className="h4-hero">
        <div className="h4-bg">
          <img src="./hero-house.jpg" alt="US-Immobilie — Modern Farmhouse"/>
        </div>

        <div className="h4-content">
          <div className="h4-mid">
            <div className="h4-mid-left">
              <div className="h4-eyebrow">Virtorum · US Real Estate Advisory</div>
              <h1>Cashflow aus <em>US-Immobilien</em> für deutsche Investoren.</h1>
              <div className="h4-cta-row">
                <a href="/deals" className="btn-primary">Aktuelle Deals ansehen <span className="arrow">→</span></a>
                <button type="button" className="btn-ghost" onClick={handleCta}>Erstgespräch buchen</button>
              </div>
            </div>
            <div className="h4-mid-right">
              <p className="h4-lede">Wir strukturieren Setup, Banking, Finanzierung und Deal — <strong>ohne SCHUFA, ohne US-Reise</strong>. Ein begleiteter Prozess, vom ersten Gespräch bis zum Closing.</p>
            </div>
          </div>

        </div>
      </section>
    </>
  );
};

window.HeroSimple = HeroSimple;
