/* =========================================================
   KA Finanz-Solutions — Corporate Navy Design System
   Primary: #1B3A6B (logo navy) | Serif: Playfair Display
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --navy:         #1B3A6B;
  --navy-dark:    #0F2347;
  --navy-mid:     #254F8F;
  --navy-light:   #2E5A8E;
  --navy-pale:    #EAF0FA;
  --navy-ghost:   #F4F7FC;
  --blue-accent:  #1565C0;
  --white:        #FFFFFF;
  --off-white:    #F8FAFC;
  --silver:       #F1F5F9;
  --ink:          #0F172A;
  --ink-soft:     #334155;
  --ink-mute:     #64748B;
  --border:       #E2E8F0;
  --border-navy:  rgba(27,58,107,0.15);
  --shadow-sm:    0 1px 3px rgba(15,23,42,0.08), 0 1px 2px rgba(15,23,42,0.06);
  --shadow-md:    0 4px 16px rgba(15,35,71,0.10), 0 1px 4px rgba(15,35,71,0.07);
  --shadow-lg:    0 12px 40px rgba(15,35,71,0.14), 0 4px 12px rgba(15,35,71,0.08);
  --shadow-navy:  0 8px 32px rgba(27,58,107,0.20);

  --serif:  'EB Garamond', 'Garamond', 'Georgia', serif;
  --sans:   'Inter', 'Helvetica Neue', Arial, sans-serif;
  --mono:   'JetBrains Mono', 'Fira Mono', ui-monospace, monospace;

  --max:   1280px;
  --gut:   clamp(20px, 4vw, 60px);
  --radius: 12px;
  --ease:  cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  max-width: 100vw;
}
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  max-width: 100vw;
  min-width: 280px;
}
img, svg, video, canvas { max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--navy); color: var(--white); }
p { margin: 0 0 1em; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0;
  color: var(--navy-dark);
}
h1 em, h2 em, h3 em, h4 em { font-style: normal !important; }
h1 { font-size: clamp(40px, 6vw, 82px); }
h2 { font-size: clamp(32px, 4vw, 58px); }
h3 { font-size: clamp(22px, 2.4vw, 36px); }
h4 { font-size: clamp(18px, 1.6vw, 24px); }

.display {
  font-family: var(--sans);
  font-size: clamp(52px, 8vw, 108px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 700;
  color: var(--navy-dark);
}
.display em { font-style: normal; color: var(--navy); }

.lead {
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.55;
  color: var(--ink-soft);
  font-weight: 400;
  max-width: 56ch;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

/* ---------- Containers ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
hr.rule { border: 0; border-top: 1px solid var(--border); margin: 0; }

/* ---------- NAVBAR ---------- */
/* NOTE: backdrop-filter intentionally NOT used here — it creates a containing
   block that breaks the fixed-position mobile slide-out menu inside .topbar. */
.topbar {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(15,35,71,0.04), 0 4px 12px rgba(15,35,71,0.04);
  transition: box-shadow .3s var(--ease);
  padding-top: env(safe-area-inset-top);
}
.topbar.scrolled { box-shadow: var(--shadow-md); }
/* Mobile-first: flex + hamburger by default */
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 var(--gut);
  height: 62px;
  max-width: var(--max);
  margin: 0 auto;
}
.brand {
  display: flex; align-items: center;
  gap: 10px; text-decoration: none;
  flex-shrink: 1;
  min-width: 0;
  max-width: calc(100% - 130px);
}
.brand-logo {
  height: 36px; width: auto; max-width: 100%;
  display: block;
  object-fit: contain;
}
.brand-fallback {
  display: flex; align-items: center; gap: 8px;
}
.brand-mark {
  width: 34px; height: 34px;
  background: var(--navy-dark);
  border-radius: 7px;
  display: grid; place-items: center;
  color: var(--white);
  font-family: var(--serif);
  font-size: 16px; font-weight: 700;
  font-style: italic;
  flex-shrink: 0;
}
.brand-text strong {
  display: block;
  font-family: var(--sans);
  font-size: 14px; font-weight: 700;
  color: var(--navy-dark);
  line-height: 1.1;
}
.brand-text small {
  font-size: 9px; letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
/* Nav: hidden off-screen by default, slides in when .open */
.nav {
  position: fixed;
  top: calc(62px + env(safe-area-inset-top));
  left: 0; right: 0;
  bottom: 0;
  background: var(--white);
  display: flex;
  flex-direction: column; align-items: stretch;
  padding: 24px var(--gut) calc(40px + env(safe-area-inset-bottom));
  gap: 0;
  transform: translateY(-105%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  z-index: 99;
}
.nav.open { transform: translateY(0); box-shadow: 0 16px 48px rgba(15,35,71,0.18); }
.nav a {
  font-family: var(--sans);
  font-size: 19px; font-weight: 600;
  color: var(--navy-dark);
  padding: 18px 4px;
  border-bottom: 1px solid var(--border);
  width: 100%; position: relative;
  transition: color .2s var(--ease), padding-left .2s var(--ease);
  text-decoration: none;
  display: flex; align-items: center; justify-content: space-between;
  min-height: 56px;
}
.nav a::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 3px; height: 0;
  background: var(--navy);
  border-radius: 2px;
  transform: translateY(-50%);
  transition: height .25s var(--ease);
}
.nav a:hover, .nav a.active { color: var(--navy); padding-left: 16px; }
.nav a:hover::before, .nav a.active::before { height: 24px; }
.nav a::after { display: none; }
.nav .nav-mobile-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  width: 100%;
}
.nav .nav-mobile-cta a.btn {
  width: 100%;
  justify-content: center;
  padding: 16px 22px;
  font-size: 15px;
  color: var(--white);
  border-bottom: 0;
  min-height: auto;
}
.nav .nav-mobile-cta a.btn::before { display: none; }
.nav .nav-mobile-cta a.btn:hover { padding-left: 22px; color: var(--white); }
.nav .nav-mobile-cta a.btn.btn-ghost { color: var(--navy); }
.nav .nav-mobile-cta a.btn.btn-ghost:hover { color: var(--navy); }
.nav-cta {
  display: flex; align-items: center; gap: 8px;
  flex-shrink: 0;
}
.nav-cta .btn-sm {
  display: inline-flex;
  padding: 9px 14px;
  font-size: 13px;
  white-space: nowrap;
}
.nav-cta .btn-sm .icon { display: none; }
.nav-toggle {
  display: inline-flex;
  align-items: center; justify-content: center;
  background: var(--navy);
  border: 1.5px solid var(--navy);
  width: 44px; height: 44px;
  border-radius: 10px;
  cursor: pointer;
  position: relative; flex-shrink: 0;
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease);
  -webkit-tap-highlight-color: transparent;
  padding: 0;
}
.nav-toggle:hover { background: var(--navy-dark); border-color: var(--navy-dark); }
.nav-toggle:active { transform: scale(0.95); }
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block; position: absolute;
  width: 20px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  left: 50%; transform: translateX(-50%);
  transition: .25s var(--ease);
}
.nav-toggle span { top: 50%; margin-top: -1px; }
.nav-toggle span::before { content:""; top: -7px; }
.nav-toggle span::after  { content:""; top:  7px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { top: 0; transform: translateX(-50%) rotate(45deg); }
.nav-toggle.open span::after  { top: 0; transform: translateX(-50%) rotate(-45deg); }

/* ---- Desktop nav (≥1025px) ---- */
@media (min-width: 1025px) {
  .topbar-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 40px;
    height: 68px;
  }
  .brand { max-width: none; }
  .brand-logo { height: 42px; }
  .brand-mark { width: 38px; height: 38px; font-size: 18px; }
  .brand-text strong { font-size: 17px; }
  .brand-text small { font-size: 10px; }
  .nav {
    position: static;
    top: auto; left: auto; right: auto; bottom: auto;
    transform: none !important; transition: none;
    flex-direction: row; align-items: center; justify-content: center;
    gap: clamp(12px, 2vw, 28px);
    padding: 0; background: transparent;
    overflow: visible; box-shadow: none !important;
    min-height: auto;
  }
  .nav a {
    font-size: 14px; font-weight: 500;
    color: var(--ink-soft); padding: 8px 2px;
    border-bottom: 0; width: auto;
    min-height: auto;
    display: inline-block;
  }
  .nav a::before { display: none; }
  .nav a:hover, .nav a.active { padding-left: 2px; }
  .nav a::after {
    display: block;
    content: ""; position: absolute;
    left: 0; right: 100%; bottom: 0;
    height: 2px; background: var(--navy);
    transition: right .3s var(--ease);
    border-radius: 2px;
  }
  .nav a:hover, .nav a.active { color: var(--navy-dark); }
  .nav a:hover::after, .nav a.active::after { right: 0; }
  .nav .nav-mobile-cta { display: none; }
  .nav-toggle { display: none; }
  .nav-cta .btn-sm { padding: 9px 18px; font-size: 13px; }
  .nav-cta .btn-sm .icon { display: inline; }
}

