/* hochzwei · Home (index.html)
 * Page-spezifische Styles. Erbt aus mw.css.
 * Neu hier: Master-Pitch-Block (Bracket-Motiv), Trust-Strip (5 Logos),
 * Service-Teaser-Hierarchie (Lead vs Adjacent), Stimmen-Block,
 * Lead-Magnet-Block, Team-Teaser.
 */
@import url("mw.css?v=20260526");

/* ======================================================
 * Hero Layout Override (Home)
 * Die mw.css-Default-Aufteilung 1.5fr/1fr lässt der Copy-Spalte
 * im Desktop nur ~605px. H1-Zeile 2 "die skaliert, sicher bleibt"
 * braucht bei 64px aber ~715px und bricht hässlich um (bleibt fällt
 * auf eine eigene Zeile, text-wrap: balance rebalanciert ungünstig).
 * Aside trägt nur den MSP-Stamp, deshalb mehr Platz für die Copy.
 * ====================================================== */
@media (min-width: 1024px) {
  .hero-inner { grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); }
}

/* ======================================================
 * Hero Trust Pills (3 kompakte Pillen statt dt/dd)
 * Home-spezifisch: Hero aggregiert, daher schmaler Pill-Look
 * statt der ausführlichen Datenzeile auf den Service-Seiten.
 * ====================================================== */
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.hero-pill {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.86);
  padding: 7px 12px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.04);
  white-space: nowrap;
}
.hero-pill--cert {
  color: var(--hz-white);
  border-color: rgba(164,202,98,0.55);
  background: rgba(164,202,98,0.10);
}
.hero-pill--cert::before {
  content: "✓";
  margin-right: 8px;
  color: var(--hz-green-light, #A4CA62);
  font-weight: 600;
}

/* ======================================================
 * Trust-Strip (5 Kundenlogos, kein MSP)
 * Mono-Eyebrow oben, dann eine ruhige Logo-Reihe in monochromem Stil.
 * Echte Bilder aus assets/logos/customers/, einheitlich grayscale plus
 * gedimmt, full color bei Hover. Bounding-Box per max-height/max-width
 * sorgt dafuer, dass quadratische und sehr breite Logos optisch
 * vergleichbares Gewicht haben.
 * ====================================================== */
.trust-strip {
  background: var(--bg-1);
  border-bottom: 1px solid var(--border-1);
}
.trust-strip-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 36px var(--page-pad) 40px;
  display: grid;
  gap: 24px;
  text-align: center;
}
.trust-strip-inner > .eyebrow { margin: 0; }
.trust-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.trust-logos li {
  flex: 0 0 auto;
}
.trust-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 72px;
}
.trust-logo img {
  display: block;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.72;
  transition: filter var(--dur-fast), opacity var(--dur-fast);
}
/* Wide logos (4:1 bis 6:1): bis zur Breitenkappung skalieren */
.trust-logo img[src*="alois-mueller"],
.trust-logo img[src*="demmel"],
.trust-logo img[src*="vitronet"] {
  max-height: 38px;
  max-width: 170px;
}
/* Near-square logos (~1.1:1 bis 1.5:1): mehr Hoehe fuer optisches Gleichgewicht */
.trust-logo img[src*="vetter"],
.trust-logo img[src*="schlenkerhof"] {
  max-height: 64px;
  max-width: 110px;
}
.trust-logo:hover img,
.trust-logo:focus-visible img {
  filter: none;
  opacity: 1;
}

/* ======================================================
 * Master-Pitch-Block (gerahmtes Statement mit Bracket-Motiv)
 * Bewusst groß, kein Hintergrundbild, kein Container-Schatten.
 * Bracket-Motiv: Eckmarker oben links und unten rechts in Brand-Grün,
 * dazwischen das Pitch-Statement in großer Type.
 * ====================================================== */
