/* =============================================================
   Valico — Homepage styles
   ============================================================= */

* { box-sizing: border-box; }
body { margin: 0; }

/* Smooth scroll handled in JS for offset; but native fallback ok */
html { scroll-behavior: auto; }
section[id] { scroll-margin-top: 78px; }

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 32px);
}

/* ---------- Sections ---------- */
.section {
  padding-block: clamp(48px, 8vw, 96px);
}
.section--canvas { background: var(--valico-canvas); }
.section--mint   { background: var(--valico-mint); }
.section--sand   { background: var(--valico-sand); }
.section--ivory  { background: var(--valico-ivory); }
.section--forest {
  background: var(--valico-forest);
  color: #FFFFFF;
}
/* Compress the forest quote — typographic moment, not a full content section */
#quote { padding-block: clamp(40px, 6vw, 64px); }
/* On the forest band, the quote/attribution invert: white text, lime divider */
.section--forest .about-quote { color: #FFFFFF; }
.section--forest .sand-rule { background: var(--valico-lime); }
.section--forest .about-attribution { color: rgba(255, 255, 255, 0.75); }
.section--trust {
  background: var(--valico-ink);
  color: #FFFFFF;
}
.section--trust h2 { color: #FFFFFF; }

/* =============================================================
   Masthead
   ============================================================= */
.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--valico-canvas);
  border-bottom: 1px solid var(--valico-ink-10);
}
.masthead__inner {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding: 19px clamp(20px, 4vw, 32px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.masthead__brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.masthead__brand img {
  display: block;
  height: 44px;
  width: auto;
}
.masthead__nav {
  display: flex;
  justify-content: center;
  gap: 28px;
}
.nav-link {
  position: relative;
  color: var(--valico-forest);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  padding: 6px 0;
  transition: color var(--duration-fast) var(--ease-standard);
}
.nav-link:hover { color: var(--valico-forest-soft); }
.nav-link.is-active { font-weight: 700; }
.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1.5px;
  background: var(--valico-lime);
}
.masthead__right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.lang-toggle {
  display: flex;
  gap: 8px;
}
.lang-btn {
  background: none;
  border: 0;
  padding: 4px 2px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--valico-ink-60);
  cursor: pointer;
  transition: color var(--duration-fast) var(--ease-standard);
}
.lang-btn:hover { color: var(--valico-forest-soft); }
.lang-btn.is-active {
  color: var(--valico-forest);
  font-weight: 700;
}

/* CTA pill */
.cta-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--valico-lime);
  color: var(--valico-forest);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.01em;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  border: 0;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  transition: transform var(--duration-fast) var(--ease-standard),
              box-shadow var(--duration-base) var(--ease-standard),
              background var(--duration-fast) var(--ease-standard);
}
.cta-pill:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-cta-hover);
  color: var(--valico-forest);
}
.cta-pill:active {
  transform: translateY(0);
  background: var(--cta-fill-pressed);
}
.cta-pill--lg {
  padding: 14px 26px;
  font-size: 16px;
}
.cta-pill--block {
  display: flex;
  width: 100%;
  padding: 14px 22px;
  font-size: 16px;
}

@media (max-width: 720px) {
  .masthead__nav { display: none; }
}
@media (max-width: 520px) {
  .masthead__right .cta-pill { display: none; }
}

/* =============================================================
   Hero
   ============================================================= */
.hero {
  background: var(--valico-canvas);
  position: relative;
}
.hero__image {
  width: 100%;
  aspect-ratio: 16 / 7;
  background-image: url('assets/mood-002.jpg');
  background-size: cover;
  background-position: center;
  /* min-height ensures the mood always has room for the frosted card overlay,
     even at narrow viewports where 16:7 alone would crush the image to a sliver.
     max-height caps the bleed on very wide screens. */
  min-height: 480px;
  max-height: 720px;
}
.hero__shell {
  position: absolute;
  inset: 0;
  padding-inline: clamp(20px, 4vw, 56px);
  pointer-events: none;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}
