/* Self-hosted Google Fonts — Latin + Latin-ext only */
/* Inter 400 */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/inter-400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Inter 500 */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/inter-500.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Montserrat 600 */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/montserrat-600.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Montserrat 700 */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/montserrat-700.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Montserrat 800 */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/fonts/montserrat-800.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
    .wave-divider {
      display: block; width: 100%; height: auto;
      margin: -1px 0; padding: 0; line-height: 0;
      position: relative; z-index: 1;
    }
    html.dark .wave-divider rect[fill="#ffffff"] { fill: var(--bg-base) !important; }
    html.dark .wave-divider path[fill="#ffffff"] { fill: var(--bg-base) !important; }
    html.dark .wave-divider rect[fill="#f5f8fe"] { fill: var(--bg-raised) !important; }
    html.dark .wave-divider path[fill="#f5f8fe"] { fill: var(--bg-raised) !important; }

/* ═══════════════════════════════════════
       RESET & BASE
    ═══════════════════════════════════════ */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
    body {
      font-family: 'Inter', sans-serif;
      background: #ffffff;
      color: #0D1B3E;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }

    /* ═══════════════════════════════════════
       TYPOGRAPHY TOKENS
    ═══════════════════════════════════════ */
    h1, h2, h3, h4, h5 {
      font-family: 'Montserrat', sans-serif;
      letter-spacing: -0.03em;
      line-height: 1.13;
    }
    p, li, span, a, label, input, button, select, textarea, small {
      font-family: 'Inter', sans-serif;
      line-height: 1.7;
    }

    /* ═══════════════════════════════════════
       GRAIN TEXTURE (SVG noise filter)
    ═══════════════════════════════════════ */
    .grain {
      position: relative;
    }
    .grain::after {
      content: '';
      position: absolute;
      inset: 0;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='0.04'/%3E%3C/svg%3E");
      pointer-events: none;
      z-index: 2;
    }

    /* ═══════════════════════════════════════
       HERO BACKGROUND (3 layered radials)
    ═══════════════════════════════════════ */
    .hero-bg {
      background:
        radial-gradient(ellipse 110% 60% at 55% -5%,  rgba(30, 86, 181, 0.30) 0%, transparent 62%),
        radial-gradient(ellipse 55%  55% at 95% 45%,  rgba(77,174, 229, 0.14) 0%, transparent 58%),
        radial-gradient(ellipse 65%  70% at  0% 100%, rgba(13, 27,  62, 0.25) 0%, transparent 60%),
        linear-gradient(160deg, #04091a 0%, #0D1B3E 50%, #122244 100%);
    }

    /* ═══════════════════════════════════════
       SECTION BACKGROUNDS
    ═══════════════════════════════════════ */
    .bg-tinted {
      background:
        radial-gradient(ellipse 80% 60% at 90% 10%, rgba(30,86,181,0.055) 0%, transparent 60%),
        radial-gradient(ellipse 60% 60% at  5% 90%, rgba(77,174,229,0.04)  0%, transparent 55%),
        var(--bg-raised);
    }

    /* ═══════════════════════════════════════
       NAV
    ═══════════════════════════════════════ */
    .nav-blur {
      backdrop-filter: blur(20px) saturate(160%);
      -webkit-backdrop-filter: blur(20px) saturate(160%);
    }
    .nav-link {
      font-family: 'Inter', sans-serif;
      font-size: 0.875rem;
      font-weight: 500;
      color: rgba(255,255,255,0.70);
      text-decoration: none;
      padding: 0.4rem 0.8rem;
      border-radius: 8px;
      transition: background 0.14s ease, color 0.14s ease;
    }
    .nav-link:hover       { color: #fff; background: rgba(255,255,255,0.09); }
    .nav-link:active      { background: rgba(255,255,255,0.15); }
    .nav-link:focus-visible { outline: 2px solid #4DAEE5; outline-offset: 2px; }

    /* ═══════════════════════════════════════
       BUTTONS
    ═══════════════════════════════════════ */
    .btn-primary {
      display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
      padding: 0.875rem 2rem;
      background: linear-gradient(135deg, #1E56B5 0%, #1A3462 100%);
      color: #fff;
      font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 0.9rem; letter-spacing: 0.005em;
      border-radius: 10px; border: none; cursor: pointer; text-decoration: none; white-space: nowrap;
      box-shadow: 0 4px 14px rgba(30,86,181,0.38), 0 1px 3px rgba(0,0,0,0.22);
      transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.2s ease, opacity 0.15s ease;
    }
    .btn-primary:hover       { transform: translateY(-2px) scale(1.025); box-shadow: 0 8px 24px rgba(30,86,181,0.48), 0 2px 6px rgba(0,0,0,0.28); }
    .btn-primary:active      { transform: translateY(0) scale(0.98); opacity: 0.92; }
    .btn-primary:focus-visible { outline: 2px solid #4DAEE5; outline-offset: 3px; }
    @media(max-width:639px){header .btn-primary,header .lang-toggle,header #dark-toggle{display:none!important}}

    .btn-outline {
      display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
      padding: 0.875rem 1.875rem;
      background: transparent;
      color: #fff;
      font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 0.9rem;
      border-radius: 10px; border: 1.5px solid rgba(255,255,255,0.22); cursor: pointer; text-decoration: none; white-space: nowrap;
      transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1), background 0.14s ease, border-color 0.14s ease;
    }
    .btn-outline:hover       { background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.40); transform: translateY(-1px); }
    .btn-outline:active      { transform: translateY(0); background: rgba(255,255,255,0.05); }
    .btn-outline:focus-visible { outline: 2px solid #4DAEE5; outline-offset: 3px; }

    .btn-light {
      display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
      padding: 0.875rem 2rem;
      background: #ffffff;
      color: #0D1B3E;
      font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 0.9rem;
      border-radius: 10px; border: none; cursor: pointer; text-decoration: none; white-space: nowrap;
      box-shadow: 0 2px 8px rgba(13,27,62,0.12), 0 1px 2px rgba(13,27,62,0.08);
      transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.2s ease;
    }
    .btn-light:hover       { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(13,27,62,0.18), 0 2px 4px rgba(13,27,62,0.10); }
    .btn-light:active      { transform: translateY(0) scale(0.98); }
    .btn-light:focus-visible { outline: 2px solid #1E56B5; outline-offset: 3px; }

    /* ═══════════════════════════════════════
       LAYERED CARD SHADOWS
    ═══════════════════════════════════════ */
    .card-z1 {
      box-shadow:
        0 1px 2px rgba(13,27,62,0.06),
        0 4px 8px rgba(13,27,62,0.06),
        0 0 0 1px rgba(30,86,181,0.06) inset;
    }
    .card-z2 {
      box-shadow:
        0 2px 4px rgba(13,27,62,0.07),
        0 8px 18px rgba(13,27,62,0.08),
        0 24px 40px rgba(13,27,62,0.05),
        0 0 0 1px rgba(30,86,181,0.08) inset;
    }
    .card-z3 {
      box-shadow:
        0 4px 8px rgba(13,27,62,0.10),
        0 16px 32px rgba(13,27,62,0.10),
        0 40px 64px rgba(13,27,62,0.08),
        0 0 0 1px rgba(30,86,181,0.10) inset;
    }
    .card-hover {
      transition: transform 0.22s cubic-bezier(0.16,1,0.3,1), box-shadow 0.22s ease;
    }
    .card-hover:hover {
      transform: translateY(-5px);
      box-shadow:
        0 4px 8px rgba(13,27,62,0.10),
        0 16px 32px rgba(30,86,181,0.12),
        0 32px 56px rgba(13,27,62,0.09),
        0 0 0 1px rgba(30,86,181,0.15) inset;
    }

    /* ═══════════════════════════════════════
       SECTION BADGE
    ═══════════════════════════════════════ */
    .badge {
      display: inline-flex; align-items: center; gap: 0.35rem;
      padding: 0.28rem 0.85rem;
      border-radius: 999px;
      background: rgba(30,86,181,0.09);
      border: 1px solid rgba(30,86,181,0.20);
      color: #1E56B5;
      font-family: 'Montserrat', sans-serif; font-size: 0.72rem; font-weight: 700;
      letter-spacing: 0.07em; text-transform: uppercase;
    }
    .badge-dark {
      background: rgba(77,174,229,0.13);
      border-color: rgba(77,174,229,0.30);
      color: #7ECEF5;
    }

    /* ═══════════════════════════════════════
       STAT GRADIENT TEXT
    ═══════════════════════════════════════ */
    .stat-gradient {
      font-family: 'Montserrat', sans-serif; font-weight: 900; letter-spacing: -0.04em;
      background: linear-gradient(135deg, #1E56B5 20%, #4DAEE5 100%);
      -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    }

    /* ═══════════════════════════════════════
       FORM ELEMENTS
    ═══════════════════════════════════════ */
    .cal-event-card:hover  { transform: translateY(-2px); background: rgba(30,86,181,0.22) !important; border-color: rgba(77,174,229,0.4) !important; }
    .cal-event-card:active { transform: translateY(0) scale(0.98); opacity: 0.9; }
    .cal-event-card:focus-visible { outline: 2px solid #4DAEE5; outline-offset: 2px; }

    .field-label {
      display: block; font-family: 'Montserrat', sans-serif; font-weight: 600;
      font-size: 0.775rem; letter-spacing: 0.025em; color: rgba(200,218,248,0.75);
      margin-bottom: 0.4rem;
    }
    .field-input {
      width: 100%;
      background: rgba(255,255,255,0.06);
      border: 1.5px solid rgba(255,255,255,0.12);
      border-radius: 9px;
      padding: 0.8rem 1rem;
      font-family: 'Inter', sans-serif; font-size: 0.9rem;
      color: #e8eef8;
      outline: none;
      transition: border-color 0.15s ease, box-shadow 0.15s ease;
    }
    .field-input::placeholder { color: rgba(255,255,255,0.45); }
    .field-input:focus {
      border-color: #4DAEE5;
      box-shadow: 0 0 0 3px rgba(77,174,229,0.18);
    }
    .field-input:focus-visible { outline: none; }
    select.field-input option { background: #0D1B3E; color: #e8eef8; }

    /* ═══════════════════════════════════════
       PROCESS STEP
    ═══════════════════════════════════════ */
    .step-wrap {
      opacity: 0;
      transform: translateY(32px);
      transition: opacity 0.58s ease, transform 0.58s cubic-bezier(0.16,1,0.3,1);
    }
    .step-wrap.step-visible { opacity: 1; transform: translateY(0); }

    .step-card {
      background: var(--bg-card);
      border-radius: 18px;
      border: 1px solid rgba(30,86,181,0.09);
      box-shadow: 0 4px 22px rgba(30,86,181,0.07), 0 1px 4px rgba(0,0,0,0.04);
      padding: 1.75rem;
      height: 100%;
      position: relative;
      overflow: hidden;
      transition: transform 0.22s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.22s ease;
    }
    .step-card::before {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(ellipse 80% 60% at 0 0, rgba(30,86,181,0.05), transparent 60%);
      pointer-events: none;
    }
    .step-wrap:hover .step-card {
      transform: translateY(-5px);
      box-shadow: 0 14px 36px rgba(30,86,181,0.13), 0 2px 8px rgba(0,0,0,0.06);
    }
    .step-num {
      width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0;
      background: linear-gradient(135deg, #1E56B5, #4DAEE5);
      display: flex; align-items: center; justify-content: center;
      font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 1.1rem; color: #fff;
      box-shadow: 0 6px 18px rgba(30,86,181,0.38);
      transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.2s ease;
      margin-bottom: 1.1rem;
    }
    .step-wrap:hover .step-num {
      transform: scale(1.12);
      box-shadow: 0 8px 26px rgba(30,86,181,0.52);
    }
    .step-connector {
      display: none;
    }
    @media (min-width: 1024px) {
      .step-connector {
        display: flex; align-items: center; justify-content: center;
        position: absolute; top: 36px; right: -18px;
        width: 36px; height: 36px; z-index: 2;
        color: rgba(30,86,181,0.35); font-size: 1.2rem; pointer-events: none;
      }
    }

    /* ═══════════════════════════════════════
       CHECK BULLET
    ═══════════════════════════════════════ */
    .check-dot {
      width: 20px; height: 20px; border-radius: 999px; flex-shrink: 0;
      background: linear-gradient(135deg, #1E56B5, #4DAEE5);
      display: flex; align-items: center; justify-content: center;
      margin-top: 3px;
    }

    /* ═══════════════════════════════════════
       COMPETITIVE EDGE CARDS
    ═══════════════════════════════════════ */
    @property --border-angle {
      syntax: '<angle>';
      initial-value: 0deg;
      inherits: false;
    }
    @keyframes edgeReveal {
      from { opacity: 0; transform: translateY(40px) scale(0.92) rotateX(8deg); }
      to   { opacity: 1; transform: translateY(0) scale(1) rotateX(0deg); }
    }
    @keyframes edgePulse {
      0%, 100% { opacity: 0.5; }
      50%      { opacity: 1; }
    }
    @keyframes edgeCountUp {
      from { opacity: 0; transform: scale(0.7); }
      to   { opacity: 1; transform: scale(1); }
    }
    @keyframes borderRotate {
      0%   { --border-angle: 0deg; }
      100% { --border-angle: 360deg; }
    }
    @keyframes edge-shimmer {
      0%   { background-position: -200% center; }
      100% { background-position: 200% center; }
    }
    @keyframes floatOrb {
      0%, 100% { transform: translate(0, 0) scale(1); }
      25%  { transform: translate(30px, -20px) scale(1.1); }
      50%  { transform: translate(-10px, -40px) scale(0.95); }
      75%  { transform: translate(-25px, -10px) scale(1.05); }
    }
    @keyframes featuredPulse {
      0%, 100% { box-shadow: 0 0 20px rgba(77,174,229,0.15), 0 0 60px rgba(30,86,181,0.10); }
      50%      { box-shadow: 0 0 30px rgba(77,174,229,0.30), 0 0 80px rgba(30,86,181,0.20); }
    }
    /* Floating orbs */
    .edge-orb {
      position: absolute; border-radius: 50%; pointer-events: none;
      filter: blur(40px); opacity: 0.5;
      animation: floatOrb 12s ease-in-out infinite;
    }
    .edge-card {
      position: relative; border-radius: 18px; overflow: visible;
      background: #0D1B3E;
      border: 1px solid rgba(77,174,229,0.20);
      box-shadow: 0 4px 16px rgba(13,27,62,0.12);
      transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), border-color 0.3s ease, box-shadow 0.3s ease;
      opacity: 0;
      perspective: 600px;
    }
    .edge-card.revealed {
      animation: edgeReveal 0.8s cubic-bezier(0.16,1,0.3,1) both;
    }
    .edge-card::before { display: none; }
    .edge-card:hover {
      transform: translateY(-8px) scale(1.03);
      border-color: rgba(77,174,229,0.35);
      box-shadow:
        0 4px 15px rgba(30,86,181,0.20),
        0 12px 40px rgba(30,86,181,0.25),
        0 0 0 1px rgba(77,174,229,0.12) inset;
    }
    .edge-card:focus-visible { outline: 2px solid #4DAEE5; outline-offset: 3px; }
    .edge-card:active { transform: translateY(-2px) scale(0.99); }
    .edge-card-glow {
      position: absolute; inset: 0; pointer-events: none; opacity: 0;
      transition: opacity 0.4s ease; border-radius: 18px;
    }
    .edge-card:hover .edge-card-glow { opacity: 1; }
    .edge-card-inner {
      position: relative; z-index: 1; padding: 2rem 1.5rem 1.75rem;
    }
    .edge-icon {
      width: 48px; height: 48px; border-radius: 14px; display: flex;
      align-items: center; justify-content: center; margin-bottom: 1.25rem;
      box-shadow: 0 4px 14px rgba(30,86,181,0.35), 0 0 20px rgba(30,86,181,0.15);
    }
    .edge-stat {
      font-family: 'Montserrat', sans-serif; font-weight: 900;
      font-size: 2.4rem; letter-spacing: -0.03em; line-height: 1.1;
      color: #fff; margin-bottom: 0.2rem;
    }
    .edge-stat-shimmer {
      background: linear-gradient(90deg, #fff 0%, #fff 40%, #4DAEE5 50%, #fff 60%, #fff 100%);
      background-size: 200% auto;
      -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
      animation: edge-shimmer 4s linear infinite;
    }
    .edge-stat-highlight {
      font-size: 2.8rem;
      background: linear-gradient(135deg, #4DAEE5, #7ECEF5, #fff, #7ECEF5, #4DAEE5);
      background-size: 300% auto;
      -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
      animation: edge-shimmer 3s linear infinite;
    }
    .edge-stat.revealed-num { animation: edgeCountUp 0.5s cubic-bezier(0.16,1,0.3,1) both; }
    .edge-stat-label {
      font-family: 'Inter', sans-serif; font-size: 0.78rem; font-weight: 600;
      color: rgba(195,215,245,0.80); text-transform: uppercase; letter-spacing: 0.08em;
      margin-bottom: 1rem;
    }
    .edge-title {
      font-family: 'Montserrat', sans-serif; font-weight: 700;
      font-size: 0.95rem; color: #fff; margin-bottom: 0.5rem;
      letter-spacing: -0.01em;
    }
    .edge-desc {
      font-size: 0.82rem; color: rgba(195,215,245,0.80); line-height: 1.65;
    }
    /* Featured card (100%) */
    .edge-card.edge-featured {
      border-color: rgba(77,174,229,0.30);
      background: linear-gradient(160deg, #0D1B3E, #1A3462);
      animation-name: edgeReveal;
    }
    .edge-card.edge-featured.revealed {
      animation: edgeReveal 0.8s cubic-bezier(0.16,1,0.3,1) both, featuredPulse 3s ease-in-out 1s infinite;
    }
    .edge-card.edge-featured::after {
      content: ''; position: absolute; inset: 0; border-radius: 18px;
      background: radial-gradient(ellipse at 50% 0%, rgba(77,174,229,0.12), transparent 60%);
      pointer-events: none;
    }

    /* ═══════════════════════════════════════
       FAQ ACCORDION
    ═══════════════════════════════════════ */
    .faq-wrap {
      border: 1.5px solid var(--bdr);
      border-radius: 12px; overflow: hidden;
      transition: box-shadow 0.2s ease;
    }
    .faq-wrap:hover { box-shadow: 0 4px 16px rgba(30,86,181,0.09); }
    .faq-btn {
      width: 100%; text-align: left; background: var(--bg-faq-btn); border: none; cursor: pointer;
      display: flex; align-items: center; justify-content: space-between; gap: 1rem;
      padding: 1.25rem 1.5rem;
      font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 0.93rem;
      color: var(--clr-h, #0D1B3E); letter-spacing: -0.015em;
      transition: background 0.14s ease, color 0.14s ease;
    }
    .faq-btn:hover       { background: var(--bg-faq-hov); }
    .faq-btn:focus-visible { outline: 2px solid #1E56B5; outline-offset: -2px; }
    .faq-icon {
      width: 26px; height: 26px; border-radius: 999px; flex-shrink: 0;
      background: #edf2fb; color: #1E56B5;
      display: flex; align-items: center; justify-content: center; font-size: 1rem; font-weight: 700;
      transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1), background 0.15s ease, color 0.15s ease;
    }
    .faq-wrap.open .faq-icon { transform: rotate(45deg); background: #1E56B5; color: #fff; }
    .faq-body { max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.35s cubic-bezier(0.16,1,0.3,1), opacity 0.25s ease; }
    .faq-wrap.open .faq-body { max-height: 500px; opacity: 1; }
    .faq-content {
      padding: 0 1.5rem 1.25rem; border-top: 1px solid var(--bdr-faq); padding-top: 1rem;
      font-size: 0.875rem; color: #4a5870; line-height: 1.75;
      transition: color 0.2s ease, border-top-color 0.2s ease;
    }

    /* ═══════════════════════════════════════
       CALCULATOR WIDGET
    ═══════════════════════════════════════ */
    .calc-track {
      height: 6px; border-radius: 999px;
      background: rgba(255,255,255,0.15);
      position: relative; cursor: pointer;
    }
    .calc-fill {
      height: 100%; border-radius: 999px;
      background: linear-gradient(90deg, #1E56B5, #4DAEE5);
      transition: width 0.2s ease;
    }
    input[type=range] {
      -webkit-appearance: none; appearance: none;
      width: 100%; height: 6px; border-radius: 999px; outline: none; cursor: pointer;
      background: transparent; position: relative;
    }
    input[type=range]::-webkit-slider-thumb {
      -webkit-appearance: none; appearance: none;
      width: 22px; height: 22px; border-radius: 999px;
      background: #fff;
      box-shadow: 0 2px 8px rgba(30,86,181,0.5), 0 0 0 3px rgba(77,174,229,0.25);
      cursor: pointer;
      transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1);
    }
    input[type=range]::-webkit-slider-thumb:hover { transform: scale(1.2); }
    input[type=range]:focus-visible { outline: 2px solid #4DAEE5; outline-offset: 4px; }

    /* ═══════════════════════════════════════
       HERO CALCULATOR — show on xl+ screens
    ═══════════════════════════════════════ */
    @media (min-width: 1280px) {
      #hero-calc { display: block !important; }
    }

    /* Calculator animations */
    @keyframes calc-pulse {
      0%   { box-shadow: 0 0 0 rgba(77,174,229,0); }
      40%  { box-shadow: 0 0 28px rgba(77,174,229,0.55), 0 4px 24px rgba(0,0,0,0.4); }
      100% { box-shadow: 0 0 0 rgba(77,174,229,0); }
    }
    @keyframes result-pop {
      0%   { transform: scale(1); }
      50%  { transform: scale(1.06); }
      100% { transform: scale(1); }
    }
    .calc-pulsing { animation: calc-pulse 0.5s ease forwards; }
    .result-popping { animation: result-pop 0.25s cubic-bezier(0.34,1.56,0.64,1) forwards; }

    /* ═══════════════════════════════════════
       MOBILE MENU
    ═══════════════════════════════════════ */
    #mob-menu { max-height: 0; overflow: hidden; opacity: 0;
      transition: max-height 0.3s cubic-bezier(0.16,1,0.3,1), opacity 0.22s ease; }
    #mob-menu.open { max-height: 380px; opacity: 1; }

    /* ═══════════════════════════════════════
       ENTRANCE ANIMATIONS
    ═══════════════════════════════════════ */
    @keyframes fadeUp  { from { opacity:0; transform:translateY(22px); } to { opacity:1; transform:translateY(0); } }
    @keyframes fadeIn  { from { opacity:0; }                             to { opacity:1; } }
    @keyframes slideRight { from { opacity:0; transform:translateX(-16px); } to { opacity:1; transform:translateX(0); } }
    .au  { animation: fadeUp    0.6s cubic-bezier(0.16,1,0.3,1) both; }
    .ai  { animation: fadeIn    0.55s ease both; }
    .asr { animation: slideRight 0.6s cubic-bezier(0.16,1,0.3,1) both; }
    .d1 { animation-delay:0.07s; } .d2 { animation-delay:0.14s; }
    .d3 { animation-delay:0.21s; } .d4 { animation-delay:0.28s; }
    .d5 { animation-delay:0.35s; } .d6 { animation-delay:0.42s; }

    /* ═══════════════════════════════════════
       SCROLLBAR
    ═══════════════════════════════════════ */
    html { overflow-y: scroll; }
    ::-webkit-scrollbar { width: 8px; }
    ::-webkit-scrollbar-track { background: transparent; }
    ::-webkit-scrollbar-thumb { background: rgba(77,174,229,0.38); border-radius: 999px; }
    ::-webkit-scrollbar-thumb:hover { background: rgba(77,174,229,0.55); }
    html { scrollbar-width: thin; scrollbar-color: rgba(77,174,229,0.38) transparent; }
    html.dark ::-webkit-scrollbar-thumb { background: rgba(77,174,229,0.30); }
    html.dark ::-webkit-scrollbar-thumb:hover { background: rgba(77,174,229,0.48); }
    html.dark { scrollbar-color: rgba(77,174,229,0.30) transparent; }

    /* ═══════════════════════════════════════
       THEME TOKENS (light ↔ dark)
    ═══════════════════════════════════════ */
    :root {
      --bg-base:    #ffffff;
      --bg-raised:  #f5f8fe;
      --bg-card:    #ffffff;
      --bg-faq-btn: #ffffff;
      --bg-faq-hov: #f5f8fe;
      --clr-h:      #0D1B3E;
      --bdr:        #dde5f4;
      --bdr-faq:    #edf2fb;
    }
    html.dark {
      --bg-base:    #0a1428;
      --bg-raised:  #0D1B3E;
      --bg-card:    #122244;
      --bg-faq-btn: #0D1B3E;
      --bg-faq-hov: #122244;
      --clr-h:      #e8f0fa;
      --bdr:        rgba(77,174,229,0.18);
      --bdr-faq:    rgba(77,174,229,0.10);
    }
    html.dark body { background: var(--bg-base) !important; color: var(--clr-h) !important; }
    html.dark ::-webkit-scrollbar-track { background: #0a1428; }
    /* Section backgrounds */
    html.dark section.bg-white  { background: var(--bg-base) !important; }
    html.dark .bg-tinted        { background: var(--bg-raised) !important; }
    html.dark #kunden           { border-top-color: var(--bdr) !important; }
    /* Cards & chips — div.bg-white inside light sections */
    html.dark section.bg-white .bg-white,
    html.dark .bg-tinted .bg-white { background: var(--bg-card) !important; }
    html.dark .card-z2          { background: var(--bg-card) !important; }
    html.dark .logo-chip        { background: var(--bg-card) !important; border-color: var(--bdr) !important; }
    /* Logo dark/light mode toggle */
    .logo-light { display: none; }
    html.dark .logo-dark  { display: none !important; }
    html.dark .logo-light { display: inline !important; }
    /* Cards with inline background:#fff in any section */
    html.dark section.bg-white [style*="background:#fff"] { background: var(--bg-card) !important; border-color: var(--bdr) !important; box-shadow: 0 4px 24px rgba(0,0,0,0.25) !important; }
    /* Versprechen card: inline background:#fff, depth layers, inner rows */
    html.dark .bg-tinted [style*="background:#fff"]    { background: var(--bg-card) !important; }
    html.dark .bg-tinted [style*="background:#f5f8fe"] { background: rgba(77,174,229,0.07) !important; border-color: var(--bdr) !important; }
    html.dark .bg-tinted [style*="background:#dde5f4"] { background: rgba(30,86,181,0.25) !important; }
    html.dark .bg-tinted [style*="background:#c5d3ec"] { background: rgba(30,86,181,0.18) !important; }
    /* Badges in light sections */
    html.dark section.bg-white .badge:not(.badge-dark),
    html.dark .bg-tinted .badge:not(.badge-dark) { background: rgba(30,86,181,0.20) !important; }
    /* FAQ answer text */
    html.dark .faq-content { color: #8aaac8; border-top-color: var(--bdr-faq); }
    /* Text overrides — inline color:#0D1B3E (headings in light sections) */
    html.dark section.bg-white [style*="color:#0D1B3E"],
    html.dark .bg-tinted [style*="color:#0D1B3E"]  { color: #e8f0fa !important; }
    /* Body text color:#5a6e8c */
    html.dark section.bg-white [style*="color:#5a6e8c"],
    html.dark .bg-tinted [style*="color:#5a6e8c"]  { color: #8aaac8 !important; }
    /* Muted labels color:#94a3b8 */
    html.dark section.bg-white [style*="color:#94a3b8"],
    html.dark .bg-tinted [style*="color:#94a3b8"]  { color: #506a88 !important; }
    /* List items color:#374151 */
    html.dark section.bg-white [style*="color:#374151"],
    html.dark .bg-tinted [style*="color:#374151"]  { color: #a8c0d8 !important; }
    /* Dark toggle button */
    #dark-toggle:hover { background: rgba(255,255,255,0.14) !important; color: #fff !important; }

    /* ═══════════════════════════════════════
       BRANCHEN SECTION
    ═══════════════════════════════════════ */
    @keyframes spin-slow    { from{transform:rotate(0deg)} to{transform:rotate(360deg)} }
    @keyframes pulse-beat   { 0%,100%{transform:scale(1)} 50%{transform:scale(1.18)} }
    @keyframes float-y      { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }
    @keyframes glow-flash   { 0%,100%{opacity:0.5;transform:scale(1)} 50%{opacity:1;transform:scale(1.08)} }
    @keyframes bounce-side  { 0%,100%{transform:translateX(0)} 40%{transform:translateX(5px)} 60%{transform:translateX(-2px)} }
    @keyframes sway-leaf    { 0%,100%{transform:rotate(0deg)} 33%{transform:rotate(-8deg)} 66%{transform:rotate(8deg)} }
    @keyframes heartbeat    { 0%,100%{transform:scale(1)} 14%{transform:scale(1.22)} 28%{transform:scale(1)} 42%{transform:scale(1.14)} 56%{transform:scale(1)} }
    .anim-spin      { animation: spin-slow   4s linear infinite; }
    .anim-pulse     { animation: pulse-beat  1.8s ease-in-out infinite; }
    .anim-float     { animation: float-y     2.2s ease-in-out infinite; }
    .anim-glow      { animation: glow-flash  1.6s ease-in-out infinite; }
    .anim-bounce    { animation: bounce-side 2.2s ease-in-out infinite; }
    .anim-sway      { animation: sway-leaf   3s ease-in-out infinite; transform-origin: bottom center; }
    .anim-heartbeat { animation: heartbeat   1.4s ease-in-out infinite; }

    .branche-wrap {
      opacity: 0;
      transform: translateY(22px);
      transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16,1,0.3,1);
    }
    .branche-wrap.branche-visible { opacity: 1; transform: translateY(0); }

    .branche-card {
      background: var(--bg-card);
      border-radius: 18px;
      border: 1px solid rgba(30,86,181,0.09);
      box-shadow: 0 4px 22px rgba(30,86,181,0.07), 0 1px 4px rgba(0,0,0,0.04);
      padding: 1.75rem 1.25rem;
      text-align: center;
      transition: transform 0.22s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.22s ease;
      overflow: hidden;
      position: relative;
      height: 100%;
    }
    .branche-card::before {
      content: ''; position: absolute; inset: 0;
      background: radial-gradient(ellipse 80% 60% at 50% 0, rgba(30,86,181,0.04), transparent 65%);
      pointer-events: none;
    }
    .branche-wrap:hover .branche-card {
      transform: translateY(-6px);
      box-shadow: 0 14px 36px rgba(30,86,181,0.14), 0 2px 8px rgba(0,0,0,0.06);
    }
    .branche-icon-wrap {
      width: 62px; height: 62px; border-radius: 17px; margin: 0 auto 1.1rem;
      background: linear-gradient(135deg, rgba(30,86,181,0.09), rgba(77,174,229,0.09));
      border: 1px solid rgba(30,86,181,0.14);
      display: flex; align-items: center; justify-content: center;
    }

    /* ═══════════════════════════════════════
       LOGO TICKER
    ═══════════════════════════════════════ */
    @keyframes ticker-scroll {
      0%   { transform: translateX(0); }
      100% { transform: translateX(-50%); }
    }
    .ticker-wrap {
      overflow: hidden;
      -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
      mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
    }
    .ticker-track {
      display: flex;
      animation: ticker-scroll 32s linear infinite;
      width: max-content;
    }
    .ticker-track:hover { animation-play-state: paused; }
    .logo-chip {
      display: flex; flex-direction: column; align-items: center; justify-content: center;
      width: 152px; height: 74px; margin: 0 14px; flex-shrink: 0;
      border-radius: 13px; background: var(--bg-card); border: 1px solid var(--bdr);
      font-family: 'Montserrat', sans-serif;
      transition: box-shadow 0.2s ease, transform 0.2s ease; cursor: default;
    }
    .logo-chip:hover { box-shadow: 0 4px 16px rgba(30,86,181,0.12); transform: translateY(-2px); }
    .logo-chip-abbr { font-weight: 900; font-size: 1.15rem; color: #1E56B5; letter-spacing: -0.03em; }
    .logo-chip-name { font-size: 0.59rem; font-weight: 600; color: #94a3b8; letter-spacing: 0.05em; text-transform: uppercase; margin-top: 3px; }

    /* ═══════════════════════════════════════
       NAV DROPDOWN
    ═══════════════════════════════════════ */
    .nav-dropdown-wrap { position: relative; display: flex; align-items: center; }
    .nav-dropdown-wrap::after { content: ''; position: absolute; top: 100%; left: 0; right: 0; height: 14px; }
    .nav-dropdown-trigger { display: flex; align-items: center; gap: 2px; }
    .dd-caret { transition: transform 0.22s cubic-bezier(0.16,1,0.3,1); opacity: 0.5; flex-shrink: 0; }
    .nav-dropdown-wrap:hover .dd-caret { transform: rotate(180deg); }
    .nav-dropdown {
      position: absolute; top: calc(100% + 10px); left: 50%;
      transform: translateX(-50%) translateY(-8px);
      min-width: 220px;
      background: rgba(6,13,40,0.98);
      backdrop-filter: blur(24px) saturate(160%);
      -webkit-backdrop-filter: blur(24px) saturate(160%);
      border: 1px solid rgba(255,255,255,0.09); border-radius: 14px;
      padding: 0.45rem;
      opacity: 0; visibility: hidden; pointer-events: none;
      transition: opacity 0.18s ease, transform 0.22s cubic-bezier(0.16,1,0.3,1), visibility 0s linear 0.18s;
      z-index: 200;
      box-shadow: 0 24px 56px rgba(0,0,0,0.65), 0 4px 14px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.04) inset;
    }
    .nav-dropdown::before {
      content: ''; position: absolute; top: -5px; left: 50%;
      transform: translateX(-50%) rotate(45deg);
      width: 10px; height: 10px; background: rgba(6,13,40,0.98);
      border-left: 1px solid rgba(255,255,255,0.09);
      border-top: 1px solid rgba(255,255,255,0.09);
      border-radius: 2px 0 0 0;
    }
    .nav-dropdown-wrap:hover .nav-dropdown,
    .nav-dropdown-wrap:focus-within .nav-dropdown {
      opacity: 1; visibility: visible; pointer-events: auto;
      transform: translateX(-50%) translateY(0);
      transition: opacity 0.18s ease, transform 0.22s cubic-bezier(0.16,1,0.3,1), visibility 0s;
    }
    .nav-dd-item {
      display: flex; align-items: center; gap: 0.65rem;
      padding: 0.55rem 0.85rem; border-radius: 9px;
      font-size: 0.82rem; color: rgba(195,215,245,0.72);
      text-decoration: none; font-family: 'Inter', sans-serif; font-weight: 500;
      transition: background 0.12s ease, color 0.12s ease; white-space: nowrap;
    }
    .nav-dd-item:hover { background: rgba(255,255,255,0.09); color: #fff; }
    .nav-dd-item:focus-visible { outline: 2px solid #4DAEE5; outline-offset: -2px; border-radius: 9px; }
    .nav-dd-icon {
      width: 22px; height: 22px; border-radius: 6px; flex-shrink: 0;
      background: linear-gradient(135deg, rgba(30,86,181,0.32), rgba(77,174,229,0.20));
      display: flex; align-items: center; justify-content: center;
    }

    /* ═══════════════════════════════════════
       LANG TOGGLE
    ═══════════════════════════════════════ */
    .lang-toggle {
      display: flex; align-items: center;
      background: rgba(255,255,255,0.07);
      border: 1px solid rgba(255,255,255,0.12);
      border-radius: 8px; overflow: hidden; flex-shrink: 0;
    }
    .lang-btn {
      padding: 0.28rem 0.62rem; border: none; background: transparent; cursor: pointer;
      font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 0.71rem;
      color: rgba(255,255,255,0.48); letter-spacing: 0.06em;
      transition: background 0.15s ease, color 0.15s ease;
    }
    .lang-btn.active { background: rgba(255,255,255,0.16); color: #fff; }
    .lang-btn:hover  { color: rgba(255,255,255,0.85); }
    .lang-btn:focus-visible { outline: 2px solid #4DAEE5; outline-offset: -2px; }
    .lang-divider { width: 1px; height: 16px; background: rgba(255,255,255,0.12); flex-shrink: 0; }

    /* SEO block — dark mode aware */
    .seo-block { background: #f5f8fe; padding: 3rem 0; border-top: none; }
    .seo-block-heading { font-family:'Montserrat',sans-serif; font-weight:800; font-size:1.1rem; color:#0D1B3E; letter-spacing:-0.02em; margin-bottom:0.75rem; }
    .seo-block-text { font-size:0.82rem; color:#5a6e8c; line-height:1.78; margin-bottom:0.75rem; }
    html.dark .seo-block { background: var(--bg-raised) !important; border-top-color: var(--bdr) !important; }
    html.dark .seo-block-heading { color: var(--clr-h) !important; }
    html.dark .seo-block-text { color: #8aaac8 !important; }
    html.dark .seo-block-text strong { color: #c0d8f0 !important; }
  
    html.dark .section-card{background:var(--bg-card)!important;border-color:var(--bdr)!important;box-shadow:0 1px 2px rgba(0,0,0,0.3),0 4px 8px rgba(0,0,0,0.2),0 0 0 1px rgba(77,174,229,0.08) inset!important}
    html.dark .section-h2{color:#e8f0fa!important}
    html.dark .section-h3{color:#e8f0fa!important}
    html.dark .body-text{color:#8aaac8!important}
    html.dark .body-text a{color:#4DAEE5!important}
    html.dark .step-content h3{color:#e8f0fa!important}
    html.dark .info-box{background:var(--bg-raised)!important;border-color:var(--bdr)!important;color:#8aaac8!important}
    html.dark .info-box strong{color:#c8daf0!important}
    html.dark .mistake-item{background:var(--bg-raised)!important;border-color:var(--bdr)!important}
    html.dark .faq-item{background:var(--bg-faq-btn)!important;border-color:var(--bdr)!important}
    html.dark .faq-q{color:#e8f0fa!important}
    html.dark .faq-q:hover{background:var(--bg-faq-hov)!important}
    html.dark .faq-a-inner{color:#8aaac8!important}
    html.dark .related-card{background:var(--bg-card)!important;border-color:var(--bdr)!important}
    html.dark .related-card h3,html.dark .related-card strong{color:#e8f0fa!important}
    html.dark .related-card p,html.dark .related-card span{color:#8aaac8!important}
    html.dark .cta-box{background:var(--bg-raised)!important;border-color:var(--bdr)!important}
    html.dark .cta-box h2{color:#e8f0fa!important}
    html.dark .cta-box p{color:#8aaac8!important}
    html.dark .trust-badge{color:#8aaac8!important}
    html.dark .tldr-summary{background:var(--bg-raised)!important;border-color:var(--bdr)!important;color:#8aaac8!important}
    html.dark .tldr-summary strong{color:#c8daf0!important}
    html.dark .tldr-summary span{color:#8aaac8!important}
    html.dark [style*="color:#0D1B3E"]{color:#e8f0fa!important}
    html.dark [style*="color:#5a6e8c"]{color:#8aaac8!important}
    html.dark [style*="color:#374151"]{color:#a8c0d8!important}

.footer-grid{display:grid;grid-template-columns:1fr;gap:2rem;margin-bottom:2.5rem}@media(min-width:640px){.footer-grid{grid-template-columns:repeat(2,1fr)}}@media(min-width:1024px){.footer-grid{grid-template-columns:1fr 1fr 1.8fr 1fr}}