/*
Theme Name: SH Digits CRM Landing
Theme URI: https://www.sh-digits.de
Author: SH Digits GmbH
Author URI: https://www.sh-digits.de
Description: Eigenständiges Landingpage-Theme für SH Digits CRM.
Version: 1.0
Requires PHP: 7.4
Text Domain: sh-digits-crm-landing
*/


  :root {
    --bg: #FFFFFF;
    --bg-soft: #F4F8F6;
    --ink: #0F1A15;
    --ink-soft: #4B5D54;
    --gray: #7C8B83;
    --line: #E3E9E5;
    --emerald: #001E5E;
    --emerald-dark: #001444;
    --emerald-light: #EAF0FA;
    --emerald-mid: #2563EB;
    --violet: #8893F7;
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--bg);
    color: var(--ink);
    font-family: 'Inter', -apple-system, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }
  a { color: inherit; text-decoration: none; }
  img { max-width: 100%; display: block; }
  .wrap { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
  h1, h2, h3 { font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
  :focus-visible { outline: 2px solid var(--emerald); outline-offset: 3px; }

  .eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 700; color: var(--emerald-dark);
    background: var(--emerald-light);
    padding: 6px 14px; border-radius: 100px;
    margin-bottom: 20px;
  }
  .eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--emerald-mid); }

  /* ---------- NAV ---------- */
  nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
  }
  .nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
  .logo { font-weight: 800; font-size: 19px; display: flex; align-items: center; gap: 9px; }
  .logo-mark {
    width: 30px; height: 30px; border-radius: 8px;
    background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-mid) 100%);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 13px; font-weight: 800;
  }
  .nav-links { display: flex; align-items: center; gap: 30px; font-size: 14.5px; font-weight: 600; }
  .nav-links a { color: var(--ink-soft); transition: color .15s; }
  .nav-links a:hover { color: var(--emerald-dark); }

  /* ---------- NAV DROPDOWN (Branchen) ---------- */
  .nav-dropdown { position: relative; }
  .nav-dropdown-trigger {
    display: flex; align-items: center; gap: 5px;
    background: none; border: none; cursor: pointer;
    font-family: 'Inter', sans-serif; font-size: 14.5px; font-weight: 600;
    color: var(--ink-soft); padding: 0;
  }
  .nav-dropdown-trigger:hover { color: var(--emerald-dark); }
  .nav-dropdown-trigger svg { transition: transform .15s; }
  .nav-dropdown:hover .nav-dropdown-trigger svg,
  .nav-dropdown.open .nav-dropdown-trigger svg { transform: rotate(180deg); }
  .nav-dropdown-menu {
    position: absolute; top: calc(100% + 16px); left: 50%; transform: translateX(-50%);
    background: #fff; border: 1px solid var(--line); border-radius: 12px;
    box-shadow: 0 16px 40px -12px rgba(0,0,0,0.18);
    padding: 8px; min-width: 230px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
    opacity: 0; visibility: hidden; transform: translateX(-50%) translateY(-6px);
    transition: opacity .15s, transform .15s, visibility .15s;
    z-index: 60;
  }
  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown.open .nav-dropdown-menu {
    opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
  }
  .nav-dropdown-menu a {
    display: block; padding: 9px 12px; border-radius: 8px;
    font-size: 13.5px; font-weight: 500; white-space: nowrap; color: var(--ink-soft);
  }
  .nav-dropdown-menu a:hover { background: var(--emerald-light); color: var(--emerald-dark); }
  .btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 24px; border-radius: 10px;
    font-size: 14.5px; font-weight: 700;
    transition: transform .15s, box-shadow .15s, background .15s;
    border: none; cursor: pointer;
  }
  .btn-primary { background: var(--emerald); color: #fff; box-shadow: 0 4px 14px rgba(4,120,87,0.28); }
  .btn-primary:hover { background: var(--emerald-dark); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(4,120,87,0.35); }
  .btn-ghost { color: var(--ink); border: 1.5px solid var(--line); }
  .btn-ghost:hover { border-color: var(--emerald); color: var(--emerald-dark); }
  .btn-lg { padding: 15px 30px; font-size: 15.5px; }

  /* ---------- HERO ---------- */
  .hero { padding: 88px 0 64px; position: relative; overflow: hidden; }
  .hero-inner { text-align: center; max-width: 720px; margin: 0 auto 56px; }
  .hero h1 { font-size: clamp(36px, 5.4vw, 60px); line-height: 1.08; margin-bottom: 22px; }
  .hero h1 .accent { color: var(--emerald); }
  .hero p.lede { font-size: 19px; color: var(--ink-soft); max-width: 560px; margin: 0 auto 36px; }
  .hero-cta { display: flex; gap: 14px; align-items: center; justify-content: center; margin-bottom: 24px; flex-wrap: wrap; }
  .hero-trust { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13.5px; color: var(--gray); }
  .hero-trust svg { stroke: var(--emerald-mid); }

  /* product mockup */
  .mockup-frame {
    max-width: 980px; margin: 0 auto; position: relative;
    border-radius: 20px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    box-shadow: 0 24px 70px -20px rgba(4,120,87,0.2);
    overflow: hidden;
  }
  .mockup-bar { display: flex; align-items: center; gap: 6px; padding: 14px 20px; background: #fff; border-bottom: 1px solid var(--line); }
  .mockup-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
  .mockup-body { display: grid; grid-template-columns: 220px 1fr; min-height: 380px; }
  .mockup-side { background: var(--emerald-dark); padding: 22px 16px; display: flex; flex-direction: column; gap: 4px; }
  .mockup-side .side-item {
    color: rgba(255,255,255,0.75); font-size: 13px; font-weight: 600;
    padding: 10px 12px; border-radius: 8px;
  }
  .mockup-side .side-item.active { background: rgba(255,255,255,0.14); color: #fff; }
  .mockup-main { padding: 28px 32px; background: #fff; }
  .mockup-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 22px; }
  .kpi { background: var(--bg-soft); border-radius: 12px; padding: 16px 18px; }
  .kpi .kpi-label { font-size: 12px; color: var(--gray); font-weight: 600; margin-bottom: 6px; }
  .kpi .kpi-val { font-size: 22px; font-weight: 800; color: var(--ink); }
  .kpi .kpi-val.up { color: var(--emerald); }
  .mockup-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-radius: 10px; background: var(--bg-soft); margin-bottom: 8px; }
  .mockup-row .name { font-size: 13.5px; font-weight: 600; }
  .mockup-row .meta { font-size: 12px; color: var(--gray); }
  .mockup-pill { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 100px; }
  .pill-green { background: var(--emerald-light); color: var(--emerald-dark); }
  .pill-violet { background: #EEEFFE; color: #5B63C7; }

  /* ---------- RUNSON ---------- */
  .runson { background: var(--emerald-dark); padding: 26px 0; }
  .runson-inner { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
  .runson-stat { font-size: 26px; font-weight: 800; color: #fff; }
  .runson-label { font-size: 15px; color: rgba(255,255,255,0.78); font-weight: 500; }

  /* ---------- SECTION shared ---------- */
  section { padding: 96px 0; }
  .section-head { max-width: 640px; margin: 0 auto 60px; text-align: center; }
  .section-head h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; }
  .section-head p { color: var(--ink-soft); font-size: 17px; margin-top: 16px; }

  /* ---------- FEATURES ---------- */
  .feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .feat-card {
    border: 1px solid var(--line); border-radius: 16px; padding: 30px;
    transition: border-color .15s, transform .15s, box-shadow .15s;
  }
  .feat-card:hover { border-color: var(--emerald); transform: translateY(-3px); box-shadow: 0 16px 32px -12px rgba(4,120,87,0.18); }
  .feat-icon {
    width: 44px; height: 44px; border-radius: 12px;
    background: var(--emerald-light); color: var(--emerald);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px;
  }
  .feat-card h3 { font-size: 17.5px; margin-bottom: 8px; }
  .feat-card p { font-size: 14.5px; color: var(--ink-soft); }

  /* ---------- WHY (2 col with visual) ---------- */
  .why-band { background: var(--bg-soft); }
  .why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
  .why-list { list-style: none; display: flex; flex-direction: column; }
  .why-list li { padding: 18px 0 18px 20px; border-left: 2px solid var(--line); transition: border-color .15s; }
  .why-list li:hover { border-left-color: var(--emerald); }
  .why-list h4 { font-size: 16px; margin-bottom: 4px; font-weight: 700; }
  .why-list p { font-size: 14.5px; color: var(--ink-soft); }
  .why-visual {
    background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 32px;
    box-shadow: 0 20px 50px -20px rgba(4,120,87,0.2);
  }
  .why-visual .stat-big { font-size: 46px; font-weight: 800; color: var(--emerald); line-height: 1; margin-bottom: 6px; }
  .why-visual .stat-label { font-size: 14px; color: var(--gray); margin-bottom: 26px; }
  .why-bar { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
  .why-bar .bar-label { font-size: 12.5px; color: var(--ink-soft); width: 100px; flex-shrink: 0; }
  .why-bar .bar-track { flex: 1; height: 8px; background: var(--bg-soft); border-radius: 100px; overflow: hidden; }
  .why-bar .bar-fill { height: 100%; background: linear-gradient(90deg, var(--emerald) 0%, var(--emerald-mid) 100%); border-radius: 100px; }

  /* ---------- PRICING ---------- */
  .pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
  .price-card {
    border: 1.5px solid var(--line); border-radius: 18px; padding: 34px 28px;
    display: flex; flex-direction: column; position: relative;
    transition: transform .15s, box-shadow .15s;
  }
  .price-card:hover { transform: translateY(-3px); }
  .price-card.featured {
    border-color: var(--emerald);
    box-shadow: 0 20px 50px -16px rgba(4,120,87,0.3);
  }
  .featured-flag {
    position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
    background: var(--emerald); color: #fff;
    font-size: 11.5px; font-weight: 700; padding: 6px 16px; border-radius: 100px;
    white-space: nowrap;
  }
  .price-tier { font-size: 15px; font-weight: 700; margin-bottom: 12px; }
  .price-amount { font-size: 42px; font-weight: 800; margin-bottom: 6px; color: var(--ink); }
  .price-amount span { font-size: 15px; font-weight: 600; color: var(--gray); }
  .price-desc { font-size: 14px; color: var(--gray); margin-bottom: 24px; }
  .price-feats { list-style: none; margin-bottom: 28px; flex-grow: 1; }
  .price-feat { font-size: 14px; color: var(--ink-soft); padding: 9px 0; border-top: 1px solid var(--line); }
  .price-feat:first-child { border-top: none; }
  .price-card .btn { width: 100%; justify-content: center; }
  .price-card:not(.featured) .btn-primary { background: var(--ink); box-shadow: none; }
  .price-card:not(.featured) .btn-primary:hover { background: #000; }

  /* ---------- CTA ---------- */
  .cta-band {
    background: linear-gradient(135deg, var(--emerald-dark) 0%, var(--emerald) 100%);
    border-radius: 24px; padding: 72px 56px; text-align: center;
    position: relative; overflow: hidden;
  }
  .cta-band h2 { color: #fff; font-size: clamp(28px, 3.8vw, 42px); margin-bottom: 16px; }
  .cta-band p { color: rgba(255,255,255,0.82); font-size: 17px; max-width: 480px; margin: 0 auto 34px; }
  .cta-band .btn-primary { background: #fff; color: var(--emerald-dark); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
  .cta-band .btn-primary:hover { background: var(--bg-soft); }

  /* ---------- DEMO FORM ---------- */
  .cta-band-form { text-align: left; }
  .cta-form-head { text-align: center; margin-bottom: 36px; }
  .cta-form-head p { margin: 0 auto; }
  .demo-form { max-width: 560px; margin: 0 auto; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
  .form-field label {
    display: block; font-size: 13px; font-weight: 600;
    color: rgba(255,255,255,0.82); margin-bottom: 6px;
  }
  .form-field input {
    width: 100%; padding: 12px 14px; border-radius: 9px;
    border: 1.5px solid rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.1); color: #fff;
    font-family: 'Inter', sans-serif; font-size: 14.5px;
    transition: border-color .15s, background .15s;
  }
  .form-field input::placeholder { color: rgba(255,255,255,0.45); }
  .form-field input:focus {
    outline: none; border-color: #fff; background: rgba(255,255,255,0.16);
  }
  .form-consent {
    display: flex; gap: 10px; align-items: flex-start;
    margin: 20px 0 26px; cursor: pointer;
  }
  .form-consent input { margin-top: 3px; flex-shrink: 0; }
  .form-consent span { font-size: 12.5px; line-height: 1.55; color: rgba(255,255,255,0.72); }
  .form-consent a { color: #fff; text-decoration: underline; }
  .demo-form .btn { width: 100%; justify-content: center; }
  .form-notice {
    max-width: 560px; margin: 0 auto 24px; padding: 13px 18px; border-radius: 10px;
    font-size: 14px; font-weight: 600; text-align: center;
  }
  .form-notice-success { background: rgba(255,255,255,0.92); color: var(--emerald-dark); }
  .form-notice-error { background: #FEE2E2; color: #991B1B; }

  /* ---------- FOOTER ---------- */
  /* ---------- COMPARE TABLE ---------- */
  .compare-table { width: 100%; border-collapse: collapse; min-width: 640px; }
  .compare-table th, .compare-table td { padding: 16px 20px; text-align: center; font-size: 14px; border-bottom: 1px solid var(--line); }
  .compare-table thead th { font-size: 14px; font-weight: 700; color: var(--ink); padding-top: 0; }
  .compare-feature-col { text-align: left !important; color: var(--ink-soft); font-weight: 500; width: 32%; }
  .compare-featured-col { background: var(--emerald-light); }
  .compare-table thead .compare-featured-col { border-radius: 12px 12px 0 0; color: var(--emerald-dark); }
  .compare-table tbody tr:last-child .compare-featured-col { border-radius: 0 0 12px 12px; }
  .dot-yes { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--emerald); }

  /* ---------- FAQ ---------- */
  .faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
  .faq-item h4 { font-size: 16px; margin-bottom: 8px; font-weight: 700; }
  .faq-item p { font-size: 14.5px; color: var(--ink-soft); }

  footer { border-top: 1px solid var(--line); padding: 48px 0 32px; }
  .footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
  footer .fine { font-size: 13px; color: var(--gray); }

  @media (max-width: 900px) {
    .nav-links { display: none; }
    .feat-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; gap: 40px; }
    .pricing-grid { grid-template-columns: 1fr; }
    .mockup-body { grid-template-columns: 1fr; }
    .mockup-side { display: none; }
    .mockup-kpis { grid-template-columns: 1fr; }
    .cta-band { padding: 52px 28px; border-radius: 18px; }
    .form-row { grid-template-columns: 1fr; gap: 12px; }
    .faq-grid { grid-template-columns: 1fr; }
  }
  @media (prefers-reduced-motion: reduce) {
    * { transition: none !important; scroll-behavior: auto !important; }
  }