/* ---- Hide compact CTA text on very narrow screens, keep just icon ---- */
@media (max-width: 380px) {
  .nav-cta .btn-sm {
    padding: 9px 12px;
    font-size: 12px;
  }
  .brand-logo { height: 30px; }
  .brand { max-width: calc(100% - 120px); }
}

/* ---- Mobile nav backdrop ---- */
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 35, 71, 0.45);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 97;
  cursor: pointer;
}
.nav-backdrop.active { display: block; }

/* Mobile-only CTA in 3D scroll section */
.scroll-3d-mobile-cta {
  display: none;
  justify-content: center;
  margin-top: 28px;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px;
  background: var(--navy);
  color: var(--white);
  border: 1.5px solid var(--navy);
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 14px; font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-navy);
}
.btn:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}
.btn-ghost:hover {
  background: var(--navy-ghost);
  border-color: var(--navy);
  box-shadow: none;
}

.btn-white {
  background: var(--white);
  color: var(--navy-dark);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--off-white);
  border-color: var(--off-white);
  box-shadow: none;
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  box-shadow: none;
}

.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-lg { padding: 16px 32px; font-size: 15px; border-radius: 10px; }
.btn-xl { padding: 20px 40px; font-size: 16px; border-radius: 12px; }

.btn .icon {
  width: 18px; height: 18px;
  transition: transform .25s var(--ease);
}
.btn:hover .icon { transform: translateX(3px); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(60px, 9vw, 120px) 0 clamp(60px, 8vw, 100px);
  background: var(--white);
}
.hero::before {
  content: "";
  position: absolute;
  top: -20%; right: -15%;
  width: 60vw; height: 140%;
  background:
    radial-gradient(ellipse at 60% 40%, rgba(27,58,107,0.06), transparent 55%),
    radial-gradient(ellipse at 80% 80%, rgba(27,58,107,0.04), transparent 50%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: var(--navy-pale);
  border: 1px solid var(--border-navy);
  border-radius: 999px;
  font-size: 12px; font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero-badge .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--navy);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}
.hero-title {
  font-family: var(--sans);
  font-size: clamp(44px, 6.5vw, 88px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--navy-dark);
  margin-bottom: 24px;
}
.hero-title em { font-style: normal; color: var(--navy); }

.hero-ctas {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-top: 32px;
}
.hero-stats {
  display: flex; gap: 0;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.hero-stat {
  flex: 1;
  padding: 0 24px 0 0;
  margin: 0 24px 0 0;
  border-right: 1px solid var(--border);
}
.hero-stat:first-child { padding-left: 0; }
.hero-stat:last-child { border-right: 0; margin-right: 0; }
.hero-stat .num {
  display: block;
  font-family: var(--sans);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 5px;
  font-feature-settings: "tnum","zero";
}
.hero-stat .lbl {
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
  line-height: 1.4;
}

/* Hero visual card */
.hero-visual {
  position: relative;
  perspective: 1000px;
}
.hero-card {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-mid) 100%);
  border-radius: 20px;
  padding: clamp(24px, 3vw, 40px);
  color: var(--white);
  box-shadow: var(--shadow-lg), 0 32px 64px rgba(27,58,107,0.30);
  transform: rotateY(-4deg) rotateX(4deg);
  transition: transform .8s var(--ease);
}
.hero-card:hover { transform: rotateY(0deg) rotateX(0deg); }
.hero-card .card-label {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 24px;
  display: flex; align-items: center; gap: 8px;
}
.hero-card .card-label::before {
  content:""; width: 20px; height: 1.5px;
  background: rgba(255,255,255,0.4);
  border-radius: 2px;
}
.hero-card .rate-display {
  font-family: var(--sans);
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}
.hero-card .rate-sub {
  font-size: 13px; color: rgba(255,255,255,0.6);
  margin-bottom: 28px;
}
.hero-card .card-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 12px; margin-bottom: 28px;
}
.hero-card .card-cell {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 14px 16px;
}
.hero-card .cell-label {
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 6px;
}
.hero-card .cell-value {
  font-family: var(--sans); font-size: 22px; font-weight: 700;
  color: var(--white); line-height: 1;
  font-feature-settings: "tnum","zero";
}
.hero-card .card-bar {
  background: rgba(255,255,255,0.12);
  border-radius: 999px; height: 6px; overflow: hidden;
}
.hero-card .card-bar-fill {
  height: 100%; border-radius: 999px;
  background: rgba(255,255,255,0.75);
  width: 72%;
  transition: width 1.2s var(--ease);
}
.hero-card .card-bar-label {
  display: flex; justify-content: space-between;
  font-size: 11px; color: rgba(255,255,255,0.5);
  margin-top: 8px;
}
/* Floating decoration */
.hero-visual::before {
  content: "";
  position: absolute;
  top: -30px; right: -30px;
  width: 160px; height: 160px;
  background: var(--navy-pale);
  border-radius: 50%;
  z-index: -1;
}
.hero-visual::after {
  content: "";
  position: absolute;
  bottom: -20px; left: -20px;
  width: 80px; height: 80px;
  background: var(--border);
  border-radius: 50%;
  z-index: -1;
}

