﻿/* ============================================================
   Clean Development Partners — Design Tokens & Base Styles
   ============================================================ */

:root {
  /* Brand colors */
  --cdp-green: #2D9B4E;
  --cdp-green-dark: #1F6E3A;
  --cdp-green-darker: #154526;
  --cdp-green-light: #7AC142;
  --cdp-green-tint: #EAF5EE;
  --cdp-green-soft: #F4FAF6;

  /* Neutrals (slight green tint) */
  --ink: #0F1A14;
  --ink-2: #2A332E;
  --muted: #5C6660;
  --muted-2: #8A938D;
  --line: #E5E8E3;
  --line-soft: #EFF1ED;
  --bg: #FAFAF7;
  --bg-elev: #FFFFFF;

  /* Type */
  --font-display: "Source Serif 4", "Source Serif Pro", Georgia, serif;
  --font-sans: "IBM Plex Sans", -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Layout */
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 4px;
  --radius-lg: 10px;

  /* Section spacing */
  --py: clamp(40px, 5vw, 64px);
  --py-lg: clamp(48px, 6vw, 80px);

  /* Header */
  --header-h: 76px;

  /* Breakpoints — three-tier system (see RESPONSIVE BREAKPOINTS below).
     @media conditions can't read custom properties, so these mirror the
     literal values used in the media queries; keep both in sync. */
  --bp-lg: 1024px;
  --bp-md: 768px;
  --bp-sm: 480px;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS — three-tier system (desktop-first)

   All media queries use exactly these three widths. Add new
   responsive rules at one of them only — no one-off values.

     1024px (--bp-lg)  Navigation collapses to the mobile panel;
                       dense 4-column card grids drop to 2 columns.
     768px  (--bp-md)  Two-column page layouts (hero, narrative,
                       sidebars, footer, contact, team, CTA banner)
                       stack to a single column.
     480px  (--bp-sm)  Remaining multi-column card grids and the
                       footer collapse to a single column.
   ============================================================ */

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Sticky footer: stretch the page to at least the viewport height so that
   short pages still push the footer down to the bottom edge instead of
   leaving whitespace below it. On tall pages <main> keeps its natural
   height and the page scrolls as before. */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

body>main {
  flex: 1 0 auto;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--cdp-green);
  text-decoration: none;

  &:hover {
    color: var(--cdp-green-dark);
  }
}

button {
  font: inherit;
  cursor: pointer;
}

b,
strong {
  font-weight: 600;
}

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: var(--cdp-green);
  color: #fff;
  border-radius: 0 0 var(--radius) 0;
}

.skip-link:focus {
  left: 0;
}

:focus-visible {
  outline: 3px solid var(--cdp-green);
  outline-offset: 2px;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cdp-green-dark);
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.05;
}

h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.15;
}

h3 {
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.25;
}

.serif-italic {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
}

p {
  margin: 0 0 1em;
}

p.lead {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--ink-2);
  text-wrap: pretty;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .12s ease;
  white-space: nowrap;
}

.btn .arrow {
  transition: transform .2s ease;
}

.btn:hover .arrow {
  transform: translateX(3px);
}

.btn-primary {
  background: var(--cdp-green);
  color: #fff;
}

.btn-primary:hover {
  background: var(--cdp-green-dark);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--ink);
}

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cdp-green-dark);
  font-weight: 500;
  font-size: 15px;
}

.btn-text:hover {
  color: var(--cdp-green-darker);
}

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 247, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}

.nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand img {
  height: 56px;
  width: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-text .b-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--cdp-green-darker);
  letter-spacing: -0.01em;
}

.brand-text .b-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-top: 4px;
  text-transform: uppercase;
}

/* Primary nav */
.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color .15s ease, background .15s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--cdp-green-dark);
}

.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  background: var(--cdp-green);
  border-radius: 2px;
}

.nav-link .chev {
  width: 10px;
  height: 10px;
  transition: transform .2s ease;
}

.nav-item.is-open>.nav-link .chev {
  transform: rotate(180deg);
}

/* Desktop dropdown */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 360px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 10px;
  box-shadow: 0 24px 48px -16px rgba(15, 26, 20, 0.18),
    0 2px 6px rgba(15, 26, 20, 0.04);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}

.nav-item.is-open>.nav-dropdown,
.nav-item:hover>.nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dd-group+.dd-group {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
}

.dd-heading {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  padding: 6px 12px 4px;
}

.dd-link {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 14.5px;
  color: var(--ink-2);
  transition: background .12s ease, color .12s ease;
}

.dd-link:hover {
  background: var(--cdp-green-tint);
  color: var(--cdp-green-darker);
}

