/* ═══════════════════════════════════════════════════════════════
   hausmeister.css — Technischer Hausmeisterservice Detailseite
   Friedrich & Weiß Gebäudedienste GbR
   Agent-01 (Website) — Seiten-spezifische Styles

   Abhängigkeiten: global.css, components.css
   ═══════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────
   HERO — Hausmeister
   ───────────────────────────────────────── */

.hm-hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(80px + var(--space-4xl)) 0 var(--space-4xl);
  background:
    linear-gradient(180deg, var(--fw-night) 0%, var(--fw-navy) 100%),
    repeating-linear-gradient(
      0deg, transparent, transparent 79px,
      rgba(123, 189, 212, 0.025) 80px
    ),
    repeating-linear-gradient(
      90deg, transparent, transparent 79px,
      rgba(123, 189, 212, 0.025) 80px
    );
  position: relative;
  overflow: hidden;
}

.hm-hero__glow {
  position: absolute;
  top: 20%;
  left: 40%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(123, 189, 212, 0.05), transparent 70%);
  pointer-events: none;
}

.hm-hero__inhalt {
  position: relative;
  z-index: 1;
  max-width: 860px;
}

.hm-hero__badge {
  margin-bottom: var(--space-lg);
}

.hm-hero__headline {
  margin-bottom: var(--space-xl);
  font-family: var(--fw-serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--fw-crystal);
}

.hm-hero__subtext {
  font-size: 1.125rem;
  color: var(--fw-text-secondary);
  margin-bottom: var(--space-2xl);
  max-width: 620px;
  line-height: 1.7;
}

.hm-hero__aktionen {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-3xl);
}

.hm-hero__hinweis {
  margin-top: var(--space-md);
  color: var(--fw-text-muted);
  font-size: 0.875rem;
}

/* Kennzahlen-Zeile */
.hm-hero__kennzahlen {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-3xl);
  padding-top: var(--space-3xl);
  border-top: 1px solid rgba(123, 189, 212, 0.1);
}

.hm-hero__kennzahlen .kennzahl__label {
  font-family: var(--fw-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fw-text-secondary);
  margin-top: var(--space-xs);
  display: block;
}