/* ---------- PRINCIPLES STRIP ---------- */
.principles-strip {
  background: var(--navy-dark);
  padding: clamp(32px, 4vw, 48px) 0;
}
.principles-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.principle-item {
  display: flex; flex-direction: column; gap: 10px;
  padding: clamp(16px, 2vw, 28px) clamp(16px, 2vw, 32px);
  border-right: 1px solid rgba(255,255,255,0.1);
}
.principle-item:last-child { border-right: 0; }
.principle-item .pi-icon {
  width: 32px; height: 32px;
  color: rgba(255,255,255,0.6);
}
.principle-item h4 {
  font-size: 15px; font-weight: 600;
  color: var(--white); font-family: var(--sans);
  letter-spacing: -0.01em;
}
.principle-item p {
  font-size: 13px; color: rgba(255,255,255,0.5);
  margin: 0; line-height: 1.5;
}

/* ---------- SECTION COMMON ---------- */
section { padding: clamp(60px, 8vw, 110px) 0; }
section.tight { padding: clamp(40px, 5vw, 70px) 0; }
section.bg-silver { background: var(--silver); }
section.bg-navy { background: var(--navy-dark); }
section.bg-ghost { background: var(--navy-ghost); }

.section-header {
  display: flex; flex-direction: column; gap: 14px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-header-row {
  display: flex; justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap; gap: 20px;
}

/* ---------- SERVICES ---------- */
.services-grid {
  display: grid; gap: 0;
  border-top: 1px solid var(--border);
}
.service-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: clamp(16px, 3vw, 48px);
  align-items: start;
  padding: clamp(28px, 3.5vw, 44px) 0;
  border-bottom: 1px solid var(--border);
  cursor: default;
  transition: background .55s var(--ease), padding-left .55s var(--ease), padding-right .55s var(--ease), border-radius .55s var(--ease), border-bottom-color .55s var(--ease);
  position: relative;
}
.service-item:hover { background: var(--navy-ghost); padding-left: 20px; padding-right: 20px; border-radius: var(--radius); border-bottom-color: transparent; }
.service-item .s-num {
  font-family: var(--mono);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--navy);
  padding-top: 10px;
}
.service-item h3 {
  font-size: clamp(22px, 2.8vw, 38px);
  color: var(--navy-dark);
  margin-bottom: 10px;
  line-height: 1.15;
}
.service-item h3 em { font-style: italic; color: var(--ink-soft); }
.service-item .s-desc {
  font-size: 15px; color: var(--ink-soft); line-height: 1.6; margin: 0;
}
.service-item .s-tags {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px;
}
.service-item .s-tags span {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--navy); background: var(--navy-pale);
  border: 1px solid var(--border-navy);
  padding: 3px 10px; border-radius: 999px;
}
.service-item .s-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600;
  color: var(--navy);
  padding: 10px 16px;
  border: 1.5px solid var(--border-navy);
  border-radius: 8px;
  background: var(--white);
  margin-top: 18px;
  transition: all .2s var(--ease);
  white-space: nowrap;
  text-decoration: none;
}
.service-item .s-link svg { transition: transform .2s var(--ease); }
.service-item:hover .s-link { background: var(--navy); color: var(--white); border-color: var(--navy); }
.service-item:hover .s-link svg { transform: translateX(3px); }

/* ---------- 3D SCROLL SECTION (ContainerScroll-inspired) ---------- */
.scroll-3d-section {
  padding: clamp(60px, 8vw, 120px) 0;
  background: var(--silver);
  overflow: hidden;
}
.scroll-3d-header {
  text-align: center;
  margin-bottom: clamp(32px, 5vw, 60px);
}
.scroll-3d-header .eyebrow { justify-content: center; margin-bottom: 14px; }
.scroll-3d-header .eyebrow::before { display: none; }
.scroll-3d-header h2 { color: var(--navy-dark); }

.scroll-3d-container {
  perspective: 1000px;
  perspective-origin: 50% 30%;
}
.scroll-3d-card {
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(27,58,107,0.1),
    0 8px 20px rgba(27,58,107,0.10),
    0 32px 64px rgba(27,58,107,0.14),
    0 64px 80px rgba(27,58,107,0.10);
  transform-origin: 50% 0%;
  transform: rotateX(18deg) scale(0.97);
  transition: transform .1s linear;
  background: var(--navy-dark);
  border: 4px solid rgba(255,255,255,0.08);
}
.scroll-3d-inner {
  padding: clamp(24px, 4vw, 48px);
  background: var(--white);
  border-radius: 16px;
  margin: 6px;
}

