/* ===================================================
   HOLTZ IMMOBILIEN – Leistungs-Landingpages
   Zusatzbausteine für die ausführlichen Leistungsseiten
   (/investment, /immobilienfinanzierung, /projektentwicklung,
   /hausverwaltung). Hero, Einführung, Werteleiste und
   Kontaktband stammen aus holtz-home.css; hier stehen nur die
   Raster, die es dort noch nicht gab. Alle Werte laufen über
   die vorhandenen Design-Tokens und funktionieren damit auch
   im Dunkelmodus.
   =================================================== */

/* ── Handlungsflächen unter dem Hero-Einstieg ── */

.hh-lp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* ===================== Leistungsbausteine =====================
   Ruhige Info-Karten (kein Link) – dieselbe Formsprache wie die
   Leistungskarten der Startseite, aber ohne Anheben beim Hover. */

.hh-lp-features {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
}

.hh-lp-feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  padding: clamp(1.5rem, 1.25rem + 1vw, 2rem);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  background: var(--c-surface);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.32s var(--ease), box-shadow 0.32s var(--ease);
}

.hh-lp-feature:hover {
  border-color: rgba(var(--c-gold-rgb), 0.5);
  box-shadow: 0 14px 32px rgba(var(--c-forest-rgb), 0.08);
}

/* Heller Bronzekreis mit feinem Ring – wie bei .hh-service-icon */
.hh-lp-feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(var(--c-gold-rgb), 0.45);
  background: var(--c-gold-soft);
  color: var(--c-gold-ink);
}

.hh-lp-feature-icon svg {
  width: 23px;
  height: 23px;
  stroke-width: 1.6;
}

.hh-lp-feature-title {
  margin: 1.375rem 0 0;
  font-size: 1.0625rem;
  line-height: 1.25;
  color: var(--c-text);
}

.hh-lp-feature-text {
  margin: 0.6rem 0 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--c-text-secondary);
}

/* ===================== Prozess / Ablauf =====================
   Nummerierte Schritte als editorialer Raster: große Ziffer in
   Bronze über einer feinen Oberkante mit goldenem Anstrich. */

.hh-lp-steps {
  display: grid;
  gap: clamp(1.75rem, 1.4rem + 1.5vw, 2.75rem) clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  counter-reset: hh-lp-step;
}

@media (min-width: 56rem) {
  .hh-lp-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.hh-lp-step {
  position: relative;
  padding-top: 1.25rem;
  border-top: 1px solid var(--c-border-strong);
}

/* Goldener Anstrich, der die Oberkante jedes Schritts markiert */
.hh-lp-step::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 40px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(to right, var(--c-gold), rgba(var(--c-gold-rgb), 0.25));
}

.hh-lp-step-no {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  color: var(--c-gold-ink);
}

.hh-lp-step-title {
  margin: 0.875rem 0 0;
  font-size: var(--text-h3);
  line-height: 1.2;
  color: var(--c-text);
}

.hh-lp-step-text {
  margin: 0.5rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--c-text-secondary);
}

/* ===================== Vertiefung =====================
   Zusammenhängende Liste von Fachthemen als eine Karte mit
   Trennlinien – wie die Kennzahlenleiste, nur einspaltig. */

.hh-lp-topics {
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  background: var(--c-surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.hh-lp-topic {
  padding: clamp(1.25rem, 1rem + 1vw, 1.75rem) clamp(1.375rem, 1.1rem + 1vw, 2rem);
  border-top: 1px solid var(--c-border);
  transition: background-color 0.3s var(--ease);
}

.hh-lp-topic:first-child {
  border-top: 0;
}

.hh-lp-topic:hover {
  background: rgba(var(--c-gold-rgb), 0.05);
}

.hh-lp-topic-title {
  position: relative;
  margin: 0 0 0.4rem;
  padding-left: 1rem;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--c-text);
}

/* Kleiner Bronzepunkt als Aufzähler vor jedem Thema */
.hh-lp-topic-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-gold);
}

.hh-lp-topic-text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--c-text-secondary);
}

/* ===================== Querverweise =====================
   Verweiskarten auf inhaltlich angrenzende Leistungsseiten. */

.hh-lp-related {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
}

.hh-lp-related-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: clamp(1.125rem, 0.9rem + 1vw, 1.5rem);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  background: var(--c-surface);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.hh-lp-related-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--c-gold-rgb), 0.5);
  box-shadow: 0 16px 36px rgba(var(--c-forest-rgb), 0.1);
}

.hh-lp-related-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(var(--c-gold-rgb), 0.45);
  background: var(--c-gold-soft);
  color: var(--c-gold-ink);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}

.hh-lp-related-icon svg {
  width: 21px;
  height: 21px;
  stroke-width: 1.7;
}

.hh-lp-related-card:hover .hh-lp-related-icon {
  background: var(--c-gold);
  color: #fff;
}

.hh-lp-related-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.hh-lp-related-label {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--c-text);
}

.hh-lp-related-text {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--c-text-secondary);
}

.hh-lp-related-arrow {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-left: auto;
  color: var(--c-primary);
  transition: transform 0.25s var(--ease);
}

.hh-lp-related-card:hover .hh-lp-related-arrow {
  transform: translateX(4px);
}
