/**
 * TM24 Ankauf – Google Ads CRO Optimierungen
 * Datei: css/ankauf-ads-cro.css
 * Erstellt: 2026-06-19
 * Zweck: Gezielte CRO-Verbesserungen für Google-Ads-Traffic
 *        – Mobile-first, Friction reduzieren, CTAs stärken
 * REGELN:
 *   - Keine Änderungen an Preislogik oder Formularlogik
 *   - Keine Pflichtfelder entfernen
 *   - Keine rechtlichen Hinweise entfernen
 *   - Modular halten – keine globalen Overrides
 */

/* ═══════════════════════════════════════════════════════════
   1. SEO KEYWORD-GRID (Aufgabe 2 – device categories)
   ═══════════════════════════════════════════════════════════ */
.tm24-seo-kw-section {
  background: #f8f9fc;
  padding: 48px 0 40px;
  border-top: 1px solid #eaedf3;
}

.tm24-seo-kw-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.tm24-seo-kw-block {
  background: #fff;
  border-radius: 12px;
  padding: 24px 20px 20px;
  border: 1px solid #eaedf3;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: box-shadow 0.2s;
}

.tm24-seo-kw-block:hover {
  box-shadow: 0 4px 16px rgba(46,43,203,0.08);
}

.tm24-seo-kw-block h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tm24-seo-kw-block h3 i {
  color: #2E2BCB;
  font-size: 0.95rem;
}

.tm24-seo-kw-block p {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.6;
  margin: 0 0 14px;
}

.tm24-seo-kw-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #2E2BCB;
  text-decoration: none;
  border: 1.5px solid #2E2BCB;
  border-radius: 6px;
  padding: 7px 14px;
  transition: all 0.2s;
}

.tm24-seo-kw-cta:hover {
  background: #2E2BCB;
  color: #fff;
  text-decoration: none;
}

.tm24-seo-kw-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid #eaedf3;
  font-size: 0.85rem;
  color: #555;
  font-weight: 500;
}

.tm24-seo-kw-trust span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tm24-seo-kw-trust i {
  color: #2E2BCB;
}

/* ═══════════════════════════════════════════════════════════
   2. MOBILE CRO – ERSTER SICHTBARER BEREICH
   Sicherstellen dass CTA auf Mobile ohne Scrollen sichtbar ist
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* Hero CTA auf Mobile größer und klarer */
  .tm24-flyer-hero__cta {
    font-size: 1rem !important;
    padding: 14px 20px !important;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px !important;
  }

  /* Suchfeld auf Mobile: ausreichend groß für Touch */
  .suche-input {
    font-size: 16px !important; /* verhindert iOS auto-zoom */
    min-height: 48px;
    padding: 12px 16px 12px 44px !important;
  }

  /* SEO Keyword Grid: 1 Spalte auf Mobile */
  .tm24-seo-kw-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .tm24-seo-kw-block {
    padding: 18px 16px 16px;
  }

  /* Trust Bar auf Mobile scrollbar */
  .tm24-seo-kw-trust {
    justify-content: flex-start;
    gap: 14px;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }

  /* Buttons auf Mobile mindestens 44px hoch (Touch-freundlich) */
  .tm24-seo-kw-cta {
    min-height: 44px;
    font-size: 0.9rem;
    padding: 10px 16px;
  }
}

/* ═══════════════════════════════════════════════════════════
   3. TRUST-SIGNAL VERBESSERUNGEN (Desktop + Mobile)
   ═══════════════════════════════════════════════════════════ */

/* Topbar: immer sichtbar und prominent */
.ankauf-topbar {
  font-size: 0.82rem;
}

@media (max-width: 576px) {
  .ankauf-topbar .ankauf-topbar-inner {
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }
}

/* ═══════════════════════════════════════════════════════════
   4. HERO KLARHEIT – Schritt-für-Schritt sichtbar
   ═══════════════════════════════════════════════════════════ */

/* Schritte-Section: etwas kompakter auf Mobile */
@media (max-width: 768px) {
  .tm24-flyer-hero__process-wrap {
    padding: 32px 16px 24px;
  }

  .tm24-flyer-hero__process {
    flex-direction: column;
    gap: 16px;
  }

  .tm24-flyer-hero__arrow {
    transform: rotate(90deg);
  }

  .tm24-flyer-hero__step {
    text-align: center;
  }
}
