/* =========================================
   PAGE: STARTSEITE
========================================= */

.toabai-home {
  background: #ffffff;
  color: #0f172a;
}

/* HOME HERO */

.tm-home-hero {
  background:
    radial-gradient(circle at 82% 18%, rgba(37, 99, 235, .14), transparent 34%),
    radial-gradient(circle at 12% 0%, rgba(37, 99, 235, .06), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.tm-home-hero-content {
  max-width: 760px;
}

.tm-home-hero-status {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.tm-home-hero .tm-eyebrow {
  margin-bottom: 18px;
}

.tm-home-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #0f172a;
  font-size: clamp(3.6rem, 5.8vw, 6rem);
  line-height: .88;
  letter-spacing: -.08em;
}

.tm-home-hero .tm-lead {
  max-width: 620px;
  margin: 26px 0 0;
  color: #64748b;
  font-size: 1.08rem;
  line-height: 1.82;
}

.tm-home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.tm-home-hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.tm-home-hero-features span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(226,232,240,.92);
  color: #64748b;
  font-size: .76rem;
  font-weight: 850;
  box-shadow:
    0 6px 18px rgba(15,23,42,.04),
    inset 0 1px 0 rgba(255,255,255,.92);
}

/* HERO VISUAL */

.tm-home-hero-visual {
  display: flex;
  justify-content: flex-end;
}

.tm-home-check-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 500px;
  padding: 34px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 100% 0%, rgba(37,99,235,.10), transparent 40%),
    linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(248,250,252,.96) 100%);
  border: 1px solid rgba(226,232,240,.92);
  box-shadow:
    0 34px 90px rgba(15,23,42,.12),
    0 10px 30px rgba(37,99,235,.06),
    inset 0 1px 0 rgba(255,255,255,.96);
  backdrop-filter: blur(14px);
}

.tm-home-check-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 30px;
}