.hero__card {
  pointer-events: auto;
  margin-bottom: 32px;
  width: 56%;
  max-width: clamp(680px, 50vw, 880px);
  background: rgba(233, 243, 218, 0.74);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
  backdrop-filter: blur(18px) saturate(125%);
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: var(--radius-md);
  padding: 32px 40px 36px;
  box-shadow: 0 8px 32px rgba(24,24,24,0.08);
  /* Belt-and-suspenders against backdrop-filter repaint smear:
     create our own stacking context (isolation), lift onto a dedicated
     GPU layer (translateZ + will-change), and disable backface culling
     so the card stays on its own composited layer across resize / zoom. */
  isolation: isolate;
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
/* Class toggled briefly by the resize/zoom handler in Hero — a sub-pixel
   transform change forces the GPU compositor to rebuild this layer, which
   clears any stale backdrop-filter sample left over from the prior layout. */
.hero__card.is-repaint-poke { transform: translate3d(0, 0, 0.001px); }
.hero { contain: paint; }
.hero__claim {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--valico-ink-60);
  margin-bottom: 14px;
}
.hero__h1 {
  font-size: clamp(32px, 4.4vw, 54px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--valico-forest);
  margin: 0 0 18px;
  text-wrap: balance;
}
.hero__sub {
  font-size: clamp(14px, 1.3vw, 18px);
  line-height: 1.5;
  color: var(--valico-ink);
  margin: 0 0 10px;
  max-width: 56ch;
}
.hero__en-sub {
  font-size: 14px;
  font-style: italic;
  color: var(--valico-ink-60);
  margin: 0 0 20px;
  max-width: 56ch;
  line-height: 1.5;
}
.hero__sub:last-of-type { margin-bottom: 22px; }
.hero__actions {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.hero__secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--valico-forest);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.hero__secondary:hover { color: var(--valico-forest-soft); }

@media (max-width: 720px) {
  /* Keep the frosted card overlaid on the mood at narrow widths
     (no static stacking). Centre it horizontally and let it fill the
     inset padding instead of pinning to the right. */
  .hero__shell {
    padding: 16px clamp(16px, 4vw, 32px) 24px;
    justify-content: center;
  }
  .hero__card {
    margin-bottom: 0;
    width: 100%;
    max-width: 520px;
    padding: 22px 24px 26px;
  }
}

/* =============================================================
   Eyebrow + section head
   ============================================================= */
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--valico-ink-60);
  margin-bottom: 18px;
}
.eyebrow--ink60 { color: var(--valico-ink-60); } /* kept as no-op alias for backwards compat */
.eyebrow--centered { text-align: center; }

.section-head {
  max-width: 620px;
  margin: 0 0 56px;
}
/* Produkte section needs a wider head so the verb triplet stays on one line in all four languages */
#produkte .section-head { max-width: 860px; }
#produkte .section-h2 { white-space: nowrap; }
@media (max-width: 720px) {
  #produkte .section-h2 { white-space: normal; }
}
.section-head--centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-h2 {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--valico-forest);
  margin: 0 0 16px;
  text-wrap: balance;
}
.lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--valico-ink);
  max-width: 52ch;
  margin: 0;
  text-wrap: pretty;
}
.section-head--centered .lede { margin-left: auto; margin-right: auto; }

.lede-mantra {
  display: inline-block;
  font-size: 22px;
  font-weight: 500;
  color: var(--valico-forest-soft);
  margin: 0 0 10px;
  letter-spacing: -0.005em;
}

/* =============================================================
   §5 Pillars
   ============================================================= */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.pillar__h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--valico-forest);
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin: 0 0 12px;
}
.pillar__body {
  font-size: 16px;
  color: var(--valico-ink);
  line-height: 1.55;
  margin: 0;
  max-width: 36ch;
}
@media (max-width: 1024px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .pillars { grid-template-columns: 1fr; } }

/* =============================================================
   Vision section
   ============================================================= */
.section--vision { background: var(--valico-canvas); }
.vision-col {
  max-width: 820px;
  margin: 0 auto;
  text-align: left;
}
.vision-h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--valico-forest);
  margin: 14px 0 22px;
  text-wrap: balance;
}
.vision-body {
  font-size: 18px;
  line-height: 1.6;
  color: var(--valico-ink);
  margin: 22px 0 0;
  text-wrap: pretty;
}

