/* =====================================================================
   GermanDocBot — Main Stylesheet  v5.0  Modern Civic SaaS 2025
   Font: Inter (Google Fonts)
   ===================================================================== */

/* ───── RESET ───── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}

/* ───── DESIGN TOKENS ───── */
:root{
  --blue:        #2563eb;
  --blue-dark:   #1d4ed8;
  --blue-light:  #eff6ff;
  --blue-mid:    #bfdbfe;
  --indigo:      #4f46e5;
  --indigo-dark: #3730a3;
  --indigo-light:#eef2ff;

  /* backward-compat aliases */
  --violet:      #4f46e5;
  --violet-light:#f5f3ff;

  --green:       #059669;
  --green-dark:  #047857;
  --green-light: #ecfdf5;

  --amber:       #f59e0b;
  --amber-light: #fffbeb;

  --text:        #0f172a;
  --text-2:      #334155;
  --muted:       #64748b;
  --border:      #e2e8f0;
  --bg:          #ffffff;
  --bg-subtle:   #f8fafc;
  --bg-gray:     #f1f5f9;

  --radius:      20px;
  --radius-sm:   12px;
  --radius-xs:   8px;

  --shadow-xs:   0 1px 2px rgba(0,0,0,.05);
  --shadow:      0 1px 4px rgba(0,0,0,.06),0 2px 12px rgba(0,0,0,.05);
  --shadow-md:   0 4px 16px rgba(0,0,0,.08),0 1px 4px rgba(0,0,0,.05);
  --shadow-lg:   0 8px 32px rgba(0,0,0,.10),0 2px 8px rgba(0,0,0,.06);
  --shadow-glow: 0 0 0 3px rgba(37,99,235,.18);

  --grad-primary: linear-gradient(135deg,#2563eb 0%,#4f46e5 100%);
  --grad-green:   linear-gradient(135deg,#059669 0%,#0d9488 100%);
  --grad-hero:    linear-gradient(160deg,#1e3a8a 0%,#1e40af 55%,#2563eb 100%);
  --grad-card:    linear-gradient(135deg,#eff6ff 0%,#f5f3ff 100%);

  --t:           all .2s cubic-bezier(.4,0,.2,1);
}

/* ───── BASE ───── */
html{scroll-behavior:smooth}
body{
  font-family:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  color:var(--text);background:var(--bg);line-height:1.65;
  font-size:16px;-webkit-font-smoothing:antialiased
}
[dir="rtl"]{font-family:"Inter","Segoe UI",Tahoma,Arial,sans-serif}

/* ───── SCROLLBAR ───── */
::-webkit-scrollbar{width:5px}
::-webkit-scrollbar-track{background:var(--bg-subtle)}
::-webkit-scrollbar-thumb{background:var(--blue-mid);border-radius:3px}
::-webkit-scrollbar-thumb:hover{background:var(--blue)}

/* ═══════════════════════════════════════════════
   LANG BAR
═══════════════════════════════════════════════ */
.lang-bar{
  background:var(--bg-subtle);border-bottom:1px solid var(--border);
  padding:5px 24px;display:flex;justify-content:flex-end;gap:3px;flex-wrap:wrap
}
.lang-btn{
  background:none;border:1px solid transparent;border-radius:6px;
  padding:3px 10px;cursor:pointer;font-size:11px;font-weight:600;
  color:var(--muted);transition:var(--t);letter-spacing:.5px;
  text-transform:uppercase;font-family:inherit
}
.lang-btn:hover,.lang-btn.active{background:var(--blue);color:#fff;border-color:var(--blue)}

/* ═══════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════ */
nav{
  background:#fff;border-bottom:1px solid var(--border);
  padding:0 32px;display:flex;align-items:center;
  justify-content:space-between;height:64px;
  position:sticky;top:0;z-index:200;
  box-shadow:0 1px 0 var(--border)
}
.nav-logo{
  font-weight:800;font-size:16px;color:var(--blue);text-decoration:none;
  letter-spacing:-.3px;display:flex;align-items:center;gap:7px;
  transition:opacity .15s;flex-shrink:0
}
.nav-logo:hover{opacity:.82}

.nav-links{
  display:flex;gap:2px;list-style:none;align-items:center;height:100%;
  margin:0 auto 0 32px
}
.nav-links>li{position:relative;height:100%;display:flex;align-items:center}
.nav-links>li>a{
  color:var(--text-2);text-decoration:none;font-size:14px;font-weight:500;
  padding:0 12px;height:100%;display:flex;align-items:center;gap:4px;
  transition:color .15s;white-space:nowrap
}
.nav-links>li>a:hover{color:var(--blue)}
.nav-links>li>a.active{color:var(--blue);font-weight:600}
.nav-links>li>a.has-dropdown::after{
  content:"";display:inline-block;width:0;height:0;
  border-left:4px solid transparent;border-right:4px solid transparent;
  border-top:4px solid currentColor;margin-top:1px;transition:transform .2s;opacity:.5
}
.nav-links>li:hover>a.has-dropdown::after{transform:rotate(180deg)}

.nav-dropdown{
  display:none;position:absolute;top:calc(100% + 4px);left:0;
  background:#fff;border:1px solid var(--border);border-radius:14px;
  box-shadow:0 16px 48px rgba(15,23,42,.12),0 3px 10px rgba(15,23,42,.06);
  min-width:210px;padding:8px;z-index:300;
  animation:dropIn .16s cubic-bezier(.4,0,.2,1)
}
@keyframes dropIn{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}
.nav-links>li:hover .nav-dropdown{display:block}
.nav-dropdown a{
  display:flex;align-items:center;gap:8px;padding:9px 12px;font-size:14px;
  color:var(--text-2);text-decoration:none;transition:background .12s,color .12s;border-radius:8px
}
.nav-dropdown a:hover{background:var(--bg-subtle);color:var(--blue)}
.nav-dropdown .dropdown-divider{height:1px;background:var(--border);margin:5px 0}

/* Nav right-side CTA */
.nav-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}
.nav-cta-btn{
  background:var(--blue);color:#fff;padding:8px 18px;border-radius:9px;
  font-size:13px;font-weight:700;text-decoration:none;transition:var(--t);
  letter-spacing:-.1px;white-space:nowrap
}
.nav-cta-btn:hover{background:var(--blue-dark);transform:translateY(-1px);box-shadow:var(--shadow-md)}

/* Mobile nav button */
.nav-mobile-btn{
  display:none;background:none;border:none;cursor:pointer;padding:8px;
  color:var(--text);font-size:22px;line-height:1;border-radius:8px;transition:background .15s
}
.nav-mobile-btn:hover{background:var(--bg-subtle)}

.nav-mobile-open .nav-links{
  display:flex;flex-direction:column;align-items:flex-start;gap:0;
  position:fixed;top:64px;left:0;right:0;background:#fff;
  border-bottom:1px solid var(--border);padding:12px 0 20px;
  z-index:199;box-shadow:0 16px 40px rgba(15,23,42,.10);height:auto
}
.nav-mobile-open .nav-links>li{height:auto;width:100%}
.nav-mobile-open .nav-links>li>a{padding:10px 24px}
.nav-mobile-open .nav-dropdown{position:static;box-shadow:none;border:none;padding:0 0 0 16px;border-radius:0;animation:none}
.nav-mobile-open .nav-links>li:hover .nav-dropdown,
.nav-mobile-open .nav-links>li.mob-open .nav-dropdown{display:block}

/* ═══════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════ */
.cta-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  background:var(--blue);color:#fff!important;text-decoration:none;
  padding:12px 24px;border-radius:10px;font-weight:600;font-size:15px;
  transition:var(--t);cursor:pointer;border:none;
  box-shadow:0 1px 3px rgba(37,99,235,.25);font-family:inherit;letter-spacing:-.1px
}
.cta-btn:hover{background:var(--blue-dark);transform:translateY(-1px);box-shadow:0 4px 16px rgba(37,99,235,.30)}
.cta-btn:active{transform:translateY(0);box-shadow:none}
.cta-btn.large{padding:15px 32px;font-size:16px;border-radius:11px}
.cta-btn.green{background:var(--green);box-shadow:0 1px 3px rgba(5,150,105,.25)}
.cta-btn.green:hover{background:var(--green-dark);box-shadow:0 4px 16px rgba(5,150,105,.30)}
.cta-btn.outline{
  background:transparent;border:1.5px solid rgba(255,255,255,.5);
  color:#fff!important;box-shadow:none
}
.cta-btn.outline:hover{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.8)}
.cta-btn.outline-dark{
  background:transparent;border:1.5px solid var(--border);
  color:var(--text-2)!important;box-shadow:none
}
.cta-btn.outline-dark:hover{border-color:var(--blue);color:var(--blue)!important;background:var(--blue-light)}
.cta-btn.ghost{
  background:transparent;color:var(--blue)!important;box-shadow:none;border:1.5px solid var(--blue-mid)
}
.cta-btn.ghost:hover{background:var(--blue-light);border-color:var(--blue)}

/* Legacy .btn compat */
.btn{display:inline-flex;align-items:center;justify-content:center;padding:11px 22px;border-radius:10px;font-weight:600;font-size:14px;cursor:pointer;border:none;transition:var(--t);width:100%;font-family:inherit}
.btn-p{background:var(--blue);color:#fff;box-shadow:0 1px 3px rgba(37,99,235,.25)}
.btn-p:hover{background:var(--blue-dark);transform:translateY(-1px);box-shadow:0 4px 14px rgba(37,99,235,.30)}
.btn-p:disabled{opacity:.45;cursor:not-allowed;transform:none;box-shadow:none}
.btn-s{background:var(--bg-subtle);color:var(--blue);border:1.5px solid var(--border);margin-top:8px}
.btn-s:hover{border-color:var(--blue);background:var(--blue-light)}
.btn-group{display:flex;gap:12px;align-items:center;justify-content:center;flex-wrap:wrap}

/* ═══════════════════════════════════════════════
   LAYOUT UTILS
═══════════════════════════════════════════════ */
.container{max-width:1100px;margin:0 auto;padding:0 28px}

/* ═══════════════════════════════════════════════
   TYPOGRAPHY ACCENT
═══════════════════════════════════════════════ */
.grad-text{
  background:var(--grad-primary);
  -webkit-background-clip:text;-webkit-text-fill-color:transparent;
  background-clip:text
}
.section-label{
  display:inline-block;font-size:11px;font-weight:700;text-transform:uppercase;
  letter-spacing:1.5px;color:var(--blue);background:var(--blue-light);
  padding:4px 12px;border-radius:20px;margin-bottom:12px
}
.section-title{
  font-size:clamp(22px,3vw,34px);font-weight:800;margin-bottom:10px;
  text-align:center;letter-spacing:-.4px;color:var(--text)
}
.section-sub{
  color:var(--muted);text-align:center;font-size:16px;
  max-width:540px;margin:0 auto;line-height:1.65
}
.section-hdr{text-align:center;margin-bottom:48px}

/* ═══════════════════════════════════════════════
   HERO — LIGHT SPLIT LAYOUT
═══════════════════════════════════════════════ */
.hero{
  background:linear-gradient(160deg,#f8fafc 0%,#eff6ff 55%,#f0fdf4 100%);
  padding:80px 28px 72px;
  position:relative;
  overflow:hidden
}
/* subtle geometric accent */
.hero::before{
  content:"";position:absolute;top:-120px;right:-80px;
  width:520px;height:520px;border-radius:50%;
  background:radial-gradient(circle,rgba(37,99,235,.07) 0%,transparent 70%);
  pointer-events:none
}
.hero::after{
  content:"";position:absolute;bottom:-80px;left:-60px;
  width:320px;height:320px;border-radius:50%;
  background:radial-gradient(circle,rgba(79,70,229,.06) 0%,transparent 70%);
  pointer-events:none
}
/* dot grid */
.hero-dots{
  position:absolute;inset:0;
  background-image:radial-gradient(rgba(37,99,235,.06) 1px,transparent 1px);
  background-size:28px 28px;pointer-events:none
}

/* Split layout inside hero */
.hero-split-layout{
  display:grid;
  grid-template-columns:1fr 380px;
  gap:52px;
  max-width:1060px;
  margin:0 auto;
  align-items:center;
  position:relative;z-index:2
}

/* Left column */
.hero-left{text-align:left}
.hero-badge{
  display:inline-flex;align-items:center;gap:7px;
  background:#fff;border:1px solid var(--blue-mid);
  color:var(--blue);font-size:12px;font-weight:600;
  padding:5px 14px;border-radius:20px;margin-bottom:24px;
  letter-spacing:.2px;box-shadow:var(--shadow-xs)
}
.hero-badge::before{content:"🇩🇪";font-size:14px}

.hero-left h1{
  font-size:clamp(32px,5vw,54px);font-weight:800;line-height:1.1;
  letter-spacing:-.7px;color:var(--text);margin-bottom:18px
}
.hero-left p{
  font-size:clamp(15px,1.8vw,17px);color:var(--muted);
  max-width:500px;margin-bottom:32px;line-height:1.7
}
.hero-disclaimer{
  margin-top:20px;font-size:12px;color:var(--muted);
  max-width:480px;line-height:1.6;
  padding:10px 14px;background:rgba(37,99,235,.05);
  border-left:3px solid var(--blue-mid);border-radius:0 8px 8px 0
}

/* ── Hero product mockup (right column) ─────────────────────── */
.hero-mockup{
  background:#fff;border:1px solid var(--border);
  border-radius:20px;overflow:hidden;
  box-shadow:0 12px 48px rgba(37,99,235,.10),0 3px 12px rgba(0,0,0,.06);
  user-select:none;flex-shrink:0;
  transition:box-shadow .25s
}
.hero-mockup:hover{
  box-shadow:0 16px 56px rgba(37,99,235,.13),0 4px 16px rgba(0,0,0,.07)
}

/* browser chrome */
.hmock-chrome{
  background:var(--bg-subtle);border-bottom:1px solid var(--border);
  padding:10px 14px;display:flex;align-items:center;gap:7px
}
.hmock-dot{
  width:10px;height:10px;border-radius:50%;flex-shrink:0
}
.hmock-dot-r{background:#fc5c57}
.hmock-dot-y{background:#fdbc2c}
.hmock-dot-g{background:#34c749}
.hmock-chrome-url{
  flex:1;background:#fff;border:1px solid var(--border);
  border-radius:6px;padding:3px 10px;
  font-size:11px;color:var(--muted);font-family:ui-monospace,monospace;
  overflow:hidden;white-space:nowrap;text-overflow:ellipsis
}

/* document selector pills */
.hmock-pills{
  display:flex;gap:6px;padding:12px 14px 10px;
  overflow:hidden
}
.hmock-pill{
  background:var(--bg-subtle);border:1px solid var(--border);
  border-radius:20px;padding:4px 11px;font-size:11px;font-weight:600;
  color:var(--text-2);white-space:nowrap;flex-shrink:0
}
.hmock-pill-active{
  background:var(--blue-light);border-color:var(--blue-mid);color:var(--blue)
}

/* 2-col body */
.hmock-body{
  display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:0 14px 10px
}

/* section card */
.hmock-section{
  background:var(--bg-subtle);border:1px solid var(--border);
  border-radius:12px;padding:11px 10px
}
.hmock-section-label{
  display:flex;align-items:center;gap:5px;
  font-size:10px;font-weight:700;color:var(--text-2);
  text-transform:uppercase;letter-spacing:.5px;margin-bottom:9px
}
.hmock-s-dot{width:6px;height:6px;border-radius:50%;flex-shrink:0}
.hmock-s-blue{background:var(--blue)}
.hmock-s-indigo{background:var(--indigo)}

/* fake form fields */
.hmock-fields{display:flex;flex-direction:column;gap:7px}
.hmock-frow{display:flex;flex-direction:column;gap:3px}
.hmock-flbl{height:5px;background:var(--border);border-radius:3px;width:55%}
.hmock-finp{
  height:19px;background:#fff;border:1px solid var(--border);border-radius:5px
}
.hmock-finp.valid{border-color:var(--green);background:var(--green-light)}
.hmock-frow2{display:flex;gap:6px}
.hmock-frow2 .hmock-finp{flex:1}

/* PDF preview sheet */
.hmock-pdf-sheet{display:flex;flex-direction:column;gap:5px;margin-top:2px}
.hmock-pline{height:5px;background:var(--border);border-radius:3px}
.hmock-pline.w-full{width:100%}
.hmock-pline.w-3q{width:75%}
.hmock-pline.w-half{width:50%}
.hmock-pdf-dl{
  background:var(--indigo);color:#fff;
  font-size:10px;font-weight:700;padding:5px 8px;border-radius:6px;
  text-align:center;margin-top:5px;letter-spacing:.2px
}

/* Termin status strip */
.hmock-termin{
  margin:0 14px 12px;
  background:var(--green-light);border:1px solid #a7f3d0;
  border-radius:10px;padding:8px 12px;
  display:flex;align-items:center;gap:8px;
  font-size:12px;font-weight:600;color:var(--green-dark)
}
.hmock-pulse{
  width:8px;height:8px;border-radius:50%;background:var(--green);flex-shrink:0;
  box-shadow:0 0 0 3px rgba(5,150,105,.2);
  animation:hmock-pulse 2s ease-in-out infinite
}
@keyframes hmock-pulse{
  0%,100%{box-shadow:0 0 0 3px rgba(5,150,105,.20)}
  50%{box-shadow:0 0 0 5px rgba(5,150,105,.10)}
}
.hmock-termin-city{flex:1;font-size:12px;font-weight:600;color:var(--green-dark)}
.hmock-live{
  font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.6px;
  background:var(--green);color:#fff;padding:2px 7px;border-radius:10px
}

/* Language flags row */
.hmock-langs{
  display:flex;justify-content:space-between;align-items:center;
  padding:10px 16px 14px;border-top:1px solid var(--border)
}
.hmock-langs span{
  font-size:18px;opacity:.8;transition:opacity .15s,transform .15s;cursor:default
}
.hmock-langs span:hover{opacity:1;transform:scale(1.15)}

/* Hero centered fallback */
.hero.hero-centered{padding:88px 28px 72px}
.hero.hero-centered .hero-inner{position:relative;z-index:2;text-align:center;max-width:700px;margin:0 auto}

/* ═══════════════════════════════════════════════
   PAGE HERO (inner pages)
═══════════════════════════════════════════════ */
.page-hero{
  background:var(--grad-hero);padding:64px 28px 52px;
  text-align:center;position:relative;overflow:hidden
}
.page-hero::before{
  content:"";position:absolute;inset:0;
  background:radial-gradient(ellipse 60% 80% at 50% 50%,rgba(96,165,250,.12) 0%,transparent 70%);
  pointer-events:none
}
.page-hero::after{
  content:"";position:absolute;inset:0;
  background-image:radial-gradient(rgba(255,255,255,.05) 1px,transparent 1px);
  background-size:28px 28px;pointer-events:none
}
.page-hero h1{
  position:relative;z-index:1;font-size:clamp(24px,3.8vw,40px);
  font-weight:800;margin-bottom:12px;color:#fff;letter-spacing:-.4px
}
.page-hero p{
  position:relative;z-index:1;font-size:17px;color:rgba(255,255,255,.7);
  max-width:540px;margin:0 auto 24px
}
.page-hero .cta-btn{position:relative;z-index:1}
.page-hero.termin-hero{background:linear-gradient(160deg,#022c22 0%,#065f46 55%,#059669 100%)}

/* ═══════════════════════════════════════════════
   SECTIONS
═══════════════════════════════════════════════ */
section{padding:72px 28px}
section.alt-bg{background:var(--bg-subtle)}
section.section-compact{padding:40px 28px}

/* ═══════════════════════════════════════════════
   BENTO GRID — ASYMMETRIC
═══════════════════════════════════════════════ */
.bento-asymm{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr;
  grid-template-rows:220px 200px;
  gap:16px;
  max-width:960px;
  margin:0 auto
}
.bento-card{
  background:#fff;border:1px solid var(--border);
  border-radius:20px;padding:28px 26px;
  box-shadow:var(--shadow);
  transition:transform .22s,box-shadow .22s,border-color .22s;
  display:flex;flex-direction:column;gap:14px;
  position:relative;overflow:hidden
}
.bento-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg);border-color:var(--blue-mid)}
/* Card 1: col 1, rows 1–2 (tall) */
.bento-card-1{grid-column:1;grid-row:1/3}
/* Card 2: col 2, row 1 */
.bento-card-2{grid-column:2;grid-row:1}
/* Card 3: col 3, row 1 */
.bento-card-3{grid-column:3;grid-row:1}
/* Card 4: cols 2–3, row 2 (wide) */
.bento-card-4{grid-column:2/4;grid-row:2;flex-direction:row;align-items:center;gap:24px}

.bento-icon{
  width:52px;height:52px;border-radius:14px;
  display:flex;align-items:center;justify-content:center;font-size:24px;
  flex-shrink:0
}
.bento-icon-blue{background:var(--blue-light)}
.bento-icon-green{background:var(--green-light)}
.bento-icon-indigo{background:var(--indigo-light)}
.bento-icon-amber{background:var(--amber-light)}

.bento-card h3{font-size:17px;font-weight:700;color:var(--text);letter-spacing:-.2px}
.bento-card p{font-size:14px;color:var(--muted);line-height:1.6;flex:1}
.bento-card-1 h3{font-size:20px}
.bento-card-4 .bento-text{flex:1}
.bento-badge{
  display:inline-flex;align-items:center;gap:6px;
  font-size:12px;font-weight:600;color:var(--blue);
  background:var(--blue-light);padding:4px 10px;border-radius:16px;
  margin-top:auto;align-self:flex-start
}
.bento-badge-green{color:var(--green);background:var(--green-light)}

/* ═══════════════════════════════════════════════
   STEPS — NUMBERED HORIZONTAL
═══════════════════════════════════════════════ */
.steps-row{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:0;
  max-width:900px;
  margin:0 auto;
  position:relative
}
.steps-row::before{
  content:"";position:absolute;
  top:32px;left:12%;right:12%;height:2px;
  background:linear-gradient(90deg,var(--blue-mid),var(--indigo-light));
  z-index:0
}
.step-item{
  display:flex;flex-direction:column;align-items:center;
  text-align:center;padding:0 16px;position:relative;z-index:1
}
.step-number{
  width:64px;height:64px;border-radius:50%;
  background:#fff;border:2px solid var(--blue-mid);
  display:flex;align-items:center;justify-content:center;
  font-size:22px;font-weight:800;color:var(--blue);
  margin-bottom:18px;
  box-shadow:0 0 0 6px var(--bg-subtle);
  transition:var(--t);position:relative
}
.step-item:hover .step-number{
  background:var(--blue);color:#fff;border-color:var(--blue);
  box-shadow:0 0 0 6px var(--blue-light)
}
.step-item--green .step-number{color:var(--green);border-color:#a7f3d0}
.step-item--green:hover .step-number{background:var(--green);color:#fff;border-color:var(--green)}
.step-emoji{position:absolute;top:-10px;right:-8px;font-size:18px}
.step-item h3{font-size:14px;font-weight:700;margin-bottom:6px;color:var(--text)}
.step-item p{font-size:13px;color:var(--muted);line-height:1.5}

/* Legacy .step (document pages) */
.steps{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:16px;max-width:960px;margin:0 auto
}
.step{
  background:#fff;border:1px solid var(--border);border-radius:16px;
  padding:28px 22px 24px;text-align:center;box-shadow:var(--shadow);
  transition:transform .2s,box-shadow .2s,border-color .2s
}
.step:hover{transform:translateY(-4px);box-shadow:var(--shadow-md);border-color:var(--blue-mid)}
.step--green:hover{border-color:#a7f3d0}
.step-icon{font-size:30px;margin-bottom:14px;line-height:1}
.step-num{
  width:40px;height:40px;background:var(--blue);color:#fff;border-radius:12px;
  display:flex;align-items:center;justify-content:center;
  font-weight:800;font-size:17px;margin:0 auto 14px;
  box-shadow:0 2px 8px rgba(37,99,235,.25)
}
.step-num--green{background:var(--green);box-shadow:0 2px 8px rgba(5,150,105,.25)}
.step h3{font-size:14px;font-weight:700;margin-bottom:7px;color:var(--text)}
.step p{font-size:13px;color:var(--muted);line-height:1.55}

/* How tabs */
.how-tabs{
  display:flex;gap:6px;justify-content:center;background:var(--bg-subtle);
  padding:5px;border-radius:12px;max-width:360px;margin:0 auto 32px;
  border:1px solid var(--border)
}
.how-tab{
  flex:1;background:none;border:none;padding:9px 18px;font-size:14px;
  font-weight:600;color:var(--muted);border-radius:8px;cursor:pointer;
  transition:var(--t);font-family:inherit
}
.how-tab.active{background:#fff;color:var(--blue);box-shadow:var(--shadow)}
.how-panel{display:none}
.how-panel.active{display:block}
.how-panel-cta{text-align:center;margin-top:24px}
.how-panel-cta a{
  font-size:14px;font-weight:600;color:var(--blue);text-decoration:none;
  display:inline-flex;align-items:center;gap:6px;transition:gap .2s
}
.how-panel-cta a:hover{gap:10px}

/* ═══════════════════════════════════════════════
   STATS BAR
═══════════════════════════════════════════════ */
.stats-bar{
  display:flex;justify-content:center;gap:0;flex-wrap:wrap;
  background:var(--blue);position:relative;overflow:hidden
}
.stats-bar::before{
  content:"";position:absolute;inset:0;
  background-image:radial-gradient(rgba(255,255,255,.06) 1px,transparent 1px);
  background-size:20px 20px
}
.stat-item{
  text-align:center;padding:28px 44px;position:relative;z-index:1;
  flex:1;min-width:130px
}
.stat-item+.stat-item::before{
  content:"";position:absolute;left:0;top:20%;bottom:20%;
  width:1px;background:rgba(255,255,255,.15)
}
.stat-item strong{display:block;font-size:30px;font-weight:800;color:#fff;letter-spacing:-.4px;line-height:1.1}
.stat-item span{font-size:13px;color:rgba(255,255,255,.65);letter-spacing:.1px}

/* ═══════════════════════════════════════════════
   DOCS GRID
═══════════════════════════════════════════════ */
.docs-grid{
  display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));
  gap:12px;max-width:980px;margin:0 auto 36px
}
.doc-card{
  background:#fff;border:1px solid var(--border);border-radius:14px;
  padding:22px 14px 18px;text-align:center;text-decoration:none;color:var(--text);
  transition:transform .2s,box-shadow .2s,border-color .2s,background .15s;
  display:flex;flex-direction:column;align-items:center;gap:7px;
  box-shadow:var(--shadow)
}
.doc-card:hover{border-color:var(--blue);box-shadow:var(--shadow-md);transform:translateY(-3px);background:var(--blue-light)}
.doc-card .doc-icon{font-size:28px;line-height:1}
.doc-card h3{font-size:13px;font-weight:700}
.doc-card p{font-size:12px;color:var(--muted)}
.doc-card .doc-cta{margin-top:4px;font-size:11px;font-weight:600;color:var(--blue);opacity:0;transition:opacity .15s}
.doc-card:hover .doc-cta{opacity:1}

/* ═══════════════════════════════════════════════
   PRODUCT SPLIT (used on some pages)
═══════════════════════════════════════════════ */
.product-split{
  display:grid;grid-template-columns:1fr 1fr;
  gap:20px;max-width:840px;margin:0 auto
}
.product-card{
  background:#fff;border-radius:18px;padding:32px 28px;
  border:1px solid var(--border);box-shadow:var(--shadow);
  transition:transform .2s,box-shadow .2s,border-color .2s;
  position:relative;overflow:hidden;display:flex;flex-direction:column;gap:0
}
.product-card::before{
  content:"";position:absolute;top:0;left:0;right:0;height:3px;
  background:var(--blue);border-radius:18px 18px 0 0
}
.product-card--termin::before{background:var(--green)}
.product-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg);border-color:var(--blue-mid)}
.product-card--termin:hover{border-color:#a7f3d0}
.product-card-badge{
  position:absolute;top:14px;right:14px;background:var(--green);color:#fff;
  font-size:11px;font-weight:700;padding:3px 10px;border-radius:20px;letter-spacing:.3px
}
.product-card-icon{
  font-size:36px;line-height:1;margin-bottom:16px;
  display:inline-flex;align-items:center;justify-content:center;
  width:56px;height:56px;background:var(--blue-light);border-radius:14px
}
.product-card--termin .product-card-icon{background:var(--green-light)}
.product-card h3{font-size:20px;font-weight:800;margin-bottom:8px;color:var(--text);letter-spacing:-.3px}
.product-card>p{font-size:14px;color:var(--muted);margin-bottom:16px;line-height:1.6}
.product-card-price{
  font-size:14px;font-weight:700;color:var(--blue);margin-bottom:18px;
  padding:7px 12px;background:var(--blue-light);border-radius:8px;display:inline-block
}
.product-card--termin .product-card-price{color:var(--green);background:var(--green-light)}
.product-card-features{list-style:none;padding:0;margin:0 0 24px;display:flex;flex-direction:column;gap:9px;flex:1}
.product-card-features li{display:flex;align-items:center;gap:10px;font-size:14px;color:var(--text-2)}
.product-card-features li::before{
  content:"✓";color:#fff;background:var(--blue);width:18px;height:18px;
  border-radius:50%;display:flex;align-items:center;justify-content:center;
  font-size:9px;font-weight:800;flex-shrink:0
}
.product-card--termin .product-card-features li::before{background:var(--green)}

/* ═══════════════════════════════════════════════
   WHY / FEATURES
═══════════════════════════════════════════════ */
.why-grid{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:16px;max-width:960px;margin:0 auto
}
.why-card{
  background:#fff;border:1px solid var(--border);border-radius:16px;
  padding:26px 22px;display:flex;gap:14px;align-items:flex-start;
  box-shadow:var(--shadow);transition:transform .2s,box-shadow .2s,border-color .2s
}
.why-card:hover{box-shadow:var(--shadow-md);transform:translateY(-3px);border-color:var(--blue-mid)}
.why-icon{
  font-size:22px;line-height:1;flex-shrink:0;padding:10px;
  background:var(--blue-light);border-radius:10px;display:flex;align-items:center
}
.why-card h3{font-size:14px;font-weight:700;margin-bottom:5px}
.why-card p{font-size:13px;color:var(--muted);line-height:1.55}

/* ═══════════════════════════════════════════════
   TRUST / DISCLAIMER BLOCK
═══════════════════════════════════════════════ */
.trust-block{
  background:var(--bg-subtle);border:1px solid var(--border);
  border-radius:20px;padding:36px;max-width:860px;margin:0 auto
}
.trust-grid{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:20px;margin-top:20px
}
.trust-item{
  display:flex;align-items:flex-start;gap:12px;
  font-size:14px;color:var(--text-2);line-height:1.55
}
.trust-item-icon{
  font-size:20px;flex-shrink:0;width:40px;height:40px;
  background:#fff;border:1px solid var(--border);border-radius:10px;
  display:flex;align-items:center;justify-content:center;
  box-shadow:var(--shadow-xs)
}
.trust-title{font-size:14px;font-weight:700;margin-bottom:2px;color:var(--text)}

/* Trust notices — disc-row */
.disc-row{
  display:flex;flex-wrap:wrap;gap:16px;
  justify-content:center;max-width:900px;margin:0 auto
}
.trust-notice{
  flex:1;min-width:240px;background:#fff;border:1px solid var(--border);
  border-radius:12px;padding:20px 18px;display:flex;align-items:flex-start;
  gap:12px;box-shadow:var(--shadow);font-size:14px;color:var(--text-2);line-height:1.55
}
.trust-notice-icon{
  font-size:22px;flex-shrink:0;line-height:1;padding:8px;
  background:var(--blue-light);border-radius:9px
}

/* ═══════════════════════════════════════════════
   CONTENT CARD (legal pages)
═══════════════════════════════════════════════ */
.content-card{
  background:#fff;border:1px solid var(--border);border-radius:18px;
  padding:44px 48px;max-width:820px;margin:0 auto;box-shadow:var(--shadow)
}
.content-card h2{
  font-size:20px;font-weight:700;margin:32px 0 12px;color:var(--text);
  display:flex;align-items:center;gap:10px
}
.content-card h2:first-child{margin-top:0}
.content-card p,.content-card li{color:var(--text-2);line-height:1.75;margin-bottom:10px;font-size:15px}
.content-card ul,.content-card ol{padding-left:22px;margin-bottom:16px}
.content-card li{margin-bottom:7px}
.content-card .warning{
  background:var(--amber-light);border-left:4px solid var(--amber);
  padding:14px 18px;border-radius:0 var(--radius-sm) var(--radius-sm) 0;
  margin:18px 0;font-size:14px;line-height:1.65
}
[dir="rtl"] .content-card .warning{border-left:none;border-right:4px solid var(--amber)}

/* ═══════════════════════════════════════════════
   FAQ  — MODERN ACCORDION
═══════════════════════════════════════════════ */
.faq-list{max-width:820px;margin:0 auto}
.faq-item{
  border:1px solid var(--border);border-radius:14px;margin-bottom:8px;
  overflow:hidden;background:#fff;transition:border-color .2s,box-shadow .2s
}
.faq-item:hover{border-color:var(--blue-mid);box-shadow:var(--shadow)}
.faq-q{
  width:100%;background:transparent;border:none;padding:18px 22px;
  text-align:left;font-size:15px;font-weight:600;cursor:pointer;
  display:flex;justify-content:space-between;align-items:center;gap:14px;
  transition:background .15s;font-family:inherit;color:var(--text);line-height:1.4
}
.faq-q:hover{background:var(--bg-subtle)}
summary.faq-q{list-style:none}
summary.faq-q::-webkit-details-marker{display:none}
[dir="rtl"] .faq-q{text-align:right}
.faq-q-icon{
  width:28px;height:28px;border-radius:50%;background:var(--blue-light);
  color:var(--blue);display:flex;align-items:center;justify-content:center;
  font-size:18px;font-weight:400;flex-shrink:0;transition:transform .25s,background .2s
}
.faq-q.open .faq-q-icon{transform:rotate(45deg);background:var(--blue);color:#fff}
.faq-a{
  display:none;padding:0 22px 18px;font-size:14px;color:var(--text-2);line-height:1.7;
  animation:fadeIn .2s ease
}
details[open] .faq-a{display:block}
@keyframes fadeIn{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}
.faq-q::after{content:"›";font-size:1.3em;color:var(--blue);transition:transform .25s;transform:rotate(90deg);flex-shrink:0;display:block;line-height:1}
details[open] .faq-q::after{transform:rotate(270deg)}
[dir="rtl"] .faq-q::after{transform:rotate(-90deg)}
[dir="rtl"] details[open] .faq-q::after{transform:rotate(90deg)}

/* ═══════════════════════════════════════════════
   CTA BANNER
═══════════════════════════════════════════════ */
.cta-banner{
  background:var(--grad-hero);color:#fff;padding:72px 28px;
  text-align:center;position:relative;overflow:hidden
}
.cta-banner::before{
  content:"";position:absolute;inset:0;
  background-image:radial-gradient(rgba(255,255,255,.05) 1px,transparent 1px);
  background-size:24px 24px;pointer-events:none
}
.cta-banner::after{
  content:"";position:absolute;
  width:400px;height:400px;border-radius:50%;
  background:radial-gradient(circle,rgba(96,165,250,.12) 0%,transparent 70%);
  top:-100px;right:-60px;pointer-events:none
}
.cta-banner h2{
  position:relative;z-index:1;font-size:clamp(22px,3.2vw,36px);
  font-weight:800;margin-bottom:12px;letter-spacing:-.4px
}
.cta-banner p{position:relative;z-index:1;opacity:.78;margin-bottom:30px;font-size:17px}
.cta-banner .cta-btn{
  position:relative;z-index:1;background:#fff;color:var(--blue)!important;
  font-weight:700;box-shadow:0 4px 18px rgba(0,0,0,.18)
}
.cta-banner .cta-btn:hover{background:var(--blue-light);box-shadow:0 8px 28px rgba(0,0,0,.22)}
.cta-banner .cta-btn.outline{background:transparent;border:1.5px solid rgba(255,255,255,.4);color:#fff!important;box-shadow:none}
.cta-banner .cta-btn.outline:hover{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.7)}
.cta-banner .btn-group{position:relative;z-index:1}
.cta-banner-disclaimer{
  position:relative;z-index:1;margin-top:18px;
  font-size:12px;color:rgba(255,255,255,.4);max-width:540px;margin-left:auto;margin-right:auto
}

/* ═══════════════════════════════════════════════
   PRICING  — MODERN CARDS
═══════════════════════════════════════════════ */
.pricing-grid{
  display:grid;grid-template-columns:repeat(3,1fr);
  gap:20px;max-width:860px;margin:0 auto 28px
}
.pricing-grid--4{max-width:1060px;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.pricing-card{
  background:#fff;border:1px solid var(--border);border-radius:20px;
  padding:30px 24px;text-align:center;transition:transform .2s,box-shadow .2s,border-color .2s;
  position:relative;overflow:hidden;box-shadow:var(--shadow);
  display:flex;flex-direction:column
}
.pricing-card::before{
  content:"";position:absolute;top:0;left:0;right:0;height:3px;background:var(--blue)
}
.pricing-card:hover{box-shadow:var(--shadow-lg);transform:translateY(-4px);border-color:var(--blue-mid)}
/* Featured card */
.pricing-card.featured{
  border-color:var(--blue);
  box-shadow:0 0 0 2px rgba(37,99,235,.15),var(--shadow-md);
  background:linear-gradient(180deg,var(--blue-light) 0%,#fff 100%)
}
.pricing-card.featured::before{background:var(--grad-primary)}
.pricing-card.featured:hover{box-shadow:0 0 0 2px rgba(37,99,235,.2),var(--shadow-lg)}
.pricing-badge{
  position:absolute;top:14px;right:14px;background:var(--blue);color:#fff;
  font-size:10px;font-weight:700;padding:3px 9px;border-radius:16px;
  letter-spacing:.3px;text-transform:uppercase
}
.pricing-badge--best{background:linear-gradient(135deg,#059669,#0d9488)}
.pricing-badge--alt{background:var(--muted)}
.pricing-icon{font-size:34px;margin-bottom:12px;line-height:1}
.pricing-card h3{font-size:18px;font-weight:800;margin-bottom:7px;color:var(--text)}
.pricing-card .pricing-desc{font-size:13px;color:var(--muted);margin-bottom:18px;line-height:1.55;flex:0 0 auto;min-height:38px}
.pricing-amount{font-size:38px;font-weight:800;color:var(--blue);line-height:1;margin-bottom:3px}
.pricing-amount sup{font-size:18px;vertical-align:super;font-weight:700}
.pricing-note{font-size:12px;color:var(--muted);margin-bottom:20px}
.pricing-features{list-style:none;padding:0;text-align:left;margin-bottom:20px}
.pricing-features li{
  font-size:13px;color:var(--text-2);padding:6px 0;
  display:flex;align-items:center;gap:9px;
  border-bottom:1px solid var(--bg-subtle)
}
.pricing-features li:last-child{border-bottom:none}
.pricing-features li::before{
  content:"✓";color:#fff;background:var(--green);width:17px;height:17px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;font-size:9px;font-weight:800;flex-shrink:0
}
.pricing-cta{margin-top:auto;display:flex;justify-content:center}
.pricing-disclaimer{
  text-align:center;font-size:12px;color:var(--muted);
  max-width:540px;margin:0 auto;padding-top:8px;line-height:1.6
}

/* ═══════════════════════════════════════════════
   FEATURES GRID
═══════════════════════════════════════════════ */
.features-grid{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:16px;max-width:1000px;margin:0 auto
}
.feature-card{
  background:#fff;border:1px solid var(--border);border-radius:14px;
  padding:24px 20px;display:flex;gap:14px;align-items:flex-start;
  transition:transform .2s,box-shadow .2s,border-color .2s;box-shadow:var(--shadow)
}
.feature-card:hover{border-color:var(--blue-mid);box-shadow:var(--shadow-md);transform:translateY(-3px)}
.feature-icon{
  font-size:22px;line-height:1;flex-shrink:0;padding:9px;
  background:var(--blue-light);border-radius:10px;display:flex;align-items:center
}
.feature-card h3{font-size:14px;font-weight:700;margin-bottom:4px;color:var(--text)}
.feature-card p{font-size:13px;color:var(--muted);line-height:1.55}

/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
footer{background:#0c1526;color:#94a3b8;padding:52px 28px 32px;font-size:13px}
.footer-inner{
  max-width:1100px;margin:0 auto;display:grid;
  grid-template-columns:1fr 2fr;gap:44px;
  padding-bottom:36px;border-bottom:1px solid rgba(255,255,255,.06);margin-bottom:24px
}
.footer-brand .nav-logo{font-size:15px;color:#e2e8f0;margin-bottom:10px;display:inline-flex}
.footer-brand p{font-size:13px;color:#475569;line-height:1.65;max-width:240px}
.footer-nav-group{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.footer-col h4{color:#e2e8f0;font-size:11px;font-weight:700;margin-bottom:12px;text-transform:uppercase;letter-spacing:1px}
.footer-col a{display:block;color:#475569;text-decoration:none;margin-bottom:9px;font-size:13px;transition:color .15s}
.footer-col a:hover{color:#e2e8f0}
.footer-bottom{
  max-width:1100px;margin:0 auto;display:flex;
  justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px
}
.footer-links{display:flex;gap:18px;flex-wrap:wrap}
.footer-links a{color:#475569;text-decoration:none;transition:color .15s}
.footer-links a:hover{color:#e2e8f0}
.footer-disclaimer{
  color:#334155;font-size:12px;text-align:center;padding-top:14px;
  max-width:680px;margin:0 auto;line-height:1.6;
  border-top:1px solid rgba(255,255,255,.04);margin-top:14px
}

/* ═══════════════════════════════════════════════
   PRODUCT SECTIONS (termin.html etc.)
═══════════════════════════════════════════════ */
.product-section{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:20px 0}
.product-block{background:var(--bg-subtle);border:1px solid var(--border);border-radius:var(--radius-sm);padding:22px}
.product-block h3{font-size:15px;font-weight:700;margin-bottom:8px;display:flex;align-items:center;gap:8px}
.product-block p{font-size:14px;color:var(--muted);line-height:1.6}
.product-block.highlight{background:var(--blue-light);border-color:var(--blue-mid)}
.price-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px;margin:18px 0}
.price-card{
  border:1px solid var(--border);border-radius:14px;padding:22px 18px;
  text-align:center;transition:var(--t);background:#fff;box-shadow:var(--shadow)
}
.price-card:hover{border-color:var(--blue);box-shadow:var(--shadow-md);transform:translateY(-2px)}
.price-card.featured{border-color:var(--blue);background:var(--blue-light)}
.price-card .price-label{font-size:13px;color:var(--muted);margin-bottom:6px}
.price-card .price-amount{font-size:28px;font-weight:800;color:var(--blue);margin-bottom:4px}
.price-card p{font-size:13px;color:var(--muted);margin-top:8px}

/* ═══════════════════════════════════════════════
   DOCUMENT FORM PAGE SUPPORT CLASSES
═══════════════════════════════════════════════ */
.pf-layout{display:grid;grid-template-columns:1fr 320px;gap:28px;max-width:1060px;margin:0 auto;align-items:start}
.doc-pills{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}
.doc-pill{
  background:var(--bg-subtle);border:1px solid var(--border);border-radius:9px;
  padding:7px 13px;cursor:pointer;font-size:13px;font-weight:600;color:var(--text-2);
  display:flex;align-items:center;gap:6px;transition:var(--t);white-space:nowrap
}
.doc-pill:hover{border-color:var(--blue);color:var(--blue)}
.doc-pill.active{border-color:var(--blue);background:var(--blue-light);color:var(--blue);box-shadow:0 0 0 2px rgba(37,99,235,.1)}
.lang-pill{
  background:var(--bg-subtle);border:1px solid var(--border);border-radius:7px;
  padding:5px 11px;cursor:pointer;font-size:12px;font-weight:700;color:var(--muted);transition:var(--t)
}
.lang-pill:hover{border-color:var(--blue);color:var(--blue)}
.lang-pill.active{border-color:var(--blue);background:var(--blue);color:#fff}
.form-section{margin-bottom:26px}
.form-section-title{
  font-size:12px;font-weight:700;color:var(--muted);text-transform:uppercase;
  letter-spacing:.6px;margin-bottom:12px;padding-bottom:7px;
  border-bottom:1px solid var(--border);display:flex;align-items:center;gap:8px
}
.form-section-title::before{content:"";display:inline-block;width:3px;height:14px;background:var(--blue);border-radius:2px}
.fi-group{margin-bottom:13px}
.fi-label{display:block;font-size:12px;font-weight:700;color:var(--text-2);text-transform:uppercase;letter-spacing:.4px;margin-bottom:5px}
.fi-label .req{color:var(--blue);margin-left:2px}
.fi-input,.fi-select,.fi-textarea{
  width:100%;padding:10px 13px;border:1px solid var(--border);border-radius:9px;
  font-size:14px;color:var(--text);background:#fff;transition:border-color .15s,box-shadow .15s;
  outline:none;font-family:inherit;box-sizing:border-box
}
.fi-input:focus,.fi-select:focus,.fi-textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(37,99,235,.1)}
.fi-input::placeholder{color:#b0bec5}
.fi-input.valid{border-color:var(--green);background:#f0fdf4}
.fi-input.error{border-color:#ef4444;background:#fef2f2}
.fi-hint{font-size:11px;color:var(--muted);margin-top:3px}
.fi-err{font-size:11px;color:#dc2626;margin-top:3px}
.rc-card{background:#fff;border:1px solid var(--border);border-radius:16px;padding:22px;box-shadow:var(--shadow-md);position:sticky;top:80px}
.rc-card h3{font-size:13px;font-weight:700;margin-bottom:14px;color:var(--text);display:flex;align-items:center;gap:7px}
.rc-bar-wrap{height:7px;background:#e0e7ff;border-radius:4px;overflow:hidden;margin-bottom:7px}
.rc-bar{height:100%;background:var(--blue);border-radius:4px;transition:width .4s cubic-bezier(.4,0,.2,1)}
.rc-count{font-size:12px;color:var(--muted);margin-bottom:12px;text-align:right}
.rc-list{list-style:none;padding:0;margin:0 0 14px;max-height:200px;overflow-y:auto;display:flex;flex-direction:column;gap:5px}
.rc-list li{font-size:12px;padding:5px 9px;border-radius:7px;display:flex;align-items:center;gap:7px;color:var(--muted)}
.rc-list li.done{color:var(--text);background:var(--green-light)}
.rc-list li.done::before{content:"✓";color:#fff;background:var(--green);width:15px;height:15px;border-radius:50%;font-size:8px;font-weight:800;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.rc-list li:not(.done)::before{content:"○";color:var(--muted);flex-shrink:0;font-size:10px}
.sub-notice{font-size:12px;color:var(--muted);margin-bottom:10px;text-align:center}
.doc-sel-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(135px,1fr));gap:9px}
.doc-sel-btn{background:#fff;border:1px solid var(--border);border-radius:11px;padding:13px 11px;cursor:pointer;font-size:13px;text-align:left;display:flex;flex-direction:column;gap:4px;transition:var(--t);position:relative;font-family:inherit}
.doc-sel-btn:hover{border-color:var(--blue);background:var(--blue-light)}
.doc-sel-btn.active{border-color:var(--blue);background:var(--blue-light);box-shadow:0 0 0 2px rgba(37,99,235,.1)}
.doc-sel-icon{font-size:20px}.doc-sel-name{font-size:12px;font-weight:700;color:var(--text)}.doc-sel-price{font-size:12px;font-weight:700;color:var(--blue)}.doc-sel-sub{font-size:11px;color:var(--muted);line-height:1.3}
.doc-sel-tick{display:none}
.doc-sel-btn.active .doc-sel-tick{display:flex;position:absolute;top:7px;right:7px;width:16px;height:16px;background:var(--blue);color:#fff;border-radius:50%;font-size:9px;font-weight:800;align-items:center;justify-content:center}
.lang-sel-form{display:flex;flex-wrap:wrap;gap:9px}
.lang-sel-btn{background:var(--bg-subtle);border:1px solid var(--border);border-radius:9px;padding:8px 14px;cursor:pointer;font-size:13px;font-weight:600;color:var(--text-2);display:flex;align-items:center;gap:5px;transition:var(--t);font-family:inherit}
.lang-sel-btn:hover{border-color:var(--blue)}
.lang-sel-btn.active{border-color:var(--blue);background:var(--blue-light);color:var(--blue)}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:14px}
.form-row:last-child{margin-bottom:0}
.form-row.cols-3{grid-template-columns:2fr 1fr 1fr}
.form-group{display:flex;flex-direction:column;gap:5px}
.form-group.full{grid-column:1/-1}
.form-label{font-size:12px;font-weight:700;color:var(--text-2);text-transform:uppercase;letter-spacing:.4px}
.form-label .req{color:var(--blue);margin-left:2px}
.form-input{padding:10px 13px;border:1px solid var(--border);border-radius:9px;font-size:14px;color:var(--text);background:#fff;transition:border-color .15s,box-shadow .15s;outline:none;font-family:inherit;width:100%;box-sizing:border-box}
.form-input:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(37,99,235,.1)}
.form-input::placeholder{color:#b0bec5}
.doc-form-sidebar{position:sticky;top:72px}
.readiness-card{background:#fff;border:1px solid var(--border);border-radius:16px;padding:24px;box-shadow:var(--shadow-md)}
.readiness-card h3{font-size:14px;font-weight:700;color:var(--text);margin-bottom:16px;display:flex;align-items:center;gap:8px}
.readiness-doc-row{display:flex;align-items:center;gap:10px;background:var(--bg-subtle);border:1px solid var(--border);border-radius:10px;padding:12px;margin-bottom:16px}
.readiness-doc-icon{font-size:22px;flex-shrink:0}
.readiness-doc-name{font-size:13px;font-weight:700;color:var(--text);line-height:1.2}
.readiness-doc-price{font-size:15px;font-weight:800;color:var(--blue)}
.readiness-list{list-style:none;padding:0;margin:0 0 16px;display:flex;flex-direction:column;gap:5px}
.readiness-list .check-item{display:flex;align-items:center;gap:9px;font-size:13px;color:var(--muted);padding:7px 9px;border-radius:7px;transition:background .15s,color .15s}
.readiness-list .check-item.done{color:var(--text);background:var(--green-light)}
.check-icon{width:18px;height:18px;display:flex;align-items:center;justify-content:center;border-radius:50%;font-size:9px;font-weight:800;flex-shrink:0;background:#e2e8f0;color:var(--muted);transition:background .15s,color .15s}
.check-item.done .check-icon{background:#22c55e;color:#fff}
.readiness-score-row{display:flex;justify-content:space-between;align-items:center;font-size:13px;color:var(--muted);margin-bottom:14px;padding:9px 11px;background:var(--bg-subtle);border-radius:7px}
.readiness-score-row .score-val{font-weight:800;color:var(--blue);font-size:14px}
.readiness-actions{display:flex;flex-direction:column;gap:9px;margin-bottom:12px}
.readiness-notice{font-size:12px;color:#92400e;background:var(--amber-light);border:1px solid #fde68a;border-radius:7px;padding:9px 11px;line-height:1.5;text-align:center}
.readiness-notice.success{background:var(--green-light);border-color:#86efac;color:#15803d}

/* ═══════════════════════════════════════════════
   TERMIN SETUP
═══════════════════════════════════════════════ */
.termin-setup-grid{display:grid;grid-template-columns:1fr 310px;gap:32px;max-width:940px;margin:0 auto;align-items:start}
.termin-setup-form{min-width:0}
.setup-block{margin-bottom:20px}
.setup-label{display:block;font-size:12px;font-weight:700;color:var(--text-2);text-transform:uppercase;letter-spacing:.4px;margin-bottom:9px}
.setup-select{width:100%;padding:11px 38px 11px 13px;border:1px solid var(--border);border-radius:10px;font-size:14px;color:var(--text);background:#fff;cursor:pointer;outline:none;font-family:inherit;transition:border-color .15s,box-shadow .15s;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 13px center;box-sizing:border-box}
.setup-select:focus{border-color:var(--green);box-shadow:0 0 0 3px rgba(5,150,105,.12)}
.period-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.period-btn{border:1px solid var(--border);border-radius:12px;padding:14px 13px;cursor:pointer;background:#fff;text-align:left;transition:var(--t);display:flex;flex-direction:column;gap:3px;position:relative;box-shadow:var(--shadow);font-family:inherit}
.period-btn span{font-size:12px;color:var(--muted)}
.period-btn strong{font-size:20px;font-weight:800;color:var(--green)}
.period-btn:hover{border-color:var(--green);transform:translateY(-2px);box-shadow:var(--shadow-md)}
.period-btn.active{border-color:var(--green);background:var(--green-light);box-shadow:0 0 0 2px rgba(5,150,105,.1),var(--shadow)}
.period-badge-tag{position:absolute;top:-1px;right:-1px;background:var(--green);color:#fff;font-size:10px;font-weight:700;padding:3px 7px;border-radius:0 11px 0 9px}
.notif-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.notif-btn{border:1px solid var(--border);border-radius:10px;padding:11px 13px;cursor:pointer;background:#fff;font-size:13px;font-weight:600;color:var(--text-2);display:flex;align-items:center;gap:7px;transition:var(--t);font-family:inherit}
.notif-btn:hover{border-color:var(--green)}
.notif-btn.active{border-color:var(--green);background:var(--green-light);color:var(--green-dark)}
.monitoring-card{background:#fff;border:1px solid var(--border);border-radius:16px;padding:24px;box-shadow:var(--shadow-md);position:sticky;top:72px}
.monitoring-total{background:var(--green-light);border-radius:9px;padding:12px 16px;display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}
.monitoring-total .label{font-size:13px;color:var(--text-2);font-weight:600}
.monitoring-total .amount{font-size:22px;font-weight:800;color:var(--green)}
.city-card{background:var(--bg-subtle);border:1px solid var(--border);border-radius:12px;padding:16px;margin-bottom:10px;display:flex;align-items:center;gap:12px;font-size:14px;font-weight:600;color:var(--text);transition:var(--t)}
.city-card:hover{border-color:var(--green);transform:translateY(-2px)}
.city-card a{color:inherit;text-decoration:none}
.city-icon{font-size:22px}.city-info{flex:1}.city-name{font-weight:700}.city-status{font-size:12px;color:var(--muted);font-weight:400}
.warning-box{background:var(--amber-light);border-left:3px solid var(--amber);border-radius:0 9px 9px 0;padding:12px 16px;font-size:13px;color:#92400e;margin:16px 0;line-height:1.55}

/* ═══════════════════════════════════════════════
   SCROLL FADE-IN
═══════════════════════════════════════════════ */
.fade-up{opacity:0;transform:translateY(22px);transition:opacity .5s ease,transform .5s ease}
.fade-up.visible{opacity:1;transform:translateY(0)}

/* ═══════════════════════════════════════════════
   WHAT IS SECTION
═══════════════════════════════════════════════ */
.what-is-section{padding:72px 28px;background:#fff}
.what-is-inner{max-width:900px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:start}
.what-is-text h2{font-size:clamp(20px,2.8vw,30px);font-weight:800;margin-bottom:14px;letter-spacing:-.3px}
.what-is-text p{font-size:15px;color:var(--text-2);line-height:1.72;margin-bottom:20px}
.what-is-list{list-style:none;padding:0}
.what-is-list li{display:flex;align-items:flex-start;gap:10px;font-size:14px;color:var(--text-2);padding:9px 0;border-bottom:1px solid var(--border);line-height:1.55}
.what-is-list li:last-child{border-bottom:none}
.what-is-list li::before{content:"✓";color:var(--green);font-weight:700;flex-shrink:0;margin-top:1px;font-size:15px}
.what-is-cta{background:var(--bg-subtle);border:1px solid var(--border);border-radius:16px;padding:28px 24px;display:flex;flex-direction:column;gap:14px}
.what-is-cta h3{font-size:18px;font-weight:800;margin-bottom:3px}
.what-is-cta p{font-size:14px;color:var(--muted);line-height:1.6}
.tg-badge{display:inline-flex;align-items:center;gap:8px;background:var(--blue);color:#fff;border-radius:10px;padding:12px 20px;font-weight:700;font-size:14px;text-decoration:none;transition:var(--t);box-shadow:var(--shadow)}
.tg-badge:hover{background:var(--blue-dark);transform:translateY(-1px);box-shadow:var(--shadow-md)}
.tg-install-section{background:var(--bg-subtle);border:1px solid var(--border);border-radius:18px;padding:36px;max-width:780px;margin:0 auto;text-align:center}
.tg-install-section h3{font-size:20px;font-weight:800;margin-bottom:7px}
.tg-install-section p{font-size:14px;color:var(--muted);margin-bottom:24px}
.tg-platforms{display:flex;flex-wrap:wrap;justify-content:center;gap:9px;margin-bottom:18px}
.tg-platform-btn{display:inline-flex;align-items:center;gap:7px;background:#fff;border:1px solid var(--border);border-radius:10px;padding:9px 18px;font-size:13px;font-weight:600;color:var(--text-2);text-decoration:none;transition:var(--t);box-shadow:var(--shadow)}
.tg-platform-btn:hover{border-color:var(--blue);color:var(--blue);transform:translateY(-1px);box-shadow:var(--shadow-md)}

/* ═══════════════════════════════════════════════
   HERO STEPS (legacy fallback)
═══════════════════════════════════════════════ */
.hero-steps{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px 12px;margin-top:20px;font-size:13px;color:rgba(255,255,255,.5)}
.hero-steps-sep{color:rgba(255,255,255,.2)}
.hero-inner{position:relative;z-index:2}
.hero-badge-dark{display:inline-flex;align-items:center;gap:8px;background:rgba(255,255,255,.1);color:#bfdbfe;font-size:13px;font-weight:500;padding:6px 16px;border-radius:20px;margin-bottom:28px;border:1px solid rgba(191,219,254,.25);backdrop-filter:blur(8px);letter-spacing:.2px}

/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */
@media(max-width:1024px){
  .hero-split-layout{grid-template-columns:1fr;max-width:600px;gap:32px}
  .hero-left{text-align:center}
  .hero-left p{margin-left:auto;margin-right:auto}
  .hero-disclaimer{margin-left:auto;margin-right:auto}
  .hero-left .btn-group{justify-content:center}
  .hero-mockup{max-width:480px;margin:0 auto}
  .bento-asymm{grid-template-columns:1fr 1fr;grid-template-rows:auto;gap:14px}
  .bento-card-1{grid-column:1;grid-row:1}
  .bento-card-2{grid-column:2;grid-row:1}
  .bento-card-3{grid-column:1;grid-row:2}
  .bento-card-4{grid-column:2;grid-row:2;flex-direction:column}
  .steps-row::before{display:none}
  .steps-row{grid-template-columns:repeat(2,1fr);gap:16px}
  .pricing-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:900px){
  .product-split{grid-template-columns:1fr;max-width:480px}
  .what-is-inner{grid-template-columns:1fr;gap:28px}
  .footer-inner{grid-template-columns:1fr;gap:32px}
  .footer-nav-group{grid-template-columns:repeat(2,1fr)}
  .termin-setup-grid{grid-template-columns:1fr}
  .pf-layout{grid-template-columns:1fr}
  .product-section{grid-template-columns:1fr}
}
@media(max-width:700px){
  .bento-asymm{grid-template-columns:1fr}
  .bento-card-1,.bento-card-2,.bento-card-3,.bento-card-4{grid-column:1;grid-row:auto}
  .bento-card-4{flex-direction:column}
  section{padding:52px 20px}
  .container{padding:0 20px}
  nav{padding:0 20px}
  .nav-links{display:none}
  .nav-mobile-btn{display:flex}
  .nav-actions .nav-cta-btn{display:none}
  .stat-item{padding:22px 28px;min-width:45%}
  .docs-grid{grid-template-columns:repeat(auto-fill,minmax(130px,1fr))}
  .pricing-grid{grid-template-columns:1fr;max-width:380px}
  .steps-row{grid-template-columns:1fr 1fr}
  .content-card{padding:28px 20px}
  .hero{padding:60px 20px 52px}
}
@media(max-width:480px){
  .hero-left h1{font-size:28px}
  .cta-btn.large{padding:13px 22px;font-size:15px}
  .btn-group{flex-direction:column;align-items:stretch}
  .footer-nav-group{grid-template-columns:1fr 1fr}
  .pricing-grid{max-width:100%}
  .steps-row{grid-template-columns:1fr}
}

/* ═══════════════════════════════════════════════
   TERMIN ACCESS STATUS CARD
═══════════════════════════════════════════════ */
.termin-access-card{
  border-radius:var(--radius);padding:28px 30px;max-width:780px;margin:0 auto;
  border:2px solid var(--border);background:#fff;box-shadow:var(--shadow-md);
  display:flex;flex-direction:column;gap:18px;position:relative
}
.termin-access-card--active{
  border-color:#a7f3d0;
  background:linear-gradient(135deg,#f0fdf4 0%,#fff 100%)
}
.termin-access-card--expired{
  border-color:#fde68a;
  background:linear-gradient(135deg,#fffbeb 0%,#fff 100%)
}
.termin-access-card--none{
  border-color:var(--border);background:var(--bg-subtle)
}

/* header row: badge + plan pill */
.access-header{
  display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap
}
.access-badge{
  display:inline-flex;align-items:center;gap:8px;
  font-size:13px;font-weight:700;padding:6px 14px;border-radius:20px
}
.access-badge--active{background:#dcfce7;color:#166534}
.access-badge--expired{background:#fef9c3;color:#92400e}
.access-badge--none{background:var(--bg-gray);color:var(--muted)}
.access-badge-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}
.access-badge--active .access-badge-dot{
  background:#22c55e;
  box-shadow:0 0 0 3px rgba(34,197,94,.2)
}
.access-badge--expired .access-badge-dot{background:#f59e0b}
.access-badge--none .access-badge-dot{background:#cbd5e1}

.access-plan-pill{
  display:inline-flex;align-items:center;gap:5px;
  font-size:12px;font-weight:700;color:var(--blue);
  background:var(--blue-light);border:1px solid var(--blue-mid);
  padding:4px 12px;border-radius:16px
}

/* city + service row */
.access-city-row{
  display:flex;align-items:center;gap:9px;
  font-size:14px;font-weight:600;color:var(--text-2)
}
.access-city-row .city-sep{color:var(--border);font-weight:400}
.access-city-row .city-svc{font-size:13px;color:var(--muted);font-weight:400}

/* countdown header label */
.access-countdown-hdr{
  font-size:12px;font-weight:700;color:var(--green);
  text-transform:uppercase;letter-spacing:.6px;margin-bottom:10px
}

/* countdown digits */
.access-countdown{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.countdown-unit{
  background:#fff;border:1.5px solid #a7f3d0;border-radius:14px;
  padding:14px 12px;text-align:center;min-width:68px;flex:1;
  box-shadow:0 2px 8px rgba(5,150,105,.07)
}
.countdown-val{
  display:block;font-size:28px;font-weight:800;color:#065f46;
  line-height:1;letter-spacing:-.5px;font-variant-numeric:tabular-nums
}
.countdown-lbl{
  display:block;font-size:10px;font-weight:600;color:#6ee7b7;
  text-transform:uppercase;letter-spacing:.8px;margin-top:5px
}
.countdown-sep{
  font-size:24px;font-weight:700;color:#a7f3d0;
  align-self:flex-start;padding-top:14px;flex-shrink:0
}

/* expired message box */
.access-expired-msg{
  background:#fffbeb;border:1px solid #fde68a;border-radius:10px;
  padding:14px 16px;font-size:14px;color:#92400e;line-height:1.55;
  display:flex;align-items:flex-start;gap:10px
}

/* not-purchased message */
.access-none-msg{font-size:15px;color:var(--text-2);line-height:1.65}
.access-none-msg strong{
  color:var(--text);display:block;margin-bottom:6px;font-size:16px
}

/* bottom disclaimer strip */
.access-disclaimer{
  font-size:12px;color:var(--muted);line-height:1.6;
  padding:10px 14px;
  background:rgba(37,99,235,.04);
  border-left:3px solid var(--blue-mid);border-radius:0 8px 8px 0
}

/* action buttons row */
.access-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}

/* section label above the card (green variant) */
.access-section-label{
  display:inline-block;font-size:11px;font-weight:700;text-transform:uppercase;
  letter-spacing:1.5px;color:var(--green);background:var(--green-light);
  padding:4px 12px;border-radius:20px;margin-bottom:12px
}

/* Notification "coming soon" tag */
.notif-soon-tag{
  font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;
  background:var(--muted);color:#fff;padding:2px 7px;border-radius:10px;
  margin-left:4px;vertical-align:middle
}
.notif-btn:disabled{cursor:not-allowed;opacity:.5}

/* Period grid — 3-column variant */
.period-grid--3{grid-template-columns:1fr 1fr 1fr}

/* Responsive overrides for access card + period grid */
@media(max-width:600px){
  .termin-access-card{padding:20px 18px;gap:14px}
  .period-grid--3{grid-template-columns:1fr}
  .access-countdown{gap:5px}
  .countdown-unit{min-width:52px;padding:10px 6px}
  .countdown-val{font-size:22px}
  .countdown-sep{font-size:18px;padding-top:10px}
}
@media(max-width:480px){
  .access-header{flex-direction:column;align-items:flex-start}
  .access-badge{font-size:12px;padding:5px 12px}
  .countdown-unit{min-width:44px;padding:9px 5px}
  .countdown-val{font-size:19px}
  .countdown-lbl{font-size:9px}
}

/* ═══════════════════════════════════════════════
   PREFERS REDUCED MOTION
═══════════════════════════════════════════════ */
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
  .hero::before,.hero::after{display:none}
  .fade-up{opacity:1;transform:none}
  .hmock-pulse{animation:none}
}

/* ═══════════════════════════════════════════════
   HOMEPAGE PREMIUM POLISH PHASE 1
   Visual-only warmth and softness for the current homepage.
═══════════════════════════════════════════════ */
body:has(.hero-split-layout){
  --blue:#2f6edb;
  --blue-dark:#255bb9;
  --blue-light:#eef5ff;
  --blue-mid:#cfe0ff;
  --indigo:#4a63c7;
  --indigo-light:#f0f3ff;
  --green:#13805a;
  --green-dark:#0f6a4b;
  --green-light:#edf8f2;
  --amber-light:#fff7e8;
  --text:#162235;
  --text-2:#3d4b60;
  --muted:#68758a;
  --border:#e8dfd2;
  --bg:#fffdf8;
  --bg-subtle:#fbf6ee;
  --bg-gray:#f4efe7;
  --shadow-xs:0 1px 2px rgba(58,45,28,.045);
  --shadow:0 10px 28px rgba(58,45,28,.07),0 1px 3px rgba(58,45,28,.045);
  --shadow-md:0 16px 40px rgba(58,45,28,.09),0 2px 8px rgba(58,45,28,.05);
  --shadow-lg:0 22px 58px rgba(58,45,28,.12),0 4px 12px rgba(58,45,28,.06);
  --shadow-glow:0 0 0 3px rgba(47,110,219,.12);
  --grad-primary:linear-gradient(135deg,#2f6edb 0%,#4a63c7 100%);
  --grad-hero:linear-gradient(160deg,#fffaf3 0%,#f7f0e6 52%,#edf4fb 100%);
  --grad-card:linear-gradient(135deg,#fffdf8 0%,#f5f7fa 100%);
  background:#fffdf8;
}

body:has(.hero-split-layout) .lang-bar{
  background:#f7f1e8;
  border-bottom-color:#eadfce;
}

body:has(.hero-split-layout) nav{
  background:rgba(255,253,248,.94);
  border-bottom-color:#eadfce;
  box-shadow:0 1px 0 rgba(58,45,28,.07),0 10px 26px rgba(58,45,28,.045);
  backdrop-filter:blur(14px);
}

body:has(.hero-split-layout) .nav-logo{
  color:#2459b8;
}

body:has(.hero-split-layout) .nav-cta-btn,
body:has(.hero-split-layout) .cta-btn,
body:has(.hero-split-layout) .btn-p,
body:has(.hero-split-layout) .tg-badge{
  background:linear-gradient(180deg,#3b78df 0%,#2f65c8 100%);
  border:1px solid rgba(37,91,185,.16);
  box-shadow:0 10px 24px rgba(47,110,219,.18),inset 0 1px 0 rgba(255,255,255,.22);
}

body:has(.hero-split-layout) .nav-cta-btn:hover,
body:has(.hero-split-layout) .cta-btn:hover,
body:has(.hero-split-layout) .btn-p:hover,
body:has(.hero-split-layout) .tg-badge:hover{
  background:linear-gradient(180deg,#346ed2 0%,#2858b4 100%);
  box-shadow:0 14px 30px rgba(47,110,219,.2),inset 0 1px 0 rgba(255,255,255,.2);
}

body:has(.hero-split-layout) .cta-btn.ghost,
body:has(.hero-split-layout) .cta-btn.outline-dark,
body:has(.hero-split-layout) .btn-s,
body:has(.hero-split-layout) .tg-platform-btn{
  background:rgba(255,253,248,.88);
  border-color:#d9cdbc;
  color:#2459b8!important;
  box-shadow:0 8px 22px rgba(58,45,28,.055);
}

body:has(.hero-split-layout) .cta-btn.ghost:hover,
body:has(.hero-split-layout) .cta-btn.outline-dark:hover,
body:has(.hero-split-layout) .btn-s:hover,
body:has(.hero-split-layout) .tg-platform-btn:hover{
  background:#f3f7ff;
  border-color:#b9cff9;
}

body:has(.hero-split-layout) .hero{
  background:
    radial-gradient(circle at 16% 18%,rgba(255,255,255,.74) 0%,rgba(255,255,255,0) 28%),
    linear-gradient(155deg,#fffaf3 0%,#f7f0e6 56%,#edf4fb 100%);
  padding-top:88px;
}

body:has(.hero-split-layout) .hero::before{
  top:42px;
  right:7%;
  width:132px;
  height:132px;
  border-radius:34px;
  background:linear-gradient(135deg,rgba(255,255,255,.72),rgba(233,222,204,.34));
  border:1px solid rgba(226,213,195,.62);
  transform:rotate(11deg);
}

body:has(.hero-split-layout) .hero::after{
  bottom:54px;
  left:5%;
  width:82px;
  height:82px;
  border-radius:26px;
  background:linear-gradient(135deg,rgba(237,244,251,.82),rgba(255,250,243,.42));
  border:1px solid rgba(205,218,234,.58);
  transform:rotate(-9deg);
}

body:has(.hero-split-layout) .hero-dots{
  opacity:.48;
  background-image:radial-gradient(rgba(119,92,56,.08) 1px,transparent 1px);
  background-size:30px 30px;
}

body:has(.hero-split-layout) .hero-badge,
body:has(.hero-split-layout) .section-label,
body:has(.hero-split-layout) .bento-badge,
body:has(.hero-split-layout) .product-card-price,
body:has(.hero-split-layout) .pricing-badge{
  background:#fffaf3;
  border:1px solid #eadfce;
  color:#255bb9;
  box-shadow:0 8px 20px rgba(58,45,28,.055);
}

body:has(.hero-split-layout) .hero-left h1{
  color:#162235;
}

body:has(.hero-split-layout) .grad-text{
  background:linear-gradient(135deg,#2459b8 0%,#6c5b44 100%);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
}

body:has(.hero-split-layout) .hero-left p,
body:has(.hero-split-layout) .section-sub{
  color:#68758a;
}

body:has(.hero-split-layout) .hero-disclaimer{
  background:rgba(255,253,248,.72);
  border-left-color:#d8c8af;
  color:#6c5b44;
  box-shadow:0 8px 22px rgba(58,45,28,.045);
}

body:has(.hero-split-layout) .hero-mockup{
  border-color:#e7dccb;
  background:#fffdf8;
  box-shadow:0 22px 58px rgba(58,45,28,.12),0 6px 18px rgba(58,45,28,.06);
}

body:has(.hero-split-layout) .hero-mockup:hover{
  box-shadow:0 26px 62px rgba(58,45,28,.13),0 8px 22px rgba(58,45,28,.065);
}

body:has(.hero-split-layout) .hmock-chrome,
body:has(.hero-split-layout) .hmock-section,
body:has(.hero-split-layout) .hmock-pill,
body:has(.hero-split-layout) .hmock-langs{
  background:#fbf6ee;
  border-color:#eadfce;
}

body:has(.hero-split-layout) .hmock-chrome-url,
body:has(.hero-split-layout) .hmock-finp,
body:has(.hero-split-layout) .hmock-pdf-sheet{
  background:#fffdf8;
  border-color:#eadfce;
}

body:has(.hero-split-layout) .hmock-pill-active{
  background:#eef5ff;
  border-color:#cfe0ff;
  color:#255bb9;
}

body:has(.hero-split-layout) .hmock-pdf-dl{
  background:#4a63c7;
}

body:has(.hero-split-layout) .hmock-termin{
  background:#edf8f2;
  border-color:#b8decc;
}

body:has(.hero-split-layout) section[style*="background:#fff"]{
  background:#fffdf8!important;
}

body:has(.hero-split-layout) section.alt-bg,
body:has(.hero-split-layout) .what-is-section,
body:has(.hero-split-layout) .tg-install-section{
  background:#fbf6ee;
}

body:has(.hero-split-layout) .bento-card,
body:has(.hero-split-layout) .step,
body:has(.hero-split-layout) .doc-card,
body:has(.hero-split-layout) .product-card,
body:has(.hero-split-layout) .why-card,
body:has(.hero-split-layout) .trust-notice,
body:has(.hero-split-layout) .faq-item,
body:has(.hero-split-layout) .pricing-card,
body:has(.hero-split-layout) .feature-card,
body:has(.hero-split-layout) .what-is-cta,
body:has(.hero-split-layout) .trust-block{
  border-color:#e8dfd2;
  background:rgba(255,253,248,.96);
  box-shadow:var(--shadow);
}

body:has(.hero-split-layout) .bento-card:hover,
body:has(.hero-split-layout) .step:hover,
body:has(.hero-split-layout) .doc-card:hover,
body:has(.hero-split-layout) .product-card:hover,
body:has(.hero-split-layout) .why-card:hover,
body:has(.hero-split-layout) .faq-item:hover,
body:has(.hero-split-layout) .pricing-card:hover,
body:has(.hero-split-layout) .feature-card:hover{
  border-color:#d8c8af;
  box-shadow:var(--shadow-md);
}

body:has(.hero-split-layout) .bento-card-2[style],
body:has(.hero-split-layout) .bento-card-3[style]{
  background:linear-gradient(135deg,#fffdf8 0%,#f5f7fa 100%)!important;
}

body:has(.hero-split-layout) .bento-card::after,
body:has(.hero-split-layout) .product-card::after,
body:has(.hero-split-layout) .pricing-card::after{
  content:"";
  position:absolute;
  right:18px;
  bottom:18px;
  width:46px;
  height:46px;
  border-radius:16px;
  background:linear-gradient(135deg,rgba(232,223,210,.36),rgba(255,255,255,0));
  pointer-events:none;
}

body:has(.hero-split-layout) .bento-icon,
body:has(.hero-split-layout) .why-icon,
body:has(.hero-split-layout) .feature-icon,
body:has(.hero-split-layout) .trust-notice-icon,
body:has(.hero-split-layout) .trust-item-icon,
body:has(.hero-split-layout) .product-card-icon{
  background:#f7f1e8;
  border:1px solid #eadfce;
}

body:has(.hero-split-layout) .bento-icon-green,
body:has(.hero-split-layout) .product-card--termin .product-card-icon{
  background:#edf8f2;
  border-color:#c9e6d8;
}

body:has(.hero-split-layout) .bento-icon-indigo{
  background:#f0f3ff;
  border-color:#dce4ff;
}

body:has(.hero-split-layout) .stats-bar{
  background:linear-gradient(135deg,#2459b8 0%,#2f6edb 100%);
}

body:has(.hero-split-layout) .steps-row::before{
  background:linear-gradient(90deg,#d8c8af,#cfe0ff);
}

body:has(.hero-split-layout) .step-number{
  border-color:#cfe0ff;
  box-shadow:0 0 0 6px #fbf6ee;
}

body:has(.hero-split-layout) .pricing-card.featured{
  border-color:#cfe0ff;
  background:linear-gradient(180deg,#f6f9ff 0%,#fffdf8 100%);
  box-shadow:0 0 0 2px rgba(47,110,219,.08),var(--shadow-md);
}

body:has(.hero-split-layout) .cta-banner{
  background:linear-gradient(145deg,#2459b8 0%,#2f6edb 58%,#6c8fd0 100%);
}

body:has(.hero-split-layout) .cta-banner::before{
  background-image:radial-gradient(rgba(255,255,255,.08) 1px,transparent 1px);
}

body:has(.hero-split-layout) .cta-banner::after{
  background:radial-gradient(circle,rgba(255,250,243,.16) 0%,transparent 70%);
}

/* ═══════════════════════════════════════════════
   HOMEPAGE VISUAL ENHANCEMENT — HUMAN CIVIC LAYER
   CSS-only illustrations and mockup polish. No structure/text changes.
═══════════════════════════════════════════════ */
body:has(.hero-split-layout) .hero-left,
body:has(.hero-split-layout) .hero-mockup,
body:has(.hero-split-layout) .section-hdr,
body:has(.hero-split-layout) .bento-card,
body:has(.hero-split-layout) .product-card,
body:has(.hero-split-layout) .pricing-card,
body:has(.hero-split-layout) .trust-block,
body:has(.hero-split-layout) .cta-banner{
  position:relative;
}

body:has(.hero-split-layout) .hero-left::after{
  content:"";
  position:absolute;
  right:18px;
  bottom:-34px;
  width:112px;
  height:112px;
  border-radius:32px;
  border:1px solid rgba(216,200,175,.62);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='112' height='112' viewBox='0 0 112 112'%3E%3Cg fill='none' stroke='%236c5b44' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' opacity='.72'%3E%3Ccircle cx='39' cy='34' r='13'/%3E%3Cpath d='M18 76c4-18 15-28 31-28s27 10 31 28'/%3E%3Crect x='63' y='25' width='26' height='36' rx='5'/%3E%3Cpath d='M70 36h12M70 46h9M66 71h22'/%3E%3C/g%3E%3C/svg%3E") center/76px 76px no-repeat,
    linear-gradient(135deg,rgba(255,253,248,.9),rgba(247,241,232,.74));
  box-shadow:0 16px 34px rgba(58,45,28,.08);
  pointer-events:none;
}

body:has(.hero-split-layout) .hero-mockup::before{
  content:"";
  position:absolute;
  right:-22px;
  top:54px;
  z-index:4;
  width:92px;
  height:118px;
  border:1px solid rgba(216,200,175,.72);
  border-radius:18px;
  background:
    linear-gradient(180deg,rgba(255,255,255,.86),rgba(255,250,243,.9)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='92' height='118' viewBox='0 0 92 118'%3E%3Cg fill='none' stroke='%232559b9' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M23 29h46M23 43h32M23 78h46M23 91h28' opacity='.6'/%3E%3Ccircle cx='35' cy='62' r='9' opacity='.8'/%3E%3Cpath d='M51 62h16' opacity='.8'/%3E%3C/g%3E%3C/svg%3E") center/70px 90px no-repeat;
  box-shadow:0 18px 36px rgba(58,45,28,.12);
  transform:rotate(5deg);
  pointer-events:none;
}

body:has(.hero-split-layout) .hero-mockup::after{
  content:"";
  position:absolute;
  left:-26px;
  bottom:74px;
  z-index:4;
  width:154px;
  height:56px;
  border:1px solid rgba(184,222,204,.78);
  border-radius:18px;
  background:
    radial-gradient(circle at 22px 28px,#13805a 0 5px,transparent 6px),
    linear-gradient(180deg,rgba(255,255,255,.94),rgba(237,248,242,.94));
  box-shadow:0 16px 34px rgba(58,45,28,.1);
  pointer-events:none;
}

body:has(.hero-split-layout) .section-hdr::after{
  content:"";
  display:block;
  width:74px;
  height:5px;
  margin:18px auto 0;
  border-radius:999px;
  background:linear-gradient(90deg,#d8c8af,#cfe0ff,#d8c8af);
  opacity:.9;
}

body:has(.hero-split-layout) .bento-card-1::before{
  content:"";
  position:absolute;
  right:22px;
  top:22px;
  width:78px;
  height:96px;
  border:1px solid rgba(216,200,175,.7);
  border-radius:15px;
  background:
    linear-gradient(#d8c8af,#d8c8af) 18px 23px/42px 4px no-repeat,
    linear-gradient(#e7dccb,#e7dccb) 18px 38px/34px 4px no-repeat,
    linear-gradient(#cfe0ff,#cfe0ff) 18px 58px/44px 5px no-repeat,
    linear-gradient(180deg,rgba(255,253,248,.9),rgba(251,246,238,.9));
  box-shadow:0 14px 28px rgba(58,45,28,.08);
  transform:rotate(3deg);
  pointer-events:none;
}

body:has(.hero-split-layout) .bento-card-2::before{
  content:"";
  position:absolute;
  right:20px;
  bottom:20px;
  width:88px;
  height:62px;
  border-radius:14px;
  border:1px solid rgba(207,224,255,.86);
  background:
    linear-gradient(#2f6edb,#2f6edb) 17px 18px/34px 4px no-repeat,
    linear-gradient(#cfe0ff,#cfe0ff) 17px 31px/50px 4px no-repeat,
    linear-gradient(#eadfce,#eadfce) 17px 44px/39px 4px no-repeat,
    linear-gradient(180deg,#fff,#f6f9ff);
  box-shadow:-10px -8px 0 rgba(255,253,248,.74),0 14px 28px rgba(58,45,28,.08);
  pointer-events:none;
}

body:has(.hero-split-layout) .bento-card-3::before{
  content:"";
  position:absolute;
  right:20px;
  bottom:20px;
  width:104px;
  height:52px;
  border-radius:18px;
  border:1px solid rgba(184,222,204,.82);
  background:
    radial-gradient(circle at 20px 26px,#13805a 0 5px,transparent 6px),
    linear-gradient(#b8decc,#b8decc) 36px 18px/46px 4px no-repeat,
    linear-gradient(#d7ece1,#d7ece1) 36px 30px/34px 4px no-repeat,
    linear-gradient(180deg,#fff,#edf8f2);
  box-shadow:0 14px 28px rgba(58,45,28,.08);
  pointer-events:none;
}

body:has(.hero-split-layout) .product-card::after,
body:has(.hero-split-layout) .pricing-card::after{
  width:58px;
  height:58px;
  border:1px solid rgba(232,223,210,.8);
  background:
    linear-gradient(#e8dfd2,#e8dfd2) 15px 19px/28px 3px no-repeat,
    linear-gradient(#cfe0ff,#cfe0ff) 15px 31px/20px 3px no-repeat,
    linear-gradient(135deg,rgba(255,253,248,.86),rgba(247,241,232,.66));
  box-shadow:0 10px 22px rgba(58,45,28,.055);
}

body:has(.hero-split-layout) .trust-block::before{
  content:"";
  position:absolute;
  left:26px;
  top:-18px;
  width:92px;
  height:52px;
  border-radius:18px;
  border:1px solid rgba(216,200,175,.72);
  background:
    radial-gradient(circle at 22px 26px,#2f6edb 0 5px,transparent 6px),
    linear-gradient(#d8c8af,#d8c8af) 40px 19px/30px 4px no-repeat,
    linear-gradient(#e8dfd2,#e8dfd2) 40px 31px/22px 4px no-repeat,
    linear-gradient(180deg,#fffdf8,#fbf6ee);
  box-shadow:0 14px 28px rgba(58,45,28,.08);
  pointer-events:none;
}

body:has(.hero-split-layout) .cta-banner::after{
  border-radius:34px;
  border:1px solid rgba(255,255,255,.18);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='5' stroke-linecap='round' stroke-linejoin='round' opacity='.42'%3E%3Cpath d='M48 58h84M48 80h61M48 102h84M48 124h46'/%3E%3Cpath d='M125 36l20 20-20 20'/%3E%3Cpath d='M35 36h88'/%3E%3C/g%3E%3C/svg%3E") center/142px 142px no-repeat,
    radial-gradient(circle,rgba(255,250,243,.18) 0%,transparent 72%);
}

@media(max-width:1024px){
  body:has(.hero-split-layout) .hero-left::after{display:none}
  body:has(.hero-split-layout) .hero-mockup::before{right:-10px;top:46px;transform:rotate(3deg) scale(.86)}
  body:has(.hero-split-layout) .hero-mockup::after{left:-10px;bottom:68px;transform:scale(.86)}
}

@media(max-width:700px){
  body:has(.hero-split-layout) .hero-mockup::before,
  body:has(.hero-split-layout) .hero-mockup::after,
  body:has(.hero-split-layout) .bento-card-1::before,
  body:has(.hero-split-layout) .bento-card-2::before,
  body:has(.hero-split-layout) .bento-card-3::before,
  body:has(.hero-split-layout) .trust-block::before{display:none}
}

/* ═══════════════════════════════════════════════
   HOMEPAGE PREMIUM UX/UI POLISH — HERO VISUALS
   Visual-only additions for index.html. No logic changes.
═══════════════════════════════════════════════ */
body:has(.hero-trust-strip){
  background:#fbf6ee;
}

body:has(.hero-trust-strip) .hero{
  background:
    radial-gradient(circle at 18% 16%,rgba(255,255,255,.86) 0%,rgba(255,255,255,0) 30%),
    radial-gradient(circle at 88% 18%,rgba(207,224,255,.34) 0%,rgba(207,224,255,0) 24%),
    linear-gradient(155deg,#faf8f3 0%,#f5f1e8 52%,#eef4f8 100%);
}

body:has(.hero-trust-strip) .hero::before{
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='132' height='132' viewBox='0 0 132 132'%3E%3Cg fill='none' stroke='%23243B53' stroke-width='4' stroke-linecap='round' stroke-linejoin='round' opacity='.38'%3E%3Cpath d='M38 82c5-19 17-30 36-30s31 11 36 30'/%3E%3Ccircle cx='74' cy='36' r='15'/%3E%3Cpath d='M25 98h82M38 112h56'/%3E%3C/g%3E%3C/svg%3E") center/82px 82px no-repeat,
    linear-gradient(135deg,rgba(255,255,255,.76),rgba(232,223,210,.42));
}

body:has(.hero-trust-strip) .hero-mockup{
  overflow:visible;
  border-color:rgba(216,200,175,.9);
  border-radius:24px;
  background:#fffdf8;
  box-shadow:0 28px 70px rgba(58,45,28,.14),0 10px 24px rgba(58,45,28,.07);
}

body:has(.hero-trust-strip) .hero-mockup::before,
body:has(.hero-trust-strip) .hero-mockup::after{
  display:none;
}

body:has(.hero-trust-strip) .hmock-chrome{
  border-radius:24px 24px 0 0;
}

body:has(.hero-trust-strip) .hmock-pdf-dl{
  background:#243b53;
}

body:has(.hero-trust-strip) .hmock-live{
  background:#13805a;
}

body:has(.hero-trust-strip) .hero-mini-card{
  position:absolute;
  z-index:6;
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:2px 10px;
  align-items:center;
  min-width:154px;
  padding:13px 14px;
  border:1px solid rgba(216,200,175,.86);
  border-radius:18px;
  background:rgba(255,253,248,.94);
  box-shadow:0 18px 40px rgba(58,45,28,.13),0 4px 10px rgba(58,45,28,.06);
  backdrop-filter:blur(12px);
  pointer-events:none;
}

body:has(.hero-trust-strip) .hero-mini-card strong{
  color:#243b53;
  font-size:13px;
  font-weight:800;
  line-height:1.15;
}

body:has(.hero-trust-strip) .hero-mini-card small{
  grid-column:2;
  color:#68758a;
  font-size:11px;
  font-weight:600;
  line-height:1.2;
}

body:has(.hero-trust-strip) .hero-mini-icon,
body:has(.hero-trust-strip) .hero-mini-dot{
  grid-row:span 2;
  display:grid;
  width:34px;
  height:34px;
  place-items:center;
  border-radius:12px;
  font-size:11px;
  font-weight:850;
  color:#243b53;
  background:#f5f1e8;
  border:1px solid rgba(216,200,175,.76);
}

body:has(.hero-trust-strip) .hero-mini-dot{
  position:relative;
  background:#edf8f2;
  border-color:#b8decc;
}

body:has(.hero-trust-strip) .hero-mini-dot::before{
  content:"";
  width:10px;
  height:10px;
  border-radius:50%;
  background:#13805a;
  box-shadow:0 0 0 5px rgba(19,128,90,.1);
}

body:has(.hero-trust-strip) .hero-mini-pdf{
  top:72px;
  right:-76px;
}

body:has(.hero-trust-strip) .hero-mini-termin{
  left:-66px;
  bottom:88px;
}

body:has(.hero-trust-strip) .hero-mini-checklist{
  right:24px;
  bottom:-46px;
}

.hero-trust-strip{
  position:relative;
  z-index:3;
  margin:-34px 0 0;
  padding:0 28px 44px;
  background:linear-gradient(180deg,rgba(245,241,232,0) 0%,#fffdf8 100%);
}

.hero-trust-inner{
  max-width:1060px;
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
  padding:14px;
  border:1px solid rgba(216,200,175,.8);
  border-radius:22px;
  background:rgba(255,253,248,.9);
  box-shadow:0 18px 44px rgba(58,45,28,.08);
  backdrop-filter:blur(14px);
}

.hero-trust-inner span{
  min-height:46px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 12px;
  border-radius:15px;
  background:#faf8f3;
  color:#243b53;
  font-size:13px;
  font-weight:760;
  text-align:center;
  border:1px solid rgba(232,223,210,.82);
}

.hero-trust-inner span::before{
  content:"";
  width:8px;
  height:8px;
  flex:0 0 auto;
  border-radius:50%;
  background:#2f6edb;
  box-shadow:0 0 0 4px rgba(47,110,219,.08);
}

body:has(.hero-trust-strip) section[style*="background:#fff"]{
  padding-top:72px!important;
  background:linear-gradient(180deg,#fffdf8 0%,#faf8f3 100%)!important;
}

body:has(.hero-trust-strip) .section-title,
body:has(.hero-trust-strip) .hero-left h1,
body:has(.hero-trust-strip) .bento-card h3,
body:has(.hero-trust-strip) .product-card h3,
body:has(.hero-trust-strip) .pricing-card h3{
  color:#243b53;
}

body:has(.hero-trust-strip) .cta-btn,
body:has(.hero-trust-strip) .nav-cta-btn,
body:has(.hero-trust-strip) .btn-p,
body:has(.hero-trust-strip) .tg-badge{
  background:linear-gradient(180deg,#2d537b 0%,#243b53 100%);
  border-color:rgba(36,59,83,.18);
  border-radius:13px;
  box-shadow:0 14px 28px rgba(36,59,83,.18),inset 0 1px 0 rgba(255,255,255,.18);
}

body:has(.hero-trust-strip) .cta-btn:hover,
body:has(.hero-trust-strip) .nav-cta-btn:hover,
body:has(.hero-trust-strip) .btn-p:hover,
body:has(.hero-trust-strip) .tg-badge:hover{
  background:linear-gradient(180deg,#304f71 0%,#1d3148 100%);
  box-shadow:0 16px 32px rgba(36,59,83,.2),inset 0 1px 0 rgba(255,255,255,.16);
}

body:has(.hero-trust-strip) .cta-btn.ghost,
body:has(.hero-trust-strip) .btn-s{
  color:#243b53!important;
  background:rgba(255,253,248,.88);
  border-color:#d8c8af;
  box-shadow:0 10px 22px rgba(58,45,28,.06);
}

@media(max-width:1024px){
  body:has(.hero-trust-strip) .hero-mini-pdf{right:-24px}
  body:has(.hero-trust-strip) .hero-mini-termin{left:-22px}
  body:has(.hero-trust-strip) .hero-mini-checklist{right:20px}
  .hero-trust-inner{grid-template-columns:repeat(2,1fr)}
}

@media(max-width:700px){
  body:has(.hero-trust-strip) .hero-mockup{overflow:hidden}
  body:has(.hero-trust-strip) .hero-mini-card{
    position:relative;
    inset:auto;
    min-width:0;
    margin:10px 14px 0;
    box-shadow:0 10px 24px rgba(58,45,28,.08);
  }
  body:has(.hero-trust-strip) .hero-mini-checklist{margin-bottom:14px}
  .hero-trust-strip{margin:0;padding:0 20px 36px}
  .hero-trust-inner{grid-template-columns:1fr;padding:10px;border-radius:18px}
  .hero-trust-inner span{min-height:42px;justify-content:flex-start;text-align:left}
}

/* HOMEPAGE TRUST STRIP POLISH — visual-only */
.hero-trust-strip{
  padding-bottom:50px;
  background:linear-gradient(180deg,rgba(245,241,232,0) 0%,#faf8f3 82%,#fffdf8 100%);
}

.hero-trust-inner{
  gap:10px;
  padding:12px;
  border-color:rgba(216,200,175,.72);
  background:rgba(255,253,248,.94);
  box-shadow:0 18px 42px rgba(58,45,28,.075),0 1px 0 rgba(255,255,255,.8) inset;
}

.hero-trust-inner span{
  min-height:52px;
  justify-content:flex-start;
  padding:12px 14px;
  background:linear-gradient(180deg,#fff 0%,#faf8f3 100%);
  border-color:rgba(232,223,210,.86);
  box-shadow:0 8px 18px rgba(58,45,28,.045);
  color:#243b53;
}

.hero-trust-inner span::before{
  content:"✓";
  width:22px;
  height:22px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-size:12px;
  font-weight:850;
  background:#243b53;
  box-shadow:0 0 0 4px rgba(36,59,83,.07);
}

@media(max-width:700px){
  .hero-trust-strip{padding-bottom:38px}
  .hero-trust-inner{gap:9px}
  .hero-trust-inner span{min-height:48px;padding:12px 13px}
}

/* HOMEPAGE PRODUCT VISUAL MOCKUPS — visual-only */
body:has(.hero-trust-strip) .hero-mini-card{
  pointer-events:auto;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}

body:has(.hero-trust-strip) .hero-mini-card:hover{
  transform:translateY(-3px);
  border-color:rgba(216,200,175,.98);
  box-shadow:0 22px 46px rgba(58,45,28,.15),0 6px 14px rgba(58,45,28,.07);
}

body:has(.hero-trust-strip) .mini-card-copy{
  display:grid;
  gap:3px;
  min-width:0;
}

body:has(.hero-trust-strip) .mini-card-copy em{
  color:#6c5b44;
  font-size:10.5px;
  font-style:normal;
  font-weight:700;
  line-height:1.2;
}

body:has(.hero-trust-strip) .hero-mini-pdf{
  grid-template-columns:auto minmax(0,1fr);
  min-width:228px;
  padding:12px;
}

body:has(.hero-trust-strip) .mini-pdf-sheet{
  position:relative;
  width:76px;
  min-height:96px;
  padding:12px 9px;
  overflow:hidden;
  border:1px solid rgba(216,200,175,.86);
  border-radius:12px;
  background:linear-gradient(180deg,#fff 0%,#fffaf3 100%);
  box-shadow:0 10px 22px rgba(58,45,28,.08);
}

body:has(.hero-trust-strip) .mini-watermark{
  position:absolute;
  left:50%;
  top:50%;
  color:rgba(47,110,219,.12);
  font-size:13px;
  font-weight:900;
  letter-spacing:.09em;
  transform:translate(-50%,-50%) rotate(-25deg);
}

body:has(.hero-trust-strip) .mini-doc-line{
  position:relative;
  z-index:1;
  display:block;
  width:42px;
  height:5px;
  margin-bottom:11px;
  border-radius:999px;
  background:#243b53;
}

body:has(.hero-trust-strip) .mini-field{
  position:relative;
  z-index:1;
  display:grid;
  gap:3px;
  margin-top:8px;
}

body:has(.hero-trust-strip) .mini-field span{
  color:#6c5b44;
  font-size:8px;
  font-weight:800;
  line-height:1;
}

body:has(.hero-trust-strip) .mini-field b{
  display:block;
  width:54px;
  height:4px;
  border-radius:999px;
  background:#d8c8af;
}

body:has(.hero-trust-strip) .hero-mini-termin{
  min-width:238px;
  grid-template-columns:auto minmax(0,1fr);
  border-color:rgba(184,222,204,.9);
  background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(237,248,242,.95));
}

body:has(.hero-trust-strip) .hero-mini-termin strong{
  color:#0f6a4b;
}

body:has(.hero-trust-strip) .hero-mini-checklist{
  min-width:228px;
  grid-template-columns:auto minmax(0,1fr);
}

body:has(.hero-trust-strip) .hero-mini-checklist ul{
  display:grid;
  gap:4px;
  margin:5px 0 0;
  padding:0;
  list-style:none;
}

body:has(.hero-trust-strip) .hero-mini-checklist li{
  display:flex;
  align-items:center;
  gap:6px;
  color:#68758a;
  font-size:10.5px;
  font-weight:700;
  line-height:1.2;
}

body:has(.hero-trust-strip) .hero-mini-checklist li::before{
  content:"✓";
  display:inline-flex;
  width:13px;
  height:13px;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:#edf8f2;
  color:#13805a;
  font-size:9px;
  font-weight:900;
}

body:has(.hero-trust-strip) .cta-btn,
body:has(.hero-trust-strip) .nav-cta-btn{
  transition:transform .18s ease,box-shadow .18s ease,background .18s ease,border-color .18s ease;
}

body:has(.hero-trust-strip) .cta-btn:hover,
body:has(.hero-trust-strip) .nav-cta-btn:hover{
  transform:translateY(-2px);
}

@media(max-width:1024px){
  body:has(.hero-trust-strip) .hero-mini-pdf,
  body:has(.hero-trust-strip) .hero-mini-termin,
  body:has(.hero-trust-strip) .hero-mini-checklist{min-width:205px}
}

@media(max-width:700px){
  body:has(.hero-trust-strip) .hero-mini-card:hover{transform:none}
  body:has(.hero-trust-strip) .hero-mini-pdf,
  body:has(.hero-trust-strip) .hero-mini-termin,
  body:has(.hero-trust-strip) .hero-mini-checklist{min-width:0}
  body:has(.hero-trust-strip) .mini-pdf-sheet{width:70px;min-height:88px}
}

/* HOMEPAGE PREMIUM VISUAL SCENE — strong visible product scene */
body:has(.migration-scene) .hero{
  background:
    radial-gradient(circle at 15% 16%,rgba(255,255,255,.9) 0%,rgba(255,255,255,0) 30%),
    radial-gradient(circle at 80% 18%,rgba(216,200,175,.42) 0%,rgba(216,200,175,0) 24%),
    linear-gradient(150deg,#faf8f3 0%,#f5f1e8 46%,#edf3f7 100%);
}

body:has(.migration-scene) .hero-split-layout{
  grid-template-columns:minmax(0,1fr) 430px;
  gap:66px;
}

body:has(.migration-scene) .hero-mockup{
  padding:14px;
  border-radius:30px;
  background:
    linear-gradient(180deg,rgba(255,255,255,.78),rgba(250,248,243,.96)),
    #fffdf8;
  box-shadow:0 34px 90px rgba(58,45,28,.18),0 12px 32px rgba(58,45,28,.08);
}

.migration-scene{
  position:relative;
  height:250px;
  margin:0 0 14px;
  overflow:hidden;
  border:1px solid rgba(216,200,175,.9);
  border-radius:24px;
  background:
    linear-gradient(180deg,rgba(255,253,248,.94),rgba(245,241,232,.76)),
    #faf8f3;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.85),0 18px 44px rgba(58,45,28,.09);
}

.migration-scene::before{
  content:"";
  position:absolute;
  left:24px;
  right:24px;
  bottom:28px;
  height:20px;
  border-radius:50%;
  background:rgba(58,45,28,.08);
  filter:blur(8px);
}

.migration-scene::after{
  content:"";
  position:absolute;
  inset:20px;
  border-radius:20px;
  background-image:linear-gradient(rgba(216,200,175,.22) 1px,transparent 1px),linear-gradient(90deg,rgba(216,200,175,.18) 1px,transparent 1px);
  background-size:34px 34px;
  mask-image:linear-gradient(180deg,rgba(0,0,0,.32),transparent 72%);
  pointer-events:none;
}

.scene-person{
  position:absolute;
  left:34px;
  bottom:42px;
  z-index:3;
  width:92px;
  height:132px;
}

.scene-head{
  position:absolute;
  top:0;
  left:31px;
  width:32px;
  height:32px;
  border-radius:50%;
  background:#d8c8af;
  border:3px solid #fffdf8;
  box-shadow:0 8px 20px rgba(58,45,28,.1);
}

.scene-body{
  position:absolute;
  left:14px;
  top:36px;
  width:68px;
  height:86px;
  border-radius:28px 28px 18px 18px;
  background:linear-gradient(180deg,#2d537b 0%,#243b53 100%);
  box-shadow:0 18px 34px rgba(36,59,83,.16);
}

.scene-body::before,
.scene-body::after{
  content:"";
  position:absolute;
  top:18px;
  width:46px;
  height:14px;
  border-radius:999px;
  background:#2d537b;
}

.scene-body::before{left:42px;transform:rotate(-23deg)}
.scene-body::after{right:42px;transform:rotate(23deg)}

.scene-laptop{
  position:absolute;
  left:100px;
  bottom:48px;
  z-index:4;
  width:156px;
  height:98px;
  border:1px solid rgba(36,59,83,.18);
  border-radius:16px 16px 8px 8px;
  background:linear-gradient(180deg,#ffffff 0%,#edf3f7 100%);
  box-shadow:0 20px 42px rgba(58,45,28,.13);
}

.scene-laptop::before{
  content:"";
  position:absolute;
  inset:14px 16px 22px;
  border-radius:9px;
  background:
    linear-gradient(#cfe0ff,#cfe0ff) 12px 14px/74px 6px no-repeat,
    linear-gradient(#d8c8af,#d8c8af) 12px 31px/98px 5px no-repeat,
    linear-gradient(#edf8f2,#edf8f2) 12px 48px/62px 5px no-repeat,
    #fffdf8;
  border:1px solid rgba(216,200,175,.72);
}

.scene-laptop span{
  position:absolute;
  left:-16px;
  right:-16px;
  bottom:-14px;
  height:18px;
  border-radius:0 0 18px 18px;
  background:#243b53;
  box-shadow:0 12px 24px rgba(36,59,83,.18);
}

.scene-document-stack{
  position:absolute;
  right:34px;
  bottom:42px;
  z-index:3;
  width:122px;
  height:150px;
}

.scene-paper{
  position:absolute;
  display:block;
  width:96px;
  height:124px;
  border:1px solid rgba(216,200,175,.9);
  border-radius:15px;
  background:#fff;
  box-shadow:0 16px 32px rgba(58,45,28,.1);
}

.scene-paper::before{
  content:"PREVIEW";
  position:absolute;
  left:50%;
  top:50%;
  color:rgba(47,110,219,.12);
  font-size:15px;
  font-weight:900;
  letter-spacing:.08em;
  transform:translate(-50%,-50%) rotate(-25deg);
}

.scene-paper::after{
  content:"";
  position:absolute;
  left:17px;
  top:24px;
  width:60px;
  height:48px;
  background:
    linear-gradient(#243b53,#243b53) 0 0/44px 5px no-repeat,
    linear-gradient(#d8c8af,#d8c8af) 0 18px/60px 4px no-repeat,
    linear-gradient(#d8c8af,#d8c8af) 0 32px/48px 4px no-repeat,
    linear-gradient(#cfe0ff,#cfe0ff) 0 46px/54px 4px no-repeat;
}

.scene-paper-a{right:10px;bottom:0;z-index:3;transform:rotate(4deg)}
.scene-paper-b{right:18px;bottom:10px;z-index:2;transform:rotate(-7deg);background:#faf8f3}
.scene-paper-c{right:3px;bottom:20px;z-index:1;transform:rotate(11deg);background:#edf3f7}

.scene-calendar{
  position:absolute;
  right:34px;
  top:28px;
  z-index:4;
  width:76px;
  height:72px;
  display:grid;
  place-items:center;
  gap:0;
  padding:8px;
  border:1px solid rgba(207,224,255,.95);
  border-radius:18px;
  background:linear-gradient(180deg,#ffffff 0%,#f3f7ff 100%);
  box-shadow:0 18px 36px rgba(58,45,28,.1);
}

.scene-calendar strong{color:#243b53;font-size:26px;line-height:1}
.scene-calendar span{color:#68758a;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}

.scene-notification{
  position:absolute;
  left:178px;
  top:30px;
  z-index:4;
  display:flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border:1px solid rgba(184,222,204,.9);
  border-radius:999px;
  background:linear-gradient(180deg,#ffffff 0%,#edf8f2 100%);
  box-shadow:0 16px 34px rgba(58,45,28,.1);
}

.scene-notification b{
  width:10px;
  height:10px;
  border-radius:50%;
  background:#13805a;
  box-shadow:0 0 0 5px rgba(19,128,90,.1);
}

.scene-notification span{color:#0f6a4b;font-size:12px;font-weight:850}

body:has(.migration-scene) .hmock-chrome,
body:has(.migration-scene) .hmock-pills,
body:has(.migration-scene) .hmock-body,
body:has(.migration-scene) .hmock-termin,
body:has(.migration-scene) .hmock-langs{
  position:relative;
  z-index:2;
}

body:has(.migration-scene) .hmock-chrome{
  border-radius:18px 18px 0 0;
  background:#f5f1e8;
}

body:has(.migration-scene) .hero-mini-card{
  z-index:8;
}

body:has(.migration-scene) .hero-mini-pdf{
  top:138px;
  right:-100px;
}

body:has(.migration-scene) .hero-mini-termin{
  left:-86px;
  bottom:128px;
}

body:has(.migration-scene) .hero-mini-checklist{
  right:32px;
  bottom:-62px;
}

body:has(.migration-scene) .bento-card,
body:has(.migration-scene) .product-card,
body:has(.migration-scene) .pricing-card,
body:has(.migration-scene) .feature-card,
body:has(.migration-scene) .why-card{
  background:
    linear-gradient(180deg,rgba(255,255,255,.86),rgba(255,253,248,.96));
  box-shadow:0 16px 44px rgba(58,45,28,.09),0 1px 0 rgba(255,255,255,.8) inset;
}

body:has(.migration-scene) .bento-card:nth-child(2),
body:has(.migration-scene) .product-card:nth-child(2n),
body:has(.migration-scene) .pricing-card:nth-child(2n){
  background:linear-gradient(180deg,#fffdf8 0%,#f5f1e8 100%);
}

body:has(.migration-scene) .bento-card:nth-child(3),
body:has(.migration-scene) .product-card--termin{
  background:linear-gradient(180deg,#ffffff 0%,#edf8f2 100%);
}

body:has(.migration-scene) .bento-card::after,
body:has(.migration-scene) .product-card::after,
body:has(.migration-scene) .pricing-card::after{
  opacity:1;
  transform:scale(1.12);
}

body:has(.migration-scene) .bento-icon,
body:has(.migration-scene) .product-card-icon,
body:has(.migration-scene) .feature-icon,
body:has(.migration-scene) .why-icon{
  width:58px;
  height:58px;
  border-radius:18px;
  box-shadow:0 12px 24px rgba(58,45,28,.07);
}

@media(max-width:1024px){
  body:has(.migration-scene) .hero-split-layout{grid-template-columns:1fr;max-width:680px}
  body:has(.migration-scene) .hero-mini-pdf{right:-28px;top:132px}
  body:has(.migration-scene) .hero-mini-termin{left:-26px;bottom:118px}
}

@media(max-width:700px){
  .migration-scene{height:220px;margin:0 0 12px}
  .scene-person{left:18px;transform:scale(.82);transform-origin:left bottom}
  .scene-laptop{left:82px;width:132px;height:86px}
  .scene-document-stack{right:16px;transform:scale(.78);transform-origin:right bottom}
  .scene-calendar{right:18px;top:18px;transform:scale(.86);transform-origin:right top}
  .scene-notification{left:118px;top:24px;transform:scale(.86);transform-origin:left top}
  body:has(.migration-scene) .hero-mini-pdf,
  body:has(.migration-scene) .hero-mini-termin,
  body:has(.migration-scene) .hero-mini-checklist{position:relative;inset:auto;right:auto;left:auto;bottom:auto;top:auto}
}

/* HOMEPAGE PREMIUM POLISH PHASE 3 — simplify hero visual */
body:has(.migration-scene) .hero{
  background:
    radial-gradient(circle at 18% 16%,rgba(255,255,255,.88) 0%,rgba(255,255,255,0) 30%),
    linear-gradient(150deg,#faf8f3 0%,#f5f1e8 54%,#f7fafc 100%);
}

body:has(.migration-scene) .hero-split-layout{
  grid-template-columns:minmax(0,1fr) 420px;
  gap:78px;
}

body:has(.migration-scene) .hero-mockup{
  padding:18px;
  border-radius:28px;
  background:#fffdf8;
  box-shadow:0 28px 72px rgba(58,45,28,.13),0 8px 22px rgba(58,45,28,.06);
}

body:has(.migration-scene) .migration-scene{
  height:300px;
  margin:0 0 18px;
  border:none;
  border-radius:24px;
  background:linear-gradient(180deg,#fffdf8 0%,#faf8f3 100%);
  box-shadow:inset 0 0 0 1px rgba(216,200,175,.62),0 16px 40px rgba(58,45,28,.075);
}

body:has(.migration-scene) .migration-scene::before{
  left:72px;
  right:72px;
  bottom:38px;
  height:28px;
  background:rgba(58,45,28,.09);
  filter:blur(12px);
}

body:has(.migration-scene) .migration-scene::after,
body:has(.migration-scene) .scene-person,
body:has(.migration-scene) .scene-head,
body:has(.migration-scene) .scene-body,
body:has(.migration-scene) .scene-laptop,
body:has(.migration-scene) .scene-calendar,
body:has(.migration-scene) .scene-notification,
body:has(.migration-scene) .hero-mini-checklist{
  display:none!important;
}

body:has(.migration-scene) .scene-document-stack{
  left:50%;
  right:auto;
  bottom:42px;
  width:230px;
  height:238px;
  transform:translateX(-50%);
}

body:has(.migration-scene) .scene-paper{
  width:172px;
  height:222px;
  border-radius:22px;
  border-color:rgba(216,200,175,.86);
  box-shadow:0 28px 54px rgba(58,45,28,.13);
}

body:has(.migration-scene) .scene-paper::before{
  font-size:24px;
  color:rgba(47,110,219,.1);
}

body:has(.migration-scene) .scene-paper::after{
  left:28px;
  top:38px;
  width:112px;
  height:112px;
  background:
    linear-gradient(#243b53,#243b53) 0 0/74px 7px no-repeat,
    linear-gradient(#d8c8af,#d8c8af) 0 28px/112px 6px no-repeat,
    linear-gradient(#d8c8af,#d8c8af) 0 52px/86px 6px no-repeat,
    linear-gradient(#cfe0ff,#cfe0ff) 0 78px/96px 6px no-repeat,
    linear-gradient(#edf8f2,#edf8f2) 0 104px/70px 6px no-repeat;
}

body:has(.migration-scene) .scene-paper-a{right:28px;bottom:0;transform:rotate(2deg)}
body:has(.migration-scene) .scene-paper-b{right:42px;bottom:13px;transform:rotate(-5deg)}
body:has(.migration-scene) .scene-paper-c{right:15px;bottom:25px;transform:rotate(7deg)}

body:has(.migration-scene) .hero-mini-card{
  min-width:0;
  padding:10px 12px;
  border-radius:999px;
  box-shadow:0 14px 30px rgba(58,45,28,.11),0 3px 8px rgba(58,45,28,.05);
}

body:has(.migration-scene) .hero-mini-card:hover{
  transform:translateY(-2px);
}

body:has(.migration-scene) .hero-mini-pdf{
  top:74px;
  right:-36px;
  width:176px;
}

body:has(.migration-scene) .hero-mini-termin{
  left:-42px;
  bottom:82px;
  width:196px;
}

body:has(.migration-scene) .hero-mini-pdf .mini-pdf-sheet{
  display:none;
}

body:has(.migration-scene) .hero-mini-pdf::before{
  content:"PDF";
  display:grid;
  width:30px;
  height:30px;
  place-items:center;
  border-radius:999px;
  background:#f5f1e8;
  color:#243b53;
  font-size:10px;
  font-weight:900;
  border:1px solid rgba(216,200,175,.72);
}

body:has(.migration-scene) .hero-mini-card small,
body:has(.migration-scene) .hero-mini-card em{
  display:none;
}

body:has(.migration-scene) .bento-card::after,
body:has(.migration-scene) .product-card::after,
body:has(.migration-scene) .pricing-card::after,
body:has(.hero-trust-strip) .bento-card-1::before,
body:has(.hero-trust-strip) .bento-card-2::before,
body:has(.hero-trust-strip) .bento-card-3::before,
body:has(.hero-trust-strip) .trust-block::before,
body:has(.hero-trust-strip) .hero-left::after{
  display:none!important;
}

body:has(.migration-scene) .bento-card,
body:has(.migration-scene) .product-card,
body:has(.migration-scene) .pricing-card,
body:has(.migration-scene) .feature-card,
body:has(.migration-scene) .why-card{
  background:#fffdf8;
  box-shadow:0 12px 32px rgba(58,45,28,.065),0 1px 0 rgba(255,255,255,.82) inset;
}

body:has(.migration-scene) .bento-icon,
body:has(.migration-scene) .product-card-icon,
body:has(.migration-scene) .feature-icon,
body:has(.migration-scene) .why-icon{
  width:52px;
  height:52px;
  border-radius:16px;
  box-shadow:none;
}

@media(max-width:1024px){
  body:has(.migration-scene) .hero-split-layout{grid-template-columns:1fr;gap:42px;max-width:640px}
  body:has(.migration-scene) .hero-mini-pdf{right:8px;top:70px}
  body:has(.migration-scene) .hero-mini-termin{left:8px;bottom:82px}
}

@media(max-width:700px){
  body:has(.migration-scene) .migration-scene{height:250px}
  body:has(.migration-scene) .scene-document-stack{width:190px;height:205px;bottom:34px;transform:translateX(-50%)}
  body:has(.migration-scene) .scene-paper{width:146px;height:190px}
  body:has(.migration-scene) .hero-mini-card{position:relative;width:auto;inset:auto!important;margin:10px 14px 0}
}

/* CONTROLLED HOMEPAGE REDESIGN — premium migration assistant presentation */
body:has(.hero-trust-strip){
  --home-ink:#172638;
  --home-ink-soft:#435268;
  --home-muted:#6f7b8c;
  --home-cream:#faf7f1;
  --home-cream-2:#f4eee4;
  --home-card:#fffdf8;
  --home-line:rgba(107,91,68,.16);
  --home-blue:#263f5c;
  --home-blue-2:#315f8f;
  --home-green:#167456;
  --home-shadow:0 22px 58px rgba(51,39,24,.11),0 3px 10px rgba(51,39,24,.045);
  background:var(--home-cream);
  color:var(--home-ink);
}

body:has(.hero-trust-strip) .lang-bar{
  background:#efe6d8;
  border-bottom-color:rgba(107,91,68,.16);
}

body:has(.hero-trust-strip) nav{
  background:rgba(255,253,248,.92);
  border-bottom-color:rgba(107,91,68,.14);
  box-shadow:0 1px 0 rgba(255,255,255,.85) inset,0 10px 30px rgba(51,39,24,.055);
}

body:has(.hero-trust-strip) .nav-logo,
body:has(.hero-trust-strip) .nav-links>li>a.active,
body:has(.hero-trust-strip) .nav-links>li>a:hover{
  color:var(--home-blue);
}

body:has(.hero-trust-strip) .hero{
  padding:94px 28px 64px;
  background:
    radial-gradient(circle at 15% 15%,rgba(255,255,255,.88) 0,rgba(255,255,255,0) 31%),
    linear-gradient(145deg,#fbf7f0 0%,#f2eadf 52%,#eef4f7 100%);
}

body:has(.hero-trust-strip) .hero::before,
body:has(.hero-trust-strip) .hero::after,
body:has(.hero-trust-strip) .hero-dots,
body:has(.hero-trust-strip) .section-hdr::after{
  display:none!important;
}

body:has(.hero-trust-strip) .hero-split-layout{
  grid-template-columns:minmax(0,1fr) minmax(390px,460px);
  gap:88px;
  max-width:1120px;
}

body:has(.hero-trust-strip) .hero-badge,
body:has(.hero-trust-strip) .section-label{
  background:rgba(255,253,248,.78);
  border:1px solid var(--home-line);
  color:var(--home-blue);
  box-shadow:none;
}

body:has(.hero-trust-strip) .hero-left h1{
  max-width:660px;
  color:var(--home-ink);
  letter-spacing:-1.05px;
}

body:has(.hero-trust-strip) .grad-text{
  background:linear-gradient(135deg,#1f3853 0%,#6c5b44 100%);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
}

body:has(.hero-trust-strip) .hero-left p,
body:has(.hero-trust-strip) .section-sub,
body:has(.hero-trust-strip) .bento-card p,
body:has(.hero-trust-strip) .doc-card p,
body:has(.hero-trust-strip) .pricing-card .pricing-desc{
  color:var(--home-muted);
}

body:has(.hero-trust-strip) .hero-disclaimer{
  background:rgba(255,253,248,.7);
  border-left-color:#cdbb9f;
  color:#6c5b44;
  box-shadow:none;
}

body:has(.hero-trust-strip) .cta-btn,
body:has(.hero-trust-strip) .nav-cta-btn,
body:has(.hero-trust-strip) .btn-p{
  background:linear-gradient(180deg,#2f5478 0%,#243b53 100%);
  border:1px solid rgba(36,59,83,.18);
  border-radius:14px;
  box-shadow:0 14px 28px rgba(36,59,83,.17),inset 0 1px 0 rgba(255,255,255,.18);
}

body:has(.hero-trust-strip) .cta-btn:hover,
body:has(.hero-trust-strip) .nav-cta-btn:hover,
body:has(.hero-trust-strip) .btn-p:hover{
  background:linear-gradient(180deg,#294966 0%,#1e3147 100%);
  transform:translateY(-2px);
  box-shadow:0 18px 34px rgba(36,59,83,.2),inset 0 1px 0 rgba(255,255,255,.16);
}

body:has(.hero-trust-strip) .cta-btn.ghost,
body:has(.hero-trust-strip) .cta-btn.outline-dark,
body:has(.hero-trust-strip) .btn-s{
  background:rgba(255,253,248,.72);
  color:var(--home-blue)!important;
  border-color:rgba(107,91,68,.2);
  box-shadow:0 10px 22px rgba(51,39,24,.055);
}

body:has(.hero-trust-strip) .hero-mockup{
  overflow:visible;
  padding:20px;
  border:1px solid rgba(107,91,68,.16);
  border-radius:32px;
  background:linear-gradient(180deg,rgba(255,255,255,.72),rgba(255,253,248,.96));
  box-shadow:0 34px 86px rgba(51,39,24,.16),0 10px 24px rgba(51,39,24,.07);
}

body:has(.hero-trust-strip) .migration-scene{
  height:318px;
  margin-bottom:18px;
  border-radius:26px;
  background:
    linear-gradient(180deg,rgba(255,253,248,.96),rgba(248,243,235,.9)),
    var(--home-card);
  box-shadow:inset 0 0 0 1px rgba(107,91,68,.13),0 18px 42px rgba(51,39,24,.075);
}

body:has(.hero-trust-strip) .scene-document-stack{
  width:250px;
  height:250px;
}

body:has(.hero-trust-strip) .scene-paper{
  width:182px;
  height:232px;
  border-radius:24px;
  background:#fff;
  border-color:rgba(107,91,68,.18);
  box-shadow:0 30px 62px rgba(51,39,24,.14);
}

body:has(.hero-trust-strip) .scene-paper::before{
  color:rgba(49,95,143,.11);
}

body:has(.hero-trust-strip) .hmock-chrome,
body:has(.hero-trust-strip) .hmock-pills,
body:has(.hero-trust-strip) .hmock-body,
body:has(.hero-trust-strip) .hmock-termin,
body:has(.hero-trust-strip) .hmock-langs{
  display:none!important;
}

body:has(.hero-trust-strip) .hero-mini-card{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  align-items:center;
  gap:8px;
  border:1px solid rgba(107,91,68,.16);
  background:rgba(255,253,248,.95);
  box-shadow:0 16px 34px rgba(51,39,24,.11),0 2px 8px rgba(51,39,24,.045);
}

body:has(.hero-trust-strip) .hero-mini-pdf{
  top:82px;
  right:-34px;
  width:172px;
}

body:has(.hero-trust-strip) .hero-mini-termin{
  left:-36px;
  bottom:92px;
  width:190px;
  border-color:rgba(22,116,86,.22);
}

body:has(.hero-trust-strip) .hero-mini-card strong{
  color:var(--home-ink);
}

body:has(.hero-trust-strip) .hero-trust-strip{
  margin:0;
  padding:20px 28px 62px;
  background:linear-gradient(180deg,#f4eee4 0%,#faf7f1 100%);
}

body:has(.hero-trust-strip) .hero-trust-inner{
  max-width:1080px;
  padding:10px;
  border-radius:24px;
  border-color:rgba(107,91,68,.14);
  background:rgba(255,253,248,.72);
  box-shadow:0 18px 44px rgba(51,39,24,.07);
}

body:has(.hero-trust-strip) .hero-trust-inner span{
  background:rgba(255,255,255,.62);
  border-color:rgba(107,91,68,.12);
  box-shadow:none;
}

body:has(.hero-trust-strip) section[style*="background:#fff"],
body:has(.hero-trust-strip) section.alt-bg{
  background:var(--home-cream)!important;
}

body:has(.hero-trust-strip) section:nth-of-type(4),
body:has(.hero-trust-strip) section:nth-of-type(6),
body:has(.hero-trust-strip) section:nth-of-type(8){
  background:var(--home-cream-2)!important;
}

body:has(.hero-trust-strip) .bento-asymm{
  max-width:1040px;
  gap:18px;
}

body:has(.hero-trust-strip) .bento-card,
body:has(.hero-trust-strip) .doc-card,
body:has(.hero-trust-strip) .pricing-card,
body:has(.hero-trust-strip) .faq-item,
body:has(.hero-trust-strip) .feature-card,
body:has(.hero-trust-strip) .why-card,
body:has(.hero-trust-strip) [style*="background:var(--bg-subtle)"][style*="border:1px solid var(--border)"]{
  border-color:rgba(107,91,68,.13)!important;
  background:rgba(255,253,248,.86)!important;
  box-shadow:0 14px 36px rgba(51,39,24,.07),0 1px 0 rgba(255,255,255,.78) inset!important;
}

body:has(.hero-trust-strip) .bento-card:hover,
body:has(.hero-trust-strip) .doc-card:hover,
body:has(.hero-trust-strip) .pricing-card:hover,
body:has(.hero-trust-strip) .faq-item:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 44px rgba(51,39,24,.09),0 1px 0 rgba(255,255,255,.8) inset!important;
  border-color:rgba(107,91,68,.2)!important;
}

body:has(.hero-trust-strip) .bento-card::after,
body:has(.hero-trust-strip) .product-card::after,
body:has(.hero-trust-strip) .pricing-card::after,
body:has(.hero-trust-strip) .bento-card::before,
body:has(.hero-trust-strip) .trust-block::before,
body:has(.hero-trust-strip) .hero-left::after{
  display:none!important;
}

body:has(.hero-trust-strip) .bento-icon,
body:has(.hero-trust-strip) .doc-icon,
body:has(.hero-trust-strip) .pricing-icon,
body:has(.hero-trust-strip) .step-emoji{
  filter:saturate(.76);
}

body:has(.hero-trust-strip) .how-tabs{
  background:rgba(255,253,248,.68);
  border-color:rgba(107,91,68,.13);
}

body:has(.hero-trust-strip) .how-tab.active{
  color:var(--home-blue);
  box-shadow:0 8px 20px rgba(51,39,24,.06);
}

body:has(.hero-trust-strip) .steps-row::before{
  background:linear-gradient(90deg,rgba(107,91,68,.18),rgba(49,95,143,.18));
}

body:has(.hero-trust-strip) .step-number{
  background:var(--home-card);
  border-color:rgba(49,95,143,.18);
  color:var(--home-blue);
  box-shadow:0 0 0 7px var(--home-cream);
}

body:has(.hero-trust-strip) .docs-grid .doc-card{
  min-height:148px;
}

body:has(.hero-trust-strip) .pricing-card.featured{
  background:linear-gradient(180deg,#fffdf8 0%,#eef6f2 100%)!important;
  border-color:rgba(22,116,86,.2)!important;
}

body:has(.hero-trust-strip) .cta-banner{
  background:linear-gradient(145deg,#243b53 0%,#315f8f 100%);
}

@media(max-width:1024px){
  body:has(.hero-trust-strip) .hero-split-layout{grid-template-columns:1fr;max-width:690px;gap:46px}
  body:has(.hero-trust-strip) .hero-left{text-align:center}
  body:has(.hero-trust-strip) .hero-left .btn-group{justify-content:center!important}
  body:has(.hero-trust-strip) .hero-mini-pdf{right:12px;top:82px}
  body:has(.hero-trust-strip) .hero-mini-termin{left:12px;bottom:92px}
}

@media(max-width:700px){
  body:has(.hero-trust-strip) .hero{padding:58px 20px 44px}
  body:has(.hero-trust-strip) .hero-mockup{overflow:hidden;padding:14px;border-radius:24px}
  body:has(.hero-trust-strip) .migration-scene{height:252px}
  body:has(.hero-trust-strip) .scene-document-stack{width:190px;height:204px;bottom:34px}
  body:has(.hero-trust-strip) .hero-mini-card{position:relative!important;inset:auto!important;width:auto!important;margin:10px 12px 0!important;border-radius:16px}
  body:has(.hero-trust-strip) .hero-trust-inner{grid-template-columns:1fr}
  body:has(.hero-trust-strip) .hero-trust-inner span{justify-content:flex-start}
  body:has(.hero-trust-strip) .docs-grid[style]{grid-template-columns:1fr 1fr!important}
}

/* GERMANYFLOW HOMEPAGE REDESIGN — Deel/Wise/Remote direction */
body:has(.termin-hero-visual){
  --gf-ink:#142336;
  --gf-muted:#637184;
  --gf-cream:#fbf7ef;
  --gf-cream-deep:#f0e6d7;
  --gf-card:#fffdf7;
  --gf-line:rgba(75,63,45,.14);
  --gf-blue:#253f5e;
  --gf-green:#15795b;
}

body:has(.termin-hero-visual) .hero{
  padding:96px 28px 70px;
  background:
    radial-gradient(circle at 14% 14%,rgba(255,255,255,.88),rgba(255,255,255,0) 30%),
    linear-gradient(135deg,#fbf7ef 0%,#f0e6d7 48%,#edf5f2 100%);
}

body:has(.termin-hero-visual) .hero-split-layout{
  grid-template-columns:minmax(0,1fr) minmax(420px,500px);
  gap:82px;
  max-width:1160px;
}

body:has(.termin-hero-visual) .hero-left h1{
  max-width:680px;
  font-size:clamp(42px,5.7vw,72px);
  letter-spacing:-1.2px;
}

body:has(.termin-hero-visual) .hero-left h1 .grad-text{
  display:block;
  margin-top:4px;
}

body:has(.termin-hero-visual) .hero-left p{
  max-width:570px;
  color:var(--gf-muted);
}

body:has(.termin-hero-visual) .hero-mockup{
  padding:0;
  border:0;
  border-radius:34px;
  background:transparent;
  box-shadow:none;
}

body:has(.termin-hero-visual) .migration-scene,
body:has(.termin-hero-visual) .scene-document-stack,
body:has(.termin-hero-visual) .scene-paper,
body:has(.termin-hero-visual) .hmock-chrome,
body:has(.termin-hero-visual) .hmock-pills,
body:has(.termin-hero-visual) .hmock-body,
body:has(.termin-hero-visual) .hmock-termin,
body:has(.termin-hero-visual) .hmock-langs,
body:has(.termin-hero-visual) .hero-mini-card{
  display:none!important;
}

.termin-hero-visual{
  position:relative;
  padding:28px;
  border:1px solid var(--gf-line);
  border-radius:34px;
  background:linear-gradient(180deg,rgba(255,255,255,.74),rgba(255,253,247,.96));
  box-shadow:0 36px 90px rgba(51,39,24,.16),0 10px 28px rgba(51,39,24,.07);
}

.termin-hero-visual::before{
  content:"";
  position:absolute;
  left:46px;
  right:46px;
  bottom:-16px;
  height:34px;
  border-radius:50%;
  background:rgba(51,39,24,.12);
  filter:blur(16px);
}

.termin-monitor-panel{
  position:relative;
  z-index:1;
  padding:24px;
  border:1px solid rgba(75,63,45,.12);
  border-radius:26px;
  background:#fffdf7;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.88);
}

.monitor-topline{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:20px;
  color:var(--gf-muted);
  font-size:13px;
  font-weight:800;
}

.monitor-topline strong{
  padding:5px 10px;
  border-radius:999px;
  background:#eaf7f1;
  color:var(--gf-green);
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.06em;
}

.monitor-alert{
  display:flex;
  align-items:center;
  gap:14px;
  padding:18px;
  margin-bottom:18px;
  border:1px solid rgba(21,121,91,.18);
  border-radius:20px;
  background:linear-gradient(180deg,#ffffff,#edf8f2);
  box-shadow:0 16px 34px rgba(21,121,91,.08);
}

.monitor-pulse-dot{
  width:14px;
  height:14px;
  border-radius:50%;
  background:var(--gf-green);
  box-shadow:0 0 0 7px rgba(21,121,91,.1);
}

.monitor-alert strong{
  display:block;
  color:var(--gf-green);
  font-size:18px;
  line-height:1.2;
}

.monitor-alert small{
  color:var(--gf-muted);
  font-size:13px;
  font-weight:700;
}

.monitor-list{
  display:grid;
  gap:10px;
}

.monitor-list div{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:13px 14px;
  border:1px solid rgba(75,63,45,.1);
  border-radius:16px;
  background:#faf7ef;
}

.monitor-list span{
  color:var(--gf-ink);
  font-weight:760;
}

.monitor-list b{
  color:var(--gf-muted);
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.05em;
}

.monitor-document-card{
  position:absolute;
  right:-18px;
  bottom:42px;
  z-index:2;
  width:178px;
  padding:14px;
  border:1px solid rgba(75,63,45,.14);
  border-radius:20px;
  background:rgba(255,253,247,.96);
  box-shadow:0 18px 40px rgba(51,39,24,.13);
}

.monitor-document-card span{
  display:grid;
  width:36px;
  height:36px;
  place-items:center;
  margin-bottom:10px;
  border-radius:12px;
  background:#f0e6d7;
  color:var(--gf-blue);
  font-size:11px;
  font-weight:900;
}

.monitor-document-card strong{
  display:block;
  color:var(--gf-ink);
  font-size:13px;
}

.monitor-document-card small{
  color:var(--gf-muted);
  font-size:11px;
  font-weight:700;
}

body:has(.termin-hero-visual) .hero-trust-strip{
  background:linear-gradient(180deg,#f0e6d7 0%,#fbf7ef 100%);
}

body:has(.termin-hero-visual) section[style*="background:#fff"],
body:has(.termin-hero-visual) section.alt-bg{
  background:#fbf7ef!important;
}

body:has(.termin-hero-visual) section:nth-of-type(4),
body:has(.termin-hero-visual) section:nth-of-type(6),
body:has(.termin-hero-visual) section:nth-of-type(8){
  background:#f0e6d7!important;
}

body:has(.termin-hero-visual) .bento-card,
body:has(.termin-hero-visual) .doc-card,
body:has(.termin-hero-visual) .pricing-card,
body:has(.termin-hero-visual) .faq-item{
  border-color:rgba(75,63,45,.12)!important;
  background:rgba(255,253,247,.9)!important;
}

@media(max-width:1024px){
  body:has(.termin-hero-visual) .hero-split-layout{grid-template-columns:1fr;max-width:720px;gap:44px}
  .monitor-document-card{right:18px;bottom:-28px}
}

@media(max-width:700px){
  body:has(.termin-hero-visual) .hero{padding:58px 20px 44px}
  .termin-hero-visual{padding:14px;border-radius:24px;overflow:hidden}
  .termin-monitor-panel{padding:16px;border-radius:20px}
  .monitor-alert{padding:14px}
  .monitor-list div{display:grid;gap:4px}
  .monitor-document-card{position:relative;right:auto;bottom:auto;width:auto;margin:12px 0 0}
}


/* Real human workspace hero visual - homepage only */
.hero-i18n [data-hero-lang]{display:none}
html[lang="en"] .hero-i18n [data-hero-lang="en"],
html[lang="de"] .hero-i18n [data-hero-lang="de"],
html[lang="ua"] .hero-i18n [data-hero-lang="ua"],
html[lang="uk"] .hero-i18n [data-hero-lang="ua"],
html[lang="pl"] .hero-i18n [data-hero-lang="pl"],
html[lang="tr"] .hero-i18n [data-hero-lang="tr"],
html[lang="ar"] .hero-i18n [data-hero-lang="ar"]{display:contents}
.hero-title-l10n em{display:block;font-style:normal;color:var(--gf-blue,#243b53)}
body:has(.hero-workspace-scene) .hero-badge::before{content:"";width:8px;height:8px;border-radius:50%;background:#2f6fba;box-shadow:0 0 0 4px rgba(47,111,186,.12)}
body:has(.hero-workspace-scene) .hero-left h1{max-width:700px}
body:has(.hero-workspace-scene) .hero-left p{max-width:590px;color:var(--gf-muted,#64748b)}
body:has(.hero-workspace-scene) .hero-mockup{padding:0;border:0;border-radius:38px;background:transparent;box-shadow:none;overflow:visible}
body:has(.hero-workspace-scene) .migration-scene,
body:has(.hero-workspace-scene) .scene-document-stack,
body:has(.hero-workspace-scene) .scene-paper,
body:has(.hero-workspace-scene) .hmock-chrome,
body:has(.hero-workspace-scene) .hmock-pills,
body:has(.hero-workspace-scene) .hmock-body,
body:has(.hero-workspace-scene) .hmock-termin,
body:has(.hero-workspace-scene) .hmock-langs,
body:has(.hero-workspace-scene) .hero-mini-card{display:none!important}
.hero-workspace-scene{position:relative;min-height:500px;border:1px solid rgba(75,63,45,.12);border-radius:40px;background:linear-gradient(150deg,#fffdf8 0%,#f6efe3 52%,#eef3f7 100%);box-shadow:0 34px 90px rgba(51,39,24,.18),0 12px 34px rgba(36,59,83,.08);overflow:hidden;isolation:isolate}
.hero-workspace-scene::before{content:"";position:absolute;inset:18px;border:1px solid rgba(255,255,255,.72);border-radius:30px;pointer-events:none;z-index:1}
.hero-workspace-scene::after{content:"";position:absolute;left:12%;right:12%;bottom:24px;height:52px;border-radius:50%;background:rgba(51,39,24,.13);filter:blur(22px);z-index:0}
.workspace-backdrop{position:absolute;inset:0;background:radial-gradient(circle at 18% 22%,rgba(255,255,255,.95),transparent 28%),radial-gradient(circle at 82% 28%,rgba(212,226,234,.82),transparent 32%),linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.24));z-index:0}
.workspace-desk{position:absolute;left:50px;right:50px;bottom:78px;height:28px;border-radius:999px;background:linear-gradient(90deg,#d7c7ae,#c7b08b);box-shadow:0 22px 44px rgba(74,55,28,.18);z-index:4}
.workspace-person{position:absolute;left:50%;bottom:105px;width:210px;height:250px;transform:translateX(-44%);z-index:5}
.workspace-head{position:absolute;left:82px;top:18px;width:62px;height:66px;border-radius:44% 44% 48% 48%;background:#d7aa83;box-shadow:inset -10px -8px 0 rgba(126,78,45,.08)}
.workspace-hair{position:absolute;left:72px;top:8px;width:76px;height:52px;border-radius:38px 42px 26px 30px;background:#2e4052;transform:rotate(-5deg)}
.workspace-hair::after{content:"";position:absolute;right:-6px;bottom:-28px;width:34px;height:54px;border-radius:20px;background:#2e4052}
.workspace-body{position:absolute;left:56px;top:95px;width:116px;height:118px;border-radius:34px 34px 24px 24px;background:linear-gradient(160deg,#5f7f97,#405c74);box-shadow:0 20px 36px rgba(36,59,83,.18)}
.workspace-arm{position:absolute;top:132px;width:82px;height:24px;border-radius:999px;background:#d7aa83;z-index:7}
.workspace-arm-left{left:18px;transform:rotate(18deg)}
.workspace-arm-right{right:4px;transform:rotate(-14deg)}
.workspace-laptop{position:absolute;left:50%;bottom:102px;width:220px;height:138px;transform:translateX(-50%);border-radius:16px 16px 10px 10px;background:linear-gradient(180deg,#243b53,#192f44);box-shadow:0 24px 50px rgba(25,47,68,.25);z-index:8}
.workspace-laptop::before{content:"";position:absolute;left:15px;right:15px;top:15px;height:76px;border-radius:10px;background:linear-gradient(160deg,#f8fbff,#dfeaf2)}
.workspace-laptop::after{content:"";position:absolute;left:-24px;right:-24px;bottom:-16px;height:20px;border-radius:4px 4px 18px 18px;background:#d8dee5;box-shadow:0 14px 24px rgba(36,59,83,.16)}
.workspace-screen-line{position:absolute;left:38px;top:40px;width:90px;height:8px;border-radius:999px;background:#9fb4c7;z-index:9}
.workspace-screen-line.line-long{top:58px;width:128px;background:#7ca0bc}
.workspace-screen-status{position:absolute;right:38px;top:78px;width:46px;height:14px;border-radius:999px;background:#2fa56f;box-shadow:0 0 0 5px rgba(47,165,111,.12);z-index:9}
.workspace-doc-stack{position:absolute;left:42px;bottom:112px;width:144px;height:168px;z-index:3}
.workspace-doc{position:absolute;display:block;width:102px;height:138px;border-radius:14px;background:#fff;box-shadow:0 16px 34px rgba(75,63,45,.13)}
.workspace-doc::before,.workspace-doc::after{content:"";position:absolute;left:18px;right:18px;height:7px;border-radius:999px;background:#d7c9b2}
.workspace-doc::before{top:28px}.workspace-doc::after{top:48px;right:34px}
.workspace-doc-back{left:32px;top:8px;transform:rotate(9deg);background:#f6efe3}
.workspace-doc-front{left:0;top:28px;transform:rotate(-5deg)}
.workspace-calendar{position:absolute;right:54px;bottom:125px;width:108px;height:112px;border:1px solid rgba(75,63,45,.12);border-radius:22px;background:#fffdf8;box-shadow:0 18px 38px rgba(75,63,45,.12);z-index:3;text-align:center;padding-top:18px;color:#243b53;font-weight:900}
.workspace-calendar::before{content:"";position:absolute;left:0;right:0;top:0;height:28px;border-radius:22px 22px 0 0;background:#e9ded0}
.workspace-calendar span{position:relative;z-index:1;display:block;font-size:38px;line-height:1;margin-top:14px}
.workspace-calendar small{display:block;margin-top:8px;color:#6b7280;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}
.workspace-alert{position:absolute;right:28px;top:32px;z-index:10;display:flex;align-items:center;gap:13px;width:min(300px,calc(100% - 56px));padding:16px 18px;border:1px solid rgba(47,165,111,.22);border-radius:22px;background:rgba(255,255,255,.94);box-shadow:0 24px 54px rgba(47,107,83,.18);backdrop-filter:blur(10px)}
.workspace-alert-dot{width:13px;height:13px;border-radius:50%;background:#2fa56f;box-shadow:0 0 0 7px rgba(47,165,111,.12);flex:0 0 auto}
.workspace-alert strong{display:block;color:#146c49;font-size:16px;line-height:1.2}
.workspace-alert small{display:block;margin-top:3px;color:#4b5563;font-size:12px;font-weight:750;line-height:1.35}
.workspace-pdf-preview{position:absolute;left:30px;top:44px;z-index:9;width:168px;min-height:116px;padding:18px 16px 14px;border:1px solid rgba(75,63,45,.13);border-radius:22px;background:rgba(255,253,248,.94);box-shadow:0 22px 46px rgba(75,63,45,.14);overflow:hidden}
.workspace-pdf-watermark{position:absolute;right:-22px;top:38px;transform:rotate(-24deg);font-size:26px;font-weight:950;color:rgba(36,59,83,.08);letter-spacing:.08em;white-space:nowrap}
.workspace-pdf-preview strong{position:relative;display:block;color:#243b53;font-size:15px;line-height:1.2;z-index:1}
.workspace-pdf-preview small{position:relative;display:block;margin-top:42px;color:#64748b;font-size:11px;font-weight:800;z-index:1}
body:has(.hero-workspace-scene) .termin-hero-visual,
body:has(.hero-workspace-scene) .termin-monitor-panel,
body:has(.hero-workspace-scene) .monitor-document-card{display:none!important}
@media(max-width:1024px){body:has(.hero-workspace-scene) .hero-split-layout{grid-template-columns:1fr;max-width:760px;gap:42px}.hero-workspace-scene{min-height:470px}}
@media(max-width:700px){body:has(.hero-workspace-scene) .hero{padding:58px 20px 44px}.hero-workspace-scene{min-height:390px;border-radius:28px}.hero-workspace-scene::before{inset:10px;border-radius:22px}.workspace-desk{left:24px;right:24px;bottom:56px;height:22px}.workspace-person{bottom:76px;width:178px;height:220px;transform:translateX(-47%) scale(.78);transform-origin:bottom center}.workspace-laptop{bottom:78px;width:178px;height:116px}.workspace-doc-stack{left:18px;bottom:82px;transform:scale(.72);transform-origin:left bottom}.workspace-calendar{right:20px;bottom:88px;width:82px;height:88px;border-radius:18px}.workspace-calendar::before{height:22px;border-radius:18px 18px 0 0}.workspace-calendar span{font-size:29px;margin-top:11px}.workspace-calendar small{font-size:10px}.workspace-alert{left:16px;right:16px;top:16px;width:auto;padding:13px 14px;border-radius:18px}.workspace-alert strong{font-size:14px}.workspace-alert small{font-size:11px}.workspace-pdf-preview{left:18px;top:auto;bottom:16px;width:138px;min-height:92px;padding:14px 13px 12px;border-radius:18px}.workspace-pdf-watermark{font-size:20px;top:32px}.workspace-pdf-preview strong{font-size:13px}.workspace-pdf-preview small{margin-top:30px;font-size:10px}}
@media(max-width:430px){.hero-title-l10n{font-size:clamp(36px,12vw,48px)}.workspace-alert small{max-width:220px}.workspace-pdf-preview{width:128px}.workspace-calendar{right:14px}.workspace-doc-stack{opacity:.82}}


/* =====================================================================
   TERMIN-FIRST HOMEPAGE REDESIGN
   Homepage-only visual layer. No backend, form, payment, PDF, or JS logic.
   ===================================================================== */
body:has(.termin-first-homepage){
  --tf-navy:#06182b;
  --tf-navy-2:#0a2037;
  --tf-cream:#f7efe0;
  --tf-cream-2:#efe3cf;
  --tf-paper:#fbf4e8;
  --tf-gold:#d8a33e;
  --tf-green:#167456;
  --tf-green-2:#0f6046;
  --tf-ink:#171717;
  --tf-muted:#8fa1b6;
  --tf-line:rgba(247,239,224,.14);
  background:var(--tf-navy);
}

body:has(.termin-first-homepage) .lang-bar,
body:has(.termin-first-homepage) nav{
  background:#06182b;
  border-color:rgba(247,239,224,.1);
  box-shadow:none;
}

body:has(.termin-first-homepage) .lang-btn{color:rgba(247,239,224,.62)}
body:has(.termin-first-homepage) .lang-btn:hover,
body:has(.termin-first-homepage) .lang-btn.active{background:var(--tf-gold);border-color:var(--tf-gold);color:#06182b}
body:has(.termin-first-homepage) .nav-logo,
body:has(.termin-first-homepage) .nav-links>li>a,
body:has(.termin-first-homepage) .nav-links>li>a.active{color:rgba(247,239,224,.86)}
body:has(.termin-first-homepage) .nav-links>li>a:hover{color:#fff}
body:has(.termin-first-homepage) .nav-cta-btn{background:var(--tf-gold);border:0;color:#06182b;box-shadow:none}
body:has(.termin-first-homepage) .nav-mobile-btn{color:var(--tf-cream)}
body:has(.termin-first-homepage) .nav-mobile-open .nav-links{background:#06182b;border-color:rgba(247,239,224,.12)}

.termin-first-homepage{
  position:relative;
  padding:54px 28px 44px;
  overflow:hidden;
  background:
    radial-gradient(circle at 22% 4%,rgba(216,163,62,.1),transparent 26%),
    radial-gradient(circle at 66% 14%,rgba(22,116,86,.16),transparent 24%),
    linear-gradient(180deg,#06182b 0%,#071b30 58%,#06182b 100%);
  color:var(--tf-cream);
}

.termin-first-homepage::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:linear-gradient(rgba(247,239,224,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(247,239,224,.025) 1px,transparent 1px);
  background-size:42px 42px;
  mask-image:linear-gradient(180deg,rgba(0,0,0,.7),transparent 86%);
  pointer-events:none;
}

.termin-hero-shell{
  position:relative;
  z-index:1;
  width:min(1420px,100%);
  margin:0 auto;
  display:grid;
  grid-template-columns:minmax(0,1fr) 316px;
  gap:34px;
  align-items:start;
}

.termin-kicker{
  display:inline-flex;
  align-items:center;
  gap:12px;
  margin-bottom:22px;
  color:var(--tf-gold);
  font-size:13px;
  font-weight:700;
  letter-spacing:.28em;
  text-transform:uppercase;
}

.termin-kicker-icon{
  width:21px;
  height:21px;
  border:1.5px solid currentColor;
  border-radius:4px;
  position:relative;
  flex:0 0 auto;
}
.termin-kicker-icon::before{content:"";position:absolute;left:4px;right:4px;top:5px;height:1.5px;background:currentColor;box-shadow:0 5px 0 currentColor}
.termin-kicker-icon::after{content:"";position:absolute;left:5px;top:-4px;width:2px;height:7px;background:currentColor;box-shadow:9px 0 0 currentColor}

.termin-hero-title{
  max-width:900px;
  margin:0;
  color:#fbf4e8;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(58px,8.2vw,126px);
  font-weight:700;
  letter-spacing:-.045em;
  line-height:.92;
}
.termin-hero-title em{font-style:normal;color:var(--tf-gold)}

.termin-hero-sub{
  max-width:690px;
  margin:22px 0 26px;
  color:rgba(247,239,224,.82);
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(20px,2.2vw,30px);
  line-height:1.22;
}

.termin-hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin:0 0 30px}
.termin-primary-cta,
.termin-secondary-cta{
  display:inline-flex;
  min-height:50px;
  align-items:center;
  justify-content:center;
  padding:0 22px;
  border-radius:999px;
  color:#071b30!important;
  text-decoration:none;
  font-size:14px;
  font-weight:800;
  line-height:1;
  transition:transform .18s ease,box-shadow .18s ease,background .18s ease,border-color .18s ease;
}
.termin-primary-cta{background:linear-gradient(180deg,#e3b956,#c99024);box-shadow:0 16px 30px rgba(216,163,62,.22),inset 0 1px 0 rgba(255,255,255,.35)}
.termin-secondary-cta{background:transparent;border:1px solid rgba(247,239,224,.32);color:var(--tf-cream)!important}
.termin-primary-cta:hover,.termin-secondary-cta:hover{transform:translateY(-2px)}
.termin-secondary-cta:hover{background:rgba(247,239,224,.08);border-color:rgba(247,239,224,.52)}

.termin-city-tabs{
  display:flex;
  flex-wrap:wrap;
  gap:18px;
  margin:0 0 26px;
  padding-top:20px;
  border-top:1px solid rgba(247,239,224,.09);
}
.termin-city-tab{
  display:inline-flex;
  min-width:150px;
  min-height:60px;
  align-items:center;
  justify-content:center;
  gap:12px;
  padding:0 22px;
  border:1px solid rgba(247,239,224,.38);
  border-radius:999px;
  color:rgba(247,239,224,.86);
  text-decoration:none;
  font-size:15px;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.termin-city-tab.active{border-color:rgba(216,163,62,.78);background:linear-gradient(180deg,#e1b75b,#c98f27);color:#071b30;box-shadow:0 16px 30px rgba(216,163,62,.2)}
.termin-city-tab.muted{opacity:.86}
.city-mark,.city-symbol{display:inline-block;position:relative;flex:0 0 auto;color:currentColor}
.city-mark{width:24px;height:28px}
.city-mark::before,.city-mark::after,.city-symbol::before,.city-symbol::after{content:"";position:absolute;display:block}
.city-mark.berlin::before{left:10px;top:0;width:4px;height:27px;background:currentColor;border-radius:2px}.city-mark.berlin::after{left:5px;top:11px;width:14px;height:14px;border:2px solid currentColor;border-radius:50%}
.city-mark.munich::before{left:3px;top:3px;width:5px;height:25px;border:1.5px solid currentColor;border-bottom:0}.city-mark.munich::after{right:3px;top:3px;width:5px;height:25px;border:1.5px solid currentColor;border-bottom:0}
.city-mark.frankfurt::before{left:9px;top:0;width:7px;height:28px;border:1.5px solid currentColor}.city-mark.frankfurt::after{left:2px;bottom:0;width:21px;height:12px;border:1.5px solid currentColor;border-top:0}
.city-mark.cologne::before{left:4px;bottom:0;width:5px;height:25px;background:currentColor;box-shadow:8px 0 0 currentColor,16px 0 0 currentColor}.city-mark.cologne::after{left:1px;top:0;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:11px solid currentColor;box-shadow:8px 0 0 currentColor,16px 0 0 currentColor}
.city-mark.hamburg::before{left:2px;bottom:0;width:20px;height:20px;border:1.5px solid currentColor}.city-mark.hamburg::after{left:7px;top:1px;width:10px;height:18px;border:1.5px solid currentColor;border-bottom:0}

.termin-product-cards{
  display:grid;
  grid-template-columns:minmax(320px,390px) minmax(240px,1fr) minmax(240px,1fr);
  gap:16px;
  align-items:stretch;
}
.termin-city-card{
  position:relative;
  min-width:0;
  overflow:hidden;
  border:1px solid rgba(24,21,17,.12);
  border-radius:18px;
  background:var(--tf-paper);
  color:var(--tf-ink);
  box-shadow:0 24px 56px rgba(0,0,0,.24);
}
.termin-city-card.primary{border:2px solid rgba(216,163,62,.85);box-shadow:0 0 0 4px rgba(216,163,62,.08),0 26px 58px rgba(0,0,0,.28)}
.city-card-head{display:grid;grid-template-columns:auto 1fr auto;gap:16px;align-items:start;padding:28px 26px 18px;border-bottom:1px solid rgba(18,17,15,.08)}
.city-card-head h2{margin:0;color:#151515;font-family:Georgia,"Times New Roman",serif;font-size:36px;line-height:1;font-weight:700;letter-spacing:-.04em}
.city-card-head p{margin:8px 0 0;color:#171717;font-size:13px;font-weight:700;line-height:1.35}.city-card-head small{color:#5d5a53;font-size:11px;font-weight:500}
.city-symbol{width:30px;height:42px;margin-top:4px;color:#142336}.city-symbol.berlin::before{left:13px;top:0;width:4px;height:40px;background:currentColor;border-radius:2px}.city-symbol.berlin::after{left:6px;top:16px;width:18px;height:18px;border:2px solid currentColor;border-radius:50%}
.city-symbol.munich::before{left:3px;top:5px;width:7px;height:35px;border:1.8px solid currentColor;border-bottom:0}.city-symbol.munich::after{right:3px;top:5px;width:7px;height:35px;border:1.8px solid currentColor;border-bottom:0}
.city-symbol.frankfurt::before{left:11px;top:0;width:8px;height:41px;border:1.8px solid currentColor}.city-symbol.frankfurt::after{left:2px;bottom:1px;width:25px;height:16px;border:1.8px solid currentColor;border-top:0}
.card-star{color:var(--tf-gold);font-size:24px;line-height:1}
.city-status-row{display:flex;align-items:center;gap:18px;padding:18px 24px;border-bottom:1px solid rgba(18,17,15,.08)}
.radar-dot{width:22px;height:22px;border-radius:50%;background:var(--tf-green);box-shadow:0 0 0 8px rgba(22,116,86,.1),0 0 0 17px rgba(22,116,86,.055);flex:0 0 auto}
.next-check{display:grid;gap:2px}.next-check small{display:block;color:#35312a;font-size:11px;font-weight:700}.next-check strong{display:block;color:var(--tf-green);font-size:23px;font-weight:900;line-height:1;font-variant-numeric:tabular-nums}
.slot-stamp{position:absolute;right:20px;top:142px;width:116px;height:116px;display:grid;place-items:center;border:4px double var(--tf-green);border-radius:50%;color:var(--tf-green);font-size:24px;font-weight:950;line-height:.92;text-align:center;text-transform:uppercase;letter-spacing:-.04em;transform:rotate(-12deg);opacity:.95;z-index:3}
.slot-stamp::before{content:"★ ★";position:absolute;top:12px;left:0;right:0;font-size:14px;letter-spacing:.45em}.slot-stamp::after{content:"★ ★";position:absolute;bottom:11px;left:0;right:0;font-size:14px;letter-spacing:.45em}
.availability-chart{position:relative;padding:8px 24px 16px}.chart-title{display:block;margin:0 0 8px;color:#191919;font-size:11px;font-weight:850;text-transform:uppercase;letter-spacing:.08em}.chart-grid{position:absolute;left:24px;right:24px;top:43px;bottom:45px;background-image:linear-gradient(rgba(18,17,15,.09) 1px,transparent 1px);background-size:100% 30px}.availability-chart svg{position:relative;z-index:1;display:block;width:100%;height:132px}.chart-days{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;color:#4c4942;font-size:12px;text-align:center}
.card-action{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 24px;border-top:1px solid rgba(18,17,15,.08);color:var(--tf-green)!important;text-decoration:none;font-size:14px;font-weight:800}.card-action b{color:#b98322;font-size:22px;font-weight:400}
.termin-city-card.roadmap{opacity:.92}.termin-city-card.roadmap .city-card-head{padding:28px 22px 18px}.termin-city-card.roadmap .city-card-head h2{font-size:34px}.termin-city-card.roadmap .city-status-row{padding:18px 22px}.termin-city-card.roadmap .next-check strong{font-size:21px}.city-status-row.compact{gap:14px}.mini-chart{height:118px;margin:12px 22px 18px;padding:0 6px;display:flex;align-items:flex-end;justify-content:space-between;border-bottom:1px solid rgba(18,17,15,.1);background-image:linear-gradient(rgba(18,17,15,.08) 1px,transparent 1px);background-size:100% 31px}.mini-chart i{width:9px;border-radius:999px 999px 0 0;background:var(--tf-green)}.roadmap-note{display:flex;margin:0 22px 20px;color:#5f5b52;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}

.bureau-doc-scene{position:relative;min-height:770px}.alert-ticket{position:absolute;left:-22px;top:46px;z-index:4;width:275px;display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;padding:15px 16px;border:1px solid rgba(247,239,224,.23);border-radius:10px;background:rgba(20,36,55,.86);box-shadow:0 18px 42px rgba(0,0,0,.28);transform:rotate(-3deg);backdrop-filter:blur(12px)}.alert-ticket strong{display:block;color:#fff;font-size:14px;line-height:1.1}.alert-ticket small{display:block;margin-top:4px;color:rgba(247,239,224,.75);font-size:12px}.alert-ticket b{display:grid;width:22px;height:22px;place-items:center;border-radius:50%;background:#278f60;color:#fff;font-size:12px}.mail-icon{width:38px;height:38px;border-radius:50%;background:#278f60;position:relative}.mail-icon::before{content:"";position:absolute;inset:10px 8px;border:2px solid #fff;border-radius:3px}.mail-icon::after{content:"";position:absolute;left:10px;right:10px;top:15px;height:12px;border-left:2px solid #fff;border-bottom:2px solid #fff;transform:rotate(-45deg)}
.anmeldung-paper{position:absolute;right:0;top:0;width:302px;min-height:745px;padding:62px 28px 32px;color:#16140f;background:linear-gradient(90deg,rgba(74,46,17,.1),transparent 8%),linear-gradient(180deg,#fbf3e5,#efe2cd);box-shadow:0 34px 70px rgba(0,0,0,.34);clip-path:polygon(4% 0,10% 1.4%,15% .4%,22% 1.8%,30% .8%,37% 2.3%,45% 1.1%,52% 2%,60% .7%,68% 1.8%,78% .8%,86% 2.2%,96% 1%,100% 5%,98% 16%,100% 27%,97% 39%,99% 51%,96% 63%,98% 74%,95% 85%,99% 96%,91% 100%,80% 97%,70% 99%,59% 96%,49% 99%,39% 96%,28% 98%,19% 95%,8% 98%,0 93%,2% 82%,0 70%,3% 59%,1% 47%,4% 36%,2% 23%,5% 12%);transform:rotate(4deg)}
.anmeldung-paper::before{content:"";position:absolute;inset:0;background-image:radial-gradient(rgba(60,42,22,.13) 1px,transparent 1px);background-size:7px 7px;opacity:.2;pointer-events:none}.anmeldung-paper h2{position:relative;margin:0;color:#15120d;font-family:Georgia,"Times New Roman",serif;font-size:21px;line-height:1.12}.anmeldung-paper .law{margin:4px 0 22px;color:#15120d;font-size:14px;font-weight:700}.anmeldung-paper hr{border:0;border-top:1px solid rgba(20,18,13,.45);margin:0 0 16px}.anmeldung-paper h3{margin:18px 0 9px;color:#15120d;font-size:12px;font-weight:850}.anmeldung-paper label{display:block;min-height:54px;padding:7px 8px 4px;border:1px solid rgba(20,18,13,.45);border-bottom:0;color:#15120d;font-size:10px;font-weight:700}.anmeldung-paper label:nth-of-type(4),.anmeldung-paper label:nth-of-type(6){border-bottom:1px solid rgba(20,18,13,.45)}.anmeldung-paper label span{display:block;margin-top:3px;color:#25325b;font-family:"Comic Sans MS","Bradley Hand",cursive;font-size:22px;font-weight:500;line-height:1.1;transform:rotate(-3deg)}.paper-confirm{margin:26px 0 6px;color:#16140f;font-size:10px;line-height:1.4}.signature{display:block;color:#25325b;font-family:"Comic Sans MS","Bradley Hand",cursive;font-size:31px;line-height:1;transform:rotate(-4deg)}.federal-seal{position:absolute;right:22px;bottom:105px;width:96px;height:96px;display:grid;place-items:center;border:3px double rgba(20,18,13,.62);border-radius:50%;color:rgba(20,18,13,.72);font-size:10px;font-weight:900;text-align:center;text-transform:uppercase;letter-spacing:.08em;transform:rotate(18deg)}.federal-seal::before{content:"★";display:block;font-size:26px;line-height:1}.date-stamp{position:absolute;left:64px;bottom:46px;padding:7px 14px;border:2px solid rgba(37,50,91,.62);color:rgba(37,50,91,.75);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:22px;font-weight:800;letter-spacing:.07em;transform:rotate(2deg)}

body:has(.termin-first-homepage) .termin-trust-strip{margin:0;padding:28px 28px 46px;background:#06182b}.termin-trust-strip .hero-trust-inner{max-width:1120px;background:transparent;border:0;box-shadow:none;padding:0;gap:0}.termin-trust-strip .hero-trust-inner span{min-height:auto;justify-content:flex-start;padding:0 28px;background:transparent;border:0;border-right:1px solid rgba(247,239,224,.12);box-shadow:none;color:rgba(247,239,224,.92);font-size:14px}.termin-trust-strip .hero-trust-inner span:last-child{border-right:0}.termin-trust-strip .hero-trust-inner span::before{content:"";width:34px;height:34px;border:1.5px solid var(--tf-gold);background:transparent;box-shadow:none}

body:has(.termin-first-homepage) section[style*="background:#fff"],
body:has(.termin-first-homepage) section.alt-bg{background:#fbf7ef!important}
body:has(.termin-first-homepage) .section-label{background:#efe3cf;border:1px solid rgba(75,63,45,.12);color:#7d5a19;box-shadow:none}
body:has(.termin-first-homepage) .section-title{font-family:Georgia,"Times New Roman",serif;color:#142336;font-weight:700}
body:has(.termin-first-homepage) .cta-banner{background:linear-gradient(145deg,#06182b 0%,#0a2037 100%)}

@media(max-width:1280px){.termin-hero-shell{grid-template-columns:1fr}.bureau-doc-scene{display:none}.termin-product-cards{grid-template-columns:minmax(320px,1.15fr) minmax(240px,.85fr)}.termin-product-cards .roadmap:nth-of-type(3){display:none}.termin-hero-title{max-width:960px}}
@media(max-width:900px){.termin-first-homepage{padding:46px 20px 34px}.termin-city-tabs{gap:10px}.termin-city-tab{min-width:0;min-height:48px;padding:0 16px;font-size:12px}.optional-city{display:none}.termin-product-cards{grid-template-columns:1fr;max-width:520px}.termin-city-card.roadmap{display:none}.slot-stamp{right:18px;top:136px;transform:rotate(-10deg) scale(.9)}.termin-trust-strip .hero-trust-inner{grid-template-columns:1fr 1fr}.termin-trust-strip .hero-trust-inner span{padding:12px 10px;border:0}}
@media(max-width:560px){.termin-hero-title{font-size:clamp(46px,15vw,72px);letter-spacing:-.04em}.termin-hero-sub{font-size:19px}.termin-hero-actions{align-items:stretch}.termin-primary-cta,.termin-secondary-cta{width:100%}.termin-city-tabs{display:grid;grid-template-columns:1fr 1fr}.termin-product-cards{max-width:100%}.city-card-head{padding:22px 18px 16px;gap:12px}.city-card-head h2{font-size:31px}.city-status-row{padding:16px 18px}.availability-chart{padding:8px 18px 14px}.slot-stamp{position:relative;right:auto;top:auto;width:96px;height:96px;margin-left:auto;font-size:19px;transform:rotate(-10deg)}.city-status-row{display:grid;grid-template-columns:auto 1fr auto}.card-action{padding:16px 18px}.termin-trust-strip .hero-trust-inner{grid-template-columns:1fr}.termin-trust-strip .hero-trust-inner span{font-size:13px}}


/* TERMIN-FIRST FINAL SPECIFICITY FIXES */
body:has(.termin-first-homepage):not(:has(.document-homepage)) .termin-first-homepage{
  padding:54px 28px 44px;
  background:
    radial-gradient(circle at 22% 4%,rgba(216,163,62,.1),transparent 26%),
    radial-gradient(circle at 66% 14%,rgba(22,116,86,.16),transparent 24%),
    linear-gradient(180deg,#06182b 0%,#071b30 58%,#06182b 100%)!important;
}
body:has(.termin-first-homepage) .termin-hero-main{min-width:0}
body:has(.termin-first-homepage) .termin-hero-title,
body:has(.termin-first-homepage) .termin-hero-title em{
  -webkit-text-fill-color:currentColor;
  background:none;
}
body:has(.termin-first-homepage) .termin-hero-title{color:#fbf4e8!important}
body:has(.termin-first-homepage) .termin-hero-title em{color:var(--tf-gold)!important}
body:has(.termin-first-homepage) .termin-kicker::before,
body:has(.termin-first-homepage) .termin-kicker::after{display:none!important}
@media(max-width:900px){body:has(.termin-first-homepage) .termin-first-homepage{padding:46px 20px 34px}}
@media(max-width:560px){body:has(.termin-first-homepage) .termin-first-homepage{padding:38px 16px 30px}}


/* TERMIN-FIRST MOBILE OVERFLOW GUARDS FOR EXISTING INLINE HOMEPAGE GRIDS */
@media(max-width:700px){
  body:has(.termin-first-homepage) [style*="grid-template-columns:repeat(4,1fr)"],
  body:has(.termin-first-homepage) .footer-nav-group[style]{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  body:has(.termin-first-homepage) [style*="max-width:960px"][style*="display:grid"]{
    max-width:100%!important;
  }
}
@media(max-width:480px){
  body:has(.termin-first-homepage) [style*="grid-template-columns:repeat(4,1fr)"],
  body:has(.termin-first-homepage) .footer-nav-group[style]{
    grid-template-columns:1fr!important;
  }
}

/* HOMEPAGE HUMAN-FIRST DOCUMENT REDESIGN */
body:has(.document-homepage){
  --tf-navy:#213244;
  --tf-navy-2:#31465b;
  --tf-cream:#fff8ed;
  --tf-cream-2:#efe1ca;
  --tf-paper:#fffaf1;
  --tf-gold:#a86f18;
  --tf-green:#2f6f55;
  --tf-ink:#17202a;
  background:#fbf7ef;
}
body:has(.document-homepage) .lang-bar,
body:has(.document-homepage) nav{background:#fffaf1;border-color:#e8dcc8;color:#17202a;box-shadow:0 1px 0 rgba(89,71,44,.08)}
body:has(.document-homepage) .nav-logo,
body:has(.document-homepage) .nav-links>li>a,
body:has(.document-homepage) .nav-links>li>a.active{color:#26384a}
body:has(.document-homepage) .nav-links>li>a:hover{color:#8a5b13}
body:has(.document-homepage) .lang-btn{color:#665846}
body:has(.document-homepage) .lang-btn:hover,
body:has(.document-homepage) .lang-btn.active{background:#2f6f55;border-color:#2f6f55;color:#fff}
body:has(.document-homepage) .nav-cta-btn{background:#2f6f55;color:#fff;box-shadow:none}
body:has(.document-homepage) .nav-mobile-btn{color:#26384a}
body:has(.document-homepage) section.hero.document-homepage.termin-first-homepage{
  position:relative;
  width:100%;
  min-height:clamp(520px,86vh,920px);
  padding:0!important;
  overflow:hidden;
  color:#17202a;
  background-color:transparent;
  background-image:url(/assets/redesign/germanyflow-hero-main.webp)!important;
  background-position:72% center!important;
  background-size:cover!important;
  background-repeat:no-repeat!important;
}
body:has(.document-homepage) .termin-first-homepage::before{display:none}
body:has(.document-homepage) .termin-hero-shell{grid-template-columns:1fr;gap:0;max-width:1180px;padding:80px 28px 72px;position:relative;z-index:1}
body:has(.document-homepage) .termin-hero-main{max-width:560px}
body:has(.document-homepage) .termin-kicker{color:#8a5b13;letter-spacing:.13em}
body:has(.document-homepage) .termin-hero-title{max-width:760px;color:#17202a!important;font-size:clamp(44px,6vw,82px);line-height:1.02;letter-spacing:-.035em}
body:has(.document-homepage) .termin-hero-sub{max-width:680px;color:#4e5b67;font-family:Inter,system-ui,sans-serif;font-size:clamp(18px,2vw,24px);line-height:1.55}
body:has(.document-homepage) .termin-primary-cta{background:#2f6f55;color:#fff!important;box-shadow:0 12px 26px rgba(47,111,85,.18);border-radius:10px}
body:has(.document-homepage) .termin-secondary-cta{border-color:#ccb99d;color:#26384a!important;border-radius:10px;background:rgba(255,250,241,.55)}
.hero-paper-points{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;max-width:840px;margin-top:30px;padding-top:22px;border-top:1px solid rgba(80,61,32,.16)}
.hero-paper-points span{position:relative;min-height:78px;padding:17px 16px 16px 42px;border:1px solid #e2d2b8;border-radius:8px;background:rgba(255,250,241,.78);color:#304154;font-size:14px;line-height:1.45;box-shadow:0 10px 24px rgba(82,62,33,.06)}
.hero-paper-points span::before{content:"";position:absolute;left:16px;top:20px;width:14px;height:14px;border-radius:50%;border:2px solid #2f6f55;background:#fffaf1}
/* HERO STAGE 1: founder line, price anchor, termin note */
body:has(.document-homepage) .hero-secondary-wrap{display:flex;flex-direction:column;gap:6px}
body:has(.document-homepage) .hero-termin-note{color:#786954;font-size:12.5px;padding-inline-start:4px}
body:has(.document-homepage) .hero-price-anchor{margin:18px 0 0;color:#8a5b13;font-family:Inter,system-ui,sans-serif;font-size:14px;font-weight:600;letter-spacing:.01em}
body:has(.document-homepage) .hero-founder-line{max-width:600px;margin:12px 0 0;color:#6b5b47;font-family:Georgia,"Times New Roman",serif;font-style:italic;font-size:16px;line-height:1.5}
@media(max-width:560px){
  body:has(.document-homepage) .hero-secondary-wrap{width:100%}
  body:has(.document-homepage) .hero-price-anchor{font-size:13px}
  body:has(.document-homepage) .hero-founder-line{font-size:15px}
}
body:has(.document-homepage) .bureau-doc-scene{min-height:620px}
body:has(.document-homepage) .alert-ticket{left:-18px;top:44px;width:300px;background:#fffaf1;border-color:#d8c5a8;color:#17202a;box-shadow:0 18px 44px rgba(91,70,37,.14)}
body:has(.document-homepage) .alert-ticket strong{color:#17202a}.document-homepage .alert-ticket small{color:#526170}.document-homepage .alert-ticket b{width:auto;height:auto;border-radius:999px;padding:7px 10px;background:#2f6f55;color:#fff;font-size:11px;text-transform:uppercase}.document-homepage .mail-icon{background:#a86f18}
body:has(.document-homepage) .bureau-doc-scene{display:none!important}
body:has(.document-homepage) .termin-trust-strip{background:#f8efdf;padding:0 28px 42px}.document-homepage + .termin-trust-strip .hero-trust-inner{background:#fffaf1;border:1px solid #e5d6bf;border-radius:8px;padding:12px;gap:12px;box-shadow:0 16px 34px rgba(83,63,33,.08)}.document-homepage + .termin-trust-strip .hero-trust-inner span{padding:16px 18px;border:0;border-radius:6px;background:#fbf4e7;color:#2d3b49}.document-homepage + .termin-trust-strip .hero-trust-inner span::before{border-color:#2f6f55;background:#fffaf1}
.document-explain-section{padding:74px 0}.document-explain-card{display:grid;grid-template-columns:minmax(0,1.04fr) minmax(320px,.76fr);gap:42px;align-items:center;padding:44px;border:1px solid #e4d2b8;border-radius:8px;background:#fffaf1;box-shadow:0 22px 54px rgba(83,63,33,.08)}.document-explain-copy h2,.library-teaser-inner h2{font-family:Georgia,"Times New Roman",serif;color:#17202a;font-size:clamp(28px,4vw,46px);line-height:1.12;margin:0 0 18px}.document-explain-lead{color:#4e5b67;font-size:18px;line-height:1.7;margin-bottom:24px}.document-explain-list{display:grid;gap:14px;list-style:none;padding:0;margin:0}.document-explain-list li{position:relative;padding-left:30px;color:#344252;line-height:1.62}.document-explain-list li::before{content:"";position:absolute;left:0;top:.55em;width:14px;height:14px;border:2px solid #2f6f55;border-radius:50%;background:#fffaf1}.document-explain-visual{position:relative;min-height:430px;border-radius:8px;background:linear-gradient(135deg,#efe1ca,#f8ecd8);overflow:hidden;border:1px solid #d8c5a8}.paper-folder{position:absolute;left:32px;right:42px;bottom:50px;height:230px;border-radius:8px;background:#c99b52;transform:rotate(-3deg);box-shadow:0 22px 36px rgba(82,62,33,.15)}.paper-folder::before{content:"";position:absolute;left:0;top:-28px;width:150px;height:52px;border-radius:8px 8px 0 0;background:#d8ad67}.preview-sheet{position:absolute;left:78px;right:54px;top:50px;min-height:270px;padding:28px 26px;background:#fffaf1;border:1px solid #d7c4a6;box-shadow:0 20px 36px rgba(82,62,33,.16);transform:rotate(2deg)}.preview-sheet span{display:block;font-weight:800;color:#17202a;margin-bottom:22px}.preview-sheet i{display:block;height:12px;margin:13px 0;border-radius:99px;background:#d8c5a8}.preview-sheet i:nth-of-type(2){width:72%}.preview-sheet i:nth-of-type(3){width:52%}.preview-sheet b{position:absolute;right:18px;bottom:18px;width:92px;height:92px;display:grid;place-items:center;border:3px double #2f6f55;border-radius:50%;color:#2f6f55;text-transform:uppercase;font-size:14px;transform:rotate(-14deg)}.hand-note{position:absolute;left:28px;bottom:28px;width:250px;padding:18px 20px;background:#fff8c9;border:1px solid #d5bd68;box-shadow:0 14px 28px rgba(82,62,33,.14);transform:rotate(-4deg)}.hand-note strong{display:block;color:#17202a;margin-bottom:7px}.hand-note small{color:#4e5b67;line-height:1.45}.document-explain-visual>p{position:absolute;right:24px;bottom:24px;margin:0;color:#6b5b47;font-size:13px;font-weight:700}
.document-library-teaser{padding:0 0 72px;background:#fbf7ef}.library-teaser-inner{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:28px;align-items:center;padding:34px;border:1px dashed #b8955f;border-radius:8px;background:#fffaf1}.library-teaser-inner p{max-width:700px;color:#4e5b67;line-height:1.7}.library-teaser-inner small{display:block;margin-top:12px;color:#786954}.library-teaser-actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:flex-end}.trust-problem-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;max-width:1040px;margin:0 auto}.trust-problem-card{position:relative;min-height:172px;padding:24px 22px;border:1px solid #e2d2b8;border-radius:8px;background:#fffaf1;box-shadow:0 12px 26px rgba(83,63,33,.06)}.trust-problem-card::before{content:"";display:block;width:34px;height:34px;margin-bottom:18px;border-radius:50%;border:2px solid #2f6f55;background:linear-gradient(135deg,#fffaf1 50%,#e8dcc8 50%)}.trust-problem-card strong{display:block;color:#17202a;font-size:16px;line-height:1.35;margin-bottom:10px}.trust-problem-card p{color:#526170;font-size:14px;line-height:1.55;margin:0}.trust-problem-card-wide{grid-column:span 2}.doc-card p{line-height:1.5}
body:has(.document-homepage) .cta-banner{background:linear-gradient(135deg,#26384a,#2f6f55)}
@media(max-width:1000px){body:has(.document-homepage) .termin-hero-shell,.document-explain-card,.library-teaser-inner{grid-template-columns:1fr}.hero-paper-points{grid-template-columns:1fr}.trust-problem-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.trust-problem-card-wide{grid-column:span 2}}
@media(max-width:700px){body:has(.document-homepage) section.hero.document-homepage.termin-first-homepage{padding:0!important}.document-explain-card{padding:28px 20px}.document-explain-visual{min-height:390px}.trust-problem-grid{grid-template-columns:1fr}.trust-problem-card-wide{grid-column:auto}.library-teaser-actions{justify-content:stretch}.library-teaser-actions .cta-btn{width:100%}}

/* HOMEPAGE UX POLISHING PHASE */
body:has(.document-homepage) .section-hdr{margin-bottom:28px}
body:has(.document-homepage) .document-homepage{padding:0}
body:has(.document-homepage) .termin-hero-shell{gap:0}
body:has(.document-homepage) .hero-paper-points{margin-top:22px;padding-top:16px}
body:has(.document-homepage) .termin-trust-strip{padding:0 28px 28px}
body:has(.document-homepage) section[style*="background:#fff"]{padding-top:52px!important;padding-bottom:52px!important}
body:has(.document-homepage) .alt-bg{padding-top:52px;padding-bottom:52px}
body:has(.document-homepage) .document-explain-section{padding:52px 0}
body:has(.document-homepage) .document-explain-card{gap:28px;padding:32px}
body:has(.document-homepage) .document-explain-lead{font-size:17px;line-height:1.62;margin-bottom:18px}
body:has(.document-homepage) .document-explain-list{gap:10px}
body:has(.document-homepage) .document-library-teaser{padding:0 0 46px}
body:has(.document-homepage) .faq-wrap{gap:14px}
body:has(.document-homepage) .faq-item{padding:2px 0}

body:has(.document-homepage) .nav-mobile-open .nav-links{background:#fffaf1!important;border:1px solid #e2d2b8;border-radius:0 0 12px 12px;box-shadow:0 18px 36px rgba(48,37,22,.14);padding:10px;gap:4px}
body:has(.document-homepage) .nav-mobile-open .nav-links>li>a{min-height:48px;display:flex;align-items:center;border-radius:8px;color:#17202a!important;font-weight:800}
body:has(.document-homepage) .nav-mobile-open .nav-links>li>a.active,
body:has(.document-homepage) .nav-mobile-open .nav-links>li>a:hover{background:#f3eadb;color:#2f6f55!important}
body:has(.document-homepage) .nav-mobile-open .nav-dropdown{background:#fbf4e7;border-left:3px solid #2f6f55;margin:2px 0 8px 12px;padding:6px 0 6px 10px}
body:has(.document-homepage) .nav-mobile-open .nav-dropdown a{min-height:42px;display:flex;align-items:center;color:#304154!important;font-weight:700}
body:has(.document-homepage) .nav-mobile-open .dropdown-divider{background:#e2d2b8}
body:has(.document-homepage) .nav-mobile-btn{min-width:44px;min-height:44px;border:1px solid #d8c5a8;border-radius:8px;background:#fffaf1}
body:has(.document-homepage) .lang-bar{gap:6px;padding:8px 14px;justify-content:center}
body:has(.document-homepage) .lang-btn{min-width:42px;min-height:34px;border-radius:999px;font-weight:800}
body:has(.document-homepage) .lang-btn.active{box-shadow:0 0 0 3px rgba(47,111,85,.18)}

.need-shortcuts{padding:22px 0 16px;background:#f8efdf}
.need-shortcuts h2{margin:0 0 12px;font-family:Inter,system-ui,sans-serif;font-size:clamp(20px,2.5vw,28px);line-height:1.2;color:#17202a;letter-spacing:0}
.need-shortcut-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.need-shortcut-card{display:flex;align-items:center;gap:11px;min-height:72px;padding:14px 16px;border:1px solid #e2d2b8;border-radius:8px;background:#fffaf1;color:#17202a;text-decoration:none;box-shadow:0 10px 22px rgba(83,63,33,.06);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.need-shortcut-card:hover{transform:translateY(-2px);border-color:#b8955f;box-shadow:0 16px 30px rgba(83,63,33,.10)}
.need-shortcut-card span{flex:0 0 34px;width:34px;height:34px;display:grid;place-items:center;border-radius:8px;background:#f3eadb;font-size:18px}
.need-shortcut-card strong{font-size:14px;line-height:1.25;color:#223242}

.human-fit-strip{padding:12px 0 24px;background:#f8efdf}
.human-fit-inner{display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1fr);gap:24px;align-items:center;padding:22px 24px;border:1px solid #e2d2b8;border-radius:8px;background:#fffaf1;box-shadow:0 14px 30px rgba(83,63,33,.07)}
.human-fit-inner h2{margin:0;font-family:Georgia,"Times New Roman",serif;font-size:clamp(24px,3vw,36px);line-height:1.12;color:#17202a;letter-spacing:0}
.human-fit-inner ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px;margin:0;padding:0;list-style:none}
.human-fit-inner li{position:relative;padding-left:22px;color:#344252;font-weight:750;line-height:1.42}
.human-fit-inner li::before{content:"";position:absolute;left:0;top:.43em;width:10px;height:10px;border-radius:50%;background:#2f6f55;box-shadow:0 0 0 4px rgba(47,111,85,.12)}

.termin-context-card{max-width:780px;margin:-10px auto 24px;padding:20px 22px;border:1px solid #d7c4a6;border-radius:8px;background:#fffaf1;box-shadow:0 12px 26px rgba(83,63,33,.06);text-align:left}
.termin-context-card h3{margin:0 0 8px;font-family:Georgia,"Times New Roman",serif;font-size:clamp(22px,3vw,32px);line-height:1.18;color:#17202a;letter-spacing:0}
.termin-context-card p{margin:0;color:#4e5b67;font-size:16px;line-height:1.58}

@media(max-width:1000px){
  .need-shortcut-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .need-shortcut-card:last-child{grid-column:span 2}
  .human-fit-inner{grid-template-columns:1fr}
  body:has(.document-homepage) .termin-hero-main::after{display:none}
}
@media(max-width:700px){
  body:has(.document-homepage) section.hero.document-homepage.termin-first-homepage{padding:0!important}
  body:has(.document-homepage) .termin-hero-title{font-size:clamp(36px,12vw,48px);line-height:1.06}
  body:has(.document-homepage) .termin-hero-sub{font-size:17px;line-height:1.5}
  body:has(.document-homepage) .hero-paper-points span{min-height:auto;padding:14px 14px 14px 38px}
  body:has(.document-homepage) .termin-trust-strip{padding:0 18px 20px}
  body:has(.document-homepage) .document-explain-section{padding:38px 0}
  body:has(.document-homepage) .document-explain-card{padding:22px 18px;gap:22px}
  body:has(.document-homepage) .document-explain-visual{display:grid;gap:12px;min-height:0;overflow:visible;padding:14px;background:#efe1ca}
  body:has(.document-homepage) .paper-folder,
  body:has(.document-homepage) .preview-sheet,
  body:has(.document-homepage) .hand-note,
  body:has(.document-homepage) .document-explain-visual>p{position:relative;inset:auto;left:auto;right:auto;top:auto;bottom:auto;width:auto;transform:none}
  body:has(.document-homepage) .paper-folder{order:1;height:76px;margin-top:10px}
  body:has(.document-homepage) .paper-folder::before{top:-16px;width:116px;height:30px}
  body:has(.document-homepage) .preview-sheet{order:2;min-height:150px;padding:18px 16px;box-shadow:0 12px 22px rgba(82,62,33,.12)}
  body:has(.document-homepage) .preview-sheet span{margin-bottom:14px}
  body:has(.document-homepage) .preview-sheet i{height:10px;margin:10px 0}
  body:has(.document-homepage) .preview-sheet b{position:relative;right:auto;bottom:auto;width:74px;height:74px;margin:14px 0 0 auto;font-size:12px;transform:rotate(-8deg)}
  body:has(.document-homepage) .hand-note{order:3;padding:14px 16px;box-shadow:0 10px 18px rgba(82,62,33,.10)}
  body:has(.document-homepage) .document-explain-visual>p{order:4;padding:0 2px;color:#6b5b47}
  body:has(.document-homepage) .library-teaser-inner{padding:24px 20px}
  .need-shortcuts{padding:18px 0 12px}
  .need-shortcut-grid{grid-template-columns:1fr;gap:8px}
  .need-shortcut-card,
  .need-shortcut-card:last-child{grid-column:auto;min-height:58px;padding:11px 12px}
  .human-fit-strip{padding:10px 0 18px}
  .human-fit-inner{padding:20px 18px}
  .human-fit-inner ul{grid-template-columns:1fr;gap:9px}
  .termin-context-card{margin:-6px auto 18px;padding:18px 16px}
}

/* HOMEPAGE FINAL UX POLISH */
body:has(.document-homepage) section.hero.document-homepage.termin-first-homepage{padding:0!important}
body:has(.document-homepage) .termin-hero-sub{max-width:720px;font-size:clamp(17px,1.8vw,22px);line-height:1.48}
body:has(.document-homepage) .hero-paper-points{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:18px;padding-top:14px}
body:has(.document-homepage) .hero-paper-points span{min-height:64px;padding:14px 14px 14px 38px}
body:has(.document-homepage) .hero-paper-points span::before{left:14px;top:18px}
body:has(.document-homepage) .termin-trust-strip{padding-bottom:20px}
body:has(.document-homepage) section[style*="background:#fff"]{padding-top:44px!important;padding-bottom:44px!important}
body:has(.document-homepage) .alt-bg{padding-top:44px;padding-bottom:44px}
body:has(.document-homepage) .document-explain-section{padding:42px 0}
body:has(.document-homepage) .document-explain-card{padding:28px;gap:24px}
body:has(.document-homepage) .document-library-teaser{padding-bottom:36px}
body:has(.document-homepage) .trust-problem-card{min-height:148px;padding:20px 18px}
body:has(.document-homepage) .pricing-grid{gap:16px}
body:has(.document-homepage) .pricing-card{padding:22px 20px}
body:has(.document-homepage) .pricing-features{gap:7px;margin-top:14px}
body:has(.document-homepage) .pricing-disclaimer{max-width:760px;margin-top:18px}

body:has(.document-homepage) nav.nav-mobile-open .nav-mobile-btn{background:#2f6f55;color:#fff;border-color:#2f6f55;box-shadow:0 0 0 3px rgba(47,111,85,.16)}
body:has(.document-homepage) .nav-mobile-open .nav-links{top:64px;background:#fffaf1!important;border-top:1px solid #e8dcc8;border-bottom:1px solid #d8c5a8;padding:12px 14px 16px;max-height:calc(100vh - 64px);overflow:auto}
body:has(.document-homepage) .nav-mobile-open .nav-links>li{border-bottom:1px solid #efe3d1}
body:has(.document-homepage) .nav-mobile-open .nav-links>li:last-child{border-bottom:0}
body:has(.document-homepage) .nav-mobile-open .nav-links>li>a{min-height:50px;padding:0 12px;color:#17202a!important}
body:has(.document-homepage) .nav-mobile-open .nav-links>li>a.has-dropdown::after{margin-left:auto;opacity:1;border-top-color:#2f6f55;transform:none}
body:has(.document-homepage) .nav-mobile-open .nav-links>li .nav-dropdown{display:block;min-width:0;width:100%;background:#fbf4e7;border:1px solid #ead9bd;border-left:4px solid #2f6f55;border-radius:8px;margin:0 0 10px;padding:6px}
body:has(.document-homepage) .nav-mobile-open .nav-dropdown a{min-height:40px;padding:8px 10px;border-radius:7px;color:#2b3d4f!important}
body:has(.document-homepage) .lang-btn.active{background:#2f6f55;color:#fff;border-color:#2f6f55;box-shadow:0 0 0 3px rgba(47,111,85,.22)}

.need-shortcuts{padding:18px 0 12px}
.need-shortcuts-sub{margin:-4px 0 12px;max-width:620px;color:#526170;font-size:14px;line-height:1.45}
.need-shortcut-grid{gap:8px}
.need-shortcut-card{min-height:66px;padding:12px 13px;align-items:flex-start}
.need-shortcut-card strong{display:block;font-size:13px;line-height:1.22}
.need-shortcut-card small{display:block;margin-top:4px;color:#2f6f55;font-size:12px;font-weight:850;line-height:1.1}
.human-fit-strip{padding:8px 0 18px}
.human-fit-inner{padding:18px 20px;gap:18px}
.human-fit-inner h2{font-size:clamp(22px,2.7vw,32px)}
.human-fit-inner li{font-size:14px}
.termin-context-card{margin:-6px auto 20px;padding:17px 20px}
.termin-context-card h3{font-size:clamp(20px,2.6vw,28px)}
.termin-context-card p{font-size:15px;line-height:1.5}

@media(max-width:700px){
  body:has(.document-homepage) .lang-bar{padding:7px 8px;gap:5px}
  body:has(.document-homepage) .lang-btn{min-width:38px;min-height:32px;font-size:11px}
  body:has(.document-homepage) section.hero.document-homepage.termin-first-homepage{padding:0!important}
  body:has(.document-homepage) .termin-hero-actions{gap:9px;margin-top:20px}
  body:has(.document-homepage) .termin-primary-cta,
  body:has(.document-homepage) .termin-secondary-cta{min-height:48px;padding:13px 16px}
  body:has(.document-homepage) .hero-paper-points{gap:8px;margin-top:14px;padding-top:12px}
  body:has(.document-homepage) .hero-paper-points span{font-size:13px;padding:12px 12px 12px 36px}
  body:has(.document-homepage) .termin-trust-strip{padding:0 16px 14px}
  body:has(.document-homepage) .document-homepage + .termin-trust-strip .hero-trust-inner{grid-template-columns:1fr;gap:6px;padding:8px}
  body:has(.document-homepage) .document-homepage + .termin-trust-strip .hero-trust-inner span{padding:10px 12px;font-size:12px}
  body:has(.document-homepage) section[style*="background:#fff"]{padding-top:34px!important;padding-bottom:34px!important}
  body:has(.document-homepage) .alt-bg{padding-top:34px;padding-bottom:34px}
  body:has(.document-homepage) .document-explain-section{padding:28px 0}
  body:has(.document-homepage) .document-explain-card{padding:18px 16px;gap:16px}
  body:has(.document-homepage) .document-explain-copy h2,
  body:has(.document-homepage) .library-teaser-inner h2{font-size:clamp(24px,8vw,32px);margin-bottom:12px}
  body:has(.document-homepage) .document-explain-lead{font-size:15px;line-height:1.52;margin-bottom:12px}
  body:has(.document-homepage) .document-explain-list{gap:8px}
  body:has(.document-homepage) .document-explain-list li{font-size:14px;line-height:1.48;padding-left:24px}
  body:has(.document-homepage) .document-explain-visual{gap:9px;padding:12px;overflow:hidden}
  body:has(.document-homepage) .document-explain-visual *{max-width:100%;box-sizing:border-box;overflow-wrap:anywhere}
  body:has(.document-homepage) .preview-sheet{min-height:132px;padding:15px 14px}
  body:has(.document-homepage) .preview-sheet b{width:64px;height:64px;font-size:11px;margin-top:10px}
  body:has(.document-homepage) .paper-folder{height:62px}
  body:has(.document-homepage) .hand-note{padding:12px 14px}
  body:has(.document-homepage) .hand-note small{display:block;font-size:12px;line-height:1.38}
  body:has(.document-homepage) .document-library-teaser{padding-bottom:28px}
  body:has(.document-homepage) .library-teaser-inner{padding:18px 16px;gap:16px}
  body:has(.document-homepage) .trust-problem-card{min-height:0;padding:16px 15px}
  body:has(.document-homepage) .pricing-card{padding:18px 16px}
  .need-shortcuts{padding:14px 0 8px}
  .need-shortcuts h2{font-size:22px;margin-bottom:8px}
  .need-shortcuts-sub{font-size:13px;margin-bottom:9px}
  .need-shortcut-card{min-height:54px;padding:10px 11px;gap:9px}
  .need-shortcut-card span{width:30px;height:30px;flex-basis:30px;font-size:16px}
  .human-fit-strip{padding:6px 0 14px}
  .human-fit-inner{padding:16px 15px;gap:12px}
  .termin-context-card{margin:-4px auto 14px;padding:15px 14px}
}


/* HOMEPAGE UX ITERATION 2 */
body:has(.document-homepage) .document-homepage{padding:0}
body:has(.document-homepage) .termin-hero-title{max-width:780px;font-size:clamp(38px,5.2vw,72px)}
body:has(.document-homepage) .termin-hero-sub{max-width:700px;font-size:clamp(16px,1.6vw,20px);line-height:1.42;margin-bottom:0}
body:has(.document-homepage) .hero-paper-points{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:16px;padding-top:12px}
body:has(.document-homepage) .hero-paper-points span{min-height:58px;font-size:13px;line-height:1.35}
body:has(.document-homepage) .need-shortcuts{padding:14px 0 10px}
body:has(.document-homepage) .need-shortcuts h2{font-size:clamp(20px,2.2vw,26px);margin-bottom:7px}
body:has(.document-homepage) .need-shortcuts-sub{margin-bottom:10px}
body:has(.document-homepage) .need-shortcut-card{min-height:58px}
body:has(.document-homepage) section[style*="background:#fff"]{padding-top:38px!important;padding-bottom:38px!important}
body:has(.document-homepage) .alt-bg{padding-top:38px;padding-bottom:38px}
body:has(.document-homepage) .section-hdr{margin-bottom:22px}
body:has(.document-homepage) .document-explain-section{padding:36px 0}
body:has(.document-homepage) .document-explain-card{padding:24px;grid-template-columns:minmax(0,1.12fr) minmax(300px,.7fr)}
body:has(.document-homepage) .document-explain-visual{min-height:360px}
body:has(.document-homepage) .document-library-teaser{padding-top:0;padding-bottom:30px}

.value-strip{padding:0 28px 20px;background:#fff}
.value-strip-inner{display:grid;grid-template-columns:auto 1fr;gap:22px;align-items:center;padding:18px 20px;border:1px solid #e2d2b8;border-radius:8px;background:#fffaf1;box-shadow:0 12px 24px rgba(83,63,33,.06)}
.value-strip-inner h2{margin:0;font-family:Georgia,"Times New Roman",serif;font-size:clamp(22px,2.8vw,34px);line-height:1.1;color:#17202a}
.value-strip-inner ul{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:0;padding:0;list-style:none}
.value-strip-inner li{position:relative;padding:10px 10px 10px 27px;border-radius:7px;background:#fbf4e7;color:#2d3b49;font-size:13px;font-weight:750;line-height:1.25}
.value-strip-inner li::before{content:"";position:absolute;left:10px;top:14px;width:8px;height:8px;border-radius:50%;background:#2f6f55;box-shadow:0 0 0 4px rgba(47,111,85,.12)}

@media(max-width:1000px){
  body:has(.document-homepage) .hero-paper-points{grid-template-columns:repeat(2,minmax(0,1fr))}
  .value-strip-inner{grid-template-columns:1fr}
  .value-strip-inner ul{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
  body:has(.document-homepage) section.hero.document-homepage.termin-first-homepage{padding:0!important}
  body:has(.document-homepage) .termin-hero-title{font-size:clamp(32px,10.5vw,42px);line-height:1.05}
  body:has(.document-homepage) .termin-hero-sub{font-size:15px;line-height:1.42}
  body:has(.document-homepage) .termin-hero-actions{margin-top:16px}
  body:has(.document-homepage) .hero-paper-points{display:grid;grid-template-columns:1fr!important;gap:0;margin-top:12px;padding:10px 12px;border:1px solid #e2d2b8;border-radius:8px;background:#fffaf1;box-shadow:0 10px 22px rgba(83,63,33,.06)}
  body:has(.document-homepage) .hero-paper-points span{min-height:0;padding:10px 8px 10px 34px;border:0;border-bottom:1px solid #efe3d1;border-radius:0;background:transparent;box-shadow:none;font-size:14px;line-height:1.35}
  body:has(.document-homepage) .hero-paper-points span:last-child{border-bottom:0}
  body:has(.document-homepage) .hero-paper-points span::before{left:8px;top:11px;width:18px;height:18px;display:grid;place-items:center;border:0;background:#2f6f55;color:#fff;font-size:11px;font-weight:850}
  body:has(.document-homepage) .hero-paper-points span:nth-child(1)::before{content:"1"}
  body:has(.document-homepage) .hero-paper-points span:nth-child(2)::before{content:"2"}
  body:has(.document-homepage) .hero-paper-points span:nth-child(3)::before{content:"3"}
  body:has(.document-homepage) .hero-paper-points span:nth-child(4)::before{content:"4"}
  body:has(.document-homepage) .need-shortcuts{padding:12px 0 6px}
  body:has(.document-homepage) section[style*="background:#fff"]{padding-top:28px!important;padding-bottom:28px!important}
  body:has(.document-homepage) .alt-bg{padding-top:28px;padding-bottom:28px}
  body:has(.document-homepage) #docs .section-hdr{margin-bottom:16px}
  body:has(.document-homepage) #docs .docs-grid{grid-template-columns:1fr!important;gap:8px}
  body:has(.document-homepage) #docs .doc-card:nth-of-type(3),
  body:has(.document-homepage) #docs .doc-card:nth-of-type(5),
  body:has(.document-homepage) #docs .doc-card:nth-of-type(7),
  body:has(.document-homepage) #docs .doc-card:nth-of-type(8){display:none}
  body:has(.document-homepage) #docs .doc-card{min-height:0;padding:14px 15px;display:grid;grid-template-columns:auto 1fr auto;gap:6px 12px;align-items:center}
  body:has(.document-homepage) #docs .doc-card .doc-icon{grid-row:span 2;margin:0;width:38px;height:38px;font-size:20px}
  body:has(.document-homepage) #docs .doc-card h3{margin:0;font-size:16px}
  body:has(.document-homepage) #docs .doc-card p{margin:0;font-size:13px;line-height:1.32}
  body:has(.document-homepage) #docs .doc-card .doc-cta{grid-row:span 2;align-self:center;font-size:12px}
  .value-strip{padding:0 16px 14px}
  .value-strip-inner{padding:16px 14px;gap:12px}
  .value-strip-inner h2{font-size:24px}
  .value-strip-inner ul{grid-template-columns:1fr;gap:6px}
  .value-strip-inner li{padding:9px 10px 9px 26px;font-size:13px}
  body:has(.document-homepage) #pricing{padding-top:28px;padding-bottom:28px}
  body:has(.document-homepage) .pricing-grid{gap:10px}
  body:has(.document-homepage) .document-explain-section{padding:24px 0}
  body:has(.document-homepage) .document-explain-card{padding:16px 14px;gap:14px}
  body:has(.document-homepage) .document-explain-list li:nth-child(n+4){display:none}
  body:has(.document-homepage) .trust-problem-grid{gap:8px}
  body:has(.document-homepage) .faq-list .faq-item:nth-child(n+4){display:none}
  body:has(.document-homepage) .document-library-teaser{padding-bottom:22px}
}


/* PREMIUM HOMEPAGE POLISH FINAL PASS */
body:has(.document-homepage) #pricing{padding-top:34px;padding-bottom:36px}
body:has(.document-homepage) .value-strip{padding:0 28px 18px;background:#fbf7ef}
body:has(.document-homepage) .document-explain-card--guide{grid-template-columns:minmax(0,1fr) minmax(280px,.72fr);align-items:start;gap:26px}
body:has(.document-homepage) .document-explain-steps{display:grid;gap:10px;margin:18px 0 0;padding:0;list-style:none;counter-reset:none}
body:has(.document-homepage) .document-explain-steps li{display:grid;grid-template-columns:34px 1fr;align-items:center;gap:12px;min-height:52px;padding:12px 14px;border:1px solid #e2d2b8;border-radius:8px;background:#fbf4e7;color:#17202a}
body:has(.document-homepage) .document-explain-steps li::before{display:none}
body:has(.document-homepage) .document-explain-steps span{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:#2f6f55;color:#fff;font-weight:850;font-size:14px}
body:has(.document-homepage) .document-explain-steps strong{font-size:15px;line-height:1.35;color:#223242}
body:has(.document-homepage) .document-explain-notes{display:grid;gap:12px}
body:has(.document-homepage) .explain-note-card{position:relative;padding:18px;border:1px solid #d8c5a8;border-radius:8px;background:#fffaf1;box-shadow:0 12px 26px rgba(83,63,33,.06);overflow:hidden}
body:has(.document-homepage) .explain-note-card strong{display:block;color:#17202a;font-size:17px;line-height:1.35;margin-top:8px}
body:has(.document-homepage) .explain-note-card p{margin:8px 0 0;color:#526170;font-size:14px;line-height:1.48}
body:has(.document-homepage) .explain-note-label{display:inline-flex;align-items:center;min-height:26px;padding:4px 10px;border-radius:999px;background:#edf6f1;color:#2f6f55;font-size:11px;font-weight:850;text-transform:uppercase;letter-spacing:.06em}
body:has(.document-homepage) .explain-mini-preview{margin-top:14px;padding:13px;border:1px solid #e2d2b8;border-radius:7px;background:#fff;max-width:210px}
body:has(.document-homepage) .explain-mini-preview i{display:block;height:8px;margin:8px 0;border-radius:99px;background:#d8c5a8}
body:has(.document-homepage) .explain-mini-preview i:nth-child(2){width:72%}
body:has(.document-homepage) .explain-mini-preview i:nth-child(3){width:48%}
body:has(.document-homepage) .explain-note-card--official{background:#fbf4e7}
body:has(.document-homepage) .trust-problem-grid{grid-template-columns:repeat(3,minmax(0,1fr));max-width:880px}
body:has(.document-homepage) .trust-problem-card{min-height:136px}
body:has(.document-homepage) .cta-banner{background:#fbf7ef;color:#17202a;padding:34px 28px 48px;border-top:1px solid #e8dcc8}
body:has(.document-homepage) .cta-banner::before,body:has(.document-homepage) .cta-banner::after{display:none}
body:has(.document-homepage) .cta-banner h2{color:#17202a;font-family:Georgia,"Times New Roman",serif;letter-spacing:0}
body:has(.document-homepage) .cta-banner p{color:#526170;opacity:1;margin-bottom:18px}
body:has(.document-homepage) .cta-banner .cta-btn{background:#2f6f55;color:#fff!important;box-shadow:0 10px 22px rgba(47,111,85,.16);border-color:#2f6f55}
body:has(.document-homepage) .cta-banner .cta-btn:hover{background:#285f49;box-shadow:0 12px 24px rgba(47,111,85,.2)}
body:has(.document-homepage) .cta-banner .cta-btn.outline{background:#fffaf1;color:#26384a!important;border-color:#ccb99d;box-shadow:none}
body:has(.document-homepage) .cta-banner .cta-btn.outline:hover{background:#f3eadb;border-color:#b8955f}
body:has(.document-homepage) .cta-banner-disclaimer{color:#786954;opacity:1;margin-top:14px}
@media(max-width:1000px){body:has(.document-homepage) .document-explain-card--guide{grid-template-columns:1fr}body:has(.document-homepage) .trust-problem-grid{grid-template-columns:1fr}}
@media(max-width:700px){body:has(.document-homepage) #pricing{padding-top:24px;padding-bottom:26px}body:has(.document-homepage) .value-strip{padding:0 16px 12px}body:has(.document-homepage) .document-explain-card--guide{padding:16px 14px;gap:14px}body:has(.document-homepage) .document-explain-steps{gap:8px;margin-top:12px}body:has(.document-homepage) .document-explain-steps li{grid-template-columns:30px 1fr;min-height:48px;padding:10px 11px}body:has(.document-homepage) .document-explain-steps span{width:30px;height:30px;font-size:13px}body:has(.document-homepage) .document-explain-steps strong{font-size:14px}body:has(.document-homepage) .document-explain-notes{gap:9px}body:has(.document-homepage) .explain-note-card{padding:14px}body:has(.document-homepage) .explain-note-card strong{font-size:15px}body:has(.document-homepage) .cta-banner{padding:28px 18px 34px}body:has(.document-homepage) .cta-banner .btn-group{gap:8px}body:has(.document-homepage) .cta-banner .cta-btn{width:100%}}


/* HUMAN TRUST HOMEPAGE TRANSFORMATION */
body:has(.document-homepage) .termin-hero-title{max-width:820px}
body:has(.document-homepage) .termin-hero-sub{max-width:760px}
body:has(.document-homepage) .hero-reassurance{max-width:720px;margin:14px 0 0;color:#6b5b47;font-size:13px;line-height:1.5;background:rgba(255,250,241,.76);border:1px solid #e2d2b8;border-radius:8px;padding:10px 12px}
.human-intro-section{padding:18px 28px 12px;background:#f8efdf}
.human-intro-card{max-width:1080px;margin:0 auto;padding:24px 28px;border:1px solid #e2d2b8;border-radius:8px;background:#fffaf1;box-shadow:0 14px 30px rgba(83,63,33,.07)}
.human-intro-card h2{margin:0 0 12px;font-family:Georgia,"Times New Roman",serif;font-size:clamp(26px,3.6vw,42px);line-height:1.13;color:#17202a;letter-spacing:0}
.human-intro-card p:not(.section-label){max-width:900px;margin:0;color:#3e4b57;font-size:16px;line-height:1.72}
.preview-trust-section{padding:24px 28px 30px;background:#fbf7ef}
.preview-trust-inner{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.52fr);gap:26px;align-items:center;max-width:1080px;margin:0 auto;padding:28px;border:1px solid #e2d2b8;border-radius:8px;background:#fffaf1;box-shadow:0 16px 34px rgba(83,63,33,.07)}
.preview-trust-copy h2{margin:0 0 12px;font-family:Georgia,"Times New Roman",serif;font-size:clamp(26px,3.4vw,42px);line-height:1.12;color:#17202a;letter-spacing:0}
.preview-trust-copy p{margin:0;color:#3e4b57;font-size:16px;line-height:1.7}
.preview-trust-list{display:grid;gap:8px;margin:16px 0 0;padding:0;list-style:none}
.preview-trust-list li{position:relative;padding-left:24px;color:#304154;font-weight:750;line-height:1.4}
.preview-trust-list li::before{content:"";position:absolute;left:0;top:.48em;width:10px;height:10px;border-radius:50%;background:#2f6f55;box-shadow:0 0 0 4px rgba(47,111,85,.12)}
.preview-form-card{position:relative;border:1px solid #d8c5a8;border-radius:8px;background:#fffdf8;padding:22px 20px;box-shadow:0 18px 34px rgba(83,63,33,.11);overflow:hidden}
.preview-form-card::before{content:"";position:absolute;inset:0 0 auto;height:10px;background:#2f6f55}
.preview-form-badge{position:absolute;right:16px;top:18px;padding:5px 9px;border-radius:999px;background:#edf6f1;color:#2f6f55;font-size:11px;font-weight:850;text-transform:uppercase;letter-spacing:.06em}
.preview-form-card h3{margin:14px 92px 4px 0;color:#17202a;font-size:18px;line-height:1.2}
.preview-form-note{margin:0 0 16px;color:#786954;font-size:12px;font-weight:750}
.preview-form-card dl{display:grid;gap:8px;margin:0;padding:0}
.preview-form-card dl div{display:grid;grid-template-columns:1fr 1.1fr;gap:10px;padding:8px 0;border-bottom:1px solid #efe3d1}
.preview-form-card dt{color:#786954;font-size:12px;font-weight:800}
.preview-form-card dd{margin:0;color:#17202a;font-size:13px;font-weight:800;text-align:right}
.preview-form-card>span{display:block;margin-top:14px;color:#6b5b47;font-size:11px;font-weight:850;text-transform:uppercase;letter-spacing:.06em}
body:has(.document-homepage) .value-strip-inner li{font-weight:800}
body:has(.document-homepage) .document-explain-card--narrative{grid-template-columns:minmax(0,1fr) minmax(280px,.58fr);align-items:start;gap:26px}
.human-help-flow{display:grid;gap:12px;margin-top:18px}
.human-help-flow p{position:relative;margin:0;padding:14px 16px 14px 42px;border:1px solid #e2d2b8;border-radius:8px;background:#fbf4e7;color:#344252;font-size:15px;line-height:1.62}
.human-help-flow p::before{content:"";position:absolute;left:17px;top:22px;width:10px;height:10px;border-radius:50%;background:#2f6f55;box-shadow:0 0 0 5px rgba(47,111,85,.12)}
body:has(.document-homepage) .document-explain-card--narrative .explain-note-card{min-height:0}
body:has(.document-homepage) .document-explain-card--narrative .explain-note-label{text-transform:none;letter-spacing:0;font-size:12px}
body:has(.document-homepage) .document-explain-card--narrative .explain-note-card p{margin:10px 0 0;color:#526170;font-size:14px;line-height:1.55}
@media(max-width:1000px){.preview-trust-inner,body:has(.document-homepage) .document-explain-card--narrative{grid-template-columns:1fr}.preview-form-card{max-width:520px}}
@media(max-width:700px){body:has(.document-homepage) .hero-reassurance{font-size:12px;margin-top:12px}.human-intro-section{padding:12px 16px 8px}.human-intro-card{padding:18px 16px}.human-intro-card h2{font-size:clamp(24px,7.6vw,32px)}.human-intro-card p:not(.section-label){font-size:14px;line-height:1.6}.preview-trust-section{padding:18px 16px 22px}.preview-trust-inner{padding:18px 16px;gap:18px}.preview-trust-copy h2{font-size:clamp(24px,7.5vw,32px)}.preview-trust-copy p{font-size:14px;line-height:1.58}.preview-trust-list li{font-size:13px}.preview-form-card{padding:18px 15px}.preview-form-card h3{font-size:16px;margin-right:80px}.preview-form-card dl div{grid-template-columns:1fr;gap:2px}.preview-form-card dd{text-align:left}.human-help-flow{gap:9px;margin-top:12px}.human-help-flow p{font-size:14px;line-height:1.5;padding:12px 12px 12px 34px}.human-help-flow p::before{left:13px;top:18px}}


/* PDF-first homepage refinement */
body:has(.document-homepage){background:#fbf7ef}
body:has(.document-homepage) .termin-secondary-cta{background:#fffaf1;border-color:#ccb99d;color:#26384a!important}
body:has(.document-homepage) .termin-secondary-cta:hover{background:#f3eadb;border-color:#b8955f}
.receive-section,.documents-compact-section{background:#fbf7ef;padding:42px 28px}
.receive-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;max-width:1080px;margin:0 auto}
.receive-card{min-height:210px;padding:22px 20px;border:1px solid #e2d2b8;border-radius:8px;background:#fffaf1;box-shadow:0 14px 30px rgba(83,63,33,.07)}
.receive-icon{display:inline-grid;place-items:center;min-width:44px;height:34px;margin-bottom:16px;border:1px solid #d8c5a8;border-radius:7px;background:#fbf4e7;color:#2f6f55;font-size:12px;font-weight:850;letter-spacing:.04em}
.receive-card h3{margin:0 0 9px;color:#17202a;font-size:16px;line-height:1.3}
.receive-card p{margin:0;color:#526170;font-size:14px;line-height:1.55}
.mistake-section{padding-top:42px;padding-bottom:42px}
.mistake-list{display:grid;gap:10px}
.mistake-list p{position:relative;margin:0;padding:14px 15px 14px 38px;border:1px solid #e2d2b8;border-radius:8px;background:#fbf4e7;color:#344252;font-size:14px;line-height:1.48}
.mistake-list p::before{content:"";position:absolute;left:15px;top:20px;width:10px;height:10px;border-radius:50%;background:#2f6f55;box-shadow:0 0 0 5px rgba(47,111,85,.12)}
.docs-grid-compact{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px}
.docs-grid-compact .doc-card{min-height:176px;padding:18px 14px;border-radius:8px;background:#fffaf1;border-color:#e2d2b8;box-shadow:0 10px 24px rgba(83,63,33,.06)}
.docs-grid-compact .doc-card:hover{background:#f7efe1;border-color:#c8ae82;transform:translateY(-2px)}
.docs-grid-compact .doc-icon{display:grid;place-items:center;width:38px;height:38px;border:1px solid #d8c5a8;border-radius:8px;background:#fbf4e7;color:#2f6f55;font-size:16px;font-weight:850}
.docs-grid-compact .doc-card h3{font-size:15px;margin:2px 0 0}
.docs-grid-compact .doc-card p{font-size:12px;line-height:1.42}
.docs-grid-compact .doc-cta{opacity:1;color:#2f6f55;font-size:12px}
.documents-compact-actions{text-align:center;margin-top:8px}
.termin-compact-section{padding:38px 28px;background:#fbf7ef}
.termin-light-cta{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.46fr);gap:22px;align-items:center;max-width:980px;margin:0 auto;padding:26px;border:1px solid #d7c4a6;border-radius:8px;background:#fffaf1;box-shadow:0 16px 34px rgba(83,63,33,.07)}
.termin-light-copy h2{margin:0 0 10px;font-family:Georgia,"Times New Roman",serif;font-size:clamp(25px,3.4vw,40px);line-height:1.14;color:#17202a;letter-spacing:0}
.termin-light-copy p:not(.section-label){margin:0;color:#3e4b57;font-size:16px;line-height:1.65}
.termin-light-side{display:grid;gap:14px;justify-items:start}
.termin-status-list{display:grid;gap:8px;width:100%;margin:0;padding:0;list-style:none}
.termin-status-list li{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:11px 12px;border:1px solid #e2d2b8;border-radius:8px;background:#fbf4e7;color:#17202a;font-size:14px}
.termin-status-list strong{font-weight:850}
.termin-status-list span{white-space:nowrap;padding:4px 9px;border-radius:999px;background:#edf6f1;color:#2f6f55;font-size:11px;font-weight:850;text-transform:uppercase;letter-spacing:.04em}
.faq-compact-section{padding-top:40px;padding-bottom:44px}
body:has(.document-homepage) .faq-list{max-width:760px}
[dir="rtl"] .receive-card,[dir="rtl"] .mistake-list p,[dir="rtl"] .termin-light-copy{text-align:right}
[dir="rtl"] .mistake-list p{padding-left:15px;padding-right:38px}
[dir="rtl"] .mistake-list p::before{left:auto;right:15px}
@media(max-width:1000px){.receive-grid,.docs-grid-compact{grid-template-columns:repeat(2,minmax(0,1fr))}.termin-light-cta{grid-template-columns:1fr}}
@media(max-width:700px){.receive-section,.documents-compact-section,.termin-compact-section{padding-left:16px;padding-right:16px}.receive-grid,.docs-grid-compact{grid-template-columns:1fr}.receive-card{min-height:0;padding:18px 16px}.docs-grid-compact .doc-card{min-height:0;display:grid;grid-template-columns:auto 1fr auto;gap:5px 12px;text-align:left;align-items:center}.docs-grid-compact .doc-icon{grid-row:span 2}.docs-grid-compact .doc-card h3,.docs-grid-compact .doc-card p{margin:0}.docs-grid-compact .doc-cta{grid-row:span 2}.termin-light-cta{padding:18px 16px}.termin-status-list li{align-items:flex-start;flex-direction:column}.termin-light-side .cta-btn{width:100%}}

body:has(.document-homepage) #docs.docs-keep-all .doc-card,body:has(.document-homepage) #docs .docs-grid-compact .doc-card:nth-of-type(n){display:flex}
@media(max-width:700px){body:has(.document-homepage) #docs .docs-grid-compact .doc-card:nth-of-type(n){display:grid}}


/* Homepage spacing compact pass */
body:has(.document-homepage) .human-intro-section{padding:12px 28px 8px}
body:has(.document-homepage) .preview-trust-section{padding:14px 28px 16px}
body:has(.document-homepage) .receive-section{padding:18px 28px 16px}
body:has(.document-homepage) .mistake-section{padding-top:16px!important;padding-bottom:16px!important}
body:has(.document-homepage) .documents-compact-section{padding:18px 28px 14px}
body:has(.document-homepage) .termin-compact-section{padding:14px 28px}
body:has(.document-homepage) .faq-compact-section{padding-top:16px!important;padding-bottom:26px!important}
body:has(.document-homepage) .section-hdr{margin-bottom:14px}
body:has(.document-homepage) .preview-trust-inner,
body:has(.document-homepage) .receive-grid,
body:has(.document-homepage) .document-explain-card,
body:has(.document-homepage) .docs-grid-compact,
body:has(.document-homepage) .termin-light-cta{margin-top:0}
body:has(.document-homepage) .preview-trust-inner{padding:20px;gap:18px}
body:has(.document-homepage) .receive-grid{gap:10px}
body:has(.document-homepage) .receive-card{min-height:0;padding:16px 15px}
body:has(.document-homepage) .receive-icon{margin-bottom:10px}
body:has(.document-homepage) .document-explain-card{padding:18px;gap:16px}
body:has(.document-homepage) .document-explain-lead{margin-bottom:0}
body:has(.document-homepage) .mistake-list{gap:8px}
body:has(.document-homepage) .mistake-list p{padding-top:11px;padding-bottom:11px}
body:has(.document-homepage) .docs-grid-compact{gap:9px;margin-bottom:12px}
body:has(.document-homepage) .docs-grid-compact .doc-card{min-height:138px;padding:14px 12px}
body:has(.document-homepage) .documents-compact-actions{margin-top:4px}
body:has(.document-homepage) .termin-light-cta{padding:18px;gap:16px}
body:has(.document-homepage) .faq-item{margin-bottom:6px}
body:has(.document-homepage) .faq-q{padding:14px 18px}
body:has(.document-homepage) .faq-a{padding:0 18px 14px}
@media(max-width:700px){
  body:has(.document-homepage) .human-intro-section{padding:8px 16px 6px}
  body:has(.document-homepage) .preview-trust-section{padding:10px 16px 12px}
  body:has(.document-homepage) .receive-section{padding:12px 16px 10px}
  body:has(.document-homepage) .mistake-section{padding-top:10px!important;padding-bottom:10px!important}
  body:has(.document-homepage) .documents-compact-section{padding:12px 16px 10px}
  body:has(.document-homepage) .termin-compact-section{padding:10px 16px}
  body:has(.document-homepage) .faq-compact-section{padding-top:10px!important;padding-bottom:22px!important}
  body:has(.document-homepage) .section-hdr{margin-bottom:10px}
  body:has(.document-homepage) .section-label{margin-bottom:7px}
  body:has(.document-homepage) .preview-trust-inner{padding:14px 13px;gap:12px}
  body:has(.document-homepage) .preview-trust-list{gap:5px;margin-top:10px}
  body:has(.document-homepage) .preview-form-card{padding:14px 13px}
  body:has(.document-homepage) .receive-grid{gap:8px}
  body:has(.document-homepage) .receive-card{padding:13px 12px}
  body:has(.document-homepage) .receive-icon{height:30px;margin-bottom:7px}
  body:has(.document-homepage) .document-explain-card{padding:13px 12px;gap:10px}
  body:has(.document-homepage) .mistake-list{gap:6px}
  body:has(.document-homepage) .mistake-list p{padding:10px 10px 10px 32px}
  body:has(.document-homepage) .mistake-list p::before{left:12px;top:16px}
  body:has(.document-homepage) .docs-grid-compact{gap:7px;margin-bottom:8px}
  body:has(.document-homepage) .docs-grid-compact .doc-card{padding:11px 12px}
  body:has(.document-homepage) .termin-light-cta{padding:14px 13px;gap:10px}
  body:has(.document-homepage) .termin-status-list{gap:6px}
  body:has(.document-homepage) .termin-status-list li{padding:9px 10px}
  body:has(.document-homepage) .faq-q{padding:12px 14px}
  body:has(.document-homepage) .faq-a{padding:0 14px 12px}
  body:has(.document-homepage) .faq-list .faq-item:nth-child(n+4){display:block}
}


/* Final premium trust UX pass */
body:has(.document-homepage) .human-intro-section{padding-top:10px;padding-bottom:6px}
body:has(.document-homepage) .human-intro-card{max-width:900px;padding:20px 24px}
body:has(.document-homepage) .human-intro-card h2{max-width:760px;margin-bottom:10px;font-size:clamp(24px,3vw,36px)}
body:has(.document-homepage) .human-intro-card p:not(.section-label){max-width:780px;font-size:15px;line-height:1.58}
body:has(.document-homepage) .human-intro-card p:not(.section-label)+p{margin-top:8px;color:#526170}
body:has(.document-homepage) .preview-trust-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:14px}
body:has(.document-homepage) .preview-trust-list li{min-height:42px;display:flex;align-items:center;padding:9px 10px 9px 34px;border:1px solid #d8c5a8;border-radius:8px;background:#fffdf8;color:#304154;font-size:13px;font-weight:800;line-height:1.25}
body:has(.document-homepage) .preview-trust-list li::before{left:12px;top:50%;width:10px;height:10px;transform:translateY(-50%);background:#2f6f55;box-shadow:0 0 0 4px rgba(47,111,85,.12)}
body:has(.document-homepage) .preview-trust-list li:nth-child(3),
body:has(.document-homepage) .preview-trust-list li:nth-child(4),
body:has(.document-homepage) .preview-trust-list li:nth-child(6){background:#fbf4e7}
body:has(.document-homepage) .prep-flow-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;max-width:900px;margin:12px auto 0;padding:10px;border:1px solid #e2d2b8;border-radius:8px;background:#fffaf1;box-shadow:0 10px 22px rgba(83,63,33,.05)}
body:has(.document-homepage) .prep-flow-strip span{position:relative;display:flex;align-items:center;justify-content:center;min-height:38px;padding:8px 10px 8px 28px;border-radius:7px;background:#fbf4e7;color:#26384a;font-size:13px;font-weight:850;text-align:center;line-height:1.25}
body:has(.document-homepage) .prep-flow-strip span::before{content:"";position:absolute;left:11px;top:50%;width:8px;height:8px;border-radius:50%;background:#2f6f55;transform:translateY(-50%)}
body:has(.document-homepage) .mistake-list p:nth-child(3){display:none}
body:has(.document-homepage) .mistake-list{grid-template-columns:1fr;gap:7px}
body:has(.document-homepage) .mistake-list p{font-size:13px;line-height:1.42;padding-top:10px;padding-bottom:10px}
body:has(.document-homepage) footer{background:#26384a;color:#d8e1e8;border-top:1px solid #e2d2b8;padding-top:40px}
body:has(.document-homepage) .footer-brand .nav-logo,
body:has(.document-homepage) .footer-col h4{color:#fffaf1}
body:has(.document-homepage) .footer-brand p,
body:has(.document-homepage) .footer-col a,
body:has(.document-homepage) .footer-bottom p,
body:has(.document-homepage) .footer-links a,
body:has(.document-homepage) .footer-disclaimer{color:#cbd7df}
body:has(.document-homepage) .footer-col a:hover,
body:has(.document-homepage) .footer-links a:hover{color:#fffaf1}
body:has(.document-homepage) .footer-bottom{border-top-color:rgba(255,250,241,.16)}
body:has(.document-homepage) .footer-disclaimer{border-top:1px solid rgba(255,250,241,.16);max-width:1080px;margin:0 auto;padding:16px 28px 0;line-height:1.55}
@media(max-width:700px){
  body:has(.document-homepage) .human-intro-section{padding:6px 16px 4px}
  body:has(.document-homepage) .human-intro-card{padding:15px 14px}
  body:has(.document-homepage) .human-intro-card h2{font-size:clamp(22px,7vw,30px);line-height:1.14;margin-bottom:8px}
  body:has(.document-homepage) .human-intro-card p:not(.section-label){font-size:13px;line-height:1.5}
  body:has(.document-homepage) .preview-trust-list{grid-template-columns:1fr;gap:6px;margin-top:10px}
  body:has(.document-homepage) .preview-trust-list li{min-height:0;padding:8px 10px 8px 32px;font-size:12px}
  body:has(.document-homepage) .preview-form-card dl{gap:4px}
  body:has(.document-homepage) .prep-flow-strip{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:8px;padding:8px}
  body:has(.document-homepage) .prep-flow-strip span{min-height:34px;padding:7px 8px 7px 24px;font-size:12px;justify-content:flex-start;text-align:left}
  body:has(.document-homepage) .prep-flow-strip span::before{left:9px}
  body:has(.document-homepage) .mistake-list p{font-size:12px;line-height:1.38;padding:9px 10px 9px 30px}
  body:has(.document-homepage) #docs .docs-grid-compact{gap:7px}
  body:has(.document-homepage) #docs .docs-grid-compact .doc-card{grid-template-columns:38px minmax(0,1fr);gap:4px 10px;align-items:center;padding:10px 11px;min-height:0;text-align:left}
  body:has(.document-homepage) #docs .docs-grid-compact .doc-icon{grid-row:1 / span 3;width:34px;height:34px;font-size:15px}
  body:has(.document-homepage) #docs .docs-grid-compact .doc-card h3{font-size:14px;line-height:1.2}
  body:has(.document-homepage) #docs .docs-grid-compact .doc-card p{font-size:12px;line-height:1.32;max-width:100%}
  body:has(.document-homepage) #docs .docs-grid-compact .doc-cta{grid-column:2;grid-row:auto;justify-self:start;align-self:start;margin-top:1px;padding:3px 8px;border-radius:999px;background:#edf6f1;font-size:11px;font-weight:850}
  body:has(.document-homepage) footer{padding:30px 18px 24px}
  body:has(.document-homepage) .footer-disclaimer{padding:14px 0 0}
}

[dir="rtl"] body:has(.document-homepage) .prep-flow-strip span{padding-left:8px;padding-right:28px;text-align:right}
[dir="rtl"] body:has(.document-homepage) .prep-flow-strip span::before{left:auto;right:11px}
@media(max-width:700px){[dir="rtl"] body:has(.document-homepage) .prep-flow-strip span{padding-left:8px;padding-right:24px;text-align:right}[dir="rtl"] body:has(.document-homepage) .prep-flow-strip span::before{left:auto;right:9px}}


/* Final homepage product positioning pass */
body:has(.document-homepage) .service-choice-section{background:#fbf7ef;padding:18px 28px 12px;border-top:1px solid #efe3d1}
body:has(.document-homepage) .service-choice-head{max-width:850px;margin-left:auto;margin-right:auto;margin-bottom:12px;text-align:center}
body:has(.document-homepage) .service-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:980px;margin:0 auto}
body:has(.document-homepage) .service-choice-card{position:relative;display:grid;align-content:start;gap:10px;min-height:238px;padding:20px;border:1px solid #d8c5a8;border-radius:8px;background:#fffaf1;box-shadow:0 14px 30px rgba(83,63,33,.07)}
body:has(.document-homepage) .service-choice-card--termin{background:#fffdf8;border-color:#cdb58d}
body:has(.document-homepage) .service-choice-icon{display:inline-grid;place-items:center;width:42px;height:34px;border:1px solid #d8c5a8;border-radius:7px;background:#fbf4e7;color:#2f6f55;font-size:12px;font-weight:900;letter-spacing:.03em}
body:has(.document-homepage) .service-choice-kicker{margin:0;color:#2f6f55;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
body:has(.document-homepage) .service-choice-card h3{margin:0;color:#17202a;font-size:22px;line-height:1.18;font-family:Georgia,"Times New Roman",serif;letter-spacing:0}
body:has(.document-homepage) .service-choice-card p:not(.service-choice-kicker){margin:0;color:#3e4b57;font-size:14px;line-height:1.55}
body:has(.document-homepage) .service-choice-card .cta-btn{justify-self:start;margin-top:auto;min-height:42px;padding:0 17px;font-size:13px}
body:has(.document-homepage) .coverage-status-card{display:grid;grid-template-columns:minmax(0,.55fr) minmax(0,1fr);gap:16px;align-items:center;max-width:980px;margin:12px auto 0;padding:16px;border:1px solid #e2d2b8;border-radius:8px;background:#fffaf1;box-shadow:0 10px 24px rgba(83,63,33,.05)}
body:has(.document-homepage) .coverage-status-copy p:not(.section-label){margin:0;color:#304154;font-size:14px;line-height:1.5;font-weight:750}
body:has(.document-homepage) .coverage-status-copy small{display:block;margin-top:6px;color:#786954;font-size:12px;line-height:1.45}
body:has(.document-homepage) .coverage-status-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:0;padding:0;list-style:none}
body:has(.document-homepage) .coverage-status-list li{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:36px;padding:8px 9px;border:1px solid #e2d2b8;border-radius:8px;background:#fbf4e7;color:#17202a;font-size:12px;line-height:1.2}
body:has(.document-homepage) .coverage-status-list strong{font-weight:900}
body:has(.document-homepage) .coverage-status-list span{white-space:nowrap;padding:3px 7px;border-radius:999px;background:#f1eadf;color:#6b5b47;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}
body:has(.document-homepage) .coverage-status-list .status-active{background:#edf6f1;color:#2f6f55}
body:has(.document-homepage) .human-intro-section{padding-top:8px}
body:has(.document-homepage) .faq-compact-section{padding-top:14px!important}
@media(max-width:900px){
  body:has(.document-homepage) .service-choice-grid,
  body:has(.document-homepage) .coverage-status-card{grid-template-columns:1fr}
  body:has(.document-homepage) .coverage-status-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
  body:has(.document-homepage) .service-choice-section{padding:12px 16px 8px}
  body:has(.document-homepage) .service-choice-head{text-align:left;margin-bottom:9px}
  body:has(.document-homepage) .service-choice-grid{gap:8px}
  body:has(.document-homepage) .service-choice-card{min-height:0;padding:14px 13px;gap:7px}
  body:has(.document-homepage) .service-choice-icon{width:36px;height:30px;font-size:11px}
  body:has(.document-homepage) .service-choice-card h3{font-size:18px;line-height:1.18}
  body:has(.document-homepage) .service-choice-card p:not(.service-choice-kicker){font-size:13px;line-height:1.42}
  body:has(.document-homepage) .service-choice-card .cta-btn{width:100%;min-height:38px;margin-top:4px}
  body:has(.document-homepage) .coverage-status-card{gap:10px;margin-top:8px;padding:12px 11px}
  body:has(.document-homepage) .coverage-status-copy p:not(.section-label){font-size:13px;line-height:1.42}
  body:has(.document-homepage) .coverage-status-copy small{font-size:11px;margin-top:4px}
  body:has(.document-homepage) .coverage-status-list{grid-template-columns:1fr;gap:5px}
  body:has(.document-homepage) .coverage-status-list li{min-height:32px;padding:7px 8px;font-size:12px}
}
[dir="rtl"] body:has(.document-homepage) .service-choice-head,
[dir="rtl"] body:has(.document-homepage) .service-choice-card,
[dir="rtl"] body:has(.document-homepage) .coverage-status-copy{text-align:right}


/* Final action and Termin visibility pass */
body:has(.document-homepage) .service-choice-card,
body:has(.document-homepage) .service-choice-card--termin,
body:has(.document-homepage) .service-choice-card--docs{min-height:216px;background:#fffaf1;border-color:#d8c5a8;box-shadow:0 14px 30px rgba(83,63,33,.07)}
body:has(.document-homepage) .service-choice-icon{width:44px;height:38px;font-size:20px;letter-spacing:0}
body:has(.document-homepage) .service-choice-card h3{font-size:24px}
body:has(.document-homepage) .service-card-meta{margin:0;color:#304154;font-size:14px;font-weight:850;line-height:1.35}
body:has(.document-homepage) .service-card-price{display:inline-flex;align-items:center;justify-content:center;width:max-content;min-height:28px;margin:0;padding:4px 10px;border:1px solid #d8c5a8;border-radius:999px;background:#fbf4e7;color:#6b5b47;font-size:12px;font-weight:900;line-height:1}
body:has(.document-homepage) .service-choice-card .cta-btn,
body:has(.document-homepage) .service-choice-card .cta-btn.ghost,
body:has(.document-homepage) .service-choice-card .cta-btn.green{width:100%;justify-self:stretch;background:#2f6f55;color:#fff!important;border-color:#2f6f55;box-shadow:0 10px 22px rgba(47,111,85,.14)}
body:has(.document-homepage) .service-choice-card .cta-btn:hover{background:#285f49;border-color:#285f49}
body:has(.document-homepage) .coverage-status-card{grid-template-columns:minmax(210px,.38fr) minmax(0,1fr);padding:14px 16px}
body:has(.document-homepage) .coverage-status-copy .section-label{margin-bottom:0}
body:has(.document-homepage) .coverage-status-list li{display:grid;grid-template-columns:12px 1fr auto;justify-content:normal;align-items:center}
body:has(.document-homepage) .roadmap-dot{display:block;width:10px;height:10px;border-radius:50%;background:#d8c5a8;box-shadow:0 0 0 4px rgba(83,63,33,.08)}
body:has(.document-homepage) .roadmap-dot.status-active{background:#2f9f6b;box-shadow:0 0 0 4px rgba(47,159,107,.14)}
body:has(.document-homepage) .roadmap-dot.status-testing{background:#d6a62a;box-shadow:0 0 0 4px rgba(214,166,42,.16)}
body:has(.document-homepage) .roadmap-dot.status-development{background:#3f7bbf;box-shadow:0 0 0 4px rgba(63,123,191,.14)}
body:has(.document-homepage) .roadmap-dot.status-planned{background:#d8cfc0;box-shadow:0 0 0 4px rgba(83,63,33,.06)}
body:has(.document-homepage) .coverage-status-list span{background:#fffdf8;color:#526170}
body:has(.document-homepage) .final-action-section{padding:14px 28px 24px;background:#fbf7ef}
body:has(.document-homepage) .final-action-card{display:flex;align-items:center;justify-content:space-between;gap:18px;max-width:880px;margin:0 auto;padding:20px;border:1px solid #d8c5a8;border-radius:8px;background:#fffaf1;box-shadow:0 14px 30px rgba(83,63,33,.07)}
body:has(.document-homepage) .final-action-card h2{margin:0;color:#17202a;font-family:Georgia,"Times New Roman",serif;font-size:clamp(24px,3vw,36px);line-height:1.15;letter-spacing:0}
body:has(.document-homepage) .final-action-buttons{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}
body:has(.document-homepage) .final-action-buttons .cta-btn{min-height:42px;padding:0 18px;font-size:13px}
@media(max-width:700px){
  body:has(.document-homepage) .service-choice-card{min-height:0}
  body:has(.document-homepage) .service-choice-card h3{font-size:20px}
  body:has(.document-homepage) .service-card-meta{font-size:13px}
  body:has(.document-homepage) .service-card-price{font-size:11px}
  body:has(.document-homepage) .coverage-status-card{padding:11px}
  body:has(.document-homepage) .coverage-status-list li{grid-template-columns:12px 1fr auto}
  body:has(.document-homepage) .final-action-section{padding:10px 16px 20px}
  body:has(.document-homepage) .final-action-card{display:grid;gap:12px;padding:15px 14px}
  body:has(.document-homepage) .final-action-buttons{display:grid;grid-template-columns:1fr;gap:8px}
  body:has(.document-homepage) .final-action-buttons .cta-btn{width:100%}
}


/* Termin page payment clarity polish */
.termin-status-section{padding:22px 28px 0;background:#f8fafc}
.termin-status-card{max-width:980px;margin:0 auto;padding:18px;border:1px solid #dbe7df;border-radius:12px;background:#fff;box-shadow:0 12px 28px rgba(15,23,42,.05)}
.termin-status-label{margin:0 0 12px;color:#166534;font-size:12px;font-weight:850;text-transform:uppercase;letter-spacing:.08em}
.termin-status-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.termin-status-item{min-height:74px;padding:13px 14px;border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc;display:flex;flex-direction:column;justify-content:space-between;gap:8px}
.termin-status-item span{color:#64748b;font-size:12px;font-weight:760;text-transform:uppercase;letter-spacing:.04em}
.termin-status-item strong{color:#0f172a;font-size:16px;font-weight:850;line-height:1.25}
.termin-status-item--active{border-color:#86efac;background:#f0fdf4}
.termin-status-item--active strong{color:#166534}
.termin-important-section{padding:18px 28px 0;background:#f8fafc}
.termin-important-card{max-width:980px;margin:0 auto;padding:22px 24px;border:1px solid #fed7aa;border-radius:12px;background:#fff7ed;box-shadow:0 12px 28px rgba(154,52,18,.06)}
.termin-important-card h2{margin:0 0 8px;color:#9a3412;font-size:24px;line-height:1.2}
.termin-important-card p:last-child{max-width:820px;margin:0;color:#374151;font-size:15px;line-height:1.7;font-weight:560}
.termin-prepay-faq{padding:54px 28px;background:#fff}
.termin-prepay-faq-grid{max-width:900px;margin:0 auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.termin-prepay-faq details{padding:18px 20px;border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc}
.termin-prepay-faq summary{cursor:pointer;list-style:none;color:#0f172a;font-size:15px;font-weight:800;line-height:1.35}
.termin-prepay-faq summary::-webkit-details-marker{display:none}
.termin-prepay-faq p{margin:12px 0 0;color:#475569;font-size:14px;line-height:1.7}
[dir="rtl"] .termin-status-card,[dir="rtl"] .termin-important-card,[dir="rtl"] .termin-prepay-faq{text-align:right}
@media(max-width:820px){.termin-status-grid,.termin-prepay-faq-grid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.termin-status-section,.termin-important-section,.termin-prepay-faq{padding-left:16px;padding-right:16px}.termin-status-grid,.termin-prepay-faq-grid{grid-template-columns:1fr}.termin-important-card{padding:18px}.termin-important-card h2{font-size:21px}}


/* Homepage conversion polish safe pass */
body:has(.document-homepage) .hero-urgency-card{display:grid;gap:4px;max-width:640px;margin:14px 0 0;padding:11px 13px;border:1px solid #d8c5a8;border-left:4px solid #2f6f55;border-radius:8px;background:#fffdf8;box-shadow:0 10px 22px rgba(83,63,33,.06)}
body:has(.document-homepage) .hero-urgency-card strong{color:#17202a;font-size:13px;line-height:1.35}
body:has(.document-homepage) .hero-urgency-card span{color:#526170;font-size:13px;line-height:1.45}
body:has(.document-homepage) .hero-trust-points{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;max-width:880px;margin-top:16px;padding-top:14px;border-top:1px solid rgba(80,61,32,.16)}
body:has(.document-homepage) .hero-trust-points span{position:relative;display:flex;align-items:center;min-height:54px;padding:12px 12px 12px 34px;border:1px solid #e2d2b8;border-radius:8px;background:rgba(255,250,241,.82);color:#304154;font-size:13px;font-weight:800;line-height:1.32;box-shadow:0 10px 22px rgba(82,62,33,.05)}
body:has(.document-homepage) .hero-trust-points span::before{content:"";position:absolute;left:13px;top:50%;width:9px;height:9px;border-radius:50%;background:#2f6f55;box-shadow:0 0 0 4px rgba(47,111,85,.12);transform:translateY(-50%)}
body:has(.document-homepage) .why-germanyflow-section{padding:14px 28px 16px;background:#fbf7ef}
body:has(.document-homepage) .why-germanyflow-card{max-width:980px;margin:0 auto;padding:22px;border:1px solid #d8c5a8;border-radius:8px;background:#fffaf1;box-shadow:0 14px 30px rgba(83,63,33,.07)}
body:has(.document-homepage) .why-germanyflow-card h2{margin:0 0 14px;color:#17202a;font-family:Georgia,"Times New Roman",serif;font-size:clamp(24px,3vw,36px);line-height:1.15;letter-spacing:0}
body:has(.document-homepage) .why-germanyflow-card ul{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:0;padding:0;list-style:none}
body:has(.document-homepage) .why-germanyflow-card li{position:relative;min-height:56px;padding:12px 12px 12px 34px;border:1px solid #e2d2b8;border-radius:8px;background:#fbf4e7;color:#304154;font-size:13px;font-weight:850;line-height:1.35}
body:has(.document-homepage) .why-germanyflow-card li::before{content:"";position:absolute;left:13px;top:17px;width:9px;height:9px;border-radius:50%;background:#2f6f55;box-shadow:0 0 0 4px rgba(47,111,85,.12)}
body:has(.document-homepage) .service-choice-card--docs .cta-btn.ghost{background:#fffaf1;color:#26384a!important;border-color:#ccb99d;box-shadow:none}
body:has(.document-homepage) .service-choice-card--docs .cta-btn.ghost:hover{background:#f3eadb;border-color:#b8955f}
body:has(.document-homepage) .footer-trust-line{margin-top:8px!important;color:#fffaf1!important;font-size:12px!important;font-weight:800;line-height:1.45!important}
[dir="rtl"] body:has(.document-homepage) .hero-urgency-card{border-left:1px solid #d8c5a8;border-right:4px solid #2f6f55}
[dir="rtl"] body:has(.document-homepage) .hero-trust-points span,[dir="rtl"] body:has(.document-homepage) .why-germanyflow-card li{padding-left:12px;padding-right:34px;text-align:right}
[dir="rtl"] body:has(.document-homepage) .hero-trust-points span::before,[dir="rtl"] body:has(.document-homepage) .why-germanyflow-card li::before{left:auto;right:13px}
@media(max-width:900px){body:has(.document-homepage) .hero-trust-points,body:has(.document-homepage) .why-germanyflow-card ul{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){body:has(.document-homepage) .hero-urgency-card{margin-top:12px;padding:10px 11px}body:has(.document-homepage) .hero-urgency-card strong,body:has(.document-homepage) .hero-urgency-card span{font-size:12px}body:has(.document-homepage) .hero-trust-points{grid-template-columns:1fr;gap:6px;margin-top:12px;padding-top:10px}body:has(.document-homepage) .hero-trust-points span{min-height:0;padding:10px 10px 10px 32px;font-size:12px}body:has(.document-homepage) .why-germanyflow-section{padding:10px 16px 12px}body:has(.document-homepage) .why-germanyflow-card{padding:15px 14px}body:has(.document-homepage) .why-germanyflow-card h2{font-size:clamp(22px,7vw,30px);margin-bottom:10px}body:has(.document-homepage) .why-germanyflow-card ul{grid-template-columns:1fr;gap:6px}body:has(.document-homepage) .why-germanyflow-card li{min-height:0;padding:10px 10px 10px 32px;font-size:12px}[dir="rtl"] body:has(.document-homepage) .hero-trust-points span,[dir="rtl"] body:has(.document-homepage) .why-germanyflow-card li{padding-left:10px;padding-right:32px}}

/* Homepage humanization pass */
body:has(.document-homepage) .service-card-price,
body:has(.document-homepage) .coverage-status-card,
body:has(.document-homepage) .receive-grid{display:none!important}
body:has(.document-homepage) .hero-human-note{max-width:720px;margin:18px 0 0;color:#4f5e68;font-size:15px;line-height:1.62}
body:has(.document-homepage) .hero-story-card{max-width:720px;margin-top:18px;padding:16px 18px;background:#fffaf1;border-left-color:#8a5b13}
body:has(.document-homepage) .hero-story-card strong{font-family:Georgia,"Times New Roman",serif;font-size:18px;font-weight:700}
body:has(.document-homepage) .hero-story-card span{font-size:15px;line-height:1.62}
body:has(.document-homepage) .hero-human-situations{grid-template-columns:repeat(2,minmax(0,1fr));max-width:720px;gap:8px;border-top:0;padding-top:0}
body:has(.document-homepage) .hero-human-situations span{min-height:0;padding:10px 12px 10px 30px;background:transparent;border-color:#dcc9ab;box-shadow:none;font-weight:760}
body:has(.document-homepage) .human-story-card{max-width:980px;padding:30px 32px}
body:has(.document-homepage) .human-story-card p:not(.section-label){font-size:17px;line-height:1.76;color:#344252}
body:has(.document-homepage) .human-service-section{padding-top:24px}
body:has(.document-homepage) .human-service-grid{max-width:900px}
body:has(.document-homepage) .service-choice-card{min-height:0;box-shadow:none}
body:has(.document-homepage) .service-choice-icon{font-size:12px}
body:has(.document-homepage) .service-card-meta{color:#6b5b47;font-weight:800}
body:has(.document-homepage) .preview-trust-list{grid-template-columns:1fr;max-width:620px}
body:has(.document-homepage) .preview-trust-list li{background:transparent;border-color:#e2d2b8;box-shadow:none}
body:has(.document-homepage) .preview-trust-list li:nth-child(n+4){display:none}
body:has(.document-homepage) .mistake-list p:nth-child(3){display:block}
body:has(.document-homepage) .why-germanyflow-story{max-width:900px;padding:30px 32px}
body:has(.document-homepage) .why-germanyflow-story h2{margin-bottom:18px}
body:has(.document-homepage) .why-germanyflow-story ul{display:block}
body:has(.document-homepage) .why-germanyflow-story li,
body:has(.document-homepage) .why-germanyflow-story p{position:relative;min-height:0;margin:12px 0 0;padding:0 0 0 24px;border:0;background:transparent;box-shadow:none;color:#344252;font-size:16px;font-weight:500;line-height:1.7}
body:has(.document-homepage) .why-germanyflow-story li::before,
body:has(.document-homepage) .why-germanyflow-story p::before{content:"";position:absolute;left:0;top:.7em;width:8px;height:8px;border-radius:50%;background:#2f6f55;box-shadow:0 0 0 4px rgba(47,111,85,.12)}
body:has(.document-homepage) .human-receive-section{padding-top:34px;padding-bottom:30px}
body:has(.document-homepage) .receive-section .section-hdr{max-width:880px;margin-left:auto;margin-right:auto;text-align:center}
body:has(.document-homepage) .receive-section .section-sub{max-width:720px;color:#344252;font-size:17px}
body:has(.document-homepage) .prep-flow-strip{box-shadow:none}
body:has(.document-homepage) .human-worry-list p{background:transparent;box-shadow:none;font-size:15px;line-height:1.6}
@media(max-width:700px){
  body:has(.document-homepage) .hero-human-note{font-size:13px;line-height:1.5}
  body:has(.document-homepage) .hero-human-situations{grid-template-columns:1fr}
  body:has(.document-homepage) .hero-story-card strong{font-size:15px}
  body:has(.document-homepage) .hero-story-card span{font-size:13px}
  body:has(.document-homepage) .human-story-card,
  body:has(.document-homepage) .why-germanyflow-story{padding:18px 16px}
  body:has(.document-homepage) .human-story-card p:not(.section-label),
  body:has(.document-homepage) .receive-section .section-sub,
  body:has(.document-homepage) .why-germanyflow-story p{font-size:14px;line-height:1.58}
}


/* Final homepage simplification pass */
body:has(.document-homepage) .hero-human-situations{display:none!important}
body:has(.document-homepage) .human-intro-card,
body:has(.document-homepage) .preview-trust-inner,
body:has(.document-homepage) .document-explain-card--narrative{border:0;background:transparent;box-shadow:none}
body:has(.document-homepage) .human-intro-card{max-width:920px;padding:8px 0}
body:has(.document-homepage) .human-story-card p:not(.section-label){font-size:16px;line-height:1.68}
body:has(.document-homepage) .service-choice-section{border-top:0;padding-top:18px;padding-bottom:10px}
body:has(.document-homepage) .service-choice-head{max-width:920px;text-align:left;margin-bottom:8px}
body:has(.document-homepage) .human-service-grid{display:block;max-width:920px;border-top:1px solid #e2d2b8}
body:has(.document-homepage) .service-choice-card,
body:has(.document-homepage) .service-choice-card--termin,
body:has(.document-homepage) .service-choice-card--docs{display:grid;grid-template-columns:minmax(150px,.25fr) minmax(0,1fr) auto;column-gap:22px;row-gap:5px;align-items:center;min-height:0;padding:18px 0;border:0;border-bottom:1px solid #e2d2b8;border-radius:0;background:transparent!important;box-shadow:none!important}
body:has(.document-homepage) .service-choice-icon,
body:has(.document-homepage) .service-card-price{display:none!important}
body:has(.document-homepage) .service-choice-card h3{grid-column:1;grid-row:1 / span 2;font-size:22px}
body:has(.document-homepage) .service-card-meta{grid-column:2;margin:0;color:#304154;font-size:14px;font-weight:850;line-height:1.35}
body:has(.document-homepage) .service-card-text{grid-column:2;margin:0;color:#526170;font-size:14px;line-height:1.55}
body:has(.document-homepage) .service-choice-card .cta-btn,
body:has(.document-homepage) .service-choice-card .cta-btn.green,
body:has(.document-homepage) .service-choice-card .cta-btn.ghost{grid-column:3;grid-row:1 / span 2;align-self:center;justify-self:end;width:auto;min-width:148px;background:#2f6f55;color:#fff!important;border-color:#2f6f55;box-shadow:none}
body:has(.document-homepage) .service-choice-card .cta-btn.ghost{background:#fffaf1;color:#26384a!important;border-color:#ccb99d}
body:has(.document-homepage) .preview-trust-section{padding-top:8px;padding-bottom:10px}
body:has(.document-homepage) .preview-trust-inner{display:block;max-width:820px;padding:0}
body:has(.document-homepage) .preview-trust-list,
body:has(.document-homepage) .preview-form-card{display:none!important}
body:has(.document-homepage) .document-explain-card--narrative{grid-template-columns:minmax(0,1fr) minmax(260px,.62fr);max-width:920px;margin:0 auto;padding:0}
body:has(.document-homepage) .human-worry-list p{border:0;padding:6px 0 6px 20px;background:transparent!important}
body:has(.document-homepage) .documents-compact-section{padding-top:14px}
body:has(.document-homepage) .docs-grid-reduced{max-width:920px}
@media(max-width:900px){body:has(.document-homepage) .service-choice-card,body:has(.document-homepage) .service-choice-card--termin,body:has(.document-homepage) .service-choice-card--docs{grid-template-columns:1fr;gap:7px}body:has(.document-homepage) .service-choice-card h3,body:has(.document-homepage) .service-card-meta,body:has(.document-homepage) .service-card-text,body:has(.document-homepage) .service-choice-card .cta-btn{grid-column:1;grid-row:auto;justify-self:start}}
@media(max-width:700px){body:has(.document-homepage) .hero-story-card{margin-top:12px;padding:12px 13px}body:has(.document-homepage) .hero-reassurance{padding:8px 10px;margin-top:10px}body:has(.document-homepage) .human-intro-card{padding:4px 0}body:has(.document-homepage) .human-story-card p:not(.section-label){font-size:13px;line-height:1.52}body:has(.document-homepage) .service-choice-head{text-align:left}body:has(.document-homepage) .service-choice-card,body:has(.document-homepage) .service-choice-card--termin,body:has(.document-homepage) .service-choice-card--docs{padding:14px 0}body:has(.document-homepage) .service-choice-card .cta-btn,body:has(.document-homepage) .service-choice-card .cta-btn.green,body:has(.document-homepage) .service-choice-card .cta-btn.ghost{width:100%;justify-self:stretch;min-width:0}body:has(.document-homepage) .preview-trust-section{padding-top:6px;padding-bottom:8px}body:has(.document-homepage) .document-explain-card--narrative{grid-template-columns:1fr}body:has(.document-homepage) .human-worry-list p{font-size:13px;line-height:1.45}}
[dir="rtl"] body:has(.document-homepage) .service-choice-head{text-align:right}
[dir="rtl"] body:has(.document-homepage) .service-card-text,
[dir="rtl"] body:has(.document-homepage) .service-card-meta,
[dir="rtl"] body:has(.document-homepage) .service-choice-card h3{text-align:right}

/* ── Homepage conversion improvements ── */
.hero-price-anchor{margin:12px 0 0;font-size:13px;color:#6b7a8d;text-align:center;letter-spacing:.01em}
.termin-cta-with-label{display:inline-flex!important;flex-direction:column;align-items:center;gap:4px;line-height:1.2}
.termin-helper-label{display:block;font-size:11px;color:#7a8a99;font-weight:400;letter-spacing:.01em;line-height:1}

.home-trust-bar{background:#f5efe6;border-top:1px solid #e8dfd2;border-bottom:1px solid #e8dfd2;padding:13px 28px}
.trust-bar-inner{display:flex;flex-wrap:wrap;justify-content:center;gap:10px 28px;max-width:960px;margin:0 auto}
.trust-bar-inner span{font-size:13px;color:#526170;font-weight:500;padding-left:18px;position:relative}
.trust-bar-inner span::before{content:"✓";position:absolute;left:0;color:#2f6f55;font-weight:700}
@media(max-width:700px){.trust-bar-inner{gap:7px 16px;justify-content:flex-start}.trust-bar-inner span{font-size:12px}}
[dir="rtl"] .trust-bar-inner span{padding-left:0;padding-right:18px}
[dir="rtl"] .trust-bar-inner span::before{left:auto;right:0}

.home-how-section{padding:52px 28px;background:#fff}
.home-docs-outcome{max-width:720px;margin:24px auto 0;text-align:center;color:#526170;font-size:15px;line-height:1.6}
.home-how-cta{text-align:center;margin-top:24px}
.home-termin-expectation{max-width:640px;margin:20px auto 0;text-align:center;color:#6b7a8d;font-size:13px;line-height:1.55}
.home-seo-intro{border-bottom:0}
.home-seo-continued{padding-top:28px;border-top:0}
.home-how-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;max-width:960px;margin:28px auto 0}
.home-step-card{background:#fffdf8;border:1px solid #e8dfd2;border-radius:10px;padding:26px 22px;box-shadow:0 1px 5px rgba(0,0,0,.05);transition:box-shadow .18s}
.home-step-card:hover{box-shadow:0 3px 12px rgba(0,0,0,.09)}
.home-step-num{width:34px;height:34px;border-radius:50%;background:#2f6f55;color:#fff;font-size:15px;font-weight:700;display:flex;align-items:center;justify-content:center;margin-bottom:13px;flex-shrink:0}
.home-step-card h3{font-size:15px;font-weight:700;margin-bottom:7px;color:#162235;line-height:1.35}
.home-step-card p{font-size:14px;color:#526170;line-height:1.6;margin:0}
@media(max-width:900px){.home-how-steps{grid-template-columns:1fr;max-width:500px}}
/* ── Homepage process timeline ── */
body:has(.document-homepage) .home-how-section{background:#fffaf1}
body:has(.document-homepage) .home-how-steps{display:flex;flex-direction:row;flex-wrap:nowrap;gap:0;max-width:1040px;margin:32px auto 0;position:relative;align-items:flex-start}
body:has(.document-homepage) .home-how-steps::before{content:"";position:absolute;top:17px;left:12.5%;right:12.5%;height:2px;background:linear-gradient(to right,#2f6f55,rgba(47,111,85,.22));z-index:0}
body:has(.document-homepage) .home-step-card{flex:1;background:transparent;border:none;box-shadow:none;padding:0 12px;text-align:center;position:relative;z-index:1}
body:has(.document-homepage) .home-step-card:hover{box-shadow:none;transform:none}
body:has(.document-homepage) .home-step-num{margin:0 auto 14px;border:3px solid #fffaf1;box-shadow:0 0 0 2px rgba(47,111,85,.18);position:relative;z-index:1}
body:has(.document-homepage) .home-step-card h3{font-size:14px;line-height:1.35;color:#162235;margin-bottom:6px}
body:has(.document-homepage) .home-step-card p{font-size:13px;color:#526170;line-height:1.55;margin:0}
@media(max-width:700px){
  body:has(.document-homepage) .home-how-steps{flex-direction:column;align-items:stretch;gap:0;padding-left:20px}
  body:has(.document-homepage) .home-how-steps::before{top:34px;left:17px;right:auto;bottom:4px;width:2px;height:auto;background:linear-gradient(to bottom,#2f6f55,rgba(47,111,85,.22))}
  body:has(.document-homepage) .home-step-card{display:flex;flex-direction:row;gap:14px;align-items:flex-start;text-align:left;padding:0 0 24px 0;background:transparent;border:none;box-shadow:none}
  body:has(.document-homepage) .home-step-num{flex-shrink:0;margin:0 0 0 -20px}
  body:has(.document-homepage) .home-step-card h3{margin-bottom:4px}
  body:has(.document-homepage) #choose-path .home-step-card{
    display:grid;
    grid-template-columns:auto 1fr;
    grid-template-rows:auto auto;
    column-gap:14px;
    row-gap:4px;
    align-items:start;
  }
  body:has(.document-homepage) #choose-path .home-step-num{
    grid-row:1 / span 2;
    margin:0 0 0 -20px;
  }
  body:has(.document-homepage) #choose-path .home-step-card h3{
    grid-column:2;
    grid-row:1;
    margin-bottom:0;
  }
  body:has(.document-homepage) #choose-path .home-step-card p{
    grid-column:2;
    grid-row:2;
    font-size:14px;
    line-height:1.6;
  }
  body:has(.document-homepage) .service-choice-section .home-step-card p{
    font-size:14px;
    line-height:1.6;
  }
  body:has(.document-homepage) .service-choice-section .section-sub{
    font-size:14px;
    line-height:1.6;
  }
  body:has(.document-homepage) .service-choice-section .coverage-status-copy p:not(.section-label){
    font-size:14px;
    line-height:1.6;
  }
  body:has(.document-homepage) .service-choice-section .coverage-status-copy small{
    font-size:14px;
    line-height:1.6;
  }
  body:has(.document-homepage) .service-choice-section .coverage-status-list li{
    font-size:14px;
    line-height:1.6;
  }
  body:has(.document-homepage) .service-choice-section .coverage-status-list span{
    font-size:14px;
    line-height:1.6;
  }
}

.home-disclaimer-section{padding:24px 28px 32px}
.home-disclaimer-callout{background:#fffbeb;border:1px solid #edd97a;border-left:4px solid #c8a000;border-radius:8px;padding:18px 22px;max-width:820px;margin:0 auto}
.home-disclaimer-callout strong{display:block;font-size:14px;font-weight:700;color:#6b4a00;margin-bottom:7px}
.home-disclaimer-callout p{font-size:13px;color:#7a5c00;line-height:1.62;margin:0}
[dir="rtl"] .home-disclaimer-callout{border-left:1px solid #edd97a;border-right:4px solid #c8a000}

.home-after-section{padding:48px 28px 52px}
.home-after-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;max-width:820px;margin:28px auto 0}
.home-after-col{background:#fffdf8;border:1px solid #e8dfd2;border-radius:10px;padding:26px 22px;box-shadow:0 1px 5px rgba(0,0,0,.05)}
.home-after-col h3{font-size:16px;font-weight:700;color:#162235;margin-bottom:14px;line-height:1.3}
.home-after-col ul{list-style:none;padding:0;margin:0 0 18px}
.home-after-col ul li{font-size:14px;color:#304154;line-height:1.55;padding:5px 0 5px 20px;position:relative;border-bottom:1px solid #f0e8d8}
.home-after-col ul li:last-child{border-bottom:0}
.home-after-col ul li::before{content:"→";position:absolute;left:0;color:#2f6f55;font-weight:700}
.home-after-col .cta-btn{display:block;width:100%;text-align:center;box-sizing:border-box}
@media(max-width:700px){.home-after-grid{grid-template-columns:1fr}}
[dir="rtl"] .home-after-col ul li{padding-left:0;padding-right:20px}
[dir="rtl"] .home-after-col ul li::before{left:auto;right:0}

/* ── CTA price sub — appears under "Prepare document" CTAs ── */
.cta-with-price{display:inline-flex;flex-direction:column;align-items:center;gap:5px}
.cta-price-sub{display:block;font-size:12px;color:#7a8a99;text-align:center;letter-spacing:.01em;font-weight:400;line-height:1.3}
.doc-card .cta-price-sub{font-size:11px;color:#8a9aab;margin-top:2px}
.termin-hero-actions .cta-with-price{display:inline-flex;flex-direction:column;align-items:center;gap:4px}
.final-action-buttons .cta-with-price{display:inline-flex;flex-direction:column;align-items:center;gap:5px}
@media(max-width:700px){.cta-price-sub{font-size:11px}.doc-card .cta-price-sub{display:none}}
@media(max-width:700px){body:has(.document-homepage) .service-choice-card .cta-with-price{width:100%;justify-self:stretch}body:has(.document-homepage) .service-choice-card .cta-with-price .cta-btn{width:100%;min-width:0}body:has(.document-homepage) .service-choice-card .cta-with-price .cta-price-sub{width:100%;text-align:center}}

/* ── Doc card meta info: time + field count ── */
.doc-meta-info{display:block;font-size:12px;color:#7a8a99;font-weight:500;margin:6px 0 4px;letter-spacing:.02em;padding:3px 8px;background:#f5efe6;border-radius:20px;width:fit-content}

/* ── Benefit cards — redesigned "What happens after" ── */
.home-benefit-cards{display:grid;grid-template-columns:1fr 1fr;gap:24px;max-width:820px;margin:28px auto 0}
.home-benefit-card{background:#fffdf8;border:1px solid #e8dfd2;border-radius:12px;padding:30px 26px;box-shadow:0 2px 8px rgba(0,0,0,.06);display:flex;flex-direction:column;gap:10px;transition:box-shadow .18s}
.home-benefit-card:hover{box-shadow:0 4px 16px rgba(0,0,0,.1)}
.benefit-card-icon{font-size:30px;line-height:1;display:block;margin-bottom:2px}
.benefit-card-headline{font-size:19px;font-weight:700;color:#162235;line-height:1.3;display:block}
.benefit-card-body{font-size:14px;color:#526170;line-height:1.68;margin:0;flex:1}
.home-benefit-card .cta-btn{margin-top:6px;width:100%;text-align:center;box-sizing:border-box}
.home-benefit-card .cta-with-price{width:100%}
.home-benefit-card .cta-with-price .cta-btn{width:100%}
.home-benefit-card .cta-with-price .cta-price-sub{width:100%;text-align:center}
@media(max-width:700px){.home-benefit-cards{grid-template-columns:1fr}.benefit-card-headline{font-size:17px}}

/* ── SEO text section ── */
.home-seo-section{background:#f9f5ed;padding:48px 28px;border-top:1px solid #e8dfd2}
.home-seo-inner{max-width:720px;margin:0 auto}
.home-seo-title{font-size:18px;font-weight:700;color:#162235;margin:0 0 16px;line-height:1.4}
.home-seo-inner p{font-size:15px;color:#344456;line-height:1.74;margin:0 0 14px}
.home-seo-inner p:last-child{margin-bottom:0}
@media(max-width:700px){.home-seo-section{padding:36px 18px}.home-seo-title{font-size:16px}.home-seo-inner p{font-size:14px;line-height:1.68}}

/* ══════════════════════════════════════════════
   MOBILE PREMIUM POLISH — TARGET 9.5/10
   Applies only to the homepage (document-homepage).
   Only visual/spacing — no structure, no text, no logic.
══════════════════════════════════════════════ */

/* ── 1. HERO — compact, intentional vertical rhythm ── */
@media(max-width:560px){
  body:has(.document-homepage) .termin-first-homepage{padding:0!important}
  body:has(.document-homepage) .termin-kicker{font-size:10px;letter-spacing:.16em;margin-bottom:8px}
  body:has(.document-homepage) .termin-hero-title{font-size:clamp(28px,8.6vw,36px);line-height:1.07;margin-bottom:10px}
  body:has(.document-homepage) .termin-hero-sub{font-size:15px;line-height:1.52;margin-bottom:0}
  body:has(.document-homepage) .termin-hero-actions{margin-top:16px;gap:10px}
  body:has(.document-homepage) .hero-urgency-card{margin-top:14px}
  body:has(.document-homepage) .hero-reassurance{margin-top:10px;font-size:11px;line-height:1.5}
}

/* ── 2. CTA BUTTONS — consistent height, primary emphasis ── */
@media(max-width:560px){
  body:has(.document-homepage) .termin-primary-cta{
    min-height:52px;
    font-size:16px;
    font-weight:700;
    letter-spacing:.01em;
    box-shadow:0 10px 22px rgba(47,111,85,.26),inset 0 1px 0 rgba(255,255,255,.18);
  }
  body:has(.document-homepage) .termin-secondary-cta{
    min-height:44px;
    font-size:14px;
  }
  body:has(.document-homepage) .cta-btn,
  body:has(.document-homepage) .cta-btn.ghost,
  body:has(.document-homepage) .cta-btn.green{
    min-height:46px;
    border-radius:10px;
    font-size:14px;
  }
}

/* ── 3. TYPOGRAPHY — consistent section scale ── */
@media(max-width:560px){
  body:has(.document-homepage) .section-label{font-size:10px;letter-spacing:.12em;margin-bottom:6px}
  body:has(.document-homepage) h2.section-title{font-size:clamp(22px,6.6vw,28px);line-height:1.13}
  body:has(.document-homepage) .section-sub{font-size:14px;line-height:1.55}
  body:has(.document-homepage) .section-hdr{margin-bottom:12px}
  body:has(.document-homepage) .human-intro-card h2{font-size:clamp(20px,6.2vw,26px);line-height:1.13}
  body:has(.document-homepage) .preview-trust-copy h2{font-size:clamp(20px,6.2vw,26px);line-height:1.13}
  body:has(.document-homepage) .service-choice-card h3{font-size:19px}
  body:has(.document-homepage) .final-action-card h2{font-size:clamp(21px,6.4vw,27px);line-height:1.13}
}

/* ── 4. LONG TEXT — readability ── */
@media(max-width:560px){
  body:has(.document-homepage) .home-seo-section{padding:28px 16px}
  body:has(.document-homepage) .home-seo-inner p{font-size:14px;line-height:1.76;margin-bottom:16px}
  body:has(.document-homepage) .home-seo-title{font-size:16px;margin-bottom:14px;line-height:1.38}
  body:has(.document-homepage) .human-story-card p:not(.section-label){font-size:14px;line-height:1.7}
  body:has(.document-homepage) .human-intro-card p:not(.section-label){font-size:14px;line-height:1.62}
}

/* ── 5. TERMIN / SERVICE SECTION — visual separation ── */
@media(max-width:700px){
  body:has(.document-homepage) .service-choice-section{padding:14px 16px 10px}
  body:has(.document-homepage) .service-choice-card--termin{
    padding-top:16px;
    padding-bottom:16px;
    border-top:0;
  }
  body:has(.document-homepage) .service-choice-card--docs{
    padding-bottom:12px;
  }
  /* Accent: Termin row gets green left rule on mobile */
  body:has(.document-homepage) .human-service-grid{
    border-top:2px solid #e2d2b8;
  }
  body:has(.document-homepage) .service-choice-card--termin{
    border-left:3px solid #2f6f55;
    padding-left:12px;
  }
  body:has(.document-homepage) .service-choice-card--docs{
    border-left:3px solid #ccb99d;
    padding-left:12px;
  }
  body:has(.document-homepage) .service-card-text{font-size:14px;line-height:1.6}
  body:has(.document-homepage) .service-card-meta{font-size:13px}
  /* CTA full-width with visible shadow */
  body:has(.document-homepage) .service-choice-card .cta-btn.green,
  body:has(.document-homepage) .service-choice-card .cta-btn.ghost{
    min-height:44px;
    box-shadow:0 6px 16px rgba(47,111,85,.14);
  }
}

/* ── 6. FAQ — tap targets + vertical rhythm ── */
@media(max-width:700px){
  body:has(.document-homepage) .faq-q{
    min-height:52px;
    padding:14px 16px;
    display:flex;
    align-items:center;
    gap:10px;
    font-size:14px;
    font-weight:700;
    line-height:1.35;
  }
  body:has(.document-homepage) .faq-q-icon{
    flex-shrink:0;
    width:28px;
    height:28px;
    font-size:18px;
    line-height:26px;
  }
  body:has(.document-homepage) .faq-a{
    font-size:13px;
    line-height:1.68;
    padding:0 16px 16px;
    color:#526170;
  }
  body:has(.document-homepage) .faq-item{
    border-radius:8px;
    margin-bottom:6px;
    overflow:hidden;
  }
  body:has(.document-homepage) .faq-compact-section{padding-top:12px!important;padding-bottom:28px!important}
}

/* ── 7. DOCUMENT CARDS — clean, consistent system ── */
@media(max-width:700px){
  body:has(.document-homepage) #docs .docs-grid-compact .doc-card{
    min-height:54px;
    padding:13px 14px;
    gap:3px 10px;
  }
  body:has(.document-homepage) #docs .docs-grid-compact .doc-meta-info{display:none}
  body:has(.document-homepage) #docs .docs-grid-compact .cta-price-sub{display:none}
  body:has(.document-homepage) #docs .docs-grid-compact .doc-card h3{font-size:14px;font-weight:700}
  body:has(.document-homepage) #docs .docs-grid-compact .doc-card p{font-size:13px;line-height:1.38}
  body:has(.document-homepage) .documents-compact-section{padding:12px 16px 16px}
  body:has(.document-homepage) .documents-compact-actions{margin-top:10px}
  body:has(.document-homepage) .documents-compact-actions .cta-btn{width:100%;min-height:44px;box-sizing:border-box;text-align:center}
}

/* ── 8. FINAL CTA — conversion block ── */
@media(max-width:560px){
  body:has(.document-homepage) .final-action-section{padding:12px 16px 32px}
  body:has(.document-homepage) .final-action-card{padding:22px 16px;gap:16px;border-radius:10px}
  body:has(.document-homepage) .final-action-buttons{gap:10px}
  body:has(.document-homepage) .final-action-buttons .cta-btn.green{
    min-height:52px;
    font-size:16px;
    font-weight:700;
    box-shadow:0 10px 22px rgba(47,111,85,.22);
  }
  body:has(.document-homepage) .final-action-buttons .cta-btn.ghost{
    min-height:44px;
    font-size:14px;
  }
  body:has(.document-homepage) .final-action-buttons .cta-with-price{width:100%}
}

/* ── 9. FOOTER — mobile spacing and readability ── */
@media(max-width:560px){
  body:has(.document-homepage) footer{padding:28px 16px 22px}
  body:has(.document-homepage) .footer-inner{gap:26px}
  body:has(.document-homepage) .footer-brand p{font-size:13px;line-height:1.62;max-width:100%}
  body:has(.document-homepage) .footer-trust-line{font-size:11px!important}
  body:has(.document-homepage) .footer-nav-group{gap:22px}
  body:has(.document-homepage) .footer-col h4{font-size:13px;letter-spacing:.03em;margin-bottom:9px}
  body:has(.document-homepage) .footer-col a{font-size:13px;line-height:1.85}
  body:has(.document-homepage) .footer-bottom p{font-size:12px}
  body:has(.document-homepage) .footer-disclaimer{font-size:12px;line-height:1.58;padding:12px 0 0}
}

/* ── Trust bar — compact on mobile ── */
@media(max-width:560px){
  .home-trust-bar{padding:10px 16px}
  .trust-bar-inner{gap:6px 14px;justify-content:flex-start}
  .trust-bar-inner span{font-size:11px}
}

/* ── How it works — mobile ── */
@media(max-width:560px){
  body:has(.document-homepage) .home-how-section{padding:22px 16px 26px;background:#fffaf1}
  body:has(.document-homepage) .home-how-steps{gap:0;margin-top:14px}
  body:has(.document-homepage) .home-step-card{padding:0 0 20px 0}
  body:has(.document-homepage) .home-step-num{width:30px;height:30px;font-size:13px;margin:0 0 0 -15px;flex-shrink:0}
  body:has(.document-homepage) .home-step-card h3{font-size:14px;line-height:1.3}
  body:has(.document-homepage) .home-step-card p{font-size:13px;line-height:1.58}
}

/* ── Disclaimer — mobile ── */
@media(max-width:560px){
  body:has(.document-homepage) .home-disclaimer-section{padding:10px 16px 14px}
  body:has(.document-homepage) .home-disclaimer-callout{padding:13px 14px}
  body:has(.document-homepage) .home-disclaimer-callout strong{font-size:13px}
  body:has(.document-homepage) .home-disclaimer-callout p{font-size:12px;line-height:1.6}
}

/* ── Benefit cards (What happens after) — mobile ── */
@media(max-width:560px){
  body:has(.document-homepage) .home-after-section{padding:22px 16px 28px}
  body:has(.document-homepage) .home-benefit-cards{gap:12px;margin-top:14px}
  body:has(.document-homepage) .home-benefit-card{padding:20px 16px;gap:8px;border-radius:10px}
  body:has(.document-homepage) .benefit-card-icon{font-size:26px}
  body:has(.document-homepage) .benefit-card-headline{font-size:17px}
  body:has(.document-homepage) .benefit-card-body{font-size:13px;line-height:1.62}
}

/* ── Mistake section — mobile ── */
@media(max-width:560px){
  body:has(.document-homepage) .mistake-section{padding:14px 16px!important}
  body:has(.document-homepage) .mistake-list p{font-size:13px;line-height:1.5;padding:11px 11px 11px 30px}
  body:has(.document-homepage) .mistake-list p::before{left:12px;top:18px}
}

/* ── Human intro section — mobile ── */
@media(max-width:560px){
  body:has(.document-homepage) .human-intro-section{padding:8px 16px 6px}
  body:has(.document-homepage) .human-intro-card{padding:14px 0}
}

/* ── Preview trust section — mobile ── */
@media(max-width:560px){
  body:has(.document-homepage) .preview-trust-section{padding:8px 16px 10px}
  body:has(.document-homepage) .preview-trust-inner{padding:0}
  body:has(.document-homepage) .preview-trust-copy p{font-size:14px;line-height:1.65}
}

/* ══════════════════════════════════════════════
   MOBILE HERO — photo background, text overlay
   Homepage only · max-width 700px
══════════════════════════════════════════════ */
@media(max-width:700px){
  body:has(.document-homepage) section.hero.document-homepage.termin-first-homepage{
    min-height:clamp(480px,88vh,760px);
    padding:0!important;
    background-color:transparent;
    background-image:url(/assets/redesign/germanyflow-hero-main.webp)!important;
    background-position:90% 25%!important;
    background-size:cover!important;
    background-repeat:no-repeat!important;
  }

  body:has(.document-homepage) section.hero.document-homepage.termin-first-homepage::after,
  body:has(.document-homepage) section.hero.document-homepage.termin-first-homepage::before,
  body:has(.document-homepage) .termin-first-homepage::after,
  body:has(.document-homepage) .termin-first-homepage::before{
    display:none!important;
    content:none!important;
  }

  body:has(.document-homepage) .termin-hero-shell{
    display:flex;
    flex-direction:column;
    gap:0;
    max-width:none;
    padding:0;
    position:relative;
    z-index:1;
  }

  body:has(.document-homepage) .termin-hero-main{
    display:flex;
    flex-direction:column;
    max-width:none;
  }

  body:has(.document-homepage) .hero-image-copy{
    width:min(68%,300px);
    padding:22px 16px 12px;
    background:transparent;
  }

  body:has(.document-homepage) .hero-image-copy .termin-kicker{
    margin-bottom:8px;
    font-size:9px;
    letter-spacing:.12em;
    gap:8px;
  }

  body:has(.document-homepage) .hero-image-copy .termin-kicker-icon{
    width:16px;
    height:16px;
  }

  body:has(.document-homepage) .hero-image-copy .termin-hero-title{
    max-width:none;
    margin:0 0 8px;
    font-size:clamp(22px,6.8vw,32px);
    line-height:1.08;
    letter-spacing:-.02em;
  }

  body:has(.document-homepage) .hero-image-copy .termin-hero-sub{
    max-width:none;
    margin:0 0 6px;
    font-size:clamp(12px,3.4vw,14px);
    line-height:1.42;
  }

  body:has(.document-homepage) .hero-image-copy .termin-hero-sub:last-of-type{
    margin-bottom:0;
  }

  body:has(.document-homepage) .termin-hero-actions{
    margin-top:clamp(190px,56vw,330px);
    padding:0 16px 28px;
    gap:10px;
    background:transparent;
  }

  body:has(.document-homepage) .termin-primary-cta,
  body:has(.document-homepage) .termin-secondary-cta{
    width:100%;
  }
}

/* ══════════════════════════════════════════════
   PREMIUM POLISH PHASE — visual only
   Homepage only · CSS overrides · no HTML/JS/i18n
══════════════════════════════════════════════ */

/* P1 — Document cards */
body:has(.document-homepage) #docs .docs-grid-compact .doc-card{
  min-height:188px;
  padding:22px 18px;
  border-color:#e2d2b8;
  box-shadow:0 10px 24px rgba(83,63,33,.06);
  transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease;
}
body:has(.document-homepage) #docs .docs-grid-compact .doc-card:hover{
  background:#f7efe1;
  border-color:#b8955f;
  transform:translateY(-3px);
  box-shadow:0 14px 28px rgba(83,63,33,.09);
}
body:has(.document-homepage) #docs .docs-grid-compact .doc-icon{
  width:44px;
  height:44px;
  font-size:18px;
}
body:has(.document-homepage) #docs .docs-grid-compact .doc-card h3{
  font-size:16px;
  font-weight:750;
  color:#162235;
}
body:has(.document-homepage) #docs .docs-grid-compact .doc-card p{
  font-size:13px;
  line-height:1.55;
  color:#4e5b67;
}

/* P2 — Trust strip */
body:has(.document-homepage) .home-trust-bar{
  padding:10px 28px;
  background:#fffaf1;
  border-top:1px solid #e8dfd2;
  border-bottom:1px solid #e8dfd2;
}
body:has(.document-homepage) .trust-bar-inner{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
  max-width:1040px;
}
body:has(.document-homepage) .trust-bar-inner span{
  font-size:13px;
  font-weight:600;
  color:#3d4b60;
  text-align:center;
  padding:8px 10px 8px 28px;
}

/* P3 — Human intro */
body:has(.document-homepage) .human-intro-section{
  padding:20px 28px 16px;
}
body:has(.document-homepage) .human-intro-card{
  padding:28px 32px;
  border:1px solid #e2d2b8;
  box-shadow:0 16px 34px rgba(83,63,33,.07);
}
body:has(.document-homepage) .human-intro-card h2{
  font-size:clamp(28px,3.8vw,44px);
  color:#121c28;
  margin-bottom:14px;
}
body:has(.document-homepage) .human-intro-card .document-explain-lead{
  font-size:17px;
  line-height:1.68;
  color:#2d3b49;
}
body:has(.document-homepage) .human-intro-card .mistake-list p{
  color:#2d3b49;
  padding:15px 16px 15px 40px;
}

/* P4 — FAQ */
body:has(.document-homepage) .faq-compact-section{
  padding:32px 28px 24px!important;
}
body:has(.document-homepage) .faq-item{
  margin-bottom:10px;
  border:1px solid #e2d2b8;
  border-radius:10px;
  box-shadow:0 2px 6px rgba(83,63,33,.04);
}
body:has(.document-homepage) .faq-item:hover{
  border-color:#d8c5a8;
  box-shadow:0 4px 12px rgba(83,63,33,.07);
}
body:has(.document-homepage) .faq-q{
  padding:20px 24px;
  font-size:16px;
  font-weight:650;
  color:#162235;
}
body:has(.document-homepage) .faq-q:hover{
  background:#fbf4e7;
}
body:has(.document-homepage) .faq-a{
  font-size:14px;
  line-height:1.7;
  color:#3d4b60;
  padding:0 24px 20px;
}

/* P5 — Final CTA */
body:has(.document-homepage) .final-action-section{
  padding:28px 28px 40px;
}
body:has(.document-homepage) .final-action-card{
  padding:32px 36px;
  max-width:920px;
  border:1px solid #d8c5a8;
  box-shadow:0 18px 40px rgba(83,63,33,.08);
}
body:has(.document-homepage) .final-action-card h2{
  font-size:clamp(28px,3.4vw,40px);
  color:#121c28;
}
body:has(.document-homepage) .final-action-buttons .cta-btn.green{
  min-height:52px;
  font-size:15px;
  font-weight:700;
  padding:0 28px;
}
body:has(.document-homepage) .final-action-buttons .cta-btn.ghost{
  min-height:46px;
  font-size:14px;
}

/* P6 — Spacing audit */
body:has(.document-homepage) .documents-compact-section{
  padding-top:20px;
  padding-bottom:24px;
}
body:has(.document-homepage) .home-seo-section{
  padding-top:36px;
}

@media(max-width:700px){
  body:has(.document-homepage) #docs .docs-grid-compact .doc-card{
    padding:16px 14px;
  }
  body:has(.document-homepage) #docs .docs-grid-compact .doc-icon{
    width:40px;
    height:40px;
    font-size:17px;
  }
  body:has(.document-homepage) .trust-bar-inner{
    grid-template-columns:repeat(2,1fr);
    gap:10px;
  }
  body:has(.document-homepage) .trust-bar-inner span{
    font-size:12px;
    text-align:left;
  }
  body:has(.document-homepage) .human-intro-section{
    padding:16px 16px 12px;
  }
  body:has(.document-homepage) .human-intro-card{
    padding:20px 18px;
  }
  body:has(.document-homepage) .human-intro-card h2{
    font-size:clamp(24px,7.2vw,34px);
  }
  body:has(.document-homepage) .human-intro-card .document-explain-lead{
    font-size:15px;
  }
  body:has(.document-homepage) .faq-q{
    padding:18px 16px;
    font-size:15px;
  }
  body:has(.document-homepage) .faq-a{
    padding:0 16px 16px;
    font-size:14px;
  }
  body:has(.document-homepage) .final-action-section{
    padding:20px 16px 32px;
  }
  body:has(.document-homepage) .final-action-card{
    padding:24px 20px;
  }
}

/* ══════════════════════════════════════════════
   VISUAL STORYTELLING — homepage decorative only
   Termin preview · step icons · CTA accent
══════════════════════════════════════════════ */

/* P1 — Termin notification preview (secondary hint) */
body:has(.document-homepage) .service-choice-section .termin-explain-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:20px;
  align-items:start;
  max-width:1040px;
  margin:0 auto;
}
body:has(.document-homepage) .termin-notify-preview{
  align-self:center;
  width:132px;
  max-width:132px;
  padding:9px 11px;
  border:1px solid #e8dfd2;
  border-radius:7px;
  background:rgba(255,250,241,.72);
  box-shadow:none;
  opacity:.68;
  display:grid;
  gap:2px;
  flex-shrink:0;
}
body:has(.document-homepage) .termin-notify-check{
  color:#2f6f55;
  font-size:11px;
  font-weight:700;
  line-height:1;
  opacity:.85;
}
body:has(.document-homepage) .termin-notify-place{
  color:#526170;
  font-size:10px;
  font-weight:600;
  line-height:1.3;
}
body:has(.document-homepage) .termin-notify-label{
  color:#8a9aaa;
  font-size:9px;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  line-height:1.2;
}
body:has(.document-homepage) .termin-notify-time{
  color:#6b8f7a;
  font-size:11px;
  font-weight:650;
  line-height:1.2;
}

/* P2 — Document flow icons (scanning aid, smaller than step nums) */
body:has(.document-homepage) #choose-path .home-step-icon{
  display:block;
  width:24px;
  height:24px;
  margin:0 auto 6px;
  border:1px solid #e2d2b8;
  border-radius:6px;
  background:#fbf4e7;
  position:relative;
  flex-shrink:0;
}
body:has(.document-homepage) #choose-path .home-step-icon::before,
body:has(.document-homepage) #choose-path .home-step-icon::after{
  content:"";
  position:absolute;
  box-sizing:border-box;
}
body:has(.document-homepage) #choose-path .home-step-icon--doc::before{
  width:10px;
  height:12px;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  border:1.5px solid #6b8f7a;
  border-radius:1px;
}
body:has(.document-homepage) #choose-path .home-step-icon--preview::before{
  width:10px;
  height:10px;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  border:1.5px solid #6b8f7a;
  border-radius:50%;
}
body:has(.document-homepage) #choose-path .home-step-icon--preview::after{
  width:3px;
  height:3px;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  background:#6b8f7a;
  border-radius:50%;
}
body:has(.document-homepage) #choose-path .home-step-icon--email::before{
  width:11px;
  height:8px;
  top:54%;
  left:50%;
  transform:translate(-50%,-50%);
  border:1.5px solid #6b8f7a;
  border-radius:1px;
}
body:has(.document-homepage) #choose-path .home-step-icon--email::after{
  width:11px;
  height:0;
  top:38%;
  left:50%;
  transform:translate(-50%,0);
  border-top:1.5px solid #6b8f7a;
  border-left:2px solid transparent;
  border-right:2px solid transparent;
}
body:has(.document-homepage) #choose-path .home-step-icon--office::before{
  width:11px;
  height:8px;
  top:58%;
  left:50%;
  transform:translate(-50%,-50%);
  border:1.5px solid #6b8f7a;
  border-radius:1px;
}
body:has(.document-homepage) #choose-path .home-step-icon--office::after{
  width:0;
  height:0;
  top:30%;
  left:50%;
  transform:translate(-50%,0);
  border-left:6px solid transparent;
  border-right:6px solid transparent;
  border-bottom:5px solid #6b8f7a;
}

/* P3 — Final CTA accent (decorative, never competes with buttons) */
body:has(.document-homepage) .final-action-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
body:has(.document-homepage) .final-action-accent{
  display:block;
  width:34px;
  height:34px;
  flex-shrink:0;
  opacity:.42;
  border:1px solid #e2d2b8;
  border-radius:7px;
  background:#fbf4e7;
  position:relative;
  pointer-events:none;
}
body:has(.document-homepage) .final-action-accent::before{
  content:"";
  position:absolute;
  width:12px;
  height:14px;
  top:8px;
  left:9px;
  border:1.5px solid #8aa396;
  border-radius:1px;
  box-sizing:border-box;
}
body:has(.document-homepage) .final-action-accent::after{
  content:"";
  position:absolute;
  width:10px;
  height:10px;
  right:5px;
  bottom:5px;
  border:1.5px solid #8aa396;
  border-radius:50%;
  background:transparent;
  box-sizing:border-box;
}

@media(max-width:700px){
  body:has(.document-homepage) .service-choice-section .termin-explain-row{
    grid-template-columns:1fr;
    gap:0;
  }
  body:has(.document-homepage) .termin-notify-preview{
    width:120px;
    max-width:120px;
    margin:10px auto 0;
    opacity:.62;
  }
  body:has(.document-homepage) #choose-path .home-step-card{
    grid-template-rows:auto auto auto;
  }
  body:has(.document-homepage) #choose-path .home-step-num{
    grid-row:1 / span 3;
  }
  body:has(.document-homepage) #choose-path .home-step-icon{
    grid-column:2;
    grid-row:1;
    margin:0 0 4px;
    width:22px;
    height:22px;
  }
  body:has(.document-homepage) #choose-path .home-step-card h3{
    grid-row:2;
  }
  body:has(.document-homepage) #choose-path .home-step-card p{
    grid-row:3;
  }
  body:has(.document-homepage) .final-action-card{
    display:grid;
    grid-template-columns:1fr;
    gap:10px;
  }
  body:has(.document-homepage) .final-action-accent{
    justify-self:center;
    width:30px;
    height:30px;
    opacity:.38;
    order:2;
  }
  body:has(.document-homepage) .final-action-card h2{order:1}
  body:has(.document-homepage) .final-action-buttons{order:3}
}

/* ═══════════════════════════════════════════════
   VISUALIZATION SECTIONS — layout shells
═══════════════════════════════════════════════ */
.viz-section{
  padding:96px 28px;
  text-align:center;
  background:#fffaf1;
}
.viz-termin-section{
  background:#fbf7ef;
  padding:76px 28px;
  border-top:1px solid #efe3d1;
}
.viz-container{
  max-width:1180px;
  margin:0 auto;
}
.viz-container--sm{
  max-width:980px;
}
.viz-section .section-label{
  margin-bottom:12px;
}
.viz-title{
  font-size:clamp(28px,3vw,42px);
  font-weight:700;
  color:#162235;
  line-height:1.15;
  margin:0 0 16px;
  font-family:Georgia,"Times New Roman",serif;
}
.viz-termin-section .viz-title{
  font-size:clamp(22px,2.4vw,34px);
}
.viz-sub{
  font-size:clamp(16px,1.4vw,18px);
  color:#526170;
  line-height:1.6;
  max-width:640px;
  margin:0 auto 56px;
}
.viz-termin-section .viz-sub{
  margin-bottom:40px;
  max-width:580px;
}
.viz-cta{
  display:flex;
  justify-content:center;
  margin-top:40px;
}
.viz-termin-section .viz-cta{
  margin-top:32px;
}

/* ── Documents: 2-col grid ── */
.viz-docs-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:56px;
  align-items:start;
  margin-bottom:48px;
  text-align:left;
}

/* Roadmap */
.viz-roadmap-lbl{
  margin-bottom:24px!important;
  display:block;
}
.viz-step{
  display:flex;
  gap:16px;
  align-items:flex-start;
  padding-bottom:0;
  position:relative;
  margin-bottom:24px;
}
.viz-step::before{
  content:"";
  position:absolute;
  left:15px;
  top:32px;
  height:calc(100% + 4px);
  width:2px;
  background:#e8dfd2;
}
.viz-step--last::before{display:none}
.viz-step--done::before{background:#2f6f55}
.viz-step--done + .viz-step--active::before,
.viz-step--active::before{background:linear-gradient(to bottom,#2f6f55 0%,#e8dfd2 100%)}
.viz-step-dot{
  width:32px;
  height:32px;
  border-radius:50%;
  border:2px solid #d8c5a8;
  background:#fffaf1;
  flex-shrink:0;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:13px;
  font-weight:900;
  color:#526170;
  position:relative;
  z-index:1;
}
.viz-step-dot--done{
  background:#2f6f55;
  border-color:#2f6f55;
  color:#fff;
}
.viz-step-dot--active{
  border-color:#2f6f55;
  border-width:2.5px;
  background:#fff;
}
.viz-step-dot--active::after{
  content:"";
  width:10px;
  height:10px;
  background:#2f6f55;
  border-radius:50%;
  display:block;
}
.viz-step-body{
  padding-top:4px;
}
.viz-step-title{
  display:block;
  font-size:15px;
  font-weight:700;
  color:#162235;
  margin-bottom:3px;
}
.viz-step--pending .viz-step-title{color:#8a96a3}
.viz-step-desc{
  font-size:13px;
  color:#8a96a3;
  line-height:1.4;
}
.viz-step--done .viz-step-desc,
.viz-step--active .viz-step-desc{color:#526170}

/* Document stack mockup */
.viz-doc-stack{
  position:relative;
  padding:12px;
}
.viz-doc-shadow{
  position:absolute;
  inset:12px;
  border-radius:10px;
  border:1px solid;
}
.viz-doc-shadow--1{
  background:#f0e9dc;
  border-color:#dfd0bc;
  transform:rotate(3.5deg) translate(7px,8px);
  z-index:1;
}
.viz-doc-shadow--2{
  background:#f8f2ea;
  border-color:#e6d9c9;
  transform:rotate(1.5deg) translate(3px,4px);
  z-index:2;
}
.viz-doc-card{
  position:relative;
  z-index:3;
  background:#fff;
  border:1px solid #d8c5a8;
  border-radius:10px;
  padding:28px 24px;
  box-shadow:0 10px 28px rgba(22,34,53,.10);
}
.viz-doc-hdr{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:22px;
}
.viz-doc-tag{
  font-size:10px;
  font-weight:900;
  letter-spacing:.06em;
  color:#fff;
  background:#2f6f55;
  border-radius:4px;
  padding:2px 8px;
  text-transform:uppercase;
}
.viz-doc-name{
  font-size:14px;
  font-weight:700;
  color:#162235;
}
.viz-doc-lines{
  display:flex;
  flex-direction:column;
  gap:9px;
  margin-bottom:22px;
}
.viz-doc-line{
  height:8px;
  background:#ede4d8;
  border-radius:4px;
}
.viz-doc-line--s{width:55%}
.viz-doc-line--m{width:80%}
.viz-doc-badges{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.viz-doc-badge{
  font-size:11px;
  font-weight:700;
  color:#2f6f55;
  background:#edf6f1;
  border:1px solid #c3e0d3;
  border-radius:999px;
  padding:3px 11px;
}

/* Stats row */
.viz-docs-stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
  margin-bottom:0;
}
.viz-stat{
  background:#fff;
  border:1px solid #e8dfd2;
  border-radius:10px;
  padding:22px 20px;
  text-align:center;
}
.viz-stat-val{
  display:block;
  font-size:32px;
  font-weight:900;
  color:#162235;
  font-family:Georgia,"Times New Roman",serif;
  line-height:1;
  margin-bottom:6px;
}
.viz-stat-check::before{
  content:"✓";
  display:block;
  font-size:28px;
  color:#2f6f55;
  line-height:1;
  margin-bottom:6px;
}
.viz-stat-lbl{
  font-size:13px;
  color:#526170;
  line-height:1.4;
}

/* ── Termin: 2-col grid ── */
.viz-termin-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:32px;
  align-items:start;
  text-align:left;
}

/* Notification mockup */
.viz-notify{
  background:#fff;
  border:1px solid #d8c5a8;
  border-radius:14px;
  padding:28px 24px;
  text-align:center;
  box-shadow:0 6px 24px rgba(22,34,53,.08);
}
.viz-notify-hdr{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  margin-bottom:18px;
}
.viz-notify-dot{
  width:10px;
  height:10px;
  border-radius:50%;
  background:#2f6f55;
  flex-shrink:0;
}
.viz-notify-brand{
  font-size:11px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.07em;
  color:#8a96a3;
}
.viz-notify-icon{
  width:52px;
  height:52px;
  background:#edf6f1;
  border-radius:50%;
  margin:0 auto 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:22px;
  color:#2f6f55;
}
.viz-notify-title{
  display:block;
  font-size:18px;
  font-weight:700;
  color:#162235;
  margin-bottom:6px;
}
.viz-notify-place{
  font-size:14px;
  color:#526170;
  margin:0 0 4px;
}
.viz-notify-time{
  font-size:26px;
  font-weight:900;
  color:#2f6f55;
  font-family:Georgia,"Times New Roman",serif;
  margin:0 0 18px;
  letter-spacing:.02em;
}
.viz-notify-cta{
  display:block;
  padding:11px 20px;
  background:#2f6f55;
  color:#fff!important;
  text-decoration:none;
  border-radius:7px;
  font-size:13px;
  font-weight:700;
  margin-bottom:14px;
  transition:background .18s;
}
.viz-notify-cta:hover{background:#236248}
.viz-notify-disclaimer{
  font-size:11px;
  color:#a0aab4;
  line-height:1.5;
  margin:0;
}

/* Cities list */
.viz-cities-lbl{
  margin-bottom:18px!important;
  display:block;
}
.viz-city-list{
  list-style:none;
  padding:0;
  margin:0 0 20px;
}
.viz-city{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 0;
  border-bottom:1px solid #f0e8d8;
}
.viz-city:last-child{border-bottom:none}
.viz-city-dot{
  width:10px;
  height:10px;
  border-radius:50%;
  background:#d0c5b5;
  flex-shrink:0;
}
.viz-city--active .viz-city-dot{background:#2f6f55}
.viz-city-dot--soon{background:#d4a800}
.viz-city-dot--road{background:#b0bad0}
.viz-city-dot--plan{background:#d8d0c8}
.viz-city-name{
  flex:1;
  font-size:14px;
  font-weight:700;
  color:#162235;
}
.viz-city:not(.viz-city--active) .viz-city-name{color:#8a96a3}
.viz-city-badge{
  font-size:10px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.04em;
  padding:2px 8px;
  border-radius:999px;
  background:#f0e8d8;
  color:#99806a;
  white-space:nowrap;
}
.viz-city-badge--active{
  background:#edf6f1;
  color:#2f6f55;
}
.viz-termin-meta{
  padding-top:16px;
  border-top:1px solid #f0e8d8;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.viz-meta-item{
  font-size:13px;
  color:#526170;
  margin:0;
  line-height:1.4;
}

/* ── Responsive ── */
@media(max-width:1000px){
  .viz-docs-grid{gap:36px}
}
@media(max-width:768px){
  .viz-section{padding:64px 20px}
  .viz-termin-section{padding:52px 20px}
  .viz-sub{margin-bottom:40px}
  .viz-docs-grid{grid-template-columns:1fr;gap:32px}
  .viz-termin-grid{grid-template-columns:1fr;gap:24px}
  .viz-doc-stack{max-width:420px;margin:0 auto}
  .viz-notify{max-width:420px;margin:0 auto}
}
@media(max-width:560px){
  .viz-section{padding:48px 16px}
  .viz-termin-section{padding:40px 16px}
  .viz-sub{font-size:15px;margin-bottom:32px}
  .viz-docs-stats{grid-template-columns:1fr}
  .viz-stat-val{font-size:28px}
}

/* HERO — photo only */
section.hero.document-homepage.termin-first-homepage,
body:has(.document-homepage) section.hero.document-homepage.termin-first-homepage{
  background:transparent url(/assets/redesign/germanyflow-hero-main.webp) 72% center/cover no-repeat!important;
}
section.hero.document-homepage.termin-first-homepage::before,
section.hero.document-homepage.termin-first-homepage::after,
body:has(.document-homepage) section.hero.document-homepage.termin-first-homepage::before,
body:has(.document-homepage) section.hero.document-homepage.termin-first-homepage::after{
  display:none!important;
  content:none!important;
}
@media(max-width:700px){
  section.hero.document-homepage.termin-first-homepage,
  body:has(.document-homepage) section.hero.document-homepage.termin-first-homepage{
    background:transparent url(/assets/redesign/germanyflow-hero-main.webp) 90% 25%/cover no-repeat!important;
  }
  section.hero.document-homepage.termin-first-homepage .hero-image-copy .termin-kicker,
  section.hero.document-homepage.termin-first-homepage .hero-image-copy .termin-hero-title,
  section.hero.document-homepage.termin-first-homepage .hero-image-copy .termin-hero-sub,
  body:has(.document-homepage) .hero-image-copy .termin-kicker,
  body:has(.document-homepage) .hero-image-copy .termin-hero-title,
  body:has(.document-homepage) .hero-image-copy .termin-hero-sub{
    text-shadow:0 1px 8px rgba(255,250,241,.9),0 0 1px rgba(255,250,241,.95);
  }
}


/* ═══════════════════════════════════════════════
   HOMEPAGE VISUAL BANNERS
   Documents Banner + Termin Banner
═══════════════════════════════════════════════ */

.home-visual-banner {
  padding: 56px 28px;
  background: #fffdf8;
}

.home-vbanner-inner {
  display: flex;
  min-height: 460px;
  max-width: 1160px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 6px 40px rgba(22,34,53,.09);
}

/* ── Text side (docs: left; termin: right) ── */
.home-vbanner-text {
  width: 44%;
  flex-shrink: 0;
  padding: 56px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  background: #fff;
  position: relative;
  z-index: 1;
}

/* ── Image side ── */
.home-vbanner-image {
  flex: 1;
  position: relative;
  overflow: hidden;
  min-height: 320px;
}

.home-vbanner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ── Termin banner: image LEFT (flex:1=56%), text RIGHT (44%) ── */
.home-termin-banner .home-vbanner-image { order: 1; flex: 1; }
.home-termin-banner .home-vbanner-text  { order: 2; }

/* ── Fade edge between text and image ── */
.home-docs-banner .home-vbanner-image::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 100px;
  background: linear-gradient(to right, #fff 0%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}
/* Termin: image is on LEFT so fade on its RIGHT edge (adjacent to text) */
.home-termin-banner .home-vbanner-image::before {
  content: '';
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 100px;
  background: linear-gradient(to left, #fff 0%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}

/* ── Typography ── */
.home-vbanner-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #2f6f55;
  line-height: 1;
}
.home-vbanner-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  background: #2f6f55;
  border-radius: 50%;
  flex-shrink: 0;
}

.home-vbanner-heading {
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 800;
  color: #1a3d2b;
  line-height: 1.18;
  margin: 0;
}

.home-vbanner-body {
  font-size: 15px;
  color: #526170;
  line-height: 1.72;
  margin: 0;
}

/* ── CTA block ── */
.home-vbanner-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  margin-top: 8px;
}

.home-vbanner-hint {
  font-size: 12px;
  color: #8a9aab;
  letter-spacing: .01em;
}

/* ── RTL ── */
[dir="rtl"] .home-vbanner-badge::before { order: 1; }
[dir="rtl"] .home-docs-banner .home-vbanner-image::before {
  left: auto; right: 0;
  background: linear-gradient(to left, #fff 0%, transparent 100%);
}
[dir="rtl"] .home-termin-banner .home-vbanner-image::after {
  right: auto; left: 0;
  background: linear-gradient(to right, #fff 0%, transparent 100%);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .home-vbanner-inner {
    flex-direction: column;
    min-height: unset;
    border-radius: 20px;
  }
  .home-vbanner-text {
    width: 100%;
    padding: 40px 32px;
  }
  /* docs: text top (DOM first), image bottom (DOM second) — natural column order */
  .home-docs-banner .home-vbanner-image { order: 1; }
  /* termin: image top (DOM first = order:1), text bottom (DOM second = order:2)
     — natural column order, no override needed */
  .home-termin-banner .home-vbanner-image { order: 1; }
  .home-termin-banner .home-vbanner-text  { order: 2; }
  /* fades: off on mobile */
  .home-docs-banner .home-vbanner-image::before,
  .home-termin-banner .home-vbanner-image::before { display: none; }
}

@media (max-width: 600px) {
  .home-visual-banner { padding: 36px 16px; }
  .home-vbanner-text { padding: 32px 22px; gap: 14px; }
  .home-vbanner-image { min-height: 260px; }
  .home-vbanner-heading { font-size: 22px; }
  .home-vbanner-body { font-size: 14px; }
}

/* ══════════════════════════════════════════════
   HERO STAGE 1 — copy restructure support
   Mobile legibility veil over photo-only hero:
   soft light zones under text (top) and CTAs (bottom),
   face area in the middle stays clear.
   Real element background — hero pseudo-elements are
   intentionally disabled by the photo-only phase.
══════════════════════════════════════════════ */
@media(max-width:700px){
  body:has(.document-homepage) .termin-hero-shell{
    background:linear-gradient(180deg,
      rgba(251,247,239,.94) 0%,
      rgba(251,247,239,.66) 20%,
      rgba(251,247,239,0) 36%,
      rgba(251,247,239,0) 52%,
      rgba(251,247,239,.55) 66%,
      rgba(251,247,239,.96) 82%,
      #fbf7ef 100%);
  }
  body:has(.document-homepage) .termin-hero-actions{margin-top:clamp(150px,44vw,260px)}
  body:has(.document-homepage) .hero-price-anchor,
  body:has(.document-homepage) .hero-founder-line{padding:0 16px}
  body:has(.document-homepage) .hero-founder-line{margin-bottom:20px}
}

/* ══════════════════════════════════════════════
   CHOOSE PATH STAGE 2 — restored product fork
   Places .cta-with-price (button + price sub) into
   the list-row grid; the bare .cta-btn placement rule
   only targets direct grid children.
══════════════════════════════════════════════ */
body:has(.document-homepage) .service-choice-card .cta-with-price{
  grid-column:3;grid-row:1/span 2;align-self:center;justify-self:end;
  display:flex;flex-direction:column;gap:6px;
}
@media(max-width:900px){
  body:has(.document-homepage) .service-choice-card .cta-with-price{grid-column:1;grid-row:auto;justify-self:stretch}
}
/* Desktop: the list-row card phase expects full-width rows,
   but an earlier phase left a 2-column grid — single column here. */
@media(min-width:701px){
  body:has(.document-homepage) .service-choice-grid{grid-template-columns:1fr;gap:0;max-width:1100px}
}

/* ══════════════════════════════════════════════
   HONESTY STAGE 3 — trust block
   Cards inherit .trust-problem-card premium styling.
   Logical properties (inline-start) keep RTL correct.
══════════════════════════════════════════════ */
body:has(.document-homepage) .home-honesty-section{padding:52px 28px;background:#fbf7ef}
body:has(.document-homepage) .honesty-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;max-width:1040px;margin:0 auto}
body:has(.document-homepage) .honesty-card{min-height:0}
body:has(.document-homepage) .honesty-card::before{display:none}
body:has(.document-homepage) .honesty-card strong{display:block;color:#17202a;font-size:16px;margin-bottom:14px}
body:has(.document-homepage) .honesty-list{list-style:none;margin:0;padding:0;display:grid;gap:10px}
body:has(.document-homepage) .honesty-list li{position:relative;padding-inline-start:26px;color:#344252;font-size:14px;line-height:1.55}
body:has(.document-homepage) .honesty-list li::before{content:"";position:absolute;inset-inline-start:0;top:.4em;width:12px;height:12px;border:2px solid #2f6f55;border-radius:50%;background:#fffaf1}
body:has(.document-homepage) .honesty-card--dont .honesty-list li::before{border-color:#b8955f}
body:has(.document-homepage) .honesty-payment{max-width:1040px;margin:18px auto 0;color:#526170;font-size:14px;line-height:1.6}
body:has(.document-homepage) .honesty-payment a{color:#8a5b13;font-weight:600;margin-inline-start:6px}
@media(max-width:700px){
  body:has(.document-homepage) .home-honesty-section{padding:36px 16px}
  body:has(.document-homepage) .honesty-grid{grid-template-columns:1fr}
}

/* ══════════════════════════════════════════════
   PREMIUM POLISH STAGE 5 — visual rhythm + accents
   Pure-CSS illustrations, no image assets.
   FAQ needs !important: alt-bg rule at ~3582 uses it.
══════════════════════════════════════════════ */
body:has(.document-homepage) #docs-path{background:#fffdf8}
body:has(.document-homepage) .faq-compact-section{background:#fffdf8!important}

/* A: preview note beside docs steps */
body:has(.document-homepage) .docs-path-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:28px;align-items:center}
body:has(.document-homepage) .preview-note-card{padding:20px;border:1px solid #e2d2b8;border-radius:8px;background:#fffaf1;box-shadow:0 14px 30px rgba(83,63,33,.08)}
body:has(.document-homepage) .preview-note-card strong{display:block;color:#17202a;font-size:15px;line-height:1.35;margin-bottom:8px}
body:has(.document-homepage) .preview-note-card p{margin:0;color:#526170;font-size:13px;line-height:1.55}
body:has(.document-homepage) .preview-note-sheet{position:relative;min-height:130px;margin-bottom:16px;padding:18px 16px;background:#fffdf8;border:1px solid #d7c4a6;box-shadow:0 10px 22px rgba(82,62,33,.10);transform:rotate(-1.5deg)}
body:has(.document-homepage) .preview-note-sheet i{display:block;height:8px;margin:9px 0;border-radius:99px;background:#d8c5a8}
body:has(.document-homepage) .preview-note-sheet i:nth-of-type(2){width:72%}
body:has(.document-homepage) .preview-note-sheet i:nth-of-type(3){width:52%}
body:has(.document-homepage) .preview-note-sheet b{position:absolute;inset-inline-end:10px;bottom:10px;width:64px;height:64px;display:grid;place-items:center;border:3px double #2f6f55;border-radius:50%;color:#2f6f55;font-size:11px;font-weight:700;text-transform:uppercase;transform:rotate(-12deg);background:rgba(255,250,241,.85)}

/* B: termin notification ping (static variant of .alert-ticket) */
body:has(.document-homepage) .termin-ping-wrap{display:flex;justify-content:center}
body:has(.document-homepage) .termin-ping-wrap .alert-ticket--inline{position:static;width:auto;max-width:430px;margin:0 0 26px;transform:rotate(-2deg);backdrop-filter:none;background:#fffaf1;border:1px solid #d8c5a8;box-shadow:0 14px 30px rgba(91,70,37,.12)}
body:has(.document-homepage) .termin-ping-wrap .alert-ticket--inline strong{color:#17202a}
body:has(.document-homepage) .termin-ping-wrap .alert-ticket--inline small{color:#526170}

@media(max-width:900px){
  body:has(.document-homepage) .docs-path-layout{grid-template-columns:1fr}
  body:has(.document-homepage) .preview-note-card{max-width:340px;margin:6px auto 0}
}

/* ══════════════════════════════════════════════
   PREMIUM LIFT STAGE 6
   Human story, doc card icons/tags, choose-path hint,
   language strip, hero warm depth (desktop only —
   mobile keeps its own bg rule + stage-1 veil).
══════════════════════════════════════════════ */
/* 1. Human story */
body:has(.document-homepage) .home-story-section{padding:56px 28px;background:#fffdf8}
body:has(.document-homepage) .story-card{display:grid;grid-template-columns:minmax(320px,.9fr) minmax(0,1fr);gap:44px;align-items:center;max-width:1080px;margin:0 auto}
body:has(.document-homepage) .story-photo img{display:block;width:100%;height:auto;border-radius:10px;box-shadow:0 24px 54px rgba(83,63,33,.16)}
body:has(.document-homepage) .story-copy h2{margin:10px 0 14px;color:#17202a;font-family:Georgia,"Times New Roman",serif;font-size:clamp(28px,3.4vw,42px);line-height:1.12}
body:has(.document-homepage) .story-copy p:not(.section-label){margin:0;color:#4e5b67;font-size:17px;line-height:1.65;max-width:480px}
/* 2. Doc cards: line icons + audience tags + air */
body:has(.document-homepage) #docs .doc-icon--line{display:grid;place-items:center;width:44px;height:44px;border:1.5px solid #2f6f55;border-radius:10px;background:#fbf4e7;color:#2f6f55}
body:has(.document-homepage) #docs .doc-icon--line svg{width:24px;height:24px}
body:has(.document-homepage) #docs .doc-tag{display:inline-block;margin:12px 0 6px;padding:4px 10px;border:1px solid #e2d2b8;border-radius:999px;background:#f7efe1;color:#8a5b13;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
body:has(.document-homepage) #docs .docs-grid-compact .doc-card{min-height:212px;padding:26px 22px}
/* 3. Choose-path hint */
body:has(.document-homepage) .choose-path-hint{margin-top:8px;color:#6b5b47;font-size:15px}
/* 4. Language strip */
body:has(.document-homepage) .home-langs-strip{padding:34px 28px 46px;background:#fbf7ef;border-top:1px solid #efe3d1}
body:has(.document-homepage) .home-langs-title{margin:0 0 16px;text-align:center;color:#6b5b47;font-size:14px;font-weight:600}
body:has(.document-homepage) .home-langs-badges{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}
body:has(.document-homepage) .home-langs-badges span{padding:8px 16px;border:1px solid #d8c5a8;border-radius:999px;background:#fffaf1;color:#26384a;font-size:14px;box-shadow:0 6px 16px rgba(83,63,33,.05)}
/* 5. Hero warm depth — desktop only */
@media(min-width:701px){
  body:has(.document-homepage) section.hero.document-homepage.termin-first-homepage{
    background:linear-gradient(100deg,rgba(255,248,235,.72) 0%,rgba(255,248,235,.28) 36%,rgba(255,248,235,0) 58%),url(/assets/redesign/germanyflow-hero-main.webp) 72% center/cover no-repeat!important;
  }
}
@media(max-width:900px){
  body:has(.document-homepage) .story-card{grid-template-columns:1fr;gap:22px}
  body:has(.document-homepage) .story-copy p:not(.section-label){font-size:15px}
  body:has(.document-homepage) .home-story-section{padding:38px 16px}
}

/* ══════════════════════════════════════════════
   STAGE 7 — premium FAQ / Choose Path cards /
   homepage footer / lighter SEO block.
   Scoped to body:has(.document-homepage) only.
══════════════════════════════════════════════ */
/* R1: FAQ — cards in the honesty-block language */
body:has(.document-homepage) .faq-compact-section .faq-list{max-width:780px;margin:0 auto;display:grid;gap:12px;border:0;background:transparent;box-shadow:none}
body:has(.document-homepage) .faq-item{margin:0;border:1px solid #e2d2b8;border-radius:10px;background:#fffaf1;box-shadow:0 10px 24px rgba(83,63,33,.05);overflow:hidden}
body:has(.document-homepage) .faq-item[open]{border-color:#b8955f;box-shadow:0 16px 32px rgba(83,63,33,.09)}
body:has(.document-homepage) .faq-q{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;padding:17px 20px;background:transparent;color:#17202a;font-family:Georgia,"Times New Roman",serif;font-size:17px;font-weight:700;line-height:1.35;cursor:pointer}
body:has(.document-homepage) .faq-q:hover{background:#fbf4e7}
body:has(.document-homepage) .faq-q::after{content:"›";display:grid;place-items:center;width:26px;height:26px;border:2px solid #2f6f55;border-radius:50%;background:#fffaf1;color:#2f6f55;font-size:15px;line-height:1;flex-shrink:0;transition:transform .25s;transform:rotate(90deg)}
body:has(.document-homepage) details[open] .faq-q::after{transform:rotate(270deg)}
[dir="rtl"] body:has(.document-homepage) .faq-q::after{transform:rotate(-90deg)}
[dir="rtl"] body:has(.document-homepage) details[open] .faq-q::after{transform:rotate(90deg)}
body:has(.document-homepage) .faq-a{padding:0 20px 18px;color:#4e5b67;font-size:14.5px;line-height:1.65}

/* R2: Choose Path — premium cards (overrides list-row phase) */
@media(min-width:701px){
  body:has(.document-homepage) .service-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;max-width:1080px}
}
body:has(.document-homepage) .service-choice-card,
body:has(.document-homepage) .service-choice-card--docs,
body:has(.document-homepage) .service-choice-card--termin{display:flex!important;flex-direction:column;align-items:stretch;gap:10px;min-height:0;padding:26px 24px!important;border:1px solid #d8c5a8!important;border-radius:12px!important;background:#fffaf1!important;box-shadow:0 14px 30px rgba(83,63,33,.07)!important;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
body:has(.document-homepage) .service-choice-card:hover{transform:translateY(-3px);border-color:#b8955f!important;box-shadow:0 18px 36px rgba(83,63,33,.11)!important}
body:has(.document-homepage) .choice-icon{display:grid;place-items:center;width:46px;height:46px;border:1.5px solid #2f6f55;border-radius:10px;background:#fbf4e7;color:#2f6f55}
body:has(.document-homepage) .choice-icon svg{width:26px;height:26px}
body:has(.document-homepage) .service-choice-card h3{font-size:22px}
body:has(.document-homepage) .service-choice-card .cta-with-price{margin-top:auto;display:flex;flex-direction:column;gap:6px}
body:has(.document-homepage) .service-choice-card .cta-btn{width:100%!important;min-width:0!important;justify-self:auto!important}

/* R3: homepage footer — ink premium (homepage scope only) */
body:has(.document-homepage) footer{background:#1c2733;color:rgba(247,239,224,.78);padding:56px 28px 0;border-top:0}
body:has(.document-homepage) .footer-inner{max-width:1180px;margin:0 auto;display:grid;grid-template-columns:minmax(240px,.9fr) minmax(0,1.6fr);gap:44px;padding-bottom:40px}
body:has(.document-homepage) footer .nav-logo{color:#fbf4e8;font-family:Georgia,"Times New Roman",serif;font-size:22px}
body:has(.document-homepage) .footer-brand p{color:rgba(247,239,224,.66);font-size:14px;line-height:1.6;max-width:320px}
body:has(.document-homepage) .footer-trust-line{color:#d8a33e!important;font-size:12.5px!important;font-weight:600;letter-spacing:.04em}
body:has(.document-homepage) .footer-col h4{color:#fbf4e8;font-size:13px;text-transform:uppercase;letter-spacing:.08em;margin:0 0 12px}
body:has(.document-homepage) .footer-col a{display:block;color:rgba(247,239,224,.62);font-size:14px;line-height:2.1;text-decoration:none}
body:has(.document-homepage) .footer-col a:hover{color:#fbf4e8}
body:has(.document-homepage) .footer-bottom{max-width:1180px;margin:0 auto;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;padding:18px 0;border-top:1px solid rgba(247,239,224,.14);color:rgba(247,239,224,.5);font-size:13px;background:transparent}
body:has(.document-homepage) .footer-bottom a{color:rgba(247,239,224,.62)}
body:has(.document-homepage) .footer-bottom a:hover{color:#fbf4e8}
body:has(.document-homepage) .footer-disclaimer{max-width:1180px;margin:0 auto;padding:14px 0 28px;color:rgba(247,239,224,.45);font-size:12.5px;line-height:1.55;background:transparent}
@media(max-width:900px){
  body:has(.document-homepage) .footer-inner{grid-template-columns:1fr;gap:28px}
  body:has(.document-homepage) .footer-nav-group{grid-template-columns:repeat(2,1fr)!important}
}

/* R4: SEO block — lighter reading */
body:has(.document-homepage) .home-seo-inner{max-width:680px}
body:has(.document-homepage) .home-seo-inner p{font-size:15.5px;line-height:1.7;color:#4e5b67}
body:has(.document-homepage) .home-seo-inner p strong{color:#17202a}

/* ══════════════════════════════════════════════
   MOBILE HERO FIX — protected text panel
   Mobile only. Opaque cream panel for all hero copy
   (text never sits on the face), clear photo window
   between panel and CTA zone, focus shifted so the
   face lands inside the window. Desktop untouched.
══════════════════════════════════════════════ */
@media(max-width:700px){
  body:has(.document-homepage) .hero-image-copy{width:100%;max-width:none;padding:22px 18px 26px;background:linear-gradient(180deg,#fbf7ef 0%,#fbf7ef 82%,rgba(251,247,239,0) 100%)}
  body:has(.document-homepage) .hero-image-copy .termin-kicker{font-size:10px;color:#6b4a10}
  body:has(.document-homepage) .hero-image-copy .termin-hero-title{font-size:clamp(26px,7.6vw,34px);text-shadow:none}
  body:has(.document-homepage) .hero-image-copy .termin-hero-sub{font-size:clamp(14px,3.9vw,16px);line-height:1.52;color:#3c4954;text-shadow:none}
  body:has(.document-homepage) section.hero.document-homepage.termin-first-homepage{background-position:78% 24%!important}
  body:has(.document-homepage) .termin-hero-actions{margin-top:clamp(180px,52vw,300px)}
  body:has(.document-homepage) .termin-hero-shell{background:linear-gradient(180deg,rgba(251,247,239,0) 0%,rgba(251,247,239,0) 56%,rgba(251,247,239,.6) 70%,rgba(251,247,239,.97) 84%,#fbf7ef 100%)}
}

/* ══════════════════════════════════════════════
   STAGE 8 — style debt + mobile premium
   Ghost buttons to GermanyFlow palette, touch-visible
   doc CTAs, tighter mobile rhythm, SEO read-more.
══════════════════════════════════════════════ */
/* R1: all homepage ghost CTAs in brand palette (kills legacy blue) */
body:has(.document-homepage) .cta-btn.ghost{background:rgba(255,250,241,.65);border:1px solid #ccb99d;color:#26384a!important;box-shadow:none}
body:has(.document-homepage) .cta-btn.ghost:hover{background:#f3eadb;border-color:#b8955f;color:#17202a!important}
body:has(.document-homepage) #docs .doc-card .doc-cta{color:#2f6f55;opacity:1}
/* R3: SEO read-more (desktop always expanded, summary hidden) */
body:has(.document-homepage) .seo-more>summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;gap:8px;margin-top:4px;color:#8a5b13;font-size:14px;font-weight:600}
body:has(.document-homepage) .seo-more>summary::-webkit-details-marker{display:none}
body:has(.document-homepage) .seo-more>summary::after{content:"›";display:inline-block;transform:rotate(90deg);color:#2f6f55;font-size:15px}
body:has(.document-homepage) .seo-more[open]>summary{display:none}
@media(min-width:701px){
  body:has(.document-homepage) .seo-more>summary{display:none}
}
/* R2: mobile vertical rhythm — return ~10% page height */
@media(max-width:700px){
  body:has(.document-homepage) .home-story-section{padding:26px 16px}
  body:has(.document-homepage) .home-honesty-section{padding:26px 16px}
  body:has(.document-homepage) .home-langs-strip{padding:22px 16px 30px}
  body:has(.document-homepage) .documents-compact-section{padding:28px 16px}
  body:has(.document-homepage) .home-how-section{padding-top:26px;padding-bottom:26px}
  body:has(.document-homepage) .faq-compact-section{padding-top:26px;padding-bottom:30px}
  body:has(.document-homepage) .home-seo-section{padding-top:26px;padding-bottom:24px}
  body:has(.document-homepage) .story-card{gap:16px}
  body:has(.document-homepage) .final-action-section{padding-top:8px;padding-bottom:30px}
}

/* ══════════════════════════════════════════════
   DOCUMENTS R1 — own hero (docs-hero.webp)
   Mirrored composition: scene left, copy right.
   Mobile: solid cream text panel, scene window below.
   Scope: body:has(.documents-situation-hero) only.
══════════════════════════════════════════════ */
body:has(.documents-situation-hero) section.hero.document-homepage.termin-first-homepage{
  background:#fbf7ef url(/assets/redesign/docs-hero.webp) left center/cover no-repeat!important;
}
@media(min-width:701px){
  body:has(.documents-situation-hero) section.hero.document-homepage.termin-first-homepage{
    background:linear-gradient(260deg,#fbf7ef 0%,rgba(251,247,239,.72) 34%,rgba(251,247,239,0) 62%),url(/assets/redesign/docs-hero.webp) left center/cover no-repeat!important;
  }
  body:has(.documents-situation-hero) .termin-hero-shell{grid-template-columns:1fr}
  body:has(.documents-situation-hero) .termin-hero-main{margin-inline-start:auto;margin-inline-end:0;max-width:560px}
}
body:has(.documents-situation-hero) .termin-primary-cta{background:#2f6f55!important;border:1px solid #2f6f55!important;color:#fff!important;border-radius:10px;box-shadow:0 12px 26px rgba(47,111,85,.18)}
body:has(.documents-situation-hero) .termin-primary-cta:hover{background:#285f49!important}
body:has(.documents-situation-hero) .termin-secondary-cta{background:rgba(255,250,241,.7)!important;border:1px solid #ccb99d!important;color:#26384a!important;border-radius:10px}
@media(max-width:700px){
  body:has(.documents-situation-hero) section.hero.document-homepage.termin-first-homepage{
    min-height:auto;
    background:#fbf7ef url(/assets/redesign/docs-hero.webp) 16% calc(100% + 30px)/210% auto no-repeat!important;
    padding:0 0 230px!important;
  }
  body:has(.documents-situation-hero) .termin-hero-shell{background:linear-gradient(180deg,#fbf7ef 0%,#fbf7ef 90%,rgba(251,247,239,0) 100%);padding:20px 16px 30px}
  body:has(.documents-situation-hero) .termin-hero-title{font-size:clamp(26px,7.6vw,34px);line-height:1.1;color:#17202a!important}
  body:has(.documents-situation-hero) .termin-hero-sub{font-size:clamp(14px,3.9vw,16px);line-height:1.52;color:#3c4954;margin:12px 0 16px}
  body:has(.documents-situation-hero) .termin-hero-actions{margin-top:4px!important;gap:10px}
  body:has(.documents-situation-hero) .hero-paper-points{margin-top:16px;padding-top:12px}
}

/* DOCUMENTS R2 — preview/trust scene (anmeldung-paper relocated from hero) */
body:has(.documents-situation-hero) .docs-preview-scene-section{background:#fffdf8;padding:46px 28px}
body:has(.documents-situation-hero) .docs-preview-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:40px;align-items:center;max-width:1040px;margin:0 auto}
body:has(.documents-situation-hero) .docs-preview-copy h2{margin:10px 0 12px;color:#17202a;font-family:Georgia,"Times New Roman",serif;font-size:clamp(26px,3.2vw,38px);line-height:1.14}
body:has(.documents-situation-hero) .docs-preview-copy>p:not(.section-label){color:#4e5b67;font-size:16px;line-height:1.65;margin:0;max-width:480px}
body:has(.documents-situation-hero) .docs-preview-copy .hero-price-anchor{margin-top:16px}
body:has(.documents-situation-hero) .docs-paper-stage{position:relative;height:560px}
body:has(.documents-situation-hero) .docs-paper-stage .anmeldung-paper{right:auto;left:50%;top:0;transform:translateX(-50%) rotate(3deg) scale(.74);transform-origin:top center}
@media(max-width:900px){
  body:has(.documents-situation-hero) .docs-preview-grid{grid-template-columns:1fr;gap:18px}
  body:has(.documents-situation-hero) .docs-preview-scene-section{padding:32px 16px}
  body:has(.documents-situation-hero) .docs-paper-stage{height:500px}
  body:has(.documents-situation-hero) .docs-paper-stage .anmeldung-paper{transform:translateX(-50%) rotate(3deg) scale(.66)}
}
/* R2 fix: a homepage-era rule (#4309) hides .receive-grid globally under
   .document-homepage — documents page needs its receive cards visible */
body:has(.documents-situation-hero) .receive-grid{display:grid!important}

/* DOCUMENTS R3 — situation-first doc cards (not a marketplace) */
body:has(.documents-situation-hero) #docs-list .doc-card.doc-card--sit{display:grid;grid-template-columns:1fr;align-content:start;gap:8px;min-height:250px;padding:22px 20px;text-align:start;border:1px solid #d8c5a8;border-radius:12px;background:#fffaf1;box-shadow:0 14px 30px rgba(83,63,33,.07);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
body:has(.documents-situation-hero) #docs-list .doc-card.doc-card--sit:hover{transform:translateY(-3px);border-color:#2f6f55;box-shadow:0 18px 38px rgba(83,63,33,.11)}
body:has(.documents-situation-hero) #docs-list .doc-card.doc-card--sit .doc-icon--line{display:grid;place-items:center;width:42px;height:42px;border:1.5px solid #2f6f55;border-radius:10px;background:#fbf4e7;color:#2f6f55}
body:has(.documents-situation-hero) #docs-list .doc-card.doc-card--sit .doc-icon--line svg{width:24px;height:24px}
body:has(.documents-situation-hero) #docs-list .doc-card.doc-card--sit h3{margin:2px 0 0;color:#17202a;font-size:17px;line-height:1.3;font-family:Inter,system-ui,sans-serif;font-weight:700}
body:has(.documents-situation-hero) #docs-list .doc-card.doc-card--sit .doc-name{display:inline-block;width:max-content;padding:3px 10px;border:1px solid #e2d2b8;border-radius:999px;background:#f7efe1;color:#8a5b13;font-size:11px;font-weight:700;letter-spacing:.05em;text-transform:uppercase}
body:has(.documents-situation-hero) #docs-list .doc-card.doc-card--sit p{margin:0;color:#526170;font-size:13.5px;line-height:1.5;max-width:100%}
body:has(.documents-situation-hero) #docs-list .doc-card.doc-card--sit .doc-trust{color:#2f6f55;font-size:12px;font-weight:600}
body:has(.documents-situation-hero) #docs-list .doc-card.doc-card--sit .doc-foot{display:flex;align-items:center;justify-content:space-between;margin-top:auto;padding-top:10px;border-top:1px solid #efe3d1}
body:has(.documents-situation-hero) #docs-list .doc-card.doc-card--sit .doc-price{color:#17202a;font-weight:800;font-size:16px}
body:has(.documents-situation-hero) #docs-list .doc-card.doc-card--sit .doc-cta{position:static;opacity:1;margin:0;padding:0;background:transparent;color:#2f6f55;font-size:13px;font-weight:800}
@media(max-width:700px){
  body:has(.documents-situation-hero) #docs-list .docs-grid-compact .doc-card.doc-card--sit{display:grid;grid-template-columns:1fr;gap:7px;min-height:0;padding:16px 15px}
  body:has(.documents-situation-hero) #docs-list .doc-card.doc-card--sit h3{font-size:16px}
}
/* DOCUMENTS R4 — guides line */
body:has(.documents-situation-hero) .docs-guides{max-width:1080px;margin:16px auto 0;color:#6b5b47;font-size:14px}
body:has(.documents-situation-hero) .docs-guides a{color:#2f6f55;font-weight:700;text-decoration:none;margin-inline:4px}
body:has(.documents-situation-hero) .docs-guides a:hover{text-decoration:underline}