.dd-link .dd-arrow {
  margin-left: auto;
  opacity: 0;
  color: var(--cdp-green-dark);
  transition: opacity .15s ease, transform .15s ease;
}

.dd-link:hover .dd-arrow {
  opacity: 1;
  transform: translateX(2px);
}

.nav-cta {
  flex-shrink: 0;
}

/* Mobile panel — hidden by default (only used at narrow widths) */
.mobile-panel {
  display: none;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
}

.menu-toggle:hover {
  border-color: var(--ink);
}

.menu-toggle .icon-close {
  display: none;
}

.site-header.is-open .menu-toggle .icon-open {
  display: none;
}

.site-header.is-open .menu-toggle .icon-close {
  display: block;
}

/* ---------- Mobile nav ---------- */
@media (max-width: 1024px) {

  .nav-list,
  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-header.is-open {
    background: var(--bg);
  }

  .site-header.is-open .mobile-panel {
    display: block;
  }

  .mobile-panel {
    border-top: 1px solid var(--line);
    background: var(--bg);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }

  .mobile-panel .container {
    padding-block: 20px 32px;
  }

  .m-list {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .m-item {
    border-bottom: 1px solid var(--line-soft);
  }

  .m-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 4px;
    background: transparent;
    border: 0;
    text-align: left;
    font-size: 18px;
    font-family: var(--font-sans);
    color: var(--ink);
  }

  .m-link.is-active {
    color: var(--cdp-green-dark);
  }

  .m-link .chev {
    width: 14px;
    height: 14px;
    transition: transform .2s;
    color: var(--muted);
  }

  .m-item.is-open>.m-link .chev {
    transform: rotate(180deg);
  }

  .m-sub {
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
  }

  .m-item.is-open>.m-sub {
    max-height: 800px;
  }

  .m-sub-inner {
    padding: 0 4px 16px;
  }

  .m-sub-heading {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted-2);
    margin-top: 10px;
    margin-bottom: 6px;
  }

  .m-sub-link {
    display: block;
    padding: 10px 12px;
    font-size: 15.5px;
    color: var(--ink-2);
    border-radius: 6px;
  }

  .m-sub-link:hover {
    background: var(--cdp-green-tint);
    color: var(--cdp-green-darker);
  }

  .m-cta {
    margin-top: 24px;
  }

  .m-cta .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  margin-top: 0;
  background: var(--cdp-green-darker);
  color: #D8E5DD;
}

.site-footer .container {
  padding-block: 64px 28px;
}

.foot-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.foot-brand img {
  height: 52px;
  width: auto;
  opacity: 0.95;
  filter: brightness(0) invert(1);
}

.foot-brand p {
  margin-top: 18px;
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(216, 229, 221, 0.78);
}

.foot-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 18px;
}

.foot-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.foot-col li+li {
  margin-top: 10px;
}

.foot-col a {
  font-size: 14.5px;
  color: #D8E5DD;
  transition: color .15s ease;
}

.foot-col a:hover {
  color: #fff;
}

.foot-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
  font-size: 13px;
  color: rgba(216, 229, 221, 0.6);
}

.foot-bottom-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.foot-bottom-links a:hover {
  color: #fff;
}

@media (max-width: 768px) {
  .foot-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .foot-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .foot-top {
    grid-template-columns: 1fr;
  }

  .foot-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================================
   SECTION UTILITIES
   ============================================================ */
section {
  padding-block: var(--py);
}

.section--center {
  text-align: center;
}

/* ============================================================
   SPLIT (two-column layout primitive, collapses at 768px)
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 40ch 4fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

@media (max-width: 768px) {
  .split {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}


.hero-right {
  padding-bottom: 8px;
}

.hero .lead {
  font-size: clamp(17px, 1.4vw, 19px);
}

.hero .ctas {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-meta {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-meta img {
  height: 32px;
  width: auto;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .hero-meta {
    margin-top: 32px;
  }
}

.pullquote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.3;
  color: var(--ink);
  border-left: 2px solid var(--cdp-green);
  padding: 4px 0 4px 24px;
  margin: 32px 0;
}

.pullquote em {
  color: var(--cdp-green-dark);
}

/* ============================================================
   HOME — Was wir tun / card grid
   ============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* Reusable link-card — base visuals shared across grids. The grids
   (.card-grid on home/mindset, .svc-grid on services) own the layout;
   .card owns the look, so neither is coupled to the other. */
.card {
  background: #fff;
  padding: 28px 24px;
  transition: background .15s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 200px;
}

.card:hover {
  background: var(--cdp-green-soft);
}

.card .ico {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--cdp-green-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cdp-green-dark);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 13px;
}