.pitch {
  background: var(--bg-1);
  border-top: 1px solid var(--border-1);
  border-bottom: 1px solid var(--border-1);
}
.pitch-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 56px var(--page-pad);
}
@media (max-width: 719px) {
  .pitch-inner { padding: 40px var(--page-pad); }
}
.pitch-inner > .eyebrow { margin: 0 0 24px; }
.pitch-frame {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding: 36px 28px;
}
@media (min-width: 720px) {
  .pitch-frame { padding: 44px 44px; }
}
@media (min-width: 1024px) {
  .pitch-frame { padding: 56px 56px; }
}
/* Vier Eckmarker als bewusstes Bracket-Motiv. */
.pitch-frame::before,
.pitch-frame::after,
.pitch-frame > .corner-tl,
.pitch-frame > .corner-br {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: var(--hz-green);
  border-style: solid;
  border-width: 0;
}
@media (min-width: 720px) {
  .pitch-frame::before,
  .pitch-frame::after,
  .pitch-frame > .corner-tl,
  .pitch-frame > .corner-br { width: 36px; height: 36px; }
}
.pitch-frame::before { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.pitch-frame::after  { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }
.pitch-text {
  margin: 0;
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--hz-navy);
  text-align: center;
  text-wrap: balance;
}
.pitch-text strong {
  font-weight: 600;
  color: var(--hz-navy);
  background: linear-gradient(transparent 70%, rgba(164,202,98,0.32) 70%);
  padding: 0 2px;
}

/* ======================================================
 * Service-Teaser-Hierarchie (Lead vs Adjacent)
 * Erste Reihe: 2 große Lead-Karten (MW, SC), Navy-Akzentband oben.
 * Zweite Reihe: 2 schlankere Adjacent-Karten (AI, PP).
 * ====================================================== */
.services-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

.service-card {
  position: relative;
  background: var(--bg-1);
  border: 1px solid var(--border-1);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  transition: border-color var(--dur-fast), transform var(--dur-fast), box-shadow var(--dur-fast);
}
.service-card:hover {
  border-color: var(--hz-navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px -16px rgba(0,48,87,0.22);
}
.service-card-eyebrow {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-3);
  display: flex;
  align-items: center;
  gap: 8px;
}
.service-card-eyebrow::before {
  content: "";
  width: 18px; height: 1.5px;
  background: var(--hz-grey-300);
  display: inline-block;
}
.service-card--lead {
  padding: 36px 32px;
  border-color: var(--hz-grey-300);
}
.service-card--lead .service-card-eyebrow {
  color: var(--hz-green);
}
.service-card--lead .service-card-eyebrow::before {
  background: var(--hz-green);
  width: 24px;
  height: 2px;
}
.service-card--lead::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--hz-navy);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.service-card-h {
  margin: 0;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--hz-navy);
}
.service-card--lead .service-card-h {
  font-size: clamp(24px, 2.4vw, 30px);
}
.service-card-sub {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--fg-2);
  text-wrap: pretty;
}
.service-card--lead .service-card-sub {
  font-size: 16.5px;
}
.service-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}
.service-card-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--fg-3);
  padding: 3px 8px;
  border: 1px solid var(--border-1);
  border-radius: var(--r-sm);
  background: var(--bg-2);
}
.service-card-cta {
  margin-top: auto;
  padding-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--hz-navy);
}
.service-card-cta svg { width: 14px; height: 14px; transition: transform var(--dur-fast); }
.service-card:hover .service-card-cta svg { transform: translateX(4px); }
.service-card:hover .service-card-cta { color: var(--hz-green); }

/* ======================================================
 * Stimmen-Block (Drei Testimonials)
 * Karten-Layout, links Foto, rechts Zitat. Mono-Eyebrow,
 * Bracket als Anführungszeichen-Akzent.
 * ====================================================== */
.voices {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  .voices { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}
.voice-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-1);
  border: 1px solid var(--border-1);
  border-radius: var(--r-lg);
  padding: 28px;
  position: relative;
}
/* Bracket-Frame statt floating Mono-Marker: die Ecke verankert
   das Zitat sichtbar, ohne im leeren Raum zu schweben. */
.voice-card::before,
.voice-card::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--hz-green);
  pointer-events: none;
}
.voice-card::before {
  top: 16px; left: 16px;
  border-right: none; border-bottom: none;
}
.voice-card::after {
  top: 16px; right: 16px;
  border-left: none; border-bottom: none;
}
.voice-quote {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--hz-navy);
  text-wrap: pretty;
  flex-grow: 1;
}
.voice-meta {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--border-1);
  /* Min-height aller Meta-Bloecke gleich, damit Foto + Name in allen Karten
     auf derselben y-Achse starten. Hoch genug fuer Logo-Variante (52px) plus
     drei Zeilen Rolle/Org plus 18px Top-Padding plus Puffer fuer Wrapping. */
  min-height: 100px;
}
.voice-photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 1px solid var(--border-1);
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--fg-3);
  overflow: hidden;
}
.voice-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Logo-Variante: breiter, abgerundetes Rechteck mit weissem Hintergrund.
   Firmen-Wortmarken haben sehr unterschiedliche Seitenverhaeltnisse
   (Vetter ~1:1, Alois Mueller 4:1, Demmel 6:1), darum eine breitere
   Buehne mit object-fit: contain. Innerer Padding gibt Luft. */