@media (min-width: 768px) {
  .hm-hero__kennzahlen {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ─────────────────────────────────────────
   ABGRENZUNG — Was wir tun / nicht tun
   ───────────────────────────────────────── */

.hm-abgrenzung {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

@media (min-width: 768px) {
  .hm-abgrenzung {
    grid-template-columns: repeat(2, 1fr);
  }
}

.hm-abgrenzung__block {
  background: rgba(13, 30, 53, 0.8);
  border: 1px solid rgba(123, 189, 212, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.hm-abgrenzung__block--positiv {
  border-color: rgba(123, 189, 212, 0.2);
}

.hm-abgrenzung__block--negativ {
  border-color: rgba(74, 96, 128, 0.3);
}

.hm-abgrenzung__titel {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  font-family: var(--fw-sans);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hm-abgrenzung__titel--positiv {
  color: var(--fw-ice);
}

.hm-abgrenzung__titel--negativ {
  color: var(--fw-ash);
}

.hm-abgrenzung__icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.hm-abgrenzung__icon--positiv {
  background: rgba(123, 189, 212, 0.15);
  color: var(--fw-ice);
  border: 1px solid rgba(123, 189, 212, 0.3);
}

.hm-abgrenzung__icon--negativ {
  background: rgba(74, 96, 128, 0.2);
  color: var(--fw-ash);
  border: 1px solid rgba(74, 96, 128, 0.3);
}

.hm-abgrenzung__liste {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.hm-abgrenzung__punkt {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
}

.hm-abgrenzung__punkt-marker {
  font-size: 0.875rem;
  line-height: 1.6;
  flex-shrink: 0;
  margin-top: 2px;
}

.hm-abgrenzung__punkt-marker--positiv {
  color: var(--fw-ice);
}

.hm-abgrenzung__punkt-marker--negativ {
  color: var(--fw-ash);
}

.hm-abgrenzung__punkt-text {
  font-size: 0.9375rem;
  color: var(--fw-text-secondary);
  line-height: 1.6;
  max-width: none;
}

/* ─────────────────────────────────────────
   LEISTUNGEN — Grid
   ───────────────────────────────────────── */

.hm-leistungen-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

@media (min-width: 768px) {
  .hm-leistungen-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .hm-leistungen-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.hm-leistungsblock__kopf {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.hm-leistungsblock__icon {
  font-size: 1.5rem;
  color: var(--fw-ice);
  line-height: 1;
}

.hm-leistungsblock__beschreibung {
  color: var(--fw-text-secondary);
  font-size: 0.9375rem;
  line-height: 1.65;
  margin-bottom: var(--space-lg);
  max-width: none;
}

.hm-leistungsblock .feature-liste li {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
  color: var(--fw-text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.hm-leistungsblock .feature-liste li::before {
  content: '›';
  color: var(--fw-ice);
  font-size: 1rem;
  line-height: 1.6;
  flex-shrink: 0;
  margin-top: 0;
}

/* ─────────────────────────────────────────
   USP-BANNER — Gerichtsfeste Dokumentation
   ───────────────────────────────────────── */

.hm-usp-banner {
  background: linear-gradient(135deg, rgba(13, 30, 53, 0.9) 0%, rgba(26, 48, 82, 0.6) 100%);
  border: 1px solid rgba(123, 189, 212, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  position: relative;
  overflow: hidden;
}

.hm-usp-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(123, 189, 212, 0.5) 50%, transparent 100%);
}

@media (min-width: 768px) {
  .hm-usp-banner {
    grid-template-columns: 3fr 2fr;
    align-items: center;
  }
}

.hm-usp-banner__inhalt h3 {
  margin-bottom: var(--space-md);
}

.hm-usp-banner__inhalt p {
  color: var(--fw-text-secondary);
  line-height: 1.7;
  max-width: none;
}

.hm-usp-banner__zitat {
  border-left: 2px solid rgba(123, 189, 212, 0.3);
  padding-left: var(--space-lg);
}

.hm-usp-banner__zitat blockquote {
  font-family: var(--fw-serif);
  font-size: 1.125rem;
  font-style: italic;
  color: var(--fw-crystal);
  line-height: 1.6;
  margin-bottom: var(--space-sm);
}

.hm-usp-banner__zitat cite {
  font-family: var(--fw-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fw-text-muted);
  font-style: normal;
}

/* ─────────────────────────────────────────
   QUALIFIKATION — Michael Weiß
   ───────────────────────────────────────── */

.hm-qualifikation {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

@media (min-width: 768px) {
  .hm-qualifikation {
    grid-template-columns: 1fr 2fr;
  }
}

.hm-qualifikation__person {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-md);
}

.hm-qualifikation__foto-wrapper {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(123, 189, 212, 0.2);
  background: var(--fw-navy-mid);
  flex-shrink: 0;
}

.hm-qualifikation__foto {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hm-qualifikation__name {
  font-family: var(--fw-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--fw-crystal);
}

.hm-qualifikation__rolle {
  font-family: var(--fw-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fw-ice);
  display: block;
}

.hm-qualifikation__badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}

.hm-qualifikation__details h3 {
  margin-bottom: var(--space-md);
}

.hm-qualifikation__details p {
  color: var(--fw-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  max-width: none;
}

.hm-qualifikation__zertifikate {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

@media (min-width: 1024px) {
  .hm-qualifikation__zertifikate {
    grid-template-columns: repeat(3, 1fr);
  }
}

.hm-zertifikat {
  background: rgba(123, 189, 212, 0.05);
  border: 1px solid rgba(123, 189, 212, 0.12);
  border-radius: var(--radius-md);
  padding: var(--space-md);
}

.hm-zertifikat__titel {
  font-family: var(--fw-sans);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--fw-ice);
  margin-bottom: var(--space-xs);
  text-transform: none;
  letter-spacing: normal;
}

.hm-zertifikat__text {
  font-size: 0.8125rem;
  color: var(--fw-text-muted);
  line-height: 1.5;
  max-width: none;
}

/* ─────────────────────────────────────────
   PROZESS — 3 Schritte
   ───────────────────────────────────────── */

.hm-prozess-schritte {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  counter-reset: prozess;
}

@media (min-width: 768px) {
  .hm-prozess-schritte {
    grid-template-columns: repeat(3, 1fr);
  }
}

.hm-prozess-schritt {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  background: rgba(13, 30, 53, 0.6);
  border: 1px solid rgba(123, 189, 212, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  position: relative;
}

.hm-prozess-schritt__nummer {
  font-family: var(--fw-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--fw-ice);
  background: rgba(123, 189, 212, 0.1);
  border: 1px solid rgba(123, 189, 212, 0.2);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hm-prozess-schritt__inhalt h3 {
  margin-bottom: var(--space-sm);
}

.hm-prozess-schritt__inhalt p {
  color: var(--fw-text-secondary);
  font-size: 0.9375rem;
  line-height: 1.65;
  max-width: none;
}

.hm-prozess-schritt__versprechen {
  font-family: var(--fw-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fw-ice);
  margin-top: auto;
}

/* ─────────────────────────────────────────
   PREISÜBERSICHT
   ───────────────────────────────────────── */

.hm-preis-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

@media (min-width: 768px) {
  .hm-preis-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.hm-preis-karte {
  background: rgba(13, 30, 53, 0.8);
  border: 1px solid rgba(123, 189, 212, 0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.hm-preis-karte__label {
  font-family: var(--fw-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fw-ice);
  margin-bottom: var(--space-sm);
  display: block;
}

.hm-preis-karte__betrag {
  font-family: var(--fw-serif);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 300;
  color: var(--fw-crystal);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.hm-preis-karte__einheit {
  font-family: var(--fw-sans);
  font-size: 0.875rem;
  color: var(--fw-text-muted);
  margin-bottom: var(--space-md);
  max-width: none;
}

.hm-preis-karte__brutto {
  font-size: 0.875rem;
  color: var(--fw-text-muted);
  margin-bottom: var(--space-lg);
  max-width: none;
}

.hm-preis-karte__details {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  border-top: 1px solid rgba(123, 189, 212, 0.08);
  padding-top: var(--space-md);
}

.hm-preis-karte__detail-zeile {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.875rem;
  color: var(--fw-text-secondary);
  max-width: none;
}

.hm-preis-karte__detail-wert {
  font-family: var(--fw-mono);
  font-size: 0.8125rem;
  color: var(--fw-ice);
}

.hm-preis-hinweis {
  margin-top: var(--space-xl);
  padding: var(--space-lg);
  background: rgba(123, 189, 212, 0.04);
  border: 1px solid rgba(123, 189, 212, 0.1);
  border-radius: var(--radius-md);
  color: var(--fw-text-muted);
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: none;
}

/* ─────────────────────────────────────────
   SEKTION__KOPF — helle Variante
   ───────────────────────────────────────── */

.sektion--hell .sektion__kopf h2 {
  color: var(--fw-text-dark);
}

.sektion--hell .sektion__subtext {
  color: var(--fw-text-dark);
  opacity: 0.75;
}

.sektion--hell h3 {
  color: var(--fw-navy-mid);
}

.sektion--hell .hm-abgrenzung__block {
  background: var(--fw-white);
  border-color: var(--fw-light-bg);
}

.sektion--hell .hm-abgrenzung__punkt-text {
  color: var(--fw-text-dark);
}

/* ─────────────────────────────────────────
   SEKTION__KOPF — gemeinsam
   ───────────────────────────────────────── */

.sektion__kopf {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.sektion__kopf .tag {
  display: inline-block;
  margin-bottom: var(--space-md);
}

.sektion__kopf h2 {
  margin-bottom: var(--space-md);
}

.sektion__subtext {
  font-size: 1.0625rem;
  color: var(--fw-text-secondary);
  max-width: 600px;
  margin-inline: auto;
  line-height: 1.7;
}

/* ─────────────────────────────────────────
   CTA-FINAL
   ───────────────────────────────────────── */

.hm-cta-final {
  background: linear-gradient(180deg, var(--fw-navy) 0%, var(--fw-night) 100%);
  border-top: 1px solid rgba(123, 189, 212, 0.1);
}

.hm-cta-final__inhalt {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
}

.hm-cta-final__inhalt h2 {
  margin-bottom: var(--space-md);
}

.hm-cta-final__inhalt > p {
  margin-bottom: var(--space-2xl);
  max-width: none;
  margin-inline: auto;
}

.hm-cta-final__aktionen {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
  margin-bottom: var(--space-xl);
}

.hm-cta-final__kontakt {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
  align-items: center;
}

.hm-cta-final__tel {
  font-family: var(--fw-serif);
  font-size: 1.375rem;
  color: var(--fw-crystal);
}

.hm-cta-final__tel:hover {
  color: var(--fw-ice-light);
}

.hm-cta-final__oder {
  color: var(--fw-text-muted);
  font-size: 0.875rem;
}

.hm-cta-final__mail {
  color: var(--fw-ice);
  font-size: 0.9375rem;
}

.hm-cta-final__hinweis {
  color: var(--fw-text-muted);
  font-size: 0.8125rem;
  max-width: none;
}

/* ─────────────────────────────────────────
   BILD-TEASER
   ───────────────────────────────────────── */

.hm-bild-teaser {
  position: relative;
  height: 360px;
  overflow: hidden;
}

.hm-bild-teaser__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hm-bild-teaser__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(8, 17, 30, 0.8) 0%,
    rgba(8, 17, 30, 0.3) 100%
  );
  display: flex;
  align-items: center;
  padding: var(--space-xl) var(--space-2xl);
}

.hm-bild-teaser__text {
  font-family: var(--fw-serif);
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  font-weight: 300;
  color: var(--fw-crystal);
  max-width: 580px;
  line-height: 1.35;
}

/* ─────────────────────────────────────────
   BEWERTUNGEN
   ───────────────────────────────────────── */

.bewertungen-footer {
  text-align: center;
  margin-top: var(--space-2xl);
}

/* ─────────────────────────────────────────
   PREIS CTA-REIHE
   ───────────────────────────────────────── */

.hm-preis-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
  margin-top: var(--space-2xl);
}