/* =============================================================
   Benefit list (§What we do)
   ============================================================= */
.benefit-list {
  list-style: none;
  padding: 0;
  margin: 56px 0 0;
  max-width: 880px;
  display: flex;
  flex-direction: column;
}
.benefit-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 28px;
  align-items: baseline;
  padding: 22px 0;
  border-top: 1px solid var(--valico-ink-10);
}
.benefit-row:last-child { border-bottom: 1px solid var(--valico-ink-10); }
.benefit-row__num {
  font-size: 13px;
  font-weight: 700;
  color: var(--valico-forest);
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  padding-top: 6px;
}
.benefit-row__text {
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 600;
  line-height: 1.35;
  color: var(--valico-ink);
  letter-spacing: -0.01em;
  text-wrap: pretty;
}
@media (max-width: 640px) {
  .benefit-list { margin-top: 36px; }
  .benefit-row { grid-template-columns: 44px 1fr; gap: 16px; padding: 18px 0; }
  .benefit-row__text { font-size: 18px; }
}

/* =============================================================
   §6 Philosophy tile + phase cards
   ============================================================= */
.philosophy-tile {
  background: var(--valico-ink);
  color: #FFFFFF;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 36px 40px;
  margin-bottom: 16px;
  display: grid;
  grid-template-columns: minmax(200px, 1fr) 2fr;
  align-items: end;
  gap: 24px 48px;
}
.philosophy-tile__kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--valico-mint);
  grid-column: 1;
  align-self: start;
}
.philosophy-tile__label {
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: #FFFFFF;
  grid-column: 1;
  text-wrap: balance;
}
.philosophy-tile__detail {
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
  max-width: 52ch;
}
@media (max-width: 900px) {
  .philosophy-tile {
    grid-template-columns: 1fr;
    padding: 28px;
    gap: 16px;
  }
  .philosophy-tile__detail { grid-column: 1; grid-row: auto; }
}

.phase-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.phase-card {
  aspect-ratio: 7 / 4;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}
.phase-card__kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.phase-card__label {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
@media (max-width: 1024px) {
  .phase-cards { grid-template-columns: repeat(3, 1fr); }
  .phase-card { aspect-ratio: 6 / 4; padding: 20px; }
}
@media (max-width: 640px) {
  .phase-cards { grid-template-columns: 1fr; }
  .phase-card { aspect-ratio: 6 / 2; }
}

/* =============================================================
   §7 Product cards
   ============================================================= */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.product-card {
  background: var(--valico-surface-lifted);
  border: 1px solid var(--valico-ink-10);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--duration-base) var(--ease-standard);
}
.product-card:hover { box-shadow: var(--shadow-md); }
.product-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.product-card__kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--valico-forest);
}
.product-card__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--valico-forest);
  background: var(--valico-mint);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.product-card__name {
  font-size: 26px;
  font-weight: 700;
  color: var(--valico-ink);
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0;
}
.product-card__body {
  font-size: 15px;
  color: var(--valico-ink);
  line-height: 1.6;
  margin: 0;
}
.product-card__concept {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--valico-ink-10);
  font-size: 13px;
  color: var(--valico-sage);
  display: flex;
  gap: 8px;
  align-items: baseline;
}
.product-card__arrow {
  color: var(--valico-forest-soft);
  font-weight: 700;
  font-style: normal;
}
.product-card__concept-word {
  font-style: italic;
  color: var(--valico-sage);
}
@media (max-width: 1024px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .product-grid { grid-template-columns: 1fr; } }

/* =============================================================
   §8 About
   ============================================================= */
