/*
Theme Name: B&H Equity Onepager
Theme URI: https://example.com/
Author: ChatGPT for B&H Equity Investment GmbH
Author URI: https://example.com/
Description: A discreet, high-end onepage WordPress theme for B&H Equity Investment GmbH. Deep English Green, ivory typography, no images, no logo, no tracking.
Version: 1.4.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: Proprietary / Private Use
Text Domain: bh-equity-onepager
*/

/* =========================================================
   B&H EQUITY INVESTMENT GMBH
   Private onepage WordPress theme
   CI: Deep English Green / Warm Ivory / Aged Brass
   No logo. No images. No tracking. Minimal typography.
   ========================================================= */

:root {
  --bg-main: #10251C;
  --bg-soft: #0D1E17;

  --text-main: #F1E8D8;
  --text-muted: #B9AC98;
  --text-soft: rgba(185, 172, 152, 0.72);

  --accent: #9C8561;
  --line: rgba(241, 232, 216, 0.14);
  --line-soft: rgba(241, 232, 216, 0.085);

  --max-width: 1120px;
  --side-pad: clamp(22px, 4.4vw, 64px);
  --section-pad: clamp(54px, 6.4vw, 92px);

  /*
    Final typography direction:
    Source Serif 4 carries the full content system.
    Libre Baskerville remains only for the quiet wordmark.
  */
  --font-display: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-body: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-wordmark: "Libre Baskerville", Georgia, "Times New Roman", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg-main);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.58;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 72% 0%, rgba(241, 232, 216, 0.026), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,0.012), transparent 24%);
  z-index: -1;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 5px;
}

::selection {
  background: rgba(156, 133, 97, 0.35);
  color: var(--text-main);
}

.bh-page {
  overflow: hidden;
}

.bh-container {
  width: min(var(--max-width), calc(100% - (var(--side-pad) * 2)));
  margin: 0 auto;
}

/* =========================================================
   Header
   ========================================================= */

.bh-header {
  padding: clamp(24px, 3.2vw, 40px) 0 0;
}

.bh-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.bh-wordmark {
  font-family: var(--font-wordmark);
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.2;
  letter-spacing: 0.006em;
  color: var(--text-main);
  white-space: nowrap;
  font-weight: 400;
}

.bh-contact-link {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.045em;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(156, 133, 97, 0.42);
  padding-bottom: 3px;
  transition: color 180ms ease, border-color 180ms ease;
}

.bh-contact-link:hover {
  color: var(--text-main);
  border-color: var(--accent);
}

/* =========================================================
   Hero
   ========================================================= */

.bh-hero {
  min-height: clamp(520px, 76vh, 740px);
  display: flex;
  align-items: center;
  padding: clamp(58px, 7vw, 94px) 0 clamp(54px, 7vw, 88px);
}

.bh-hero__content {
  max-width: 850px;
}