.card .ico svg {
  width: 100%;
  height: 100%;
  display: block;
}

.card h3 {
  font-size: 19px;
  letter-spacing: -0.005em;
  margin: 0;
}

.card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  flex: 1;
}

.card-grid-foot {
  margin-top: 36px;
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   HOME — CTA (light variant)
   ============================================================ */
.cta-light {
  padding-block: var(--py-lg);
  text-align: center;
  border-top: 1px solid var(--line-soft);
}

.cta-light .eyebrow {
  display: inline-block;
  margin-bottom: 18px;
}

.cta-light h2 {
  font-size: clamp(36px, 5vw, 60px);
  letter-spacing: -0.02em;
  margin: 0 auto;
}

.cta-light h2 em {
  font-style: italic;
  color: var(--cdp-green-dark);
  font-weight: 400;
}

.cta-light p {
  margin: 24px auto 0;
  font-size: 17px;
  color: var(--muted);
}

.mail-link {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(24px, 3vw, 36px);
  color: var(--cdp-green-dark);
  letter-spacing: -0.01em;
  border-bottom: 1px solid var(--cdp-green-dark);
  padding-bottom: 4px;
  transition: color .15s ease, border-color .15s ease;
}

.mail-link:hover {
  color: var(--cdp-green-darker);
  border-color: var(--cdp-green-darker);
}

.mail-link .arrow {
  font-style: normal;
}

.cta-light .mail-link {
  margin-top: 36px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding-top: clamp(48px, 7vw, 96px);
  padding-bottom: clamp(36px, 5vw, 56px);
  border-bottom: 1px solid var(--line-soft);
}

.hero .eyebrow {
  margin-bottom: 18px;
  display: inline-block;
}

.hero h1 {
  font-size: clamp(36px, 5.5vw, 64px);
  margin-bottom: 24px;
}

.hero h1 em {
  color: var(--cdp-green-dark);
}

/* ============================================================
   BLOCK (block-head + block-body, used inside .split or standalone)
   ============================================================ */
.block-head {
  margin-bottom: 48px;
}

.block-head .eyebrow {
  display: inline-block;
  margin-bottom: 16px;
}

.block-head h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  letter-spacing: -0.015em;
}

.block-head h2 em {
  font-style: italic;
  color: var(--cdp-green-dark);
  font-weight: 400;
}

/* .block-lead {
  margin: 0;
  font-size: 17px;
  color: var(--ink-2);
  line-height: 1.55;
} */

.block-body p,
.block-lead {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 1.2em;
  text-wrap: pretty;
}

.block-body p:last-child {
  margin-bottom: 0;
}


/* ============================================================
   MINDSET QUOTE
   ============================================================ */
.mindset-quote {
  padding-block: var(--py);
  border-bottom: 1px solid var(--line-soft);
}

.mindset-quote blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance;
}

.mindset-quote blockquote span {
  color: var(--cdp-green-dark);
}

.mindset-quote .attrib {
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============================================================
   PRINCIPLES (mindset)
   ============================================================ */
.principles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.principle {
  background: #fff;
  padding: 36px 32px;
}

.principle .num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--cdp-green-dark);
  margin-bottom: 24px;
}

.principle h3 {
  margin-bottom: 12px;
  font-size: clamp(22px, 2.4vw, 26px);
}

.principle h3 .sub {
  display: block;
  font-size: 0.62em;
  font-style: italic;
  color: var(--muted);
  margin-top: 4px;
}

.principle p {
  color: var(--muted);
  font-size: 15.5px;
  margin: 0 0 1em;
}

.principle p:last-child {
  margin-bottom: 0;
}

.principle p a,
.block-body p a,
.block-lead a {
  color: var(--cdp-green-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.principle p a:hover,
.block-body p a:hover,
.block-lead a:hover {
  color: var(--cdp-green-darker);
}

@media (max-width: 768px) {
  .principles {
    grid-template-columns: 1fr;
  }
}


/* ============================================================
   CTA BANNER (dark)
   ============================================================ */
.cta-banner {
  background: var(--cdp-green-darker);
  color: #fff;
  border-radius: 16px;
  padding: clamp(40px, 6vw, 64px);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122, 193, 66, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner .eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.cta-banner h2 {
  color: #fff;
  font-size: clamp(28px, 3.4vw, 40px);
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.78);
  margin-top: 14px;
  margin-bottom: 0;
}

.cta-banner .btn-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-self: end;
}

.cta-banner .btn-primary {
  background: #fff;
  color: var(--cdp-green-darker);
}

.cta-banner .btn-primary:hover {
  background: var(--cdp-green-light);
  color: var(--cdp-green-darker);
}

.cta-banner .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.cta-banner .btn-ghost:hover {
  border-color: #fff;
}

@media (max-width: 768px) {
  .cta-banner {
    grid-template-columns: 1fr;
  }

  .cta-banner .btn-row {
    justify-self: start;
  }
}

/* ============================================================
   LIST (neutral list)
   ============================================================ */
.list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.list li {
  position: relative;
  padding-left: 24px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-2);
}