.about-col {
  max-width: 880px;
  margin-inline: auto;
}
.about-quote {
  font-size: 22px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.45;
  color: var(--valico-ink);
  margin: 0;
  text-wrap: pretty;
}
.sand-rule {
  width: 48px;
  height: 2px;
  background: var(--valico-sand);
  border-radius: 2px;
  margin: 8px 0 24px;
}
.sand-rule--centered { margin-left: auto; margin-right: auto; }
.sand-rule--lg { width: 56px; margin-top: 12px; margin-bottom: 20px; }
.about-attribution {
  font-size: 14px;
  color: var(--valico-ink-60);
  letter-spacing: 0.02em;
  margin-bottom: 32px;
}
.founders {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding-top: 24px;
  /* No internal hairline — the section-to-section hairline above already
     separates Partners from Team; doubling up box-frames the eyebrow. */
}
.founder {
  /* No absolute-positioning needed — LinkedIn sits inline below */
}
.founder__photo {
  display: block;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 14px;
  border: 1px solid var(--valico-ink-10);
  background: var(--valico-surface-lifted);
}
.founder__credential {
  font-size: 12px;
  color: var(--valico-ink-60);
  letter-spacing: 0.02em;
  line-height: 1.4;
  margin-top: 6px;
}
.founder__name {
  /* Wrapper around the canvas — sized via canvas itself */
  display: block;
  margin-bottom: 8px;
  min-height: 20px;
}
.name-canvas {
  display: block;
}
.founder__title {
  font-size: 12px;
  font-weight: 600;
  color: var(--valico-ink);
  letter-spacing: 0.02em;
  line-height: 1.4;
}
.founder__role {
  font-size: 12px;
  color: var(--valico-ink-60);
  letter-spacing: 0.02em;
  line-height: 1.4;
}
.founder__role-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
}
.founder__linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: var(--valico-ink-60);
  border-radius: 3px;
  transition: color 140ms ease, background 140ms ease;
  flex-shrink: 0;
}
.founder__linkedin:hover {
  color: var(--valico-forest);
  background: var(--valico-ink-05);
}
@media (max-width: 640px) {
  .founders { grid-template-columns: 1fr; gap: 24px; }
  .founder__photo { width: 80px; height: 80px; }
}

/* Trust line folded into about — sand-tinted strip with quiet badges */
.about-trust {
  margin-top: 40px;
  padding: 22px 28px;
  background: var(--valico-sand);
  border-radius: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 22px;
  font-size: 14px;
  font-weight: 500;
  color: var(--valico-ink-80);
  letter-spacing: 0.01em;
  line-height: 1.5;
}
.about-trust__item {
  display: inline-flex;
  align-items: center;
}
.about-trust__sep {
  color: var(--valico-ink-40);
  user-select: none;
}
.about-trust strong {
  color: var(--valico-ink);
  font-weight: 600;
}

/* =============================================================
   §Partners — sand-band trust strip between §About and §Kontakt.
   Sand is the design-system's "paper-feel for testimonials/quotes"
   surface; partners-as-trust-signal is a natural fit. Sits between
   the two mint bands so each warm tone reads as a distinct beat.
   ============================================================= */
#partners { padding-block: clamp(40px, 6vw, 64px); }
.partners-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--valico-ink-60);
  text-align: left;
  margin-bottom: 28px;
}
.partners-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px 80px;
}
.partner-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.partner-logo {
  display: block;
  height: 44px;
  width: auto;
}
@media (max-width: 640px) {
  .partners-strip { gap: 20px 48px; }
  .partner-logo { height: 32px; }
}

/* Tail under product cards */
.produkte-tail {
  margin: 40px auto 0;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--valico-ink-60);
}

/* =============================================================
   §9 Contact
   ============================================================= */
.kontakt-col {
  max-width: 560px;
  margin-inline: auto;
  text-align: center;
}
.kontakt-h2 {
  font-size: 36px;
  font-weight: 600;
  color: var(--valico-forest);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
  text-wrap: balance;
}
.kontakt-lede {
  font-size: 17px;
  color: var(--valico-ink);
  max-width: 52ch;
  margin: 0 auto 24px;
  line-height: 1.55;
}
.kontakt-prose {
  font-size: 19px;
  color: var(--valico-ink);
  max-width: 52ch;
  margin: 8px auto 0;
  line-height: 1.55;
  text-wrap: pretty;
}
.kontakt-email {
  color: var(--valico-forest);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid var(--valico-forest);
  padding-bottom: 1px;
  transition: color 120ms ease, border-color 120ms ease;
}
.kontakt-email:hover {
  color: var(--valico-forest-soft);
  border-bottom-color: var(--valico-forest-soft);
}