/* ---------- PARTNER MARQUEE ---------- */
.partners-section {
  padding: clamp(48px, 6vw, 80px) 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.partners-header {
  text-align: center;
  margin-bottom: clamp(28px, 3vw, 44px);
}
.partners-header p {
  font-size: 13px; color: var(--ink-mute);
  letter-spacing: 0.06em; text-transform: uppercase;
  font-weight: 600; margin-bottom: 0;
}

.marquee-track {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
}
.marquee-inner {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: marquee-scroll 35s linear infinite;
}
.marquee-inner:hover { animation-play-state: paused; }
.marquee-inner.reverse { animation-direction: reverse; }
@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.partner-card {
  display: flex; flex-direction: column;
  align-items: flex-start; justify-content: center;
  padding: 16px 22px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  min-width: 190px;
  flex-shrink: 0;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
  cursor: default;
}
.partner-card:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.partner-card .p-name {
  font-family: var(--sans);
  font-size: 14px; font-weight: 700;
  color: var(--navy-dark);
  line-height: 1.2;
}
.partner-card .p-name span {
  font-size: 11px; font-weight: 500;
  color: var(--ink-mute);
  letter-spacing: 0.02em;
  margin-left: 4px;
}
.partner-card .p-full {
  font-size: 11px; color: var(--ink-mute);
  margin-top: 4px; letter-spacing: 0.01em;
  line-height: 1.3;
}
.partner-card .p-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--navy-pale);
  border: 1.5px solid var(--border-navy);
  margin-top: 10px;
}

/* Second row of marquee (goes opposite direction) */
.marquee-row { margin-bottom: 14px; }
.marquee-row:last-child { margin-bottom: 0; }

/* ---------- PROCESS ---------- */
.process-grid {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: clamp(24px, 4vw, 80px);
  align-items: start;
}
.process-steps { display: grid; gap: 0; position: relative; }
.process-steps::before {
  content: '';
  position: absolute;
  left: 20px; top: 44px; bottom: 44px;
  width: 1px;
  background: var(--border-navy);
  z-index: 0;
}
.process-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
  position: relative;
  transition: background .35s var(--ease), padding-left .35s var(--ease), border-radius .35s var(--ease);
}
.process-step:first-child { padding-top: 0; }
.process-step:hover { background: var(--navy-pale); padding-left: 16px; border-radius: var(--radius); }
.process-step .ps-num {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--navy-pale);
  border: 1.5px solid var(--border-navy);
  font-family: var(--mono);
  font-size: 12px; font-weight: 600;
  color: var(--navy);
  position: relative; z-index: 1;
  transition: all .35s var(--ease);
}
.process-step:hover .ps-num { background: var(--navy); border-color: var(--navy); color: var(--white); }
.process-step h4 { font-size: 19px; margin-bottom: 8px; color: var(--navy-dark); }
.process-step p { font-size: 14px; color: var(--ink-soft); margin: 0; line-height: 1.6; }

/* ---------- OFFICES ---------- */
.offices-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2vw, 28px);
}
.office-card {
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: clamp(24px, 3vw, 40px);
  background: var(--white);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
  position: relative; overflow: hidden;
}
.office-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--navy);
  opacity: 0;
  transition: opacity .25s var(--ease);
}
.office-card:hover { border-color: var(--navy); box-shadow: var(--shadow-md); }
.office-card:hover::before { opacity: 1; }
.office-card .oc-city {
  font-family: var(--sans);
  font-size: clamp(28px, 3vw, 40px);
  color: var(--navy-dark);
  margin-bottom: 4px;
}
.office-card .oc-tag {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--navy); margin-bottom: 20px;
  display: flex; align-items: center; gap: 8px;
}
.office-card .oc-tag::before {
  content:""; width: 16px; height: 2px;
  background: var(--navy); border-radius: 2px;
}
.office-card address {
  font-style: normal; font-size: 14px;
  color: var(--ink-soft); line-height: 1.7;
  margin-bottom: 24px;
}
.office-card .oc-links { display: flex; flex-direction: column; gap: 0; }
.office-card .oc-links a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  transition: color .2s var(--ease);
}
.office-card .oc-links a:last-child { border-bottom: 0; }
.office-card .oc-links a .key {
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-mute);
}
.office-card .oc-links a:hover { color: var(--navy); }

/* ---------- TEAM ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2vw, 28px);
}
.person-card {
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: clamp(24px, 3vw, 36px);
  background: var(--white);
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  align-items: start;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.person-card:hover { border-color: var(--navy); box-shadow: var(--shadow-md); }
.person-card .avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  display: grid; place-items: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px; font-weight: 700;
  color: rgba(255,255,255,0.9);
  flex-shrink: 0;
  overflow: hidden;
}
.person-card .avatar img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  border-radius: 50%;
}
.person-card .person-role {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--navy); margin-bottom: 6px;
}
.person-card h4 { font-size: clamp(18px, 2vw, 22px); color: var(--navy-dark); margin-bottom: 10px; }
.person-card p { font-size: 13px; color: var(--ink-soft); margin: 0 0 12px; line-height: 1.6; }
.person-card .langs {
  display: flex; flex-wrap: wrap; gap: 5px;
}
.person-card .langs span {
  font-size: 10px; font-weight: 500;
  color: var(--ink-mute);
  padding: 2px 8px;
  background: var(--silver);
  border-radius: 999px;
  border: 1px solid var(--border);
}
.person-card .person-contact { margin-top: 16px; display: flex; gap: 10px; flex-wrap: wrap; }
.person-card .person-contact a {
  font-size: 12px; font-weight: 600; color: var(--navy);
  display: flex; align-items: center; gap: 5px;
  transition: color .2s;
}
.person-card .person-contact a:hover { color: var(--navy-dark); }

/* ---------- CALCULATOR ---------- */
.calc-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  overflow: visible;
  box-shadow: var(--shadow-lg);
}
.calc-input-panel {
  padding: clamp(28px, 3.5vw, 48px);
  background: var(--white);
  border-right: 1.5px solid var(--border);
  border-radius: 18px 0 0 18px;
}
.calc-result-panel {
  padding: clamp(28px, 3.5vw, 48px);
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: var(--white);
  position: sticky;
  top: 84px;
  align-self: start;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  overflow-x: hidden;
  border-radius: 0 18px 18px 0;
}
.calc-result-panel::before {
  content: "";
  position: absolute;
  top: -40%; right: -30%;
  width: 80%; height: 80%;
  background: radial-gradient(circle, rgba(255,255,255,0.05), transparent 60%);
  pointer-events: none;
}
.calc-result-panel > * { position: relative; z-index: 1; }