.bh-kicker {
  margin: 0 0 22px;
  font-family: var(--font-body);
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.bh-hero h1 {
  margin: 0;
  max-width: 780px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(33px, 3.9vw, 52px);
  line-height: 1.13;
  letter-spacing: -0.018em;
  color: var(--text-main);
}

.bh-hero__lead {
  margin: clamp(24px, 3vw, 34px) 0 0;
  max-width: 700px;
  font-size: clamp(17px, 1.28vw, 20px);
  line-height: 1.52;
  color: var(--text-main);
}

.bh-hero__sub {
  margin: 18px 0 0;
  max-width: 710px;
  color: var(--text-muted);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.66;
}

/* =========================================================
   Sections
   ========================================================= */

.bh-section {
  padding: var(--section-pad) 0;
  border-top: 1px solid var(--line);
}

.bh-section--soft {
  background: linear-gradient(
    180deg,
    rgba(13, 30, 23, 0.62),
    rgba(13, 30, 23, 0.32)
  );
}

.bh-section__grid {
  display: grid;
  grid-template-columns: minmax(132px, 0.25fr) minmax(0, 0.75fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: start;
}

.bh-label {
  margin: 4px 0 0;
  font-family: var(--font-body);
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.bh-section h2 {
  margin: 0;
  max-width: 760px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(24px, 2.35vw, 33px);
  line-height: 1.24;
  letter-spacing: -0.012em;
  color: var(--text-main);
}

.bh-section p {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--text-muted);
}

.bh-section p:first-of-type {
  color: var(--text-main);
}

/* =========================================================
   Scope / List Rows
   ========================================================= */

.bh-list {
  margin: clamp(30px, 4vw, 44px) 0 0;
  border-top: 1px solid var(--line);
}

.bh-list__row {
  display: grid;
  grid-template-columns: minmax(150px, 0.32fr) minmax(0, 0.68fr);
  gap: clamp(20px, 3.4vw, 56px);
  padding: 21px 0;
  border-bottom: 1px solid var(--line);
}

.bh-list__title {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.48vw, 22px);
  line-height: 1.28;
  color: var(--text-main);
  font-weight: 500;
  letter-spacing: -0.008em;
}

.bh-list__text {
  color: var(--text-muted);
  max-width: 575px;
}

/* =========================================================
   Principles
   ========================================================= */

.bh-principles {
  margin: clamp(30px, 4vw, 44px) 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.bh-principle {
  padding: clamp(21px, 2.4vw, 30px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.bh-principle h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.25;
  color: var(--text-main);
  letter-spacing: -0.008em;
}

.bh-principle p {
  margin: 0;
  font-size: 16px;
  line-height: 1.58;
  color: var(--text-muted);
}

/* =========================================================
   Contact
   ========================================================= */

.bh-contact-card {
  margin: clamp(28px, 3.8vw, 40px) 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.bh-email {
  display: inline-block;
  margin: 2px 0 0;
  font-family: var(--font-body);
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.35;
  color: var(--text-main);
  border-bottom: 1px solid rgba(156, 133, 97, 0.48);
  transition: color 180ms ease, border-color 180ms ease;
  word-break: break-word;
}

.bh-email:hover {
  color: var(--text-main);
  border-color: var(--accent);
}

.bh-location {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 15.5px;
}

/* =========================================================
   Footer
   ========================================================= */

.bh-footer {
  padding: 30px 0 42px;
  border-top: 1px solid var(--line);
  color: rgba(185, 172, 152, 0.82);
  font-size: 12.5px;
  line-height: 1.55;
}

.bh-footer__inner {
  display: grid;
  grid-template-columns: minmax(190px, 0.28fr) minmax(0, 0.72fr);
  gap: clamp(24px, 4vw, 62px);
  align-items: start;
}

.bh-footer strong {
  color: var(--text-main);
  font-weight: 400;
}

.bh-footer__brand {
  color: var(--text-main);
  font-family: var(--font-wordmark);
  font-size: 13px;
  line-height: 1.4;
}

.bh-footer__legal {
  color: rgba(185, 172, 152, 0.82);
}

.bh-footer__links {
  margin: 12px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  font-family: var(--font-body);
}

.bh-footer__legal-link {
  font-size: 13px;
}

/* =========================================================
   Legal Page / Impressum
   ========================================================= */

.bh-legal-page {
  padding-top: clamp(72px, 9vw, 118px);
}

.bh-legal-page__title {
  margin: 0;
  max-width: 760px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 2.8vw, 38px);
  line-height: 1.2;
  letter-spacing: -0.012em;
  color: var(--text-main);
}

.bh-legal-content {
  margin-top: clamp(32px, 4vw, 48px);
  max-width: 760px;
  color: var(--text-muted);
}

.bh-legal-content h2 {
  margin: 34px 0 10px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(19px, 1.6vw, 23px);
  line-height: 1.28;
  color: var(--text-main);
  letter-spacing: -0.008em;
}

.bh-legal-content h2:first-child {
  margin-top: 0;
}

.bh-legal-content p {
  margin: 0 0 16px;
  color: var(--text-muted);
}

.bh-legal-content a {
  color: var(--text-main);
  border-bottom: 1px solid rgba(156, 133, 97, 0.42);
  transition: border-color 180ms ease;
}

.bh-legal-content a:hover {
  border-color: var(--accent);
}

.bh-legal-note {
  margin-top: 34px !important;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--text-soft) !important;
  font-size: 12.5px;
  line-height: 1.55;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 820px) {
  :root {
    --side-pad: 22px;
    --section-pad: 54px;
  }

  body {
    font-size: 16.5px;
  }

  .bh-header__inner {
    align-items: flex-start;
  }

  .bh-wordmark {
    white-space: normal;
    max-width: 230px;
  }

  .bh-hero {
    min-height: auto;
    padding: 74px 0 62px;
  }

  .bh-kicker {
    margin-bottom: 18px;
  }

  .bh-hero h1 {
    letter-spacing: -0.014em;
  }

  .bh-section__grid,
  .bh-list__row,
  .bh-footer__inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .bh-label {
    margin: 0;
  }

  .bh-list__row {
    padding: 22px 0;
  }

  .bh-principles {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .bh-header {
    padding-top: 22px;
  }

  .bh-contact-link {
    font-size: 12.5px;
  }

  .bh-hero {
    padding-top: 64px;
  }

  .bh-principle {
    padding: 22px 0;
    border-right: 0;
    border-left: 0;
  }

  .bh-principles {
    border-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}