/* Obfuscated contact pill — caption appears on hover/focus */
.contact-pill-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}
.contact-pill-caption {
  min-height: 1.4em;
  font-size: 14px;
  color: var(--valico-ink-60);
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
  user-select: text;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 160ms ease, transform 160ms ease;
  pointer-events: none;
}
.contact-pill-caption.is-revealed {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.kontakt-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}
.kontakt-input {
  width: 100%;
  font: inherit;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  padding: 14px 16px;
  border: 1px solid var(--valico-ink-20);
  border-radius: 6px;
  background: var(--valico-surface-lifted);
  color: var(--valico-ink);
  transition: border-color var(--duration-fast) var(--ease-standard),
              box-shadow var(--duration-fast) var(--ease-standard);
}
.kontakt-input::placeholder { color: var(--valico-ink-40); }
.kontakt-input:focus {
  outline: none;
  border-color: var(--valico-mint);
  box-shadow: 0 0 0 3px rgba(233, 243, 218, 0.7);
}
.kontakt-help {
  font-size: 13px;
  color: var(--valico-ink-60);
  text-align: center;
  margin-top: 4px;
}
.kontakt-success {
  background: var(--valico-mint);
  color: var(--valico-forest);
  border: 1px solid #d6e7be;
  border-radius: 6px;
  padding: 14px;
  font-size: 15px;
  text-align: center;
  line-height: 1.5;
}

/* =============================================================
   §10 Trust (dark)
   ============================================================= */
.section--trust .eyebrow { color: var(--valico-mint); }
.trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.25);
  background: transparent;
  color: #FFFFFF;
  padding: 9px 16px;
  font-size: 14px;
}
.trust-chip__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}

/* =============================================================
   Footer — canvas closing strip mirroring the masthead.
   Hairline-top echoes the masthead's hairline-bottom so the page
   reads as bookended by canvas + RGB wordmark + forest type.
   ============================================================= */
.footer {
  background: var(--valico-canvas);
  color: var(--valico-forest);
  border-top: 1px solid var(--valico-ink-10);
  padding-block: clamp(32px, 4vw, 48px);
}
.footer__grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px 32px;
}
.footer__copyright {
  font-size: 15px;
  color: var(--valico-ink-60);
  white-space: nowrap;
}
.footer__links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-self: center;
}
.footer__links a {
  color: var(--valico-forest);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-standard);
}
.footer__links a:hover { color: var(--valico-forest-soft); }
.footer__claim {
  font-size: 15px;
  color: var(--valico-ink-60);
  white-space: nowrap;
  justify-self: end;
}
@media (max-width: 720px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .footer__links { justify-self: start; }
  .footer__claim { justify-self: start; }
}

/* =============================================================
   Legal pages (Impressum, Datenschutz) — shared shell
   ============================================================= */
.legal-page {
  min-height: 100vh;
  background: var(--valico-canvas);
  display: flex;
  flex-direction: column;
}
.legal-top {
  max-width: 1200px;
  width: 100%;
  margin-inline: auto;
  padding: 19px clamp(20px, 4vw, 32px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--valico-ink-10);
}
.legal-top a { display: inline-flex; align-items: center; }
.legal-top img { display: block; height: 38px; }
.legal-top__right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.legal-back {
  font-size: 14px;
  font-weight: 600;
  color: var(--valico-forest);
  text-decoration: none;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.legal-back:hover { color: var(--valico-forest-soft); }
@media (max-width: 520px) {
  .legal-top { padding: 14px 20px; gap: 12px; }
  .legal-top__right { gap: 12px; }
}
.legal-main {
  max-width: 720px;
  width: 100%;
  margin-inline: auto;
  padding: clamp(48px, 8vw, 96px) clamp(20px, 4vw, 32px);
  flex: 1;
}
.legal-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--valico-ink-60);
  margin-bottom: 18px;
}
.legal-h1 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(24px, 2.6vw, 30px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--valico-forest);
  margin: 0 0 36px;
}
.legal-block {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--valico-ink-10);
}
/* Use :last-of-type so the final <section class="legal-block"> drops its bottom
   border even when a non-section sibling (e.g., .legal-precedence on the
   data-protection page) follows. Without this, s6's border-bottom and the
   precedence's border-top stack as a doubled hairline near the page bottom. */