/* Tabs */
.calc-tabs {
  display: flex; gap: 0;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 32px;
  background: var(--silver);
}
.calc-tab {
  flex: 1;
  background: none; border: 0;
  padding: 10px 8px;
  font-family: var(--sans); font-size: 12px;
  font-weight: 600; letter-spacing: 0.04em;
  color: var(--ink-mute);
  cursor: pointer;
  transition: all .2s var(--ease);
}
.calc-tab.active {
  background: var(--navy);
  color: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

/* Form fields */
.calc-field { margin-bottom: 28px; }
.calc-field .cf-header {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 12px;
}
.calc-field .cf-label {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-mute);
}
.calc-field .cf-value {
  font-family: var(--sans);
  font-size: 22px; font-weight: 700;
  color: var(--navy-dark);
  font-feature-settings: "tnum","zero";
}
.calc-field .cf-unit {
  font-family: var(--mono); font-size: 12px;
  color: var(--ink-mute); margin-left: 4px;
}

input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 4px;
  border-radius: 999px;
  background: var(--border);
  cursor: pointer; outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--navy);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 1.5px var(--navy), 0 2px 6px rgba(15,35,71,0.3);
  cursor: grab;
  transition: transform .15s var(--ease), box-shadow .15s var(--ease);
}
input[type="range"]::-webkit-slider-thumb:active { cursor: grabbing; transform: scale(1.15); }
input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--navy);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 1.5px var(--navy);
  cursor: grab;
}
.scale-labels {
  display: flex; justify-content: space-between;
  font-size: 10px; font-weight: 500;
  color: var(--ink-mute); letter-spacing: 0.06em;
  margin-top: 6px;
}

/* Results */
.result-label {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 12px;
}
.result-label::before {
  content:""; width: 20px; height: 1.5px;
  background: rgba(255,255,255,0.35); border-radius: 2px;
}
.result-amount {
  font-family: var(--sans);
  font-size: clamp(30px, 4vw, 56px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--white);
  font-feature-settings: "tnum","zero";
  margin-bottom: 4px;
}
.result-amount .r-unit {
  font-family: var(--mono); font-size: 0.32em;
  color: rgba(255,255,255,0.55); letter-spacing: 0;
  margin-left: 6px; font-weight: 400;
}
.result-period { font-size: 13px; color: rgba(255,255,255,0.55); margin-bottom: 32px; }

/* Fix/Variable comparison */
.rate-compare {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: rgba(255,255,255,0.1);
  border-radius: 12px; overflow: hidden;
  margin-bottom: 24px;
}
.rate-compare > div {
  background: rgba(255,255,255,0.07);
  padding: 14px;
}
.rate-compare .rc-label {
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.45); margin-bottom: 6px;
}
.rate-compare .rc-val {
  font-family: var(--sans); font-size: 22px;
  font-weight: 700; color: var(--white);
  font-feature-settings: "tnum","zero";
}

.result-breakdown {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 14px;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
}
.rb-cell .rb-label {
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.45); margin-bottom: 6px; display: block;
}
.rb-cell .rb-val {
  font-family: var(--sans); font-size: 22px;
  font-weight: 700; color: var(--white);
  font-feature-settings: "tnum","zero";
}
.rb-cell .rb-val .rb-unit { font-family: var(--mono); font-size: 0.52em; color: rgba(255,255,255,0.55); margin-left: 4px; }

.calc-note {
  margin-top: 20px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.07);
  border-left: 2px solid rgba(255,255,255,0.35);
  border-radius: 0 8px 8px 0;
  font-size: 12px; color: rgba(255,255,255,0.65);
  line-height: 1.55;
}

/* ---------- FAQ ---------- */
.faq-list { border-top: 1.5px solid var(--ink); }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item details { padding: 0; }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: grid;
  grid-template-columns: 44px 1fr 32px;
  gap: 16px;
  align-items: center;
  padding: 24px 0;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .faq-num {
  font-family: var(--mono); font-size: 11px;
  font-weight: 600; letter-spacing: 0.1em;
  color: var(--navy);
}
.faq-item .faq-q {
  font-family: var(--sans);
  font-size: clamp(18px, 2vw, 24px);
  color: var(--navy-dark);
  line-height: 1.25;
}
.faq-item .faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%; border: 1.5px solid var(--border);
  display: grid; place-items: center;
  color: var(--ink-mute);
  transition: all .25s var(--ease);
  justify-self: end;
}
.faq-item .faq-icon::before, .faq-item .faq-icon::after {
  content:""; position: absolute;
  background: currentColor;
}
.faq-item .faq-icon { position: relative; }
.faq-item .faq-icon::before { width: 10px; height: 1.5px; border-radius: 2px; }
.faq-item .faq-icon::after  { width: 1.5px; height: 10px; border-radius: 2px; transition: transform .25s var(--ease), opacity .25s var(--ease); }
.faq-item details[open] summary .faq-icon { background: var(--navy); border-color: var(--navy); color: var(--white); }
.faq-item details[open] summary .faq-icon::after { transform: rotate(90deg); opacity: 0; }
.faq-item .faq-ans {
  padding: 0 0 24px 60px;
  font-size: 15px; color: var(--ink-soft); line-height: 1.7;
  max-width: 68ch;
}

/* ---------- CTA STRIP ---------- */
.cta-section {
  background: var(--navy-dark);
  padding: clamp(70px, 9vw, 120px) 0;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content:"";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 50%, rgba(255,255,255,0.04), transparent 45%),
    radial-gradient(circle at 15% 70%, rgba(255,255,255,0.03), transparent 40%);
  pointer-events: none;
}
.cta-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: end;
  position: relative; z-index: 1;
}
.cta-inner h2 {
  font-size: clamp(36px, 5vw, 72px);
  color: var(--white); line-height: 1.05;
}
.cta-inner h2 em { font-style: normal; color: rgba(255,255,255,0.6); }
.cta-inner p { color: rgba(255,255,255,0.6); max-width: 36ch; }
.cta-inner .cta-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }

/* ---------- ANFRAGE FORM ---------- */
.anfrage-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--white);
}
.anfrage-sidebar {
  background: var(--navy-dark);
  padding: clamp(28px, 3vw, 44px);
  color: var(--white);
}
.anfrage-sidebar .as-meta {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 28px;
}
.anfrage-sidebar .as-meta strong { color: rgba(255,255,255,0.8); font-weight: 600; display: block; margin-top: 4px; }