.voice-photo--logo {
  width: 84px;
  height: 52px;
  border-radius: var(--r-md);
  background: var(--hz-white);
  padding: 8px 10px;
}
.voice-photo--logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.voice-name {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--hz-navy);
  line-height: 1.25;
}
.voice-role {
  margin: 2px 0 0;
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--fg-3);
}
.voice-role .org { color: var(--hz-navy); font-weight: 500; }

/* ======================================================
 * Lead-Magnet-Block
 * Verwendet Highlight-Template, aber mit eigenem Visual:
 * eine Mini-„Quiz-Karte" rechts mit 10 Punkten und Score-Indikator.
 * ====================================================== */
.lead-magnet-visual {
  background: var(--bg-2);
  border: 1px solid var(--border-1);
  border-radius: var(--r-lg);
  padding: 32px;
  position: relative;
  display: grid;
  gap: 20px;
}
.lead-magnet-visual-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-1);
}
.lead-magnet-visual-head .badge {
  color: var(--hz-green-900); /* AA-Kontrast 7.2:1 auf hz-green-50 */
  border: 1px solid rgba(0,132,61,0.4);
  background: var(--hz-green-50, #E6F2EB);
  border-radius: var(--r-sm);
  padding: 3px 8px;
  font-size: 10.5px;
}
.lead-magnet-dots {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 6px;
}
.lead-magnet-dots span {
  height: 10px;
  border-radius: 2px;
  background: var(--hz-grey-200);
}
.lead-magnet-dots span.filled { background: var(--hz-green); }
.lead-magnet-score {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--border-1);
}
.lead-magnet-score-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.lead-magnet-score-num {
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--hz-navy);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.lead-magnet-score-num small {
  font-size: 16px;
  color: var(--fg-3);
  font-weight: 400;
}
.lead-magnet-pdf {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--fg-2);
  padding: 12px 14px;
  background: var(--hz-white);
  border: 1px solid var(--border-1);
  border-radius: var(--r-sm);
}
.lead-magnet-pdf .icon {
  width: 28px; height: 36px;
  background: var(--hz-white);
  border: 1px solid var(--hz-navy);
  border-radius: 2px;
  position: relative;
  flex: none;
}
.lead-magnet-pdf .icon::after {
  content: "PDF";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  color: var(--hz-navy);
  font-weight: 600;
}

/* ======================================================
 * Team-Teaser (zwei Co-Founder-Karten als Cross-Links)
 * Verwendet Cross-Card-Template, aber mit großem Initial-Avatar.
 * ====================================================== */
.team-cards {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .team-cards { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
.team-card {
  position: relative;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 24px;
  background: var(--bg-1);
  border: 1px solid var(--border-1);
  border-radius: var(--r-lg);
  padding: 28px;
  text-decoration: none;
  color: inherit;
  transition: border-color var(--dur-fast), transform var(--dur-fast), box-shadow var(--dur-fast);
}
.team-card:hover {
  border-color: var(--hz-navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px -16px rgba(0,48,87,0.22);
}
.team-avatar {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: var(--hz-navy);
  color: var(--hz-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.02em;
  font-family: var(--font-sans);
  overflow: hidden;
  flex: none;
}
.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.team-body { display: flex; flex-direction: column; gap: 8px; }
.team-eyebrow {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.team-h {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  color: var(--hz-navy);
  letter-spacing: -0.015em;
}
.team-sub {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--fg-2);
}
.team-cta {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--hz-navy);
}
.team-cta svg { width: 13px; height: 13px; transition: transform var(--dur-fast); }
.team-card:hover .team-cta svg { transform: translateX(4px); }
.team-card:hover .team-cta { color: var(--hz-green); }
