/* Christoph Harrison Design System: component styles. Every value comes from tokens.css. */
:root { --ch-ease: cubic-bezier(0.16, 1, 0.3, 1); }
body { margin: 0; font-family: var(--font-sans); background: var(--surface); color: var(--ink); -webkit-font-smoothing: antialiased; font-feature-settings: "ss01"; }
.ch-pad { padding: var(--space-6); }
.ch-row { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.ch-stack { display: grid; gap: var(--space-6); }
.ch-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6); }
.ch-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); }
@media (max-width: 720px) { .ch-grid-2, .ch-grid-3 { grid-template-columns: 1fr; } }

/* Button */
.ch-btn { display: inline-flex; align-items: center; gap: var(--space-2); font: inherit; font-size: 15px; line-height: 20px; font-weight: 550; letter-spacing: -0.005em; border-radius: var(--radius-full); border: 1px solid transparent; cursor: pointer; text-decoration: none; white-space: nowrap; transition: background-color .2s var(--ch-ease), border-color .2s var(--ch-ease), color .2s var(--ch-ease), transform .2s var(--ch-ease); }
.ch-btn:active { transform: translateY(1px) scale(.985); }
.ch-btn:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring); }
.ch-btn--md { height: 44px; padding: 0 var(--space-6); }
.ch-btn--lg { height: 52px; padding: 0 var(--space-8); font-size: 16px; }
.ch-btn--sm { height: 36px; padding: 0 var(--space-4); font-size: 14px; }
.ch-btn--primary { background: var(--accent); color: var(--on-accent); }
.ch-btn--primary:hover { background: var(--brand); }
.ch-btn--secondary { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.ch-btn--secondary:hover { border-color: var(--ink); }
.ch-btn--ghost { background: transparent; color: var(--accent); padding-left: var(--space-3); padding-right: var(--space-3); }
.ch-btn--ghost:hover { background: var(--accent-soft); }
.ch-btn--inverse { background: var(--on-navy); color: var(--navy); }
.ch-btn--avatar { padding-left: 4px; gap: 14px; }
.ch-btn--avatar.ch-btn--sm { padding-left: 3px; gap: 12px; }
.ch-btn__avatar { width: 36px; height: 36px; border-radius: var(--radius-full); object-fit: cover; object-position: 50% 20%; box-shadow: 0 0 0 2px var(--on-accent); }
.ch-btn--sm .ch-btn__avatar { width: 30px; height: 30px; }
.ch-btn__icon { width: 16px; height: 16px; flex: none; transition: transform .2s var(--ch-ease); }
.ch-btn:hover .ch-btn__icon { transform: translate(2px, -2px); }

/* Badge */
.ch-badge { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: var(--radius-full); font-family: var(--font-mono); font-size: 12.5px; font-weight: 500; letter-spacing: 0.02em; white-space: nowrap; }
.ch-badge--neutral { background: var(--surface-subtle); color: var(--ink-muted); box-shadow: inset 0 0 0 1px var(--line); }
.ch-badge--accent { background: var(--accent-soft); color: var(--accent); }
.ch-badge--outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.ch-badge--status { background: var(--surface-raised); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.ch-badge__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 3px color-mix(in srgb, var(--signal) 22%, transparent); }

/* Wordmark: der i-Punkt in Harrison ist ein Access Point (Scheibe 0.3em, Lichtring ab lg).
   Werte aus den Geist-Metriken: Oberkante des dotless i 0.32em unter der Zeilenbox-Oberkante bei line-height 1, Abstand 0.07em. */
.ch-wordmark { display: inline-flex; align-items: baseline; color: var(--ink); font-weight: 650; letter-spacing: -0.025em; text-decoration: none; white-space: nowrap; }
.ch-wordmark__i { position: relative; display: inline-block; line-height: 1; }
.ch-wordmark__ap { position: absolute; left: 50%; top: -0.05em; width: .3em; height: .3em; margin-left: -.1375em; border-radius: 50%; background: var(--brand); }
.ch-wordmark--ring .ch-wordmark__ap::after { content: ""; position: absolute; inset: 19%; border-radius: 50%; border: .026em solid #ffffff; }
.ch-wordmark--sm { font-size: 16px; } .ch-wordmark--md { font-size: 20px; } .ch-wordmark--lg { font-size: 32px; } .ch-wordmark--xl { font-size: 64px; }

/* NavBar */
.ch-nav { display: flex; align-items: center; gap: var(--space-6); height: var(--nav-height); padding: 0 8px 0 var(--space-6); max-width: var(--container); margin: 0 auto; box-sizing: border-box; border-radius: var(--radius-full); background: color-mix(in srgb, var(--surface-raised) 88%, transparent); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-float); }
.ch-nav__links { display: flex; gap: var(--space-6); margin-left: auto; }
.ch-nav__links a { color: var(--ink-muted); font-size: 15px; font-weight: 500; text-decoration: none; transition: color .2s var(--ch-ease); }
.ch-nav__links a:hover, .ch-nav__links a[aria-current="page"] { color: var(--ink); }
.ch-nav__links a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--brand); text-decoration-thickness: 2px; text-underline-offset: 8px; }
@media (max-width: 820px) { .ch-nav__links { display: none; } .ch-nav .ch-btn { margin-left: auto; } }

