:root {
  --blue: #162549;        /* midway between logo blue #24326C and dark navy #081826 */
  --blue-dark: #0E1832;
  --blue-soft: #E8EBF2;
  --bg: #F3F5F8;
  --white: #FFFFFF;
  --text: #162549;
  --muted: #525D78;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}
h1, h2, h3 { font-family: "DM Serif Text", Georgia, serif; font-weight: 400; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.35rem; }
a { color: inherit; }
img { max-width: 100%; display: block; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 16px; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  font-size: .95rem;
  padding: .7em 1.6em;
  border-radius: 4px;
  transition: background .2s;
}
.btn:hover { background: var(--blue-dark); }
.btn-lg { padding: .9em 2.2em; font-size: 1rem; }
.btn-outline { background: transparent; color: var(--blue); box-shadow: inset 0 0 0 1.5px var(--blue); }
.btn-outline:hover { background: var(--blue-soft); }
.btn-light { background: var(--white); color: var(--blue); }
.btn-light:hover { background: var(--blue-soft); }

/* Top bar */
.topbar {
  background: var(--blue);
  color: var(--white);
  text-align: center;
  font-size: .85rem;
  padding: .55em 16px;
}

/* Header */
.header { background: var(--white); position: sticky; top: 0; z-index: 10; box-shadow: 0 1px 0 rgba(22,37,73,.08); }
.header-inner { display: flex; align-items: center; gap: 2rem; padding-top: 14px; padding-bottom: 14px; }
.logo { flex-shrink: 0; }
.logo img { height: 52px; width: auto; max-width: none; } /* never squeeze: keeps the logo's proportions */
.nav { display: flex; gap: 1.8rem; flex: 1; }
.nav a { text-decoration: none; font-size: .95rem; white-space: nowrap; }
.header-cta a { white-space: nowrap; }
@media (max-width: 1080px) { .phone { display: none; } .header-inner, .nav { gap: 1.2rem; } }
.nav a:hover { text-decoration: underline; }
.header-cta { display: flex; align-items: center; gap: 1.4rem; }
.phone { text-decoration: none; font-size: .95rem; }

/* Hero */
.hero { padding: 96px 0 104px; }
.hero-inner { display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: 3rem; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 560px; margin: 0 0 2rem; }
.hero-mark { display: flex; flex-direction: column; gap: 22px; align-items: center; }
.hero-mark span {
  display: block; width: 150px; height: 46px; background: var(--blue);
  transform: skewY(-28deg);
}

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--white); }
.section-lead { color: var(--muted); margin: 0 0 2.5rem; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--white);
  border-radius: 6px;
  padding: 32px 28px;
  border-top: 4px solid var(--blue);
  box-shadow: 0 2px 14px rgba(22,37,73,.06);
}
.card ul { list-style: none; padding: 0; margin: 0; color: var(--muted); }
.card li { padding: 3px 0; }
.card li::before { content: "– "; color: var(--blue); }

/* Profile */
.profile { display: grid; grid-template-columns: 220px 1fr; gap: 3.5rem; align-items: start; }
.profile { grid-template-columns: 320px 1fr; }
.profile-photo {
  width: 320px; height: 380px; border-radius: 6px;
  object-fit: cover; object-position: 14% 30%; /* keeps Klaus centred in the crop */
}
.about-lead { max-width: 820px; }
.profile-name { font-size: 1.8rem; margin-bottom: .2em; }
.role { color: var(--muted); margin-top: 0; font-weight: 500; }
.refs { color: var(--muted); font-style: italic; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 2.5rem; }
.step-no {
  display: inline-flex; width: 44px; height: 44px; border-radius: 50%;
  align-items: center; justify-content: center;
  background: var(--blue); color: var(--white); font-weight: 700; margin-bottom: 1rem;
}
.step p { color: var(--muted); margin: 0; }

/* CTA */
.cta { background: var(--blue); color: var(--white); padding: 72px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.cta h2 { margin-bottom: .2em; }
.cta p { margin: 0; opacity: .85; }

/* Footer */
.footer { background: var(--blue-dark); color: rgba(255,255,255,.85); padding: 48px 0; font-size: .92rem; }
.footer-inner { display: flex; gap: 4rem; flex-wrap: wrap; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer-small { margin-left: auto; align-self: flex-end; opacity: .7; text-align: right; }
.footer-login { display: inline-block; margin-bottom: .4em; border: 1px solid rgba(255,255,255,.5); border-radius: 4px; padding: .3em .9em; }
.footer-login:hover { background: rgba(255,255,255,.1); text-decoration: none !important; }

/* Mobile */
@media (max-width: 860px) {
  .nav { display: none; }
  .phone { display: none; }
  .header-inner { justify-content: space-between; gap: 1rem; }
  .header-cta { gap: .6rem; }
  .header-cta .btn { padding: .6em 1em; }
  .logo img { height: 34px; }
  .hero { padding: 56px 0 64px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-mark { display: none; }
  .cards, .steps { grid-template-columns: 1fr; }
  .profile { grid-template-columns: 1fr; gap: 1.5rem; }
  .profile-photo { width: 100%; height: 300px; object-position: 0% 30%; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .section { padding: 64px 0; }
  .footer-inner { gap: 1.5rem; flex-direction: column; }
  .footer-small { margin-left: 0; text-align: left; }
}