.steplist {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 0;
  position: relative;
}
/* Vertical timeline line (desktop only) */
@media (min-width: 1025px) {
  .steplist::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 34px;
    bottom: 14px;
    width: 1px;
    background: rgba(255,255,255,0.1);
    z-index: 0;
  }
}
.steplist li {
  display: grid; grid-template-columns: 28px 1fr;
  gap: 14px; align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  cursor: default;
  transition: opacity .2s;
  position: relative;
}
.steplist li:last-child { border-bottom: 0; }
.steplist li .sl-num {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.18);
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 10px; font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.04);
  transition: all .4s var(--ease);
  position: relative; z-index: 1;
  flex-shrink: 0;
}
.steplist li .sl-label {
  font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,0.4); line-height: 1.3;
}
.steplist li .sl-sub {
  font-size: 11px; color: rgba(255,255,255,0.25);
  text-transform: uppercase; letter-spacing: 0.08em;
  display: block; margin-top: 3px;
}
/* Done state */
.steplist li.done .sl-num {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.35);
  color: rgba(255,255,255,0); /* hide number */
  font-size: 0;
}
.steplist li.done .sl-num::after {
  content: '✓';
  font-family: var(--sans); font-size: 11px; font-weight: 700;
  color: rgba(255,255,255,0.75);
}
.steplist li.done .sl-label { color: rgba(255,255,255,0.55); }
/* Active state */
.steplist li.active .sl-num {
  background: var(--white);
  border-color: var(--white);
  color: var(--navy-dark);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.12);
  animation: stepPulse 2.5s ease-in-out infinite;
}
@keyframes stepPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255,255,255,0.12); }
  50% { box-shadow: 0 0 0 7px rgba(255,255,255,0.05); }
}
.steplist li.active .sl-label {
  color: var(--white); font-weight: 600;
}
.steplist li.active .sl-sub { color: rgba(255,255,255,0.45); }

.anfrage-main { padding: clamp(28px, 4vw, 56px); }
.step-panel { display: none; }
.step-panel.active { display: block; animation: fadeSlide .45s var(--ease); }
@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.step-head {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.step-head .sh-step {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--navy); margin-bottom: 10px; display: block;
}
.step-head h2 { font-size: clamp(28px, 4vw, 44px); color: var(--navy-dark); margin-bottom: 10px; }
.step-head h2 em { font-style: normal; }
.step-head p { color: var(--ink-soft); max-width: 56ch; margin: 0; }

/* Form elements */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.form-row.full { grid-template-columns: 1fr; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-mute);
}
.form-field label .req { color: var(--navy); margin-left: 3px; }

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
select,
textarea {
  width: 100%;
  background: var(--silver);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 13px 16px;
  font-family: var(--sans);
  font-size: 15px; font-weight: 400;
  color: var(--ink);
  outline: none;
  transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
input::placeholder, textarea::placeholder { color: var(--ink-mute); }
input:focus, select:focus, textarea:focus {
  border-color: var(--navy);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(27,58,107,0.10);
}
select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%2364748B' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
  padding-right: 36px;
}
textarea { resize: vertical; min-height: 110px; line-height: 1.55; }

/* Choice tiles */
.choices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}
.choice-tile { position: relative; cursor: pointer; }
.choice-tile input { position: absolute; opacity: 0; pointer-events: none; }
.ct-inner {
  display: flex; flex-direction: column;
  gap: 6px; padding: 16px 14px;
  background: var(--silver);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  transition: all .2s var(--ease);
  position: relative;
  min-height: 84px;
}
.ct-inner .ct-icon { width: 20px; height: 20px; color: var(--ink-mute); margin-bottom: 6px; }
.ct-inner .ct-title { font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.2; }
.ct-inner .ct-sub { font-size: 11px; color: var(--ink-mute); }
.ct-check {
  position: absolute; top: 10px; right: 10px;
  width: 16px; height: 16px; border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--white);
  display: grid; place-items: center;
  transition: all .2s var(--ease);
}
.ct-check svg { opacity: 0; transition: opacity .15s; }
.choice-tile:hover .ct-inner { border-color: var(--navy); background: var(--navy-pale); }
.choice-tile input:checked + .ct-inner {
  background: var(--navy);
  border-color: var(--navy);
}
.choice-tile input:checked + .ct-inner .ct-title { color: var(--white); }
.choice-tile input:checked + .ct-inner .ct-sub { color: rgba(255,255,255,0.6); }
.choice-tile input:checked + .ct-inner .ct-icon { color: rgba(255,255,255,0.7); }
.choice-tile input:checked + .ct-inner .ct-check { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.5); }
.choice-tile input:checked + .ct-inner .ct-check svg { opacity: 1; color: var(--white); }

/* Slider field in form */
.slider-wrap {
  background: var(--silver);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 18px;
}
.slider-wrap .sw-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.slider-wrap .sw-label { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); }
.slider-wrap .sw-value { font-family: var(--sans); font-size: 20px; font-weight: 700; color: var(--navy-dark); }

/* Step nav */
.step-nav {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.step-progress { font-size: 12px; color: var(--ink-mute); }
.step-progress strong { color: var(--navy); font-weight: 600; }

/* Review */
.review-dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  padding: 20px;
  background: var(--silver);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  margin-bottom: 24px;
}
.review-dl dt { font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); padding-top: 4px; }
.review-dl dd { margin: 0; font-size: 15px; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--border); padding-bottom: 8px; }

/* Consent */
.consent-box {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px; background: var(--navy-ghost);
  border: 1.5px solid var(--border-navy);
  border-radius: 10px; margin: 20px 0;
  font-size: 13px; color: var(--ink-soft); line-height: 1.5;
}
.consent-box input { width: 16px; height: 16px; margin-top: 1px; accent-color: var(--navy); flex-shrink: 0; cursor: pointer; }
.consent-box a { color: var(--navy); text-decoration: underline; }

/* Success screen */
.success-screen { text-align: center; padding: 48px 0; }
.success-check {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  display: grid; place-items: center;
  margin: 0 auto 24px;
  animation: popIn .5s var(--ease);
}
@keyframes popIn { from { transform: scale(0); } 60% { transform: scale(1.08); } to { transform: scale(1); } }
.success-screen h2 { font-size: clamp(32px, 5vw, 56px); color: var(--navy-dark); margin-bottom: 12px; }
.success-screen p { color: var(--ink-soft); max-width: 48ch; margin: 0 auto 24px; }

/* ---------- PAGE HEADER ---------- */
.page-head {
  padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 5vw, 72px);
  border-bottom: 1px solid var(--border);
  background: var(--white);
}
.breadcrumbs {
  display: flex; gap: 10px; align-items: center;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: 20px;
}
.breadcrumbs a:hover { color: var(--navy); }
.breadcrumbs span { color: var(--border); }
.page-head h1 { max-width: 16ch; }
.page-head h1 em { font-style: normal; color: var(--navy); }
.page-head .ph-row {
  margin-top: clamp(20px, 3vw, 36px);
  display: grid; grid-template-columns: 1fr 1.5fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
}

