/* m²-data GmbH – one pager */
:root {
  --navy: #0b2a66;
  --navy-deep: #071c47;
  --blue: #1f5fa8;
  --blue-light: #3d85c6;
  --slate: #56687c;
  --slate-light: #8a99a8;
  --ink: #1b2533;
  --muted: #56687c;
  --bg: #ffffff;
  --bg-tint: #f3f6fa;
  --line: #dde4ec;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(11, 42, 102, .06), 0 8px 24px rgba(11, 42, 102, .06);
  --font: "Montserrat", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.12rem; font-weight: 650; }
p { margin: 0 0 1em; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

.eyebrow {
  margin: 0 0 .75rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue);
}
.eyebrow span { color: var(--slate-light); padding: 0 .25em; }
.eyebrow--light { color: #9cc3ee; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .8em 1.4em;
  border-radius: 999px;
  border: 2px solid var(--navy);
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn--small { padding: .45em 1.1em; font-size: .88rem; }
.btn--light { background: #fff; color: var(--navy); border-color: #fff; }
.btn--light:hover { background: #e6effa; border-color: #e6effa; color: var(--navy); }
.btn--outline-light { background: transparent; border-color: rgba(255,255,255,.6); color: #fff; }
.btn--outline-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }
:focus-visible { outline: 3px solid var(--blue-light); outline-offset: 3px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand img { width: 40px; height: auto; }
.brand__name { font-size: 1.4rem; font-weight: 500; color: var(--slate); letter-spacing: -.01em; }
.brand__m { color: var(--navy); }
.nav__links { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav__links a:not(.btn) { color: var(--ink); text-decoration: none; font-size: .95rem; font-weight: 500; }
.nav__links a:not(.btn):hover { color: var(--blue); }

/* Hero */
.hero {
  position: relative;
  padding: clamp(48px, 9vw, 112px) 0 56px;
  background:
    radial-gradient(900px 480px at 85% 10%, rgba(61,133,198,.12), transparent 60%),
    linear-gradient(180deg, #f7f9fc 0%, #fff 100%);
  overflow: hidden;
}
.hero__inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.quote { margin: 0 0 1.5rem; }
.nowrap { white-space: nowrap; }
.quote blockquote { margin: 0; padding-left: 1.1rem; border-left: 4px solid var(--blue-light); }
.quote h1 { margin: 0; font-size: clamp(2rem, 4.4vw, 3.3rem); text-wrap: balance; }
.quote figcaption { margin-top: .75rem; padding-left: 1.1rem; font-size: .95rem; font-weight: 600; color: var(--slate); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 36em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__visual { display: flex; justify-content: center; }
.hero__visual img { width: min(360px, 100%); filter: drop-shadow(0 24px 40px rgba(11,42,102,.12)); }

.stats {
  list-style: none; padding: 0; margin: 56px 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.stats li { padding: 24px 16px 0 0; }
.stats strong { display: block; font-size: 1.6rem; color: var(--navy); line-height: 1.2; }
.stats span { color: var(--muted); font-size: .92rem; }

/* Sections */
.section { padding: clamp(64px, 9vw, 104px) 0; }
.section--tint { background: var(--bg-tint); }
.section__head { max-width: 640px; margin-bottom: 40px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(11,42,102,.06), 0 16px 36px rgba(11,42,102,.1); }
.card p { color: var(--muted); font-size: .96rem; margin: 0; }
.card__icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue-light), var(--navy));
  margin-bottom: 18px;
}
.card__icon svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Tech */
.tech { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.tech__group h3 { font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  padding: .35em .85em;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .9rem;
  color: var(--navy);
}

/* About */
.about { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.about__photo { margin: 0; position: sticky; top: 96px; }
.about__photo img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 900 / 1054; object-fit: cover; }
.role { color: var(--blue); font-weight: 600; margin-top: -.3em; }
.about__text > p { color: var(--muted); }
.subhead { margin-top: 2rem; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); }
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 0 0 22px 22px; }
.timeline li::before {
  content: ""; position: absolute; left: -7px; top: .45em;
  width: 12px; height: 12px; border-radius: 50%;
  background: #fff; border: 3px solid var(--blue);
}
.timeline li:first-child::before { background: var(--blue); }
.timeline__when { font-size: .88rem; font-weight: 600; color: var(--slate); padding-top: .1em; }
.timeline strong { color: var(--navy); }
.timeline p { margin: .3em 0 0; color: var(--muted); font-size: .94rem; }

/* Certs */
.certs { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.certs li {
  display: flex; gap: 14px; align-items: baseline;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 14px 18px; font-size: .95rem;
}
.certs span { font-weight: 700; color: var(--blue); font-variant-numeric: tabular-nums; }

/* Contact */
.contact {
  background:
    radial-gradient(700px 360px at 90% 0%, rgba(61,133,198,.35), transparent 60%),
    linear-gradient(135deg, var(--navy-deep), var(--navy));
  color: #d7e3f2;
}
.contact h2 { color: #fff; }
.contact__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

/* Footer */
.footer { background: var(--navy-deep); color: #9fb0c6; font-size: .9rem; padding: 28px 0; border-top: 1px solid rgba(255,255,255,.08); }
.footer strong { color: #fff; }
.footer a { color: inherit; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer__regions { display: block; margin-top: 8px; color: #7f92ab; }
.footer__inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer__meta { display: flex; flex-direction: column; align-items: flex-end; }

/* Responsive */
@media (max-width: 900px) {
  .cards, .tech { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; }
  .about__photo { position: static; max-width: 360px; }
  .contact__inner { grid-template-columns: 1fr; }
  .contact__actions { justify-content: flex-start; }
}
@media (max-width: 720px) {
  .nav__links li:not(:last-child) { display: none; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .nowrap { white-space: normal; }
  .stats { grid-template-columns: 1fr; }
  .stats li { padding: 16px 0 0; }
  .cards, .tech { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 1fr; gap: 2px; }
  .certs { grid-template-columns: 1fr; }
  .footer__meta { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