.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 10px;
  height: 2px;
  background: var(--cdp-green);
}

/* ============================================================
   CHECKLIST (benefit list)
   ============================================================ */
.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.checklist li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-2);
}

.checklist .check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-top: 2px;
}

.checklist .check svg {
  width: 100%;
  height: 100%;
  display: block;
}

.checklist .check circle {
  fill: var(--cdp-green-tint);
}

.checklist .check path {
  stroke: var(--cdp-green-dark);
}

/* ============================================================
   POINTS (accented feature list)
   ============================================================ */
.points {
  display: grid;
  gap: 28px;
  margin-top: 40px;
}

.points+.block-body {
  margin-top: 40px;
}

.point {
  border-left: 2px solid var(--cdp-green);
  padding-left: 22px;
}

.point h3 {
  font-size: 19px;
  margin: 0 0 8px;
}

.point p {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.55;
}

/* ============================================================
   IMAGE PLACEHOLDER (striped, for pending images)
   ============================================================ */
.img-placeholder {
  position: relative;
  background: repeating-linear-gradient(135deg, var(--cdp-green-soft) 0 14px, var(--cdp-green-tint) 14px 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cdp-green-dark);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.05em;
  text-align: center;
  padding: 16px;
  overflow: hidden;
}

.img-placeholder::before {
  content: "// IMG";
  position: absolute;
  top: 12px;
  left: 14px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--cdp-green-dark);
  opacity: 0.7;
}

/* ============================================================
   TEAM / PROFILES
   ============================================================ */
.team-photo {
  width: 100%;
  display: block;
  border-radius: var(--radius-lg);
  margin-bottom: 40px;
}

.team-profiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

@media (max-width: 600px) {
  .team-profiles {
    grid-template-columns: 1fr;
  }
}

.profile h3 {
  font-size: clamp(22px, 2.6vw, 28px);
  margin-bottom: 12px;
}

.profile p {
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}


/* ============================================================
   SERVICE GRID (overview — variable card count)
   ============================================================ */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* Grids with 3+ cards (Consulting): avoid an uneven 3+1 break on mid-size
   screens by snapping to two columns, then a single column when too narrow. */
@media (max-width: 1024px) {
  .svc-grid:has(> :nth-child(3)) {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .svc-grid:has(> :nth-child(3)) {
    grid-template-columns: 1fr;
  }
}

section[id] {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-block h2 {
  font-size: clamp(18px, 2vw, 22px);
  margin-bottom: 16px;
}

.contact-block .mail-link {
  font-size: clamp(19px, 2.2vw, 24px);
}

.contact-block address {
  font-style: normal;
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.7;
}


/* ============================================================
   LEGAL (plain prose for imprint / privacy)
   ============================================================ */
.legal {}

.legal h2 {
  font-size: clamp(20px, 2.4vw, 26px);
  margin: 48px 0 12px;
}

.legal h2:first-child {
  margin-top: 0;
}

.legal h3 {
  font-size: 18px;
  margin: 28px 0 8px;
}

.legal h4 {
  font-size: 15.5px;
  font-weight: 600;
  font-family: var(--font-sans);
  color: var(--ink);
  margin: 20px 0 6px;
}

.legal p {
  margin: 0 0 1em;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.65;
}

.legal ul {
  margin: 0 0 1em;
  padding-left: 1.25em;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.65;
}

.legal li {
  margin-bottom: 0.4em;
}

.legal address {
  font-style: normal;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 1em;
}

.legal a {
  color: var(--cdp-green-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal a:hover {
  color: var(--cdp-green-darker);
}

/* ============================================================
   ERROR PAGE (404)
   ============================================================ */
.error__code {
  font-family: var(--font-display);
  font-size: clamp(64px, 14vw, 120px);
  font-weight: 400;
  line-height: 1;
  color: var(--cdp-green);
  margin: 0;
}

.error__img {
  width: 100%;
  max-width: 320px;
  height: auto;
  display: block;
  margin: 0 auto 24px;
}

.error__title {
  font-size: clamp(28px, 5vw, 44px);
  margin: 8px 0 0;
}

.error__text {
  color: var(--muted);
  margin: 16px auto 28px;
}

/* ============================================================
   MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}