/* =========================================================================
   Business Division Schweiz AG — Design System
   Modern Corporate · Navy + Teal · DE/FR/EN
   ========================================================================= */

:root {
  /* Brand */
  --navy-900: #081a30;
  --navy-800: #0b2a4a;
  --navy-700: #103a63;
  --navy-600: #16518a;
  --blue-500: #1d6fb8;
  --teal-500: #14b8a6;
  --teal-400: #2dd4bf;
  --teal-600: #0d9488;

  /* Neutrals */
  --ink: #0f1b2d;
  --slate-700: #334155;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --line: #e2e8f0;
  --mist: #f4f7fb;
  --mist-2: #eef3f9;
  --white: #ffffff;

  /* Effects */
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(8, 26, 48, .06), 0 2px 8px rgba(8, 26, 48, .05);
  --shadow-md: 0 8px 24px rgba(8, 26, 48, .10);
  --shadow-lg: 0 24px 60px rgba(8, 26, 48, .18);
  --ring: 0 0 0 4px rgba(20, 184, 166, .18);

  /* Type */
  --font: "Inter", "Helvetica Neue", Arial, system-ui, sans-serif;
  --container: 1180px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--navy-900);
  margin: 0 0 .5em;
  font-weight: 800;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 1rem; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

section { padding: clamp(64px, 9vw, 120px) 0; }

/* ---------- Eyebrow / section heading ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--teal-500);
  display: inline-block;
}
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--slate-500); font-size: 1.1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--teal-500); color: #04302b; box-shadow: 0 6px 18px rgba(20,184,166,.35); }
.btn-primary:hover { background: var(--teal-400); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(20,184,166,.45); }
.btn-dark { background: var(--navy-800); color: #fff; }
.btn-dark:hover { background: var(--navy-700); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--navy-800); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy-600); background: var(--mist); }
.btn-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.25); }
.btn-light:hover { background: rgba(255,255,255,.2); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand svg, .brand img { height: 38px; width: auto; }
.brand-text { font-weight: 800; letter-spacing: -.02em; color: var(--navy-900); line-height: 1.05; font-size: 1.05rem; }
.brand-text small { display: block; font-size: .62rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-600); }

.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  padding: 9px 14px; border-radius: 8px; font-weight: 500; font-size: .96rem;
  color: var(--slate-700); transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--navy-900); background: var(--mist); }

.nav-right { display: flex; align-items: center; gap: 14px; }

/* Language switcher */
.lang-switch { display: flex; gap: 2px; background: var(--mist-2); padding: 4px; border-radius: 999px; }
.lang-switch button {
  border: 0; background: transparent; cursor: pointer; font: inherit; font-size: .8rem; font-weight: 700;
  color: var(--slate-500); padding: 5px 10px; border-radius: 999px; transition: .2s; text-transform: uppercase;
}
.lang-switch button.active { background: #fff; color: var(--navy-900); box-shadow: var(--shadow-sm); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy-900); margin: 5px 0; transition: .3s; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 120% at 80% 0%, var(--navy-700) 0%, var(--navy-900) 55%);
  color: #fff; padding: clamp(72px, 11vw, 150px) 0 clamp(72px, 11vw, 140px);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(40% 60% at 100% 100%, rgba(20,184,166,.22), transparent 70%),
    radial-gradient(30% 50% at 0% 0%, rgba(29,111,184,.25), transparent 70%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; }
.hero .lede { font-size: 1.2rem; color: #c7d6e8; max-width: 540px; margin-bottom: 32px; }
.hero .eyebrow { color: var(--teal-400); }
.hero .eyebrow::before { background: var(--teal-400); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  padding: 8px 16px; border-radius: 999px; font-size: .85rem; color: #d7e3f2; font-weight: 500;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-400); box-shadow: 0 0 0 4px rgba(45,212,191,.25); }

.hero-visual { position: relative; }
.hero-visual img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.hero-float {
  position: absolute; background: #fff; color: var(--ink); border-radius: var(--radius);
  padding: 16px 18px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 14px;
}
.hero-float.tl { top: 24px; left: -28px; }
.hero-float.br { bottom: 28px; right: -24px; }
.hero-float .ic { width: 42px; height: 42px; border-radius: 10px; background: var(--mist); display: grid; place-items: center; color: var(--teal-600); flex-shrink: 0; }
.hero-float .ic svg { width: 22px; height: 22px; }
.hero-float strong { display: block; font-size: 1.05rem; color: var(--navy-900); }
.hero-float span { font-size: .8rem; color: var(--slate-500); }

/* Trust bar */
.trustbar { background: var(--navy-900); color: #9fb3cc; padding: 22px 0; }
.trustbar .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.trustbar span { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; opacity: .85; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 8px; }
.stat .num { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; color: var(--navy-800); letter-spacing: -.03em; }
.stat .num span { color: var(--teal-500); }
.stat .lbl { color: var(--slate-500); font-weight: 500; font-size: .98rem; }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 30px; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
  position: relative; overflow: hidden;
}
.card::after {
  content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%;
  background: linear-gradient(90deg, var(--teal-500), var(--blue-500)); transform: scaleX(0);
  transform-origin: left; transition: transform .35s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::after { transform: scaleX(1); }
.card .card-ic {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600)); color: var(--teal-400);
}
.card .card-ic svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--slate-500); font-size: 1rem; margin-bottom: 18px; }
.card ul { list-style: none; margin: 0 0 22px; padding: 0; }
.card ul li { position: relative; padding-left: 26px; margin-bottom: 8px; color: var(--slate-700); font-size: .96rem; }
.card ul li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 16px; height: 16px;
  background: var(--mist-2); border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%230d9488' d='M6.5 10.6 3.9 8l-1 1 3.6 3.6 7-7-1-1z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}
