/* =========================================================
   GRAFFITI-FREE · styles-index.css
   Seitenspezifische Styles für index.html.
   Lädt nach styles-gf.css.
   Keine Overrides globaler Klassen aus styles-gf.css.
   ========================================================= */
/* =========================================================
   INDEX.HTML — Seitenspezifische Styles
   Ergänzung zu styles-gf.css. Keine Overrides globaler Klassen.
   ========================================================= */

/* ── Hero ── */
.idx-hero {
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  padding-top: 68px;
}

.idx-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100svh - 68px - 80px);
}

.idx-hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 6vw, 80px) clamp(32px, 4vw, 56px) clamp(48px, 6vw, 80px) clamp(80px, 9vw, 160px);
}

.idx-hero-eyebrow {
  font-family: var(--body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: up 0.7s var(--ease) 0.1s forwards;
}

.idx-hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--green);
  flex-shrink: 0;
}

.idx-h1 {
  font-family: var(--head);
  font-size: clamp(1.9rem, 3.5vw, 3.1rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin-bottom: 0;
  opacity: 0;
  animation: up 0.8s var(--ease) 0.2s forwards;
}

/* Differenzierer-Zeile — eigene visuelle Ebene */
.idx-h1-sub {
  display: block;
  font-family: var(--head);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 400;
  color: var(--ink-soft);
  line-height: 1.45;
  margin-top: 18px;
  letter-spacing: 0;
}

.idx-hero-body {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: min(520px, 100%);
  margin-top: 24px;
  margin-bottom: 36px;
  opacity: 0;
  animation: up 0.8s var(--ease) 0.35s forwards;
}

.idx-hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: up 0.8s var(--ease) 0.45s forwards;
}

/* Tel-Button responsive */
.tel-desktop { display: inline; }
.tel-mobile  { display: none; }

@media (max-width: 600px) {
  .tel-desktop { display: none; }
  .tel-mobile  { display: inline; }
}

/* btn-outline--green */
.btn-outline--green {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--green);
  font-family: var(--body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 13px 24px;
  border-radius: 2px;
  border: 1px solid var(--green);
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
  min-height: 44px;
  -webkit-tap-highlight-color: transparent;
}

.btn-outline--green:hover {
  background: var(--green);
  color: var(--white);
}

/* ── Hero Bild ── */
.idx-hero-img {
  position: relative;
  background: var(--stone);
  overflow: hidden;
  animation: fade 1.2s var(--ease) 0.1s both;
}

.idx-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  object-position: center;
}

.idx-hero-card {
  position: absolute;
  bottom: 28px;
  left: 28px;
  right: 28px;
  background: rgba(28,28,26,0.84);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 3px;
  padding: 16px 20px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.idx-hero-card strong {
  display: block;
  font-family: var(--head);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}

.idx-hero-card span {
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 300;
  color: rgba(255,255,255,.6);
  line-height: 1.5;
}

/* ── Trust-Bar (unter Hero-Grid) ── */
.idx-trust-bar {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--stone);
}

.idx-trust-bar-slot {
  padding: 20px var(--pad);
  border-right: 1px solid var(--line);
}

.idx-trust-bar-slot:last-child {
  border-right: none;
}

.idx-trust-bar-slot strong {
  display: block;
  font-family: var(--head);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 3px;
}

.idx-trust-bar-slot span {
  font-family: var(--body);
  font-size: 0.7rem;
  color: var(--ink-soft);
  font-weight: 300;
  line-height: 1.5;
}

.idx-trust-bar-slot a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.idx-trust-bar-hide-mobile { display: block; }

@media (max-width: 768px) {
  .idx-trust-bar-hide-mobile { display: none; }
  .idx-trust-bar {
    grid-template-columns: repeat(3, 1fr);
  }
  /* Slot 3 ist jetzt letztes sichtbares: border-right weg */
  .idx-trust-bar-slot:nth-child(3) {
    border-right: none;
  }
}

/* ═══════════════════════════════════════════════════════════
   TRUST-SECTION
   Weißer Hintergrund — gleicher Guss wie Über-uns-Seite.
   Foto rechts, rund, prominent aber nicht dominant.
   Quote: Stone-Feld mit grüner Left-Border, kein schwarzer Kasten.
   ═══════════════════════════════════════════════════════════ */

