/* Rüdiger Wolf AB — palette taken from the logo: navy #022A54, deep blue #034C6D, cyan #0094B2 */

:root {
  --navy: #022a54;
  --navy-deep: #011c39;
  --blue: #034c6d;
  --cyan: #0094b2;
  --cyan-bright: #17b3d4;

  --ink: #10233a;
  --ink-soft: #3d4f66;
  --muted: #64748b;
  --line: #e3e9f0;
  --line-strong: #cfd9e4;
  --bg: #ffffff;
  --surface: #f5f8fb;
  --tint: #eaf6fa;

  --wrap: 1120px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(2, 42, 84, .06), 0 4px 12px rgba(2, 42, 84, .05);
  --shadow-md: 0 12px 32px rgba(2, 42, 84, .10);

  --font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

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

img { max-width: 100%; height: auto; display: block; }

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--cyan); }

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

abbr[title] {
  text-decoration: underline dotted;
  text-underline-offset: 3px;
  cursor: help;
}

h1, h2, h3 {
  margin: 0 0 .6em;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--navy);
  font-weight: 650;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.35rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); }
h3 { font-size: 1.14rem; letter-spacing: -.01em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

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

.anchor { display: block; height: 0; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--navy);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 8px 8px;
  transition: top .2s ease;
}
.skip-link:focus { top: 0; color: #fff; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 20px rgba(2, 42, 84, .06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.brand { display: inline-flex; align-items: center; }
.brand-logo { width: auto; height: 34px; }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: inline-block;
  padding: 9px 13px;
  border-radius: 8px;
  font-size: .945rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color .18s ease, background-color .18s ease;
}
.site-nav a:hover { color: var(--navy); background: var(--surface); }
.site-nav a.is-active { color: var(--navy); background: var(--tint); }

.site-nav .nav-cta {
  margin-left: 8px;
  padding: 9px 18px;
  color: #fff;
  background: var(--navy);
}
.site-nav .nav-cta:hover { background: var(--blue); color: #fff; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  font: inherit;
  font-size: .95rem;
  font-weight: 500;
  color: var(--navy);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before,
.nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .005em;
  border: 1px solid transparent;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--cyan);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 148, 178, .28);
}
.btn-primary:hover { background: var(--cyan-bright); color: #fff; }

.btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, .38);
}
.btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .6); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  color: #fff;
  background:
    radial-gradient(1000px 520px at 82% -10%, rgba(0, 148, 178, .5), transparent 62%),
    radial-gradient(760px 420px at 8% 108%, rgba(3, 76, 109, .72), transparent 66%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(72% 70% at 50% 40%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(72% 70% at 50% 40%, #000 30%, transparent 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 56px;
  padding-block: clamp(72px, 11vw, 128px) clamp(64px, 9vw, 104px);
}

.hero h1 { color: #fff; max-width: 20ch; }

.eyebrow {
  margin: 0 0 22px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .68);
}

.lede {
  max-width: 62ch;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: rgba(255, 255, 255, .84);
}
.lede abbr { color: #fff; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-mark img {
  width: clamp(190px, 21vw, 300px);
  opacity: .16;
  filter: drop-shadow(0 18px 46px rgba(0, 0, 0, .35));
}

.hero-strip {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, .14);
  background: rgba(1, 20, 41, .4);
}
.hero-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding-block: 26px;
}
.hero-strip-inner > div { display: flex; flex-direction: column; gap: 2px; }
.strip-value {
  font-size: 1.3rem;
  font-weight: 650;
  letter-spacing: -.01em;
  color: #fff;
}
.strip-label {
  font-size: .85rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, .62);
}

/* ---------- Sections ---------- */

.section { padding-block: clamp(64px, 8.5vw, 104px); }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }

.kicker {
  margin: 0 0 14px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cyan);
}
.kicker-light { color: var(--cyan-bright); }

