:root {
  --hg-text: rgba(0, 0, 0, 0.85);
  --hg-muted: rgba(0, 0, 0, 0.65);

  --hg-card-bg: #f6f6f7;
  --hg-card-border: rgba(0, 0, 0, 0.08);
  --hg-card-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);

  --hg-radius: 18px;
}

.hg-uppercase {
  text-transform: uppercase;
}

/* Seitenbreite wie Original */
.hg-page {
  width: min(1100px, calc(100% - 64px));
  margin: 0 auto;
  padding: 44px 0 90px;
  color: var(--hg-text);
}

/* klassischer Look */
.hg-page h2,
.hg-page h3 {
  font-family: Georgia, "Times New Roman", Times, serif;
  letter-spacing: 0.5px;
}

/* WICHTIG: lange Wörter dürfen umbrechen (verhindert mobile Overflow) */
.hg-title,
.hg-intro-text h2 {
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

/* ---------------- INTRO: Text links, Karte rechts ---------------- */

.hg-intro-split {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 56px;
  align-items: start;
  margin-top: 10px;
}

.hg-intro-text {
  text-align: left;
}

.hg-intro-text h2 {
  margin: 0 0 18px;
  font-weight: 900;
  font-size: 32px;
  line-height: 1.15;
}

.hg-intro-text p {
  margin: 0 0 14px;
  line-height: 1.7;
  font-size: 17px;
  color: rgba(0, 0, 0, 0.78);
  max-width: 720px;
}

.hg-lead {
  margin-top: 14px;
  font-weight: 800;
  font-size: 17px;
}

.hg-bullets {
  margin: 10px 0 0;
  padding-left: 20px;
  line-height: 1.7;
  font-size: 17px;
  color: rgba(0, 0, 0, 0.78);
}

.hg-bullets li + li {
  margin-top: 6px;
}

/* Karte rechts */
.hg-intro-map {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 64px;
}

.hg-intro-map img {
  width: min(380px, 100%);
  height: auto;
  display: block;

  border-radius: 14px;
  border: 1px solid var(--hg-card-border);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

/* ---------------- BLOCKS ---------------- */

.hg-block {
  margin-top: 120px;
}

.hg-block-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 90px;

  /* Sicherheit: falls irgendwas nicht greift, darf es umbrechen statt overflow */
  flex-wrap: wrap;
}

/* Reverse: Text links, Karte rechts (Reihenfolge kommt im HTML) */
.hg-block--reverse .hg-block-inner {
  flex-direction: row;
}

/* Karten */
.hg-map {
  flex: 0 0 auto;
  width: min(420px, 45%);
  min-width: 0;
}

.hg-map img {
  width: 100%;
  height: auto;
  display: block;

  border-radius: 14px;
  border: 1px solid var(--hg-card-border);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.09);
}

/* Text */
.hg-info {
  flex: 1 1 320px;
  min-width: 0;
}

.hg-info--left {
  text-align: left;
}

.hg-info--right {
  text-align: right;
}

.hg-title {
  margin: 0 0 12px;
  font-weight: 900;
  font-size: 24px;
  line-height: 1.25;
}

.hg-sub {
  margin: 0 0 14px;
  font-size: 16px;
  color: var(--hg-muted);
  font-weight: 700;
  line-height: 1.55;
}

.hg-lines {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(0, 0, 0, 0.78);
}

/* ---------------- Mobile ---------------- */

@media (max-width: 980px) {
  .hg-page {
    width: min(1100px, calc(100% - 24px));
    padding-top: 26px;
    padding-bottom: 70px;
  }

  .hg-intro-split {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hg-intro-map {
    padding-top: 0;
  }

  .hg-intro-map img {
    width: min(520px, 100%);
  }

  .hg-block {
    margin-top: 34px;
  }

  .hg-block-inner {
    flex-direction: column;
    gap: 14px;
    flex-wrap: nowrap;

    background: var(--hg-card-bg);
    border: 1px solid var(--hg-card-border);
    border-radius: var(--hg-radius);
    padding: 14px;
    box-shadow: var(--hg-card-shadow);
  }

  .hg-block--reverse .hg-block-inner {
    flex-direction: column;
  }

  .hg-map {
    order: 0;
    width: 100%;
  }

  .hg-info {
    order: 1;
    width: 100%;
  }

  .hg-info--left,
  .hg-info--right {
    text-align: left;
  }

  .hg-intro-text h2 {
    font-size: 26px;
    line-height: 1.12;
  }

  .hg-title {
    font-size: 22px;
    line-height: 1.25;
  }

  .hg-intro-text p,
  .hg-bullets {
    font-size: 16px;
  }

  .hg-sub,
  .hg-lines {
    font-size: 16px;
    line-height: 1.65;
  }
}