/* ---------- PROSE ---------- */
.prose {
  font-size: 16px; line-height: 1.75;
  color: var(--ink-soft); max-width: 70ch;
}
.prose h2 {
  font-size: clamp(22px, 2.4vw, 30px);
  color: var(--navy-dark); margin: 48px 0 12px;
  font-family: var(--sans);
}
.prose h3 { font-size: 20px; color: var(--navy-dark); margin: 32px 0 10px; }
.prose p { max-width: none; margin: 0 0 14px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 14px; }
.prose li { margin-bottom: 7px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--navy); text-decoration: underline; }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--ink);
  padding: clamp(60px, 7vw, 96px) 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 60px);
  margin-bottom: 56px;
}
.footer-brand .fb-wordmark {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 14px;
}
.footer-brand .fb-wordmark em { font-style: italic; color: rgba(255,255,255,0.45); }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.45); max-width: 32ch; line-height: 1.65; }
.footer-col h5 {
  font-family: var(--sans);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col ul a { font-size: 14px; color: rgba(255,255,255,0.6); transition: color .2s; }
.footer-col ul a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 12px; color: rgba(255,255,255,0.3);
  letter-spacing: 0.06em;
}

/* ---------- SCROLL ANIMATIONS ---------- */
/* Content is always visible. Reveal classes are kept as no-op for backward
   compatibility with existing markup, but they do not hide content. */
.reveal, .reveal-left { opacity: 1; transform: none; }

/* ---------- RESPONSIVE ---------- */

/* ---- Tablet (≤1024px) ---- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .cta-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .calc-layout { grid-template-columns: 1fr; }
  .calc-input-panel { border-right: 0; border-bottom: 1.5px solid var(--border); border-radius: 18px 18px 0 0; }
  .calc-result-panel { position: static; max-height: none; overflow-y: visible; overflow-x: hidden; border-radius: 0 0 18px 18px; }
  .anfrage-layout { grid-template-columns: 1fr; }
  .anfrage-sidebar { border-bottom: 1px solid rgba(255,255,255,0.1); }
  .steplist { display: flex; overflow-x: auto; gap: 14px; padding-bottom: 10px; }
  .steplist::before { display: none; }
  .steplist li { border-bottom: 0; border-right: 1px solid rgba(255,255,255,0.08); padding-right: 14px; min-width: 140px; }
  .process-grid { grid-template-columns: 1fr; }
  .service-detail-grid { grid-template-columns: 1fr !important; }
}

/* ---- Mobile (≤760px) ---- */
@media (max-width: 760px) {
  :root { --gut: 18px; }

  /* Hero */
  .hero { padding: clamp(36px, 8vw, 64px) 0 clamp(40px, 8vw, 72px); }
  .hero-stats { flex-direction: column; gap: 14px; margin-top: 32px; padding-top: 24px; }
  .hero-stat { border-right: 0; border-bottom: 1px solid var(--border); padding: 0 0 14px; margin: 0; display: flex; flex-direction: column; gap: 4px; }
  .hero-stat:last-child { border-bottom: 0; padding-bottom: 0; }
  .hero-ctas { flex-direction: column; align-items: stretch; gap: 10px; margin-top: 24px; }
  .hero-ctas .btn { justify-content: center; text-align: center; white-space: normal; width: 100%; }
  .hero-badge { font-size: 11px; padding: 5px 12px; margin-bottom: 16px; }
  .hero-inner { gap: 24px; }

  /* Typography */
  h1 { font-size: clamp(30px, 8vw, 48px); }
  h2 { font-size: clamp(26px, 7vw, 40px); line-height: 1.15; }
  h3 { font-size: clamp(20px, 5vw, 28px); }
  .display { font-size: clamp(34px, 10vw, 56px); }
  .hero-title { font-size: clamp(34px, 10vw, 56px); margin-bottom: 18px; }
  .lead { font-size: clamp(15px, 4vw, 17px); line-height: 1.6; }

  /* Section spacing */
  section { padding: clamp(48px, 8vw, 80px) 0; }
  section.tight { padding: clamp(28px, 5vw, 48px) 0; }
  .section-header { margin-bottom: clamp(28px, 5vw, 40px); }

  /* Layouts */
  .offices-grid, .team-grid { grid-template-columns: 1fr; }
  .page-head { padding: clamp(28px, 6vw, 56px) 0 clamp(24px, 4vw, 44px); }
  .page-head .ph-row { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 16px; margin-bottom: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .review-dl { grid-template-columns: 1fr; gap: 14px; padding: 16px; }
  .choices-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .section-header-row { flex-direction: column; align-items: flex-start; gap: 14px; }
  .section-header-row > div { width: 100%; }
  .section-header-row .btn { width: 100%; justify-content: center; }
  .values-grid { grid-template-columns: 1fr !important; }
  .principles-inner { grid-template-columns: 1fr 1fr; }
  .principle-item { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.1); padding: 16px 12px; }
  .principle-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.1); }
  .principle-item:nth-last-child(-n+2) { border-bottom: 0; }
  .principle-item h4 { font-size: 14px; }
  .principle-item p { font-size: 12px; }

  /* Service items */
  .service-item { grid-template-columns: 1fr; gap: 6px; padding: 24px 0; }
  .service-item:hover { padding-left: 12px; padding-right: 12px; }
  .service-item .s-num { padding-top: 0; font-size: 11px; }
  .service-item h3 { font-size: clamp(20px, 5.5vw, 26px); margin-bottom: 8px; line-height: 1.2; }
  .service-item .s-desc { font-size: 14px; }
  .service-item .s-tags { gap: 5px; margin-top: 12px; }
  .service-item .s-tags span { font-size: 10px; padding: 3px 8px; }
  .service-item .s-link { margin-top: 14px; padding: 9px 14px; font-size: 12px; }

  /* Team cards */
  .person-card { grid-template-columns: 1fr; gap: 16px; padding: 22px; }
  .person-card .avatar { width: 64px; height: 64px; font-size: 22px; }

  /* Office / contact emails */
  .office-card { padding: 22px; }
  .office-card .oc-city { font-size: clamp(24px, 6vw, 32px); }
  .oc-links a {
    flex-direction: column; align-items: flex-start; gap: 4px;
    padding: 12px 0; word-break: break-word;
  }
  .oc-links .key { min-width: 0; font-size: 9px; }
  .person-contact a { word-break: break-word; }

  /* Calculator */
  .calc-input-panel, .calc-result-panel { padding: 22px 18px; }
  .calc-result-panel { border-radius: 0 0 18px 18px; }
  .calc-input-panel { border-radius: 18px 18px 0 0; }
  .calc-tab { font-size: 11px; padding: 10px 4px; }
  .result-amount { font-size: clamp(30px, 10vw, 46px); }
  .rate-compare { grid-template-columns: 1fr 1fr; }
  .rate-compare > div { padding: 12px; }
  .rc-val { font-size: 18px; }
  .rb-cell .rb-val { font-size: 17px; }
  .result-breakdown { gap: 12px; padding-top: 20px; }
  .calc-result-panel .btn { display: flex; width: 100%; justify-content: center; white-space: normal; }
  .calc-result-panel .btn-lg { padding: 14px 20px; }

  /* 3D scroll preview on homepage - stack vertically */
  .scroll-3d-container { display: none; }
  .scroll-3d-section { padding: clamp(32px, 6vw, 64px) 0; }
  .scroll-3d-mobile-cta { display: flex; }

  /* Process steps */
  .process-grid { gap: 20px; }
  .process-step { grid-template-columns: 40px 1fr; gap: 16px; padding: 20px 0; }
  .process-step:hover { padding-left: 10px; }
  .process-step .ps-num { width: 32px; height: 32px; font-size: 10px; }
  .process-step h4 { font-size: 17px; margin-bottom: 6px; }
  .process-step p { font-size: 13px; }
  .process-steps::before { left: 16px; top: 36px; bottom: 36px; }

  /* CTA */
  .cta-section { padding: clamp(48px, 8vw, 80px) 0; }
  .cta-inner { gap: 24px; }
  .cta-inner h2 { font-size: clamp(28px, 7vw, 44px); }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { text-align: center; justify-content: center; white-space: normal; width: 100%; }

  /* Footer */
  .footer { padding: clamp(40px, 7vw, 64px) 0 calc(28px + env(safe-area-inset-bottom)); }
  .footer-grid { gap: 28px; margin-bottom: 36px; }
  .footer-brand .fb-wordmark { font-size: clamp(26px, 7vw, 36px); }
  .footer-brand p { font-size: 13px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; align-items: center; }

  /* Partners */
  .partners-section { padding: clamp(36px, 6vw, 56px) 0; }
  .partner-card { min-width: 160px; padding: 14px 18px; }
  .partner-card .p-name { font-size: 13px; }
  .partner-card .p-full { font-size: 10px; }

  /* Eyebrow always centered on certain sections */
  .partners-header .eyebrow { font-size: 10px; }

  /* FAQ */
  .faq-item summary { grid-template-columns: 32px 1fr 28px; gap: 12px; padding: 18px 0; }
  .faq-item .faq-num { font-size: 10px; }
  .faq-item .faq-q { font-size: clamp(16px, 4.5vw, 20px); }
  .faq-item .faq-ans { padding: 0 0 18px 44px; font-size: 14px; }

  /* Forms — Anfrage */
  .anfrage-sidebar { padding: 20px; }
  .anfrage-main { padding: 24px 20px; }
  .step-head { margin-bottom: 24px; padding-bottom: 18px; }
  .step-head h2 { font-size: clamp(24px, 6vw, 34px); }
  .step-nav { flex-direction: column-reverse; gap: 12px; align-items: stretch; }
  .step-nav .btn { width: 100%; justify-content: center; }
  .step-progress { text-align: center; }
  .steplist { padding-left: 4px; padding-right: 4px; }

  /* Page header */
  .breadcrumbs { font-size: 10px; gap: 6px; margin-bottom: 14px; flex-wrap: wrap; }

  /* Prose / legal pages */
  .prose { font-size: 15px; }
  .prose h2 { font-size: clamp(20px, 5.5vw, 26px); margin: 32px 0 10px; }
  .prose h3 { font-size: 17px; margin: 22px 0 8px; }
}