.section-head h2 { max-width: 26ch; }
.section-head.centered {
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: 52px;
  text-align: center;
}
.section-head.centered h2 { max-width: none; }

.section-sub {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 62ch;
}
.section-head.centered .section-sub { margin-inline: auto; }
.section-sub.light { color: rgba(255, 255, 255, .78); }

.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}
.grid-2.wide-right { grid-template-columns: minmax(0, .78fr) minmax(0, 1fr); }

.prose { color: var(--ink-soft); }
.prose-h { margin-top: 2em; color: var(--navy); }

/* ---------- Cards ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: 22px;
}

.card {
  padding: 30px 28px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}
.card p { color: var(--ink-soft); font-size: .97rem; margin: 0; }

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 12px;
  color: var(--blue);
  background: var(--tint);
}
.card-icon svg { width: 23px; height: 23px; }

/* ---------- KNX section ---------- */

.knx {
  color: #fff;
  background:
    radial-gradient(820px 460px at 88% 6%, rgba(0, 148, 178, .38), transparent 60%),
    linear-gradient(155deg, var(--blue) 0%, var(--navy) 62%, var(--navy-deep) 100%);
}
.knx h2, .knx h3 { color: #fff; }
.knx .section-head { max-width: 760px; margin-bottom: 52px; }

.knx-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}

.knx-block {
  padding: 30px 28px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .055);
  backdrop-filter: blur(2px);
}
.knx-block p { color: rgba(255, 255, 255, .8); font-size: .97rem; }

.ticks { margin: 0; padding: 0; list-style: none; }
.ticks li {
  position: relative;
  padding-left: 30px;
  margin-bottom: .8em;
  font-size: .97rem;
  color: rgba(255, 255, 255, .8);
}
.ticks li:last-child { margin-bottom: 0; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .42em;
  width: 13px;
  height: 8px;
  border-left: 2px solid var(--cyan-bright);
  border-bottom: 2px solid var(--cyan-bright);
  transform: rotate(-45deg);
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  position: relative;
  padding-left: 30px;
  margin-bottom: .95em;
  font-size: .97rem;
  color: rgba(255, 255, 255, .8);
}
.steps li:last-child { margin-bottom: 0; }
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: .18em;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  font-size: .72rem;
  font-weight: 700;
  color: var(--navy);
  background: var(--cyan-bright);
  border-radius: 50%;
}
.steps span {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cyan-bright);
}

/* ---------- Leadership ---------- */

.role {
  margin: -.2em 0 1.4em;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--cyan);
}

.meta-list { margin: 0; padding: 0; list-style: none; }
.meta-list li {
  padding: 13px 0;
  border-top: 1px solid var(--line);
  font-size: .95rem;
  color: var(--ink-soft);
}
.meta-list li:last-child { border-bottom: 1px solid var(--line); }
.meta-list strong {
  display: block;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}

.linkedin { margin-top: 22px; }
.link-arrow { font-weight: 600; }
.link-arrow::after {
  content: "→";
  display: inline-block;
  margin-left: 7px;
  transition: transform .18s ease;
}
.link-arrow:hover::after { transform: translateX(4px); }

.engagements { margin: 0; }
.engagements dt {
  margin-top: 1.35em;
  font-weight: 600;
  color: var(--navy);
}
.engagements dt:first-child { margin-top: 0; }
.engagements dd {
  margin: .3em 0 0;
  padding-left: 16px;
  border-left: 2px solid var(--tint);
  font-size: .97rem;
  color: var(--ink-soft);
}

/* ---------- Callout ---------- */

.callout {
  padding: clamp(30px, 4vw, 48px);
  background: var(--bg);
  border: 1px solid var(--line);
  border-left: 4px solid var(--cyan);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.callout-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.callout-head h2 { margin: 0; max-width: none; }
.callout-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  color: var(--blue);
  background: var(--tint);
}
.callout-icon svg { width: 24px; height: 24px; }
.callout-body > p { color: var(--ink-soft); max-width: 78ch; }

