/* ==========================================================================
   STROWA GmbH — strowa.ch
   Design system: "Navy & Teal"
   ========================================================================== */

:root {
  --navy:      #0E2A47;
  --navy-2:    #15375c;
  --teal:      #16A394;
  --teal-dark: #0E8C7E;
  --ink:       #0B1F33;
  --text:      #2b3b4d;
  --muted:     #5B6B7B;
  --surface:   #F5F7FA;
  --line:      #e3e8ef;
  --white:     #ffffff;
  --on-navy:   #c7d4e2;

  --maxw: 1140px;
  --radius: 12px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(11,31,51,.06), 0 1px 1px rgba(11,31,51,.04);
  --shadow-md: 0 10px 30px rgba(11,31,51,.10);
  --shadow-lg: 0 18px 50px rgba(11,31,51,.16);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "Helvetica Neue", sans-serif;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--teal-dark); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.18; font-weight: 700; letter-spacing: -.01em; }
ul { list-style: none; padding: 0; }
strong { font-weight: 600; }

/* ---------- layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.section { padding: 92px 0; scroll-margin-top: 84px; }
.section--surface { background: var(--surface); }
.section--navy { background: var(--navy); }
.section--tight { padding: 70px 0; }

.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--teal-dark); margin-bottom: 14px;
}
.section--navy .eyebrow { color: var(--teal); }
.section h2 { font-size: clamp(28px, 4vw, 40px); }
.section--navy h2, .section--navy h3 { color: #fff; }
.lead { font-size: 19px; color: var(--muted); margin-top: 16px; }
.section--navy .lead { color: var(--on-navy); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font: inherit; font-weight: 600; font-size: 16px; line-height: 1;
  padding: 15px 26px; border-radius: 10px; border: 1.5px solid transparent;
  cursor: pointer; transition: all .22s var(--ease); white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-outline:hover { border-color: var(--navy); color: var(--navy); transform: translateY(-2px); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost-light:hover { background: rgba(255,255,255,.10); color: #fff; border-color: rgba(255,255,255,.7); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand .mark { width: 40px; height: 40px; flex: none; }
.brand .wordmark { display: flex; flex-direction: column; line-height: 1; }
.brand .wm-name { font-size: 21px; font-weight: 700; letter-spacing: .12em; color: var(--navy); }

.nav-menu { display: flex; align-items: center; gap: 6px; }
.nav-menu a.nav-link {
  color: var(--ink); font-weight: 500; font-size: 15.5px; padding: 9px 14px; border-radius: 8px;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.nav-menu a.nav-link:hover { background: var(--surface); color: var(--navy); }
.nav-menu a.nav-link.active { color: var(--teal-dark); }
.nav-menu .mobile-cta { display: none; }

.nav-actions { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 8px; padding: 7px 12px; font-size: 13px; font-weight: 600; color: var(--ink); }
.lang-switch:hover { background: var(--surface); color: var(--navy); border-color: #c9d3df; }
.lang-switch svg { width: 16px; height: 16px; color: var(--teal-dark); flex: none; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 9px;
  background: #fff; cursor: pointer; align-items: center; justify-content: center; color: var(--navy);
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .ico-close { display: none; }
.nav-toggle[aria-expanded="true"] .ico-open { display: none; }
.nav-toggle[aria-expanded="true"] .ico-close { display: block; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, #0c2440 0%, var(--navy) 45%, var(--navy-2) 100%);
  color: #fff; padding: 96px 0 104px;
}
.hero::after {
  content: ""; position: absolute; right: -120px; top: -60px; width: 620px; height: 620px;
  background: radial-gradient(circle at center, rgba(22,163,148,.22), transparent 62%);
  pointer-events: none;
}
.hero-deco { position: absolute; right: 4%; bottom: -40px; width: 360px; opacity: .10; pointer-events: none; }
.hero-inner { position: relative; z-index: 2; max-width: 760px; }
.hero .eyebrow { color: var(--teal); }
.hero h1 { color: #fff; font-size: clamp(34px, 5.4vw, 58px); line-height: 1.08; letter-spacing: -.02em; }
.hero h1 .accent { color: var(--teal); }
.hero p.hero-sub { font-size: clamp(17px, 2.2vw, 21px); color: var(--on-navy); margin-top: 22px; max-width: 620px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-trust { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 10px 26px; color: var(--on-navy); font-size: 14.5px; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 17px; height: 17px; color: var(--teal); flex: none; }

/* ---------- stats ---------- */
.stats { margin-top: -56px; position: relative; z-index: 5; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow-md);
}
.stat .num { font-size: 38px; font-weight: 700; color: var(--navy); letter-spacing: -.02em; line-height: 1; }
.stat .num em { color: var(--teal); font-style: normal; }
.stat .lbl { margin-top: 10px; font-size: 14.5px; color: var(--muted); line-height: 1.45; }