/* ---- Small mobile (≤480px) ---- */
@media (max-width: 480px) {
  :root { --gut: 16px; }
  h1 { font-size: clamp(28px, 9vw, 44px); }
  h2 { font-size: clamp(24px, 8vw, 36px); }
  .display { font-size: clamp(30px, 11vw, 52px); }
  .hero-title { font-size: clamp(32px, 11vw, 48px); }
  .lead { font-size: 15px; }

  .choices-grid { grid-template-columns: 1fr; }
  .principles-inner { grid-template-columns: 1fr; }
  .principle-item:nth-child(odd) { border-right: 0; }
  .principle-item { border-bottom: 1px solid rgba(255,255,255,0.1); }
  .principle-item:last-child { border-bottom: 0; }
  .rate-compare { grid-template-columns: 1fr; }
  .rc-val { font-size: 20px; }
  .rb-cell .rb-val { font-size: 16px; }
  .calc-tabs { flex-wrap: wrap; }
  .calc-tab { flex: 1 1 auto; min-width: 30%; }

  .footer-grid { gap: 24px; }
  .cta-inner { gap: 20px; }
  .result-amount { font-size: clamp(26px, 10vw, 40px); }

  /* Hero card stats compact */
  .hero-stat .num { font-size: clamp(26px, 8vw, 36px); }
  .hero-stat .lbl { font-size: 11px; }

  /* Tighter office cards */
  .office-card { padding: 18px; }
  .office-card address { font-size: 13px; }

  /* Forms */
  input[type="text"], input[type="email"], input[type="tel"],
  input[type="number"], input[type="date"], select, textarea {
    font-size: 16px; /* prevents iOS zoom on focus */
    padding: 12px 14px;
  }
  .form-field label { font-size: 10px; }
}

/* ---- Touch & accessibility ---- */
@media (hover: none) and (pointer: coarse) {
  .service-item:hover { background: transparent; padding-left: 0; padding-right: 0; border-radius: 0; border-bottom-color: var(--border); }
  .hero-card:hover { transform: rotateY(-4deg) rotateX(4deg); }
  .process-step:hover { background: transparent; padding-left: 0; border-radius: 0; }
  .process-step:hover .ps-num { background: var(--navy-pale); border-color: var(--border-navy); color: var(--navy); }
  .office-card:hover, .partner-card:hover { transform: none; box-shadow: none; }
  .nav-toggle:hover { background: var(--navy-ghost); border-color: var(--border-navy); }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .marquee-inner { animation: none; }
}