.callout .ticks { margin-top: 26px; }
.callout .ticks li { color: var(--ink-soft); }
.callout .ticks li::before { border-color: var(--cyan); }
.callout .ticks strong { color: var(--navy); }

.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 4px 40px;
}

/* ---------- Facts ---------- */

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  margin: 0;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.facts > div { padding: 22px 24px; background: var(--bg); }
.facts dt {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 5px;
}
.facts dd { margin: 0; font-weight: 500; color: var(--navy); }
.facts a { font-weight: 600; }

/* ---------- Contact ---------- */

.contact {
  color: #fff;
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 100%);
}
.contact h2 { color: #fff; }
.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}
.contact-copy p { color: rgba(255, 255, 255, .8); max-width: 46ch; }

.contact-details dl { margin: 0; }
.contact-details dt {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cyan-bright);
  margin-bottom: 5px;
}
.contact-details dd {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, .9);
}
.contact-details dd:last-child { margin-bottom: 0; }
.contact-details a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.contact-details a:hover { color: var(--cyan-bright); }

/* ---------- Footer ---------- */

.site-footer {
  padding-block: 44px;
  color: rgba(255, 255, 255, .62);
  background: var(--navy-deep);
  font-size: .9rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
}
.footer-brand img { height: 30px; width: auto; margin-bottom: 12px; }
.footer-brand p { margin: 0; }
.footer-legal { text-align: right; }
.footer-legal p { margin: 0 0 4px; }
.footer-legal .copy { margin-top: 12px; color: rgba(255, 255, 255, .44); }

/* ---------- Reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-mark { display: none; }
  .hero-strip-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; }
  .grid-2, .grid-2.wide-right, .contact-inner { grid-template-columns: 1fr; }
  .section-head h2 { max-width: none; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }

  .nav-toggle { display: inline-flex; }

  .site-nav {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 8px);
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .site-nav a { padding: 12px 14px; }
  .site-nav .nav-cta { margin: 6px 0 0; text-align: center; }

  .header-inner { position: relative; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-legal { text-align: left; }
}

@media (max-width: 420px) {
  .hero-strip-inner { grid-template-columns: 1fr; }
  .btn { width: 100%; }
}

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

/* ---------- Print: the page is likely to be attached to applications as PDF ---------- */

@media print {
  :root { --ink: #000; --ink-soft: #222; }

  body { font-size: 11pt; line-height: 1.45; }

  .site-header, .nav-toggle, .site-nav, .hero-actions, .hero-mark, .skip-link { display: none !important; }

  .hero, .knx, .contact, .site-footer,
  .hero-strip, .knx-block {
    color: #000 !important;
    background: #fff !important;
  }
  .hero::before { display: none; }

  h1, h2, h3, .strip-value, .facts dd, .engagements dt { color: #000 !important; }
  .lede, .section-sub.light, .knx-block p, .ticks li, .steps li,
  .contact-copy p, .contact-details dd, .footer-brand p, .footer-legal p { color: #222 !important; }
  .kicker, .kicker-light, .contact-details dt, .steps span, .role { color: #034c6d !important; }
  .strip-label, .footer-legal .copy { color: #444 !important; }

  .knx-block, .card, .callout, .facts { border-color: #bbb !important; box-shadow: none !important; }
  .ticks li::before { border-color: #034c6d !important; }
  .steps li::before { background: #034c6d !important; color: #fff !important; }

  .section { padding-block: 18pt; }
  .section-alt { border: 0; }
  .hero-inner { padding-block: 0 18pt; }

  a { color: #000 !important; text-decoration: none; }
  .contact-details a[href^="mailto:"]::after { content: ""; }

  .section, .card, .knx-block, .callout { break-inside: avoid; }
  h2, h3 { break-after: avoid; }

  .reveal { opacity: 1 !important; transform: none !important; }
}
