/* Ergaenzungen 11.11.2026: Startseiten-H1 und Leistungsseiten.
   Baut nur auf den Tokens und Bausteinen aus styles.css auf. */

/* Startseite: H1 traegt jetzt den Suchbegriff (optisch wie die bisherige Eyebrow),
   der Slogan bleibt optisch unveraendert als .hero-title. */
.hero h1.hero-kicker {
  max-width: none;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  margin: 0 0 28px;
  text-transform: uppercase;
  font: 700 11px/1.3 "Manrope", sans-serif;
  letter-spacing: 0.18em;
}

.hero .hero-title {
  max-width: 760px;
  margin: 0;
  display: flex;
  flex-direction: column;
  font-family: "Manrope", sans-serif;
  font-size: clamp(58px, 6.5vw, 96px);
  line-height: 0.91;
  font-weight: 650;
  letter-spacing: -0.055em;
}

.hero .hero-title .hero-title-solid {
  display: block;
  color: var(--white);
}

.hero .hero-title .hero-title-outline {
  display: inline-block;
  margin-top: 0.08em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.74);
  font-weight: 500;
}

.service-card > a[href$="-buehl"] span {
  white-space: nowrap;
}

/* ---------- Leistungsseiten ---------- */

.hero-sub {
  min-height: 0;
  height: auto;
  max-height: none;
}

.hero-sub .hero-content {
  height: auto;
  padding: 150px 0 96px;
}

.hero-sub .hero-visual {
  height: 520px;
  min-height: 0;
}

.hero-sub h1 {
  font-size: clamp(48px, 4.6vw, 72px);
  hyphens: manual;
}

.hero-sub .hero-copy {
  min-width: 0;
}

.breadcrumb {
  margin: 0 0 22px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  opacity: 0.6;
}

.breadcrumb a:hover {
  color: var(--white);
}

.hero-sub .hero-photo-frame .hero-slide {
  opacity: 1;
  transform: none;
}

.page-body {
  background: var(--white);
}

.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: start;
  gap: 80px;
}

.page-text h2 {
  margin: 0 0 22px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(34px, 3.6vw, 52px);
  line-height: 1.04;
  font-weight: 650;
  letter-spacing: -0.045em;
}

.page-text h2 span {
  color: var(--blue-600);
}

.page-text h3 {
  margin: 38px 0 10px;
  font: 700 21px/1.3 "Manrope", sans-serif;
  letter-spacing: -0.02em;
}

.page-text p,
.page-text li {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.page-text p {
  max-width: 68ch;
  margin: 0 0 18px;
}

.page-text a {
  color: var(--blue-600);
  font-weight: 600;
}

.page-text ul {
  max-width: 68ch;
  margin: 0 0 18px;
  padding-left: 20px;
}

.page-text li + li {
  margin-top: 6px;
}

.page-text .block + .block {
  margin-top: 64px;
}

.fact-card {
  position: sticky;
  top: 110px;
  padding: 30px;
  color: var(--white);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 100% 0%, rgba(51, 138, 255, 0.36), transparent 46%),
    linear-gradient(145deg, var(--navy-900), var(--blue-700));
  box-shadow: var(--shadow);
}

.fact-card > small {
  display: block;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  font: 700 11px/1 "Manrope", sans-serif;
  letter-spacing: 0.18em;
}

.fact-card dl {
  margin: 0 0 26px;
}

.fact-card dt {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
}

.fact-card dd {
  margin: 3px 0 0;
  font: 600 15px/1.45 "Manrope", sans-serif;
}

.fact-card dd a:hover {
  text-decoration: underline;
}

.fact-card .button {
  width: 100%;
}

.page-features {
  margin-top: 30px;
}

.page-features .feature {
  min-height: 0;
}

.page-features .feature p {
  margin: 6px 0 0;
  font-size: 15px;
  line-height: 1.6;
}

.page-features .feature h3 {
  margin: 4px 0 0;
  font-size: 17px;
}

.page-quote {
  margin-top: 64px;
  max-width: 760px;
}

.page-quote .review-card {
  height: auto;
  min-height: 0;
  gap: 18px;
}

.page-quote .review-card blockquote {
  margin: 0;
}

.page-compare {
  margin-top: 30px;
  max-width: 560px;
  height: 520px;
}

.more-services {
  background: var(--ice);
}

.more-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.more-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(4, 24, 57, 0.05);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.more-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(4, 24, 57, 0.1);
}

.more-card strong {
  font: 700 19px/1.3 "Manrope", sans-serif;
  letter-spacing: -0.02em;
}

.more-card span {
  color: var(--muted);
  font-size: 15px;
}

.more-card b {
  margin-top: auto;
  padding-top: 8px;
  color: var(--blue-600);
  font: 700 13px/1 "Manrope", sans-serif;
}

.cta-buttons {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.contact-sub .contact-grid {
  grid-template-columns: 1fr;
}

.contact-sub .contact-copy > p {
  max-width: 640px;
}

@media (max-width: 1120px) {
  .page-grid {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 48px;
  }
}

@media (max-width: 860px) {
  .hero-sub .hero-content {
    padding: 130px 0 80px;
  }

  .hero-sub .hero-visual {
    height: 460px;
  }

  .page-grid {
    grid-template-columns: 1fr;
  }

  .fact-card {
    position: static;
  }

  .more-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 580px) {
  .hero .hero-title {
    font-size: clamp(49px, 15vw, 68px);
    line-height: 0.92;
  }

  .hero .hero-title .hero-title-outline {
    -webkit-text-stroke-width: 1px;
  }

  .hero h1.hero-kicker {
    font-size: 10px;
    letter-spacing: 0.14em;
  }

  .hero-sub .hero-content {
    padding: 112px 0 60px;
  }

  .hero-sub h1 {
    font-size: clamp(34px, 11vw, 56px);
  }

  .hero-sub .hero-visual {
    height: 380px;
  }

  .page-text p,
  .page-text li {
    font-size: 16px;
  }

  .page-text .block + .block {
    margin-top: 48px;
  }

  .page-features {
    grid-template-columns: 1fr;
  }

  .page-compare {
    height: 440px;
  }

  .cta-buttons .button {
    width: 100%;
  }
}