/* SectionHeader */
.ch-sh { display: grid; gap: var(--space-4); max-width: var(--measure); }
.ch-sh--center { margin: 0 auto; text-align: center; justify-items: center; }
.ch-sh__eyebrow { font-family: var(--font-mono); font-size: 13px; line-height: 16px; font-weight: 500; letter-spacing: .04em; color: var(--accent); }
.ch-sh__title { margin: 0; font-size: 40px; line-height: 46px; font-weight: 600; letter-spacing: -0.03em; color: var(--ink); text-wrap: balance; }
.ch-sh__title em, .ch-hero__title em { font-style: normal; color: var(--brand); }
.ch-sh__lead { margin: 0; font-size: 20px; line-height: 32px; letter-spacing: -0.01em; color: var(--ink-muted); text-wrap: pretty; }
@media (max-width: 720px) { .ch-sh__title { font-size: 32px; line-height: 38px; } .ch-sh__lead { font-size: 18px; line-height: 28px; } }

/* Hero */
.ch-hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: var(--space-12); align-items: center; max-width: var(--container); margin: 0 auto; }
.ch-hero__copy { display: grid; gap: var(--space-6); justify-items: start; }
.ch-hero__title { margin: 0; font-size: 76px; line-height: 76px; font-weight: 600; letter-spacing: -0.04em; color: var(--ink); text-wrap: balance; }
.ch-hero__lead { margin: 0; max-width: 540px; font-size: 20px; line-height: 32px; letter-spacing: -0.01em; color: var(--ink-muted); }
.ch-hero__art { position: relative; aspect-ratio: 5 / 6; }
.ch-hero__block { position: absolute; border-radius: var(--radius-xl); }
.ch-hero__block--brand { inset: 22% 0 0 12%; background: var(--brand); }
.ch-hero__block--sky { left: 0; top: 8%; width: 30%; height: 30%; background: var(--sky); }
.ch-hero__ports { position: absolute; right: 7%; top: 28%; display: grid; grid-template-columns: repeat(4, 14px); gap: 8px; }
.ch-hero__ports i { width: 14px; height: 10px; border-radius: 3px; background: color-mix(in srgb, var(--on-accent) 30%, transparent); }
.ch-hero__ports i.on { background: var(--on-accent); }
.ch-hero__photo { position: absolute; left: 14%; right: 0; bottom: 0; height: 104%; width: 86%; object-fit: contain; object-position: 50% 100%; }
.ch-hero__card { position: absolute; left: -4%; bottom: 10%; display: grid; gap: 2px; padding: 14px 18px; border-radius: 18px; background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-float); }
.ch-hero__card strong { font-size: 15px; font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.ch-hero__card span { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-faint); }
@media (max-width: 900px) { .ch-hero { grid-template-columns: 1fr; } .ch-hero__title { font-size: 48px; line-height: 52px; } .ch-hero__art { max-width: 420px; width: 100%; } }