.legal-block:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}
.legal-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--valico-ink-60);
  margin-bottom: 12px;
}
.legal-body {
  font-size: 17px;
  line-height: 1.55;
  color: var(--valico-body);
  margin: 0;
}
.legal-body strong { color: var(--valico-ink); font-weight: 600; }
.legal-body a {
  color: var(--valico-forest);
  text-decoration: none;
}
.legal-body a:hover {
  color: var(--valico-forest-soft);
  text-decoration: underline;
}
.legal-body code {
  font-size: 0.92em;
}
.legal-foot {
  max-width: 1200px;
  width: 100%;
  margin-inline: auto;
  padding: 32px clamp(20px, 4vw, 32px);
  border-top: 1px solid var(--valico-ink-10);
  font-size: 13px;
  color: var(--valico-ink-60);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.legal-updated {
  font-size: 13px;
  color: var(--valico-ink-60);
  margin-top: 16px;
}
.legal-stand {
  font-size: 14px;
  color: var(--valico-ink-60);
  margin: -28px 0 28px;
}
.legal-intro {
  font-size: 17px;
  line-height: 1.55;
  color: var(--valico-body);
  margin: 0 0 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--valico-ink-10);
}
.legal-h2 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -0.005em;
  color: var(--valico-forest);
  margin: 0 0 16px;
}
.legal-body + .legal-body { margin-top: 14px; }
.legal-body em {
  font-style: italic;
  color: var(--valico-ink-60);
}
.legal-body code {
  background: var(--valico-mint);
  padding: 1px 5px;
  border-radius: 4px;
  color: var(--valico-forest-deep);
  font-size: 0.9em;
}
.legal-list {
  list-style: disc;
  padding-left: 22px;
  margin: 12px 0;
}
.legal-list li {
  font-size: 17px;
  line-height: 1.55;
  color: var(--valico-body);
  margin-bottom: 6px;
}
.legal-precedence {
  font-size: 13px;
  font-style: italic;
  color: var(--valico-ink-60);
  text-align: left;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--valico-ink-10);
}

/* =============================================================
   Reduced motion
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 120ms !important;
    animation-duration: 120ms !important;
  }
  .cta-pill:hover { transform: none; }
}

/* ===== Section rhythm — calm canvas with mint CTA cap =====
   No canvas-to-canvas hairlines (the sticky masthead's bottom border
   kept stacking against them on scroll). Instead, each section's eyebrow
   carries its own short accent rule below it — magazine "section marker"
   pattern, reuses the .sand-rule visual vocabulary already on the page. */
.eyebrow::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  background: var(--valico-sand);
  border-radius: 1px;
  margin-top: 14px;
}
.eyebrow--centered::after { margin-left: auto; margin-right: auto; }
/* §Kontakt already has its own sand-rule between h2 and lede — skip the
   eyebrow marker there to avoid two rules in the same section. */
.section--kontakt .eyebrow::after { display: none; }

/* ===== Team — match Produkte's 3-column rail (no inverted-pyramid narrowing) ===== */
#team .about-col { max-width: none; }
#team .founders { gap: 20px; }  /* matches .product-grid gap so columns line up */

/* ===== Team founders — centered in column + larger, so each photo's centre
   axis matches the product card's centre axis directly above (Care Atlas → CEO,
   Care Model → CMO, Care Companion → CTO). ===== */
#team .founder {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
#team .founder__photo {
  width: 144px;
  height: 144px;
  margin-bottom: 18px;
}
#team .founder__title { font-size: 14px; line-height: 1.45; }
#team .founder__role { font-size: 14px; line-height: 1.45; }
#team .founder__role-row { justify-content: center; gap: 8px; }
#team .founder__credential { font-size: 13px; margin-top: 8px; }
#team .founder__linkedin { width: 22px; height: 22px; }
@media (max-width: 640px) {
  #team .founder__photo { width: 104px; height: 104px; }
}
