/* Vectum Firmenseite, Startseite DE. Colours and sizes from brand.md and the template renderVals. */

:root {
  --outer: #E9ECF0;
  --sheet: #FFFFFF;
  --ink: #14161A;
  --soft: #4F5053;
  --line: #D6DBE2;
  --accent: #4E6A93;
  --btn-bg: #14161A;
  --btn-ink: #FFFFFF;
  --strip-bg: #14161A;
  --strip-ink: #FFFFFF;
  --strip-soft: #BFC2C7;
  --strip-btn-bg: #FFFFFF;
  --strip-btn-ink: #14161A;
  --gap-end: 48px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --outer: #0E1013;
    --sheet: #14161A;
    --ink: #FFFFFF;
    --soft: #BFC2C7;
    --line: #2E333B;
    --accent: #9DB3D3;
    --btn-bg: #FFFFFF;
    --btn-ink: #14161A;
    --strip-bg: #2E333B;
    --strip-ink: #FFFFFF;
    --strip-soft: #D6DBE2;
    --strip-btn-bg: #FFFFFF;
    --strip-btn-ink: #14161A;
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--outer);
  color: var(--ink);
  font-family: 'Instrument Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { opacity: .8; }
h1, h2, h3, p { margin: 0; }
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }

.page {
  position: relative;
  min-height: 100%;
  overflow: hidden;
}

.hero-image {
  display: block;
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: 50% 0;
}

.sheet {
  position: relative;
  margin: -220px auto 0;
  max-width: 1200px;
  background: var(--sheet);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
}

/* Header */
.head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 48px;
  border-bottom: 1px solid var(--line);
}
.brand { display: block; min-width: 0; }
.wordmark { display: block; height: 32px; width: auto; }
.head-tools { display: flex; align-items: center; gap: 24px; min-height: 44px; }
.main { display: flex; gap: 24px; font-size: 15px; }
.main a, .foot-nav a { white-space: nowrap; }

.btn-square {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 44px;
  min-width: 44px;
  padding: 0 10px;
  background: var(--sheet);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
}
.caret { font-size: 9px; }

.lang { position: relative; }
.lang-list {
  position: absolute;
  top: 50px;
  inset-inline-end: 0;
  z-index: 6;
  width: 160px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px;
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.lang-list a, .lang-list .off {
  display: flex;
  align-items: center;
  height: 44px;
  padding: 0 12px;
  border-radius: 6px;
  font-size: 15px;
}
.lang-list .off { color: var(--ink); }
.lang-list > :last-child { font-family: 'Readex Pro', sans-serif; }

.bars { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.bars span { width: 18px; height: 2px; background: var(--ink); border-radius: 1px; }

.menu { display: none; }
.menu-list {
  position: absolute;
  top: 100%;
  inset-inline: 8px;
  margin-top: 6px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  padding: 6px;
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 17px;
}
.menu-list a {
  display: flex;
  align-items: center;
  height: 48px;
  padding: 0 12px;
}
.menu-list a + a { border-top: 1px solid var(--line); }

/* Hero */
.hero {
  padding: 88px 48px 96px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 860px;
}
.hero h1 {
  font-size: 72px;
  line-height: 1.05;
  letter-spacing: -.035em;
  font-weight: 600;
  text-wrap: balance;
}
.lead {
  font-size: 20px;
  line-height: 1.55;
  color: var(--soft);
  max-width: 620px;
  text-wrap: pretty;
}
.cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* Buttons: 48 px high, radius 8 px, 22 px inset (brand.md) */
.btn {
  display: flex;
  align-items: center;
  height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}
.btn-primary { background: var(--btn-bg); color: var(--btn-ink); }
.btn-outline { border: 1px solid var(--line); }
.btn-strip { background: var(--strip-btn-bg); color: var(--strip-btn-ink); }

/* Sections */
.sec {
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-top: 1px solid var(--line);
}
.sec h2 {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent);
}
.muted { font-size: 15px; line-height: 1.55; color: var(--soft); }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 16px;
}
.card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.card-head { display: flex; align-items: center; gap: 12px; }
.nawa-mark {
  flex: none;
  display: block;
  width: 44px;
  height: 44px;
}
.card-title { font-size: 22px; font-weight: 600; }
.nawa-word { display: none; }
.link-line {
  align-self: flex-start;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
}
.card-more { border-style: dashed; justify-content: center; gap: 10px; }
.more-title { font-size: 16px; font-weight: 600; }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 28px;
}
.step { display: flex; flex-direction: column; gap: 8px; }
.step h3 { font-size: 19px; font-weight: 600; letter-spacing: -.02em; }

.about {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 24px;
}
.about-text { font-size: 17px; line-height: 1.6; text-wrap: pretty; }
/* Legal pages: body text as the template text block (15px / 1.65 / soft). */
.legal .about-text { font-size: 15px; line-height: 1.65; color: var(--soft); }

/* Strip */
.strip {
  margin: 16px 48px 0;
  padding: 36px 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--strip-bg);
  color: var(--strip-ink);
  border-radius: 12px;
}
.strip-text { display: flex; flex-direction: column; gap: 6px; }
.strip-title { font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.strip-mail {
  align-self: flex-start;
  font-size: 15px;
  color: var(--strip-soft);
}

/* Footer */
.foot {
  margin-top: 48px;
  padding: 20px 48px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px 32px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--soft);
}
.foot-nav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.foot-nav a { display: flex; align-items: center; min-height: 44px; }

.page-end { height: var(--gap-end); }

/* Phone: below 760 px */
@media (max-width: 759.98px) {
  .hero-image { height: 300px; object-position: 62% 0; }
  .sheet { margin: -120px 10px 0; }
  .head { padding: 10px 10px 10px 16px; }
  .head-tools { gap: 8px; }
  .wordmark { height: 24px; }
  .main { display: none; }
  .menu { display: block; position: static; }
  .menu > summary { display: flex; }
  .menu > summary.btn-square { width: 44px; }
  .hero { padding: 40px 20px 48px; }
  .hero h1 { font-size: 40px; }
  .lead { font-size: 17px; }
  .sec { padding: 36px 20px; }
  .card-head { gap: 0; }
  .card-title { display: none; }
  /* Nawa wordmark: text part of nawa-wordmark-umbra.svg (ring cropped off), 24 px high, ring colour */
  .nawa-word {
    display: block;
    width: 47.4px;
    height: 24px;
    margin-left: 0.4em;
    font-size: 22px;
    background-color: #6B4A2B;
    -webkit-mask: url("/assets/nawa/nawa-wordmark-umbra.svg") -28.6px 0 / 76.2px 24px no-repeat;
    mask: url("/assets/nawa/nawa-wordmark-umbra.svg") -28.6px 0 / 76.2px 24px no-repeat;
  }
  @media (prefers-color-scheme: dark) {
    .nawa-word { background-color: #D2A97F; }
  }
  .strip { margin: 8px 12px 0; padding: 24px 20px; }
  .foot { padding: 16px 20px; margin-top: 32px; }
  :root { --gap-end: 10px; }
}

@media (min-width: 760px) {
  .menu { display: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .btn { transition: opacity .15s; }
}