/* StatRow */
.ch-stats { display: grid; grid-template-columns: repeat(var(--ch-cols, 4), minmax(0, 1fr)); border-top: 1px solid var(--line); }
.ch-stat { padding: var(--space-6) var(--space-6) 0 0; display: grid; gap: var(--space-2); align-content: start; }
.ch-stat + .ch-stat { padding-left: var(--space-6); border-left: 1px solid var(--line); }
.ch-stat__value { font-family: var(--font-mono); font-size: 48px; line-height: 52px; font-weight: 500; letter-spacing: -0.04em; color: var(--ink); font-variant-numeric: tabular-nums; }
.ch-stat__value sup { font-size: .45em; color: var(--brand); vertical-align: top; margin-left: 2px; }
.ch-stat__label { font-size: 15px; line-height: 22px; color: var(--ink-muted); }
@media (max-width: 720px) { .ch-stats { grid-template-columns: 1fr 1fr; } .ch-stat:nth-child(odd) { padding-left: 0; border-left: 0; } .ch-stat__value { font-size: 36px; line-height: 40px; } }

/* TimelineItem */
.ch-tl { position: relative; display: grid; grid-template-columns: 160px 24px minmax(0, 1fr); gap: 0 var(--space-6); }
.ch-tl__period { padding-top: 3px; font-family: var(--font-mono); font-size: 13px; line-height: 20px; color: var(--ink-faint); text-align: right; }
.ch-tl__rail { position: relative; display: flex; justify-content: center; }
.ch-tl__rail::before { content: ""; position: absolute; top: 18px; bottom: 0; width: 1px; background: var(--line); }
.ch-tl--last .ch-tl__rail::before { display: none; }
.ch-tl__node { position: relative; margin-top: 4px; width: 14px; height: 14px; border-radius: 4px; background: var(--surface); box-shadow: inset 0 0 0 2px var(--line-strong); }
.ch-tl--current .ch-tl__node { background: var(--brand); box-shadow: 0 0 0 4px var(--accent-soft); }
.ch-tl__body { padding-bottom: var(--space-12); display: grid; gap: 6px; }
.ch-tl--last .ch-tl__body { padding-bottom: 0; }
.ch-tl__role { margin: 0; font-size: 20px; line-height: 28px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.ch-tl__org { font-size: 15px; font-weight: 500; color: var(--accent); }
.ch-tl__text { margin: 4px 0 0; font-size: 15px; line-height: 24px; color: var(--ink-muted); max-width: 60ch; }
.ch-tl__tags { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-3); }
@media (max-width: 640px) { .ch-tl { grid-template-columns: 24px minmax(0, 1fr); gap: 0 var(--space-4); } .ch-tl__period { grid-column: 2; text-align: left; order: -1; padding: 0 0 4px; } .ch-tl__rail { grid-row: 1 / span 2; } }

/* Card base */
.ch-card { background: var(--surface-raised); border-radius: var(--radius-lg); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .3s var(--ch-ease), transform .3s var(--ch-ease); }
a.ch-card { color: inherit; text-decoration: none; display: block; }
a.ch-card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); }