/* ---------- generic grid ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* ---------- service cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  position: relative; height: 100%;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: #d3dce7; }
.card .ico {
  width: 50px; height: 50px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: rgba(22,163,148,.10); color: var(--teal-dark); margin-bottom: 20px;
}
.card .ico svg { width: 26px; height: 26px; }
.card h3 { font-size: 19.5px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15.5px; }

/* ---------- industries ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 13px; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 999px; padding: 11px 20px 11px 16px;
  font-size: 15.5px; font-weight: 500; color: var(--ink);
}
.chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); flex: none; }

/* industries: plain (non-clickable) list with check marks */
.ind-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px 30px; }
.ind-item { display: flex; align-items: center; gap: 12px; font-size: 16.5px; color: var(--ink); }
.ind-item svg { width: 20px; height: 20px; color: var(--teal); flex: none; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 185px 1fr; gap: 50px; align-items: start; }
.about-photo { position: relative; }
.about-photo img { border-radius: var(--radius); width: 100%; height: auto; display: block; box-shadow: var(--shadow-md); }
.about-name { font-size: 26px; }
.photo-caption { margin-top: 26px; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.photo-caption strong { display: block; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.about-role { color: var(--teal-dark); font-weight: 600; margin: 6px 0 20px; }
.about-body p { color: var(--text); margin-bottom: 16px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 22px 0 30px; }
.facts li { display: flex; align-items: center; gap: 9px; font-size: 15px; color: var(--ink); }
.facts svg { width: 17px; height: 17px; color: var(--teal); flex: none; }

/* timeline */
.timeline { margin-top: 8px; border-left: 2px solid var(--line); padding-left: 26px; }
.timeline li { position: relative; padding-bottom: 24px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -33px; top: 4px; width: 12px; height: 12px; border-radius: 50%;
  background: #fff; border: 2.5px solid var(--teal);
}
.timeline .yr { font-size: 13px; font-weight: 600; color: var(--teal-dark); letter-spacing: .02em; }
.timeline .role { font-weight: 600; color: var(--ink); margin-top: 2px; }
.timeline .org { color: var(--muted); font-size: 15px; }

/* profile: collapsible details */
.cv-toggle { margin-top: 4px; }
.cv-toggle svg { transition: transform .25s var(--ease); }
.cv-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.cv-details { margin-top: 30px; }
.cv-details[hidden] { display: none; }

/* ---------- references ---------- */
.ref-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 24px;
  display: flex; flex-direction: column; height: 100%;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.ref-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.ref-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.tag { display: inline-block; font-size: 12.5px; font-weight: 600; letter-spacing: .03em; padding: 5px 11px; border-radius: 7px; background: rgba(22,163,148,.12); color: var(--teal-dark); }
.ref-period { font-size: 13px; color: var(--muted); font-weight: 500; }
.ref-card h3 { font-size: 18.5px; margin-bottom: 6px; }
.ref-role { font-size: 14px; color: var(--teal-dark); font-weight: 600; margin-bottom: 10px; }
.ref-card p { color: var(--muted); font-size: 15px; flex-grow: 1; }
.ref-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.ref-tags span { font-size: 12.5px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 4px 9px; }

/* ---------- values (navy) ---------- */
.value { }
.value .ico { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: rgba(22,163,148,.16); color: var(--teal); margin-bottom: 18px; }
.value .ico svg { width: 25px; height: 25px; }
.value h3 { font-size: 19px; color: #fff; margin-bottom: 9px; }
.value p { color: var(--on-navy); font-size: 15.5px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 54px; align-items: start; }
.contact-info h2 { font-size: clamp(28px, 4vw, 38px); }
.contact-list { margin-top: 30px; display: flex; flex-direction: column; gap: 20px; }
.contact-list li { display: flex; gap: 15px; align-items: flex-start; }
.contact-list .ci-ico { width: 44px; height: 44px; border-radius: 11px; background: var(--surface); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--teal-dark); flex: none; }
.contact-list .ci-ico svg { width: 21px; height: 21px; }
.contact-list .ci-lbl { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.contact-list .ci-val { font-size: 17px; color: var(--ink); font-weight: 500; }
.contact-list a.ci-val:hover { color: var(--teal-dark); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 32px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field label .req { color: var(--teal-dark); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff;
  border: 1.5px solid var(--line); border-radius: 10px; padding: 13px 15px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(22,163,148,.14); }
.field textarea { resize: vertical; min-height: 130px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-consent { display: flex; gap: 11px; align-items: flex-start; margin: 6px 0 22px; font-size: 14px; color: var(--muted); }
.form-consent input { margin-top: 3px; width: 17px; height: 17px; flex: none; accent-color: var(--teal); }
.form-card .btn-primary { width: 100%; justify-content: center; }
.form-note { margin-top: 16px; font-size: 13.5px; color: var(--muted); text-align: center; }
.form-status { display: none; padding: 14px 16px; border-radius: 10px; font-size: 15px; margin-bottom: 20px; }
.form-status.ok { display: block; background: rgba(22,163,148,.10); color: var(--teal-dark); border: 1px solid rgba(22,163,148,.3); }
.form-status.err { display: block; background: #fdecec; color: #b3261e; border: 1px solid #f3c0bd; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: var(--on-navy); padding: 64px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; }
.footer-brand .brand .wm-name { color: #fff; }
.footer-brand p { margin-top: 18px; font-size: 14.5px; color: var(--on-navy); max-width: 290px; }
.footer-col h4 { color: #fff; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col a { color: var(--on-navy); font-size: 15px; }
.footer-col a:hover { color: #fff; }
.footer-col address { font-style: normal; font-size: 15px; line-height: 1.8; color: var(--on-navy); }
.footer-col address a { color: var(--on-navy); }
.footer-bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center;
  font-size: 13.5px; color: var(--on-navy);
}
.footer-bottom a { color: var(--on-navy); }
.footer-bottom a:hover { color: #fff; }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- legal pages ---------- */
.page-hero { background: linear-gradient(150deg, #0c2440, var(--navy)); color: #fff; padding: 70px 0 56px; }
.page-hero h1 { color: #fff; font-size: clamp(30px, 5vw, 44px); }
.page-hero p { color: var(--on-navy); margin-top: 10px; }
.legal { padding: 70px 0 90px; }
.legal-content { max-width: 800px; }
.legal-content h2 { font-size: 23px; margin: 40px 0 14px; }
.legal-content h3 { font-size: 18px; margin: 26px 0 10px; }
.legal-content p { margin-bottom: 14px; color: var(--text); }
.legal-content ul.bullets { list-style: disc; padding-left: 22px; margin-bottom: 16px; color: var(--text); }
.legal-content ul.bullets li { margin-bottom: 7px; }
.legal-content .muted { color: var(--muted); font-size: 14.5px; }
.legal-content a { word-break: break-word; }
.data-table { width: 100%; border-collapse: collapse; margin: 8px 0 20px; }
.data-table td { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; vertical-align: top; }
.data-table td:first-child { color: var(--muted); width: 200px; }
.ph { background: #fff4d6; color: #8a6100; padding: 1px 7px; border-radius: 5px; font-size: 13.5px; font-weight: 600; border: 1px dashed #e2bf6a; }

/* ---------- misc ---------- */
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 0 0 8px 0; z-index: 200; }
.skip-link:focus { left: 0; color: #fff; }
:focus-visible { outline: 3px solid rgba(22,163,148,.55); outline-offset: 2px; border-radius: 4px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-photo { max-width: 175px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-menu, .nav-actions .desktop-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-menu.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    position: absolute; top: 74px; left: 0; right: 0; background: #fff;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); padding: 14px 24px 22px;
  }
  .nav-menu.open a.nav-link { padding: 13px 12px; font-size: 17px; border-radius: 9px; }
  .nav-menu.open .mobile-cta { display: inline-flex; justify-content: center; margin-top: 10px; }
}
@media (max-width: 720px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .section { padding: 68px 0; }
  .hero { padding: 72px 0 84px; }
  .stats { margin-top: -40px; }
}
@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .footer-brand p { max-width: none; }
  .footer-brand .brand { flex-wrap: wrap; }
}
@media (max-width: 460px) {
  .stats-grid { grid-template-columns: 1fr; }
  body { font-size: 16px; }
  .nav-actions .desktop-cta { padding: 11px 15px; font-size: 14.5px; }
  .nav { gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