.idx-trust {
  padding: clamp(48px, 6vw, 80px) 0;
  background: var(--white);
}

.idx-trust-inner {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: clamp(48px, 6vw, 80px);
  align-items: center;
}

/* ── H2 ── */
.idx-trust-h2 {
  font-family: var(--head);
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin-bottom: 6px;
  max-width: 520px;
}

/* Subline unter H2 — "Vom ersten Kontakt bis zum Kamerabericht." */
.idx-trust-h2-sub {
  display: block;
  font-family: var(--head);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  font-weight: 400;
  color: var(--ink-soft);
  line-height: 1.35;
  margin-bottom: clamp(28px, 3.5vw, 40px);
  max-width: 520px;
}

/* ── Drei Argumente ── */
.idx-trust-arg {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 0 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.idx-trust-arg:first-of-type {
  border-top: 1px solid var(--line);
}

.idx-trust-arg:last-of-type {
  border-bottom: none;
}

.idx-trust-arg-num {
  font-family: var(--body);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--green);
  padding-top: 2px;
}

.idx-trust-arg-body h3 {
  font-family: var(--head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 5px;
  line-height: 1.2;
}

.idx-trust-arg-body p {
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.72;
  color: var(--ink-soft);
}

/* ── Links ── */
.idx-trust-links {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.idx-trust-links .btn-ghost {
  padding-bottom: 0;
  border-bottom: none;
}

/* ── Rechte Spalte: Foto rund ── */
.idx-trust-photo-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.idx-trust-photo-col img {
  display: block;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 25%;
  border: 4px solid var(--white);
  box-shadow: 0 0 0 1px var(--line);
}

.idx-trust-photo-name {
  font-family: var(--head);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  display: block;
  text-align: center;
  margin-bottom: 2px;
}

.idx-trust-photo-role {
  font-family: var(--body);
  font-size: 0.7rem;
  font-weight: 300;
  color: var(--ink-soft);
  text-align: center;
}

/* ═══════════════════════════════════════════════════════════
   QUOTE-STRIP — Kundenstimme als vollbreite Section
   Zwischen Trust und Leistungen. Stone-Hintergrund.
   Sofort erkennbar als Zitat: großes Anführungszeichen,
   Google-Herkunft prominent, zentriert.
   ═══════════════════════════════════════════════════════════ */

.idx-quote-strip {
  background: var(--stone);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(40px, 5vw, 64px) 0;
}

.idx-quote-strip-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--pad);
  text-align: center;
}

/* Großes Anführungszeichen — sofortige visuelle Erkennung */
.idx-quote-mark {
  font-family: var(--head);
  font-size: 5rem;
  line-height: 0.6;
  color: var(--green);
  display: block;
  margin-bottom: 20px;
  user-select: none;
}

.idx-quote-strip-text {
  font-family: var(--head);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.45;
  display: block;
  margin-bottom: 20px;
}

/* Google-Herkunft: Logo + Sterne + Quelle inline */
.idx-quote-strip-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

.idx-quote-strip-stars {
  color: #FBBC05;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.idx-quote-strip-source {
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--ink-soft);
}

.idx-quote-strip-divider {
  width: 1px;
  height: 14px;
  background: var(--line);
  display: inline-block;
}


/* Foto nach H2: nur Mobile */
.idx-trust-photo-mobile {
  display: none;
}

.idx-trust-photo-mobile img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 25%;
  border: 2px solid var(--line);
  flex-shrink: 0;
}

.idx-trust-photo-mobile .idx-trust-person-name {
  font-family: var(--head);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  display: block;
  margin-bottom: 2px;
}

.idx-trust-photo-mobile .idx-trust-person-role {
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 300;
  color: var(--ink-soft);
}

.idx-trust-photo-mobile {
  display: none;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
  margin-bottom: 20px;
}

/* ── Leistungen-Section ── */
.idx-leistungen {
  background: var(--white);
  padding: clamp(72px, 10vw, 120px) 0;
}

.idx-leistungen-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(40px, 5vw, 60px);
  flex-wrap: wrap;
}

.idx-leistung-row {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s;
}

.idx-leistung-row:last-child {
  border-bottom: 1px solid var(--line);
}

.idx-leistung-row:hover {
  opacity: 0.72;
}