/* CertificateCard */
.ch-cert { padding: var(--space-6); display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: var(--space-4) var(--space-4); align-items: start; }
.ch-cert__logo { width: 56px; height: 56px; border-radius: var(--radius-md); background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-family: var(--font-mono); font-size: 15px; font-weight: 600; overflow: hidden; }
.ch-cert__logo img { width: 70%; height: 70%; object-fit: contain; }
.ch-cert__kind { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-faint); }
.ch-cert__title { margin: 2px 0 0; font-size: 18px; line-height: 26px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.ch-cert__issuer { font-size: 15px; color: var(--ink-muted); }
.ch-cert__foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding-top: var(--space-4); border-top: 1px solid var(--line); }
.ch-cert__foot a { font-size: 14px; font-weight: 550; color: var(--accent); text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.ch-cert__foot a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* TestimonialCard */
.ch-quote { padding: var(--space-8); display: grid; gap: var(--space-6); align-content: space-between; }
.ch-quote__mark { width: 32px; height: 24px; color: var(--brand); }
.ch-quote__text { margin: 0; font-size: 22px; line-height: 34px; font-weight: 450; letter-spacing: -0.015em; color: var(--ink); text-wrap: pretty; }
.ch-quote__who { display: flex; align-items: center; gap: var(--space-3); }
.ch-quote__who img, .ch-quote__initials { width: 44px; height: 44px; border-radius: var(--radius-full); object-fit: cover; flex: none; }
.ch-quote__initials { display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-weight: 600; font-size: 15px; }
.ch-quote__name { font-size: 15px; font-weight: 600; color: var(--ink); }
.ch-quote__role { font-size: 14px; color: var(--ink-faint); }
.ch-quote__source { margin-left: auto; }

/* ProjectCard */
.ch-proj { display: grid; gap: var(--space-4); color: inherit; text-decoration: none; }
.ch-proj__media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface-subtle); box-shadow: inset 0 0 0 1px var(--line); }
.ch-proj__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ch-ease); display: block; }
.ch-proj:hover .ch-proj__media img { transform: scale(1.03); }
.ch-proj__go { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: var(--radius-full); display: grid; place-items: center; background: var(--surface-raised); color: var(--ink); box-shadow: var(--shadow-sm); transition: background-color .2s var(--ch-ease), color .2s var(--ch-ease); }
.ch-proj:hover .ch-proj__go { background: var(--accent); color: var(--on-accent); }
.ch-proj__meta { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-4); }
.ch-proj__title { margin: 0; font-size: 20px; line-height: 28px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.ch-proj__cat { font-size: 15px; color: var(--ink-muted); }
.ch-proj__year { font-family: var(--font-mono); font-size: 13px; color: var(--ink-faint); white-space: nowrap; }

/* TrustBar */
.ch-trust { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4) var(--space-12); padding: var(--space-6) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ch-trust__label { font-family: var(--font-mono); font-size: 13px; color: var(--ink-faint); margin-right: auto; }
.ch-trust__items { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-6) var(--space-12); }
.ch-trust__item { display: inline-flex; align-items: center; gap: var(--space-2); color: var(--ink-muted); font-size: 17px; font-weight: 600; letter-spacing: -0.02em; text-decoration: none; }
.ch-trust__item img { height: 18px; width: auto; opacity: .75; }
:root[data-theme="dark"] .ch-trust__item img { filter: brightness(0) invert(1); opacity: .8; }

/* CtaBand */
.ch-cta { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-8); align-items: end; padding: var(--space-16) var(--space-12); border-radius: var(--radius-xl); background: var(--navy); color: var(--on-navy); }
.ch-cta__title { margin: 0; font-size: 40px; line-height: 46px; font-weight: 600; letter-spacing: -0.03em; color: var(--on-navy); max-width: 16ch; text-wrap: balance; }
.ch-cta__text { margin: var(--space-4) 0 0; font-size: 18px; line-height: 28px; color: var(--on-navy-muted); max-width: 48ch; }
.ch-cta__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); position: relative; z-index: 1; }
.ch-cta__ports { position: absolute; right: var(--space-12); top: var(--space-12); display: grid; grid-template-columns: repeat(12, 12px); gap: 6px; }
.ch-cta__ports i { width: 12px; height: 9px; border-radius: 3px; background: color-mix(in srgb, var(--on-navy) 14%, transparent); }
.ch-cta__ports i.on { background: var(--brand); }
@media (max-width: 760px) { .ch-cta { grid-template-columns: 1fr; padding: var(--space-12) var(--space-6); } .ch-cta__title { font-size: 30px; line-height: 36px; } .ch-cta__ports { display: none; } }