.tm-home-check-label {
  color: #64748b;
  font-size: .74rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.tm-home-check-top h3 {
  margin: 10px 0 0;
  color: #0f172a;
  font-size: 1.6rem;
  line-height: 1.06;
  letter-spacing: -.04em;
}

.tm-home-check-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.tm-home-check-kpi {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(226,232,240,.92);
  box-shadow:
    0 10px 24px rgba(15,23,42,.035),
    inset 0 1px 0 rgba(255,255,255,.92);
}

.tm-home-check-kpi span {
  display: block;
  margin-bottom: 8px;
  color: #64748b;
  font-size: .70rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.tm-home-check-kpi strong {
  display: block;
  color: #0f172a;
  font-size: 1.45rem;
  line-height: 1;
  letter-spacing: -.05em;
}

.tm-home-check-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(245,158,11,.10);
  border: 1px solid rgba(245,158,11,.16);
}

.tm-home-check-dot {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  margin-top: 5px;
  border-radius: 999px;
  background: #f59e0b;
  box-shadow: 0 0 0 6px rgba(245,158,11,.12);
}

.tm-home-check-note strong {
  display: block;
  margin-bottom: 5px;
  color: #0f172a;
  font-size: .96rem;
}

.tm-home-check-note span {
  color: #64748b;
  font-size: .88rem;
  line-height: 1.55;
}

/* SECTION VARIANTS */

.tm-home-problem {
  background:
    radial-gradient(circle at 20% 10%, rgba(37,99,235,.16), transparent 34%),
    linear-gradient(180deg, #020617 0%, #081127 100%);
}

.tm-home-solution {
  background:
    radial-gradient(circle at 82% 18%, rgba(37,99,235,.08), transparent 34%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.tm-home-trust {
  background: #ffffff;
}

.tm-home-final-cta {
  background:
    radial-gradient(circle at 50% 0%, rgba(37,99,235,.18), transparent 34%),
    linear-gradient(180deg, #020617 0%, #081127 100%);
}

/* SECTION TEXT */

.tm-home-problem-content {
  max-width: 620px;
}

.tm-home-problem h2 {
  margin: 0;
  color: #ffffff;
}

.tm-home-problem .tm-section-text {
  margin-top: 26px;
  color: rgba(226,232,240,.74);
  font-size: 1.04rem;
  line-height: 1.82;
}

.tm-home-solution-content h2,
.tm-home-trust-content h2 {
  margin: 18px 0 24px;
  color: #0f172a;
}

.tm-home-trust-image img {
  display: block;
  width: 100%;
  border-radius: 32px;
  box-shadow: 0 28px 80px rgba(15,23,42,.14);
}

.tm-home-final-cta-box {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

@media (max-width: 1100px) {
  .tm-home-hero-visual {
    justify-content: flex-start;
  }

  .tm-home-check-card {
    max-width: 620px;
  }
}

@media (max-width: 760px) {
  .tm-home-hero-actions {
    flex-direction: column;
  }

  .tm-home-hero-actions .tm-btn {
    width: 100%;
  }

  .tm-home-check-card {
    padding: 26px;
    border-radius: 28px;
  }
}

@media (max-width: 540px) {
  .tm-home-check-kpis {
    grid-template-columns: 1fr;
  }
}


/* =========================
   WEBSITE CHECK LOADER BRAND FIX
========================= */

.tm-scan-loader .tm-scan-brand {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.3;
  letter-spacing: 0;
}

.tm-scan-loader .tm-scan-brand-prefix {
  color: #64748b;
  font-weight: 500;
}

.tm-scan-loader .tm-scan-logo {
  display: inline-flex;
  align-items: baseline;
  font-size: 1.05rem;
  font-weight: 850;
  letter-spacing: -0.03em;
  line-height: 1;
  white-space: nowrap;
}

.tm-scan-loader .tm-scan-logo-main,
.tm-scan-loader .tm-scan-logo-dot {
  color: #0f172a !important;
}

.tm-scan-loader .tm-scan-logo-sub {
  color: #2563eb !important;
}

.tm-scan-loader .tm-scan-brand strong {
  color: #0f172a !important;
}

@media (max-width: 640px) {
  .tm-scan-loader .tm-scan-brand {
    margin-top: 24px;
    font-size: 0.88rem;
  }

  .tm-scan-loader .tm-scan-logo {
    font-size: 0.98rem;
  }
}

/* =========================================
   STARTSEITE: VIEWPORT FEINSCHLIFF
   Fokus: erster sichtbarer Bereich auf Desktop und Mobil
========================================= */

@media (min-width: 1101px) {
  .tm-home-hero {
    min-height: calc(100svh - 86px);
    display: flex;
    align-items: center;
    padding-top: clamp(64px, 7vh, 104px);
    padding-bottom: clamp(70px, 8vh, 112px);
  }

  .tm-home-hero-grid {
    gap: clamp(42px, 5.6vw, 82px);
  }

  .tm-home-hero h1 {
    font-size: clamp(3.35rem, 5.2vw, 5.55rem);
  }

  .tm-home-hero .tm-lead {
    margin-top: 22px;
    line-height: 1.72;
  }

  .tm-home-hero-actions {
    margin-top: 30px;
  }

  .tm-home-hero-features {
    margin-top: 22px;
  }

  .tm-home-check-card {
    max-width: 470px;
    padding: 30px;
  }

  .tm-home-check-top {
    margin-bottom: 24px;
  }

  .tm-home-check-top h3 {
    font-size: 1.45rem;
  }

  .tm-home-check-kpis {
    gap: 12px;
    margin-bottom: 18px;
  }
}

@media (max-width: 1100px) {
  .tm-home-hero {
    padding-top: 72px;
    padding-bottom: 78px;
  }

  .tm-home-hero-grid {
    gap: 42px;
  }
}

@media (max-width: 760px) {
  .tm-home-hero {
    padding-top: 46px;
    padding-bottom: 64px;
  }

  .tm-home-hero-grid {
    gap: 34px;
  }

  .tm-home-hero-status {
    margin-bottom: 18px;
  }

  .tm-home-hero .tm-eyebrow {
    margin-bottom: 14px;
  }

  .tm-home-hero h1 {
    font-size: clamp(2.55rem, 11.5vw, 3.75rem);
    line-height: .92;
  }

  .tm-home-hero .tm-lead {
    margin-top: 20px;
    font-size: 1rem;
    line-height: 1.68;
  }

  .tm-home-hero-actions {
    margin-top: 26px;
  }

  .tm-home-hero-features {
    margin-top: 20px;
    gap: 8px;
  }

  .tm-home-hero-features span {
    min-height: 32px;
    padding: 0 12px;
    font-size: .72rem;
  }

  .tm-home-check-card {
    padding: 22px;
    border-radius: 26px;
  }

  .tm-home-check-top {
    margin-bottom: 22px;
  }

  .tm-home-check-top h3 {
    font-size: 1.35rem;
  }
}

@media (max-width: 420px) {
  .tm-home-hero {
    padding-top: 38px;
    padding-bottom: 58px;
  }

  .tm-home-hero h1 {
    font-size: clamp(2.35rem, 11vw, 3.2rem);
  }

  .tm-home-hero .tm-lead {
    font-size: .96rem;
  }
}


/* =========================
   LAUNCH MOBILE VIEWPORT ALIGNMENT: STARTSEITE
   Keeps the first mobile viewport compact and consistent.
========================= */

@media (max-width: 760px) {
  .tm-home-hero {
    padding-top: 56px;
    padding-bottom: 64px;
  }

  .tm-home-hero-grid {
    gap: 30px;
  }

  .tm-home-hero .tm-lead {
    margin-top: 18px;
  }

  .tm-home-hero-actions {
    margin-top: 22px;
  }

  .tm-home-hero-features {
    margin-top: 16px;
  }
}

@media (max-width: 420px) {
  .tm-home-hero {
    padding-top: 50px;
    padding-bottom: 58px;
  }
}

/* =========================
   STARTSEITE: MOBILE CSS FIXES
   Fixes missing styles for solution eyebrow, maintenance panel and trust badge.
========================= */

.tm-section-eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  color: #2563eb;
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.tm-home-solution-panel {
  overflow: hidden;
  border-radius: 32px;
  background:
    radial-gradient(circle at 100% 0%, rgba(37,99,235,.14), transparent 42%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(226,232,240,.95);
  box-shadow:
    0 28px 80px rgba(15,23,42,.10),
    inset 0 1px 0 rgba(255,255,255,.96);
}

.tm-home-solution-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 22px 24px;
  border-bottom: 1px solid rgba(226,232,240,.9);
}

.tm-home-solution-label {
  color: #0f172a;
  font-size: .86rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.tm-home-solution-status {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(22,163,74,.10);
  color: #16a34a;
  font-size: .76rem;
  font-weight: 850;
  white-space: nowrap;
}

.tm-home-solution-panel-body {
  display: grid;
  gap: 0;
  padding: 8px 24px 24px;
}

.tm-home-solution-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(226,232,240,.85);
}

.tm-home-solution-row:last-child {
  border-bottom: 0;
}

.tm-home-solution-row span {
  color: #64748b;
  font-size: .92rem;
  line-height: 1.35;
}

.tm-home-solution-row strong {
  color: #0f172a;
  font-size: .92rem;
  font-weight: 850;
  text-align: right;
  white-space: nowrap;
}

.tm-home-trust-image {
  position: relative;
}

.tm-home-trust-badge {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(226,232,240,.92);
  box-shadow: 0 18px 46px rgba(15,23,42,.16);
  backdrop-filter: blur(14px);
}

.tm-home-trust-badge strong {
  display: block;
  margin-bottom: 5px;
  color: #0f172a;
  font-size: .96rem;
  line-height: 1.25;
}

.tm-home-trust-badge span {
  display: block;
  color: #64748b;
  font-size: .84rem;
  line-height: 1.5;
}

@media (max-width: 760px) {
  .tm-section-eyebrow {
    margin-bottom: 14px;
    font-size: .76rem;
    letter-spacing: .14em;
  }

  .tm-home-solution-panel {
    border-radius: 26px;
  }

  .tm-home-solution-panel-head {
    padding: 18px 20px;
  }

  .tm-home-solution-panel-body {
    padding: 4px 20px 20px;
  }

  .tm-home-solution-label {
    font-size: .76rem;
  }

  .tm-home-solution-status {
    min-height: 28px;
    font-size: .72rem;
  }

  .tm-home-solution-row {
    padding: 14px 0;
  }

  .tm-home-solution-row span,
  .tm-home-solution-row strong {
    font-size: .86rem;
  }

  .tm-home-trust-badge {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin: -28px 16px 0;
    padding: 16px 18px;
    border-radius: 20px;
  }
}

@media (max-width: 420px) {
  .tm-home-solution-panel-head,
  .tm-home-solution-row {
    align-items: flex-start;
  }

  .tm-home-solution-panel-head {
    flex-direction: column;
    gap: 10px;
  }

  .tm-home-solution-row strong {
    white-space: normal;
  }
}
