:root {
  --ink: #0b1220;
  --ink-soft: #24324a;
  --muted: #4a5568;
  --blue: #165dde;
  --blue-dark: #0f47ac;
  --blue-wash: #eef3fd;
  --line: #d7deea;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(11, 18, 32, .06), 0 12px 32px rgba(11, 18, 32, .07);
  --wrap: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

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

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

img, svg { max-width: 100%; height: auto; }

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

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 68px;
  flex-wrap: wrap;
  padding-block: 10px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { width: 168px; display: block; }
.site-nav { display: flex; gap: 22px; flex-wrap: wrap; margin-left: auto; align-items: center; }
.site-nav a {
  color: var(--ink-soft);
  font-size: 15.5px;
  font-weight: 500;
  padding: 6px 0;
}
.site-nav a[aria-current="page"] { color: var(--blue); }
.site-nav a.btn, .site-nav a.btn[aria-current="page"] { color: #fff; padding: 11px 22px; }
.site-nav .btn { color: #fff; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  padding: 12px 22px;
  border: 1px solid var(--blue);
  border-radius: 999px;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--blue); }
.btn-ghost:hover { background: var(--blue-wash); color: var(--blue-dark); }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.hero-motif {
  position: absolute; inset: 0;
  background: url("img/hero-motif.svg") right center / cover no-repeat;
  opacity: .5;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(100deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.3) 42%, rgba(0,0,0,1) 72%);
  mask-image: linear-gradient(100deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.3) 42%, rgba(0,0,0,1) 72%);
}
.hero .wrap { position: relative; padding-block: 72px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: .09em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-wash);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 18px;
}
h1 {
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.08;
  letter-spacing: -.02em;
  margin: 0 0 18px;
}
.lede { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); margin: 0 0 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-note { font-size: 14.5px; color: var(--muted); margin-top: 18px; }
.hero-shot {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #fff;
  display: block;
}

/* Sections */
section { padding-block: 64px; }
section.soft { background: var(--bg-soft); border-block: 1px solid var(--line); }
h2 { font-size: clamp(26px, 3.4vw, 34px); line-height: 1.2; letter-spacing: -.015em; margin: 0 0 14px; }
h3 { font-size: 20px; line-height: 1.3; margin: 0 0 8px; }
.section-lede { color: var(--muted); max-width: 70ch; margin: 0 0 34px; font-size: 18px; }
p { margin: 0 0 16px; }
.muted { color: var(--muted); }

/* Cards and grids */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.card h3 { margin-top: 12px; }
.card p:last-child { margin-bottom: 0; }
.icon { width: 34px; height: 34px; color: var(--blue); display: block; }

.product-card { display: flex; flex-direction: column; gap: 18px; }
.product-card img { border-radius: 10px; border: 1px solid var(--line); }
.tag {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--blue); background: var(--blue-wash);
  border-radius: 6px; padding: 4px 10px; margin-bottom: 4px;
}

.figure { margin: 0; }
.figure img { width: 100%; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.figure figcaption { font-size: 14.5px; color: var(--muted); margin-top: 12px; }

dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: 10px 28px; margin: 0; }
dl.facts dt { font-weight: 600; color: var(--ink-soft); }
dl.facts dd { margin: 0; color: var(--muted); }

ul.checks { list-style: none; padding: 0; margin: 0 0 16px; }
ul.checks li { position: relative; padding-left: 28px; margin-bottom: 10px; color: var(--muted); }
ul.checks li::before {
  content: "";
  position: absolute; left: 4px; top: 10px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue);
}

.callout {
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  background: var(--bg-soft);
  border-radius: 10px;
  padding: 20px 24px;
}

/* Prose pages: privacy, terms, imprint */
.prose { max-width: 78ch; }
.prose h2 { margin-top: 38px; font-size: 24px; }
.prose h3 { margin-top: 24px; font-size: 18px; }
.prose ul { padding-left: 20px; color: var(--muted); }
.prose li { margin-bottom: 8px; }
.updated { font-size: 15px; color: var(--muted); }

/* Contact form */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
label { font-weight: 600; font-size: 15px; }
input, textarea, select {
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  width: 100%;
}
textarea { min-height: 150px; resize: vertical; }
.hint { font-size: 14px; color: var(--muted); }

/* Footer */
.site-footer {
  background: var(--ink);
  color: #c9d4e6;
  padding-block: 48px;
  font-size: 15.5px;
}
.site-footer a { color: #ffffff; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 32px; }
.site-footer h2 { color: #fff; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 34px; padding-top: 22px; font-size: 14.5px; color: #93a3bd; }
.footer-legal p { margin: 0 0 6px; }

@media (max-width: 900px) {
  .hero-grid, .grid-2, .grid-3, .footer-grid, .form-grid { grid-template-columns: minmax(0, 1fr); }
  .hero .wrap { padding-block: 52px; }
  section { padding-block: 48px; }
  dl.facts { grid-template-columns: minmax(0, 1fr); gap: 4px 0; }
  dl.facts dd { margin-bottom: 12px; }
}

@media (max-width: 400px) {
  .site-nav { gap: 11px; }
  .site-nav a { font-size: 14.5px; }
  .brand img { width: 132px; }
}

@media (max-width: 560px) {
  body { font-size: 16.5px; }
  html { scroll-padding-top: 120px; }
  .wrap { padding: 0 18px; }
  .site-header .wrap { min-height: 56px; gap: 10px; padding-block: 8px; }
  .site-nav { gap: 14px; width: 100%; margin-left: 0; }
  .site-nav a { font-size: 15px; padding: 2px 0; }
  .site-nav .btn { display: none; }
  .brand img { width: 150px; }
  .hero-motif { opacity: .35; }
}

@media print {
  .site-header, .site-footer, .hero-motif { display: none; }
}