.idx-leistung-num {
  font-family: var(--head);
  font-size: 0.78rem;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
  align-self: start;
  padding-top: 4px;
}

.idx-leistung-content h3 {
  font-family: var(--head);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 5px;
  letter-spacing: 0.01em;
}

.idx-leistung-content p {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 520px;
}

.idx-leistung-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}

.idx-tag {
  font-family: var(--body);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-pale);
  padding: 3px 7px;
  border-radius: 1px;
}

.idx-leistung-arrow {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── Einsatzgebiet-Section ── */
.idx-einsatzgebiet {
  padding: clamp(72px, 10vw, 120px) 0;
  background: var(--stone);
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */



/* ── Mobile: unter 900px ──
   Hero = 100svh. Text oben (~45svh), Bild unten (~55svh).
   Trust-Bar beginnt erst nach dem Viewport. */
@media (max-width: 900px) {
  .idx-hero {
    min-height: 100svh;
    padding-top: 68px;
    grid-template-rows: 1fr auto;
  }

  .idx-hero-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    min-height: calc(100svh - 68px - 80px);
  }

  .idx-hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(32px, 5vw, 48px) var(--pad) clamp(28px, 4vw, 40px);
  }

  .idx-hero-img {
    position: relative;
    animation: none;
    overflow: hidden;
  }

  .idx-hero-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .idx-hero-card {
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 0;
    padding: 12px 20px;
  }

  .idx-hero-card span {
    display: none;
  }
}

/* ── Mobile: unter 600px ── */
@media (max-width: 600px) {
  .idx-h1 {
    font-size: clamp(1.75rem, 7vw, 2.2rem);
  }

  .idx-h1-sub {
    font-size: 0.9rem;
    margin-top: 14px;
  }

  .idx-hero-body {
    font-size: 0.85rem;
    margin-top: 18px;
    margin-bottom: 28px;
  }

  .idx-hero-cta {
    gap: 12px;
    flex-direction: column;
    align-items: stretch;
  }

  .idx-hero-cta .btn-solid,
  .idx-hero-cta .btn-outline--green {
    justify-content: center;
    padding: 16px 24px;
  }

  /* Trust-Bar: einspaltig auf Mobile — jeder Slot volle Breite */
  .idx-trust-bar {
    grid-template-columns: 1fr;
  }

  .idx-trust-bar-slot {
    padding: 20px var(--pad);
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .idx-trust-bar-hide-mobile {
    display: none !important;
  }

  .idx-trust-bar-slot:last-child {
    border-bottom: none;
  }

  .idx-trust-bar-slot:nth-child(3) {
    border-top: none;
    grid-column: auto;
  }
}

/* ── Mobile S: unter 420px ── */
@media (max-width: 420px) {
  .idx-hero-text {
    padding: 24px 20px 28px;
  }

  .idx-h1 {
    font-size: clamp(1.55rem, 8vw, 1.9rem);
  }

  .idx-h1-sub {
    font-size: 0.85rem;
    margin-top: 10px;
  }

  .idx-trust-bar-slot strong {
    font-size: 0.78rem;
  }

  .idx-trust-bar-slot span {
    font-size: 0.62rem;
  }
}

/* Trust-Section Responsive */
@media (max-width: 900px) {
  .idx-trust-inner {
    grid-template-columns: 1fr;
  }

  .idx-trust-h2-sub {
    max-width: 260px;
  }

  .idx-trust-links {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  /* Desktop-Foto ausblenden, Mobile-Foto einblenden */
  .idx-trust-photo-col {
    display: none;
  }

  .idx-trust-photo-mobile {
    display: flex;
  }

  .idx-trust-photo-name,
  .idx-trust-photo-role {
    text-align: left;
  }
}

@media (max-width: 600px) {
  .idx-trust-arg {
    grid-template-columns: 22px 1fr;
    gap: 0 12px;
    padding: 18px 0;
  }

}
/* Leistungen Responsive */
@media (max-width: 640px) {
  .idx-leistung-row {
    grid-template-columns: 36px 1fr auto;
    gap: 12px;
    padding: 20px 0;
  }

  .idx-leistung-tags {
    display: none;
  }
}

@media (max-width: 420px) {
  .idx-leistung-arrow { display: none; }
  .idx-leistung-row { grid-template-columns: 36px 1fr; }
}