.card .card-link { font-weight: 600; color: var(--navy-800); display: inline-flex; align-items: center; gap: 6px; transition: gap .2s, color .2s; }
.card .card-link:hover { color: var(--teal-600); gap: 11px; }

/* ---------- Feature / split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.checklist { list-style: none; margin: 24px 0 0; padding: 0; }
.checklist li { position: relative; padding-left: 38px; margin-bottom: 18px; }
.checklist li strong { display: block; color: var(--navy-900); }
.checklist li span { color: var(--slate-500); font-size: .96rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 7px;
  background: var(--teal-500);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9.6 16.2 5.4 12l-1.4 1.4 5.6 5.6 12-12-1.4-1.4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 18px;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy-800), var(--navy-700));
  color: #fff; border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 64px);
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; right: -60px; top: -60px; width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(20,184,166,.3), transparent 70%);
}
.cta-band .container, .cta-band-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: #c7d6e8; margin: 0; max-width: 520px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #9fb3cc; padding: 72px 0 32px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 48px; }
.site-footer h4 { color: #fff; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer a { color: #9fb3cc; transition: color .2s; }
.site-footer a:hover { color: var(--teal-400); }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 11px; }
.footer-brand .brand-text { color: #fff; }
.footer-brand p { margin: 18px 0 20px; max-width: 320px; line-height: 1.7; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 14px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--teal-400); margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 26px; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: .85rem; }
.footer-bottom a { margin-left: 18px; }

/* ---------- Page hero (sub pages) ---------- */
.page-hero {
  background: radial-gradient(120% 130% at 85% 0%, var(--navy-700), var(--navy-900));
  color: #fff; padding: clamp(70px, 10vw, 120px) 0 clamp(56px, 8vw, 90px); position: relative; overflow: hidden;
}
.page-hero::before { content:""; position:absolute; inset:0; background: radial-gradient(35% 60% at 100% 100%, rgba(20,184,166,.2), transparent 70%); }
.page-hero .container { position: relative; max-width: 760px; }
.page-hero h1 { color: #fff; }
.page-hero p { color: #c7d6e8; font-size: 1.15rem; margin: 0; }
.breadcrumb { font-size: .85rem; color: var(--teal-400); margin-bottom: 18px; display: flex; gap: 8px; }
.breadcrumb a { color: #9fb3cc; }
.breadcrumb a:hover { color: #fff; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.info-card { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.info-card:last-child { border-bottom: 0; }
.info-card .ic { width: 48px; height: 48px; border-radius: 12px; background: var(--mist); color: var(--teal-600); display: grid; place-items: center; flex-shrink: 0; }
.info-card .ic svg { width: 22px; height: 22px; }
.info-card h4 { margin: 0 0 3px; color: var(--navy-900); font-size: 1.02rem; text-transform: none; letter-spacing: 0; }
.info-card p { margin: 0; color: var(--slate-500); }
.info-card a { color: var(--navy-800); font-weight: 500; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-md); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 7px; color: var(--navy-900); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; font-size: .98rem; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal-500); box-shadow: var(--ring); }
.field textarea { resize: vertical; min-height: 130px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: .82rem; color: var(--slate-400); margin-top: 14px; }
.form-status { font-size: .92rem; margin: 14px 0 0; font-weight: 500; }
.form-status:empty { margin: 0; }
.form-status.ok { color: var(--teal-600); }
.form-status.err { color: #c0392b; }

/* ---------- Values / about ---------- */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value { padding: 28px; background: var(--mist); border-radius: var(--radius); }
.value .ic { width: 48px; height: 48px; border-radius: 12px; background: #fff; color: var(--teal-600); display: grid; place-items: center; margin-bottom: 16px; box-shadow: var(--shadow-sm); }
.value h3 { font-size: 1.12rem; }
.value p { color: var(--slate-500); font-size: .96rem; margin: 0; }

.bg-mist { background: var(--mist); }
.bg-navy { background: var(--navy-900); color: #fff; }
.bg-navy h2, .bg-navy h3 { color: #fff; }
.bg-navy .stat .num { color: #fff; }
.bg-navy .stat .lbl { color: #9fb3cc; }

/* ---------- Service detail blocks ---------- */
.svc-block { padding: clamp(48px,7vw,88px) 0; border-bottom: 1px solid var(--line); }
.svc-block:last-child { border-bottom: 0; }
.svc-num { font-size: 5rem; font-weight: 800; line-height: 1; color: var(--mist-2); letter-spacing: -.04em; }

/* ---------- Legal pages ---------- */
.legal { max-width: 760px; }
.legal .legal-block { padding: 26px 0; border-bottom: 1px solid var(--line); }
.legal .legal-block:last-child { border-bottom: 0; }
.legal h3 { color: var(--navy-900); margin-bottom: 8px; }
.legal p { color: var(--slate-700); margin: 0; }
.legal .updated { color: var(--slate-400); font-size: .9rem; margin-top: 18px; }
.legal .intro { font-size: 1.1rem; color: var(--slate-500); margin-bottom: 8px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 440px; margin-inline: auto; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .split-media { order: 0; }
  .cards { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 36px 16px; }
  .value-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .nav-right .btn { display: none; }
  .nav-toggle { display: block; }
  .site-header.open .nav-links {
    display: flex; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column;
    background: #fff; padding: 16px 24px; gap: 4px; box-shadow: var(--shadow-md); border-top: 1px solid var(--line);
  }
  .site-header.open .nav-links a { padding: 12px 14px; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-float.tl { left: 8px; }
  .hero-float.br { right: 8px; }
  .cta-band-inner, .cta-band .container { flex-direction: column; align-items: flex-start; }
}
