/* Financipate – Jan Dick | site styles v2 */

@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-display: swap;
  font-weight: 400 900;
  src: url("fonts/schibsted-grotesk-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-display: swap;
  font-weight: 400 900;
  src: url("fonts/schibsted-grotesk-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* brand colours taken from the Financipate logo */
  --navy: #0b1145;
  --navy-2: #151c5a;
  --violet: #673ae1;
  --violet-deep: #4f25c4;
  --cyan: #62d9e7;
  --orange: #ed9d3e;
  --brand-line: linear-gradient(90deg, #62d9e7 0%, #afb889 22%, #ed9d3e 42%, #cc8067 60%, #9358ac 80%, #673ae1 100%);

  --paper: #f5f6fa;
  --tint: #eeecfb;
  --white: #ffffff;
  --ink: #0b1145;
  --slate: #50557a;
  --rule: #dcdee9;
  --on-dark: #c9cbe6;

  --font: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
figure { margin: 0; }
a { color: var(--violet-deep); text-underline-offset: 3px; }
a:hover { color: var(--violet); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); color: var(--navy); padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }
.todo { background: #fff1b8; color: var(--navy); padding: 0 4px; border-radius: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 22px; border-radius: 999px;
  font-weight: 650; font-size: 1rem; line-height: 1.1;
  text-decoration: none; border: 1.5px solid transparent;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--violet); color: #fff; }
.btn-primary:hover { background: var(--violet-deep); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--cyan); color: var(--navy); }
.btn-outline-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }
.btn-small { padding: 10px 18px; font-size: .9375rem; }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }

/* ---------- Header (dark, like the existing brand page) ---------- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.site-header { position: sticky; top: 0; z-index: 20; background: var(--navy); border-bottom: 1px solid transparent; }
.site-header.scrolled { border-bottom-color: rgba(255,255,255,.1); }
.site-header .wrap { display: flex; align-items: center; height: 76px; gap: 28px; }
.brand { margin-right: auto; transition: opacity .25s; }
.brand img { height: 40px; width: auto; }
@media (max-width: 1120px) { .site-header.brand-hidden .brand { opacity: 0; pointer-events: none; } }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: #fff; text-decoration: none; font-weight: 500; font-size: .96875rem; opacity: .88; }
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; color: var(--cyan); }
.header-tools { display: flex; align-items: center; gap: 16px; }
.nav .nav-book { display: none; }
.lang { display: flex; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: 3px; }
.lang a { color: #fff; text-decoration: none; font-size: .8125rem; font-weight: 650; padding: 4px 10px; border-radius: 999px; opacity: .75; }
.lang a:hover { opacity: 1; color: #fff; }
.lang a[aria-current="true"] { background: #fff; color: var(--navy); opacity: 1; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.3); border-radius: 10px; background: transparent; cursor: pointer; position: relative; }
.menu-toggle .bars, .menu-toggle .bars::before, .menu-toggle .bars::after { position: absolute; left: 11px; width: 18px; height: 2px; background: #fff; content: ""; transition: transform .2s, opacity .2s; }
.menu-toggle .bars { top: 19px; }
.menu-toggle .bars::before { left: 0; top: -6px; }
.menu-toggle .bars::after { left: 0; top: 6px; }
.menu-open .menu-toggle .bars { background: transparent; }
.menu-open .menu-toggle .bars::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle .bars::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1120px) {
  .site-header .wrap { gap: 12px; }
  .menu-toggle { display: block; }
  .header-cta { display: none; }
  .brand img { height: 34px; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 76px; background: var(--navy); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px; border-bottom: 1px solid rgba(255,255,255,.12); }
  .nav a { padding: 14px 0; font-size: 1.125rem; border-top: 1px solid rgba(255,255,255,.1); opacity: 1; }
  .menu-open .nav { display: flex; }
  .nav .nav-book { display: block; color: var(--cyan); font-weight: 650; }
}

/* ---------- Hero: photo first, logo and positioning beside it ---------- */
.hero { background: var(--navy); color: #fff; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-areas: "photo text"; grid-template-rows: auto;
  column-gap: clamp(32px, 5vw, 80px); padding-block: clamp(24px, 3vw, 40px) clamp(40px, 5vw, 64px);
}
.hero-photo { grid-area: photo; align-self: stretch; border-radius: 22px; overflow: hidden; background: var(--navy-2); min-height: 520px; position: relative; }
.hero-photo img { position: absolute; inset: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
.hero-brand { grid-area: brand; padding-top: 8px; }
.hero-logo { display: block; width: clamp(150px, 14vw, 200px); height: auto; }
.hero-text { grid-area: text; align-self: center; padding-block: clamp(16px, 2vw, 24px); }
.hero h1 { font-size: clamp(2.25rem, 4.2vw, 3.5rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; max-width: 16ch; }
.hero-claim { margin-top: 20px; font-size: clamp(1.25rem, 1.9vw, 1.5rem); font-weight: 680; line-height: 1.3; color: var(--cyan); }
.hero-lead { margin-top: 12px; font-size: clamp(1.0625rem, 1.3vw, 1.125rem); line-height: 1.6; color: var(--on-dark); max-width: 36em; }
.hero-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-actions .btn { padding: 13px 18px; font-size: .96875rem; }
.hero-meta { margin-top: 22px; font-size: .9375rem; color: var(--on-dark); }
.tagline-band { background: var(--cyan); color: var(--navy); }
.tagline-band p { text-align: center; font-size: clamp(1.375rem, 3.2vw, 2.375rem); font-weight: 760; letter-spacing: -0.02em; line-height: 1.2; padding-block: clamp(14px, 2vw, 22px); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; grid-template-areas: "photo" "text"; grid-template-rows: auto; padding-block: 20px 48px; row-gap: 8px; }
  .hero-brand { padding-top: 0; margin-bottom: 20px; }
  .hero-logo { width: 128px; }
  .hero-photo { min-height: 0; aspect-ratio: 4 / 5; max-height: 62vh; width: 100%; }
  .hero-photo img { position: static; }
  .hero-text { padding-top: 32px; }
}

/* ---------- Client logos ---------- */
.clients { background: var(--tint); padding-block: clamp(48px, 6vw, 76px); }
.clients h2 { font-size: 1.0625rem; font-weight: 600; letter-spacing: 0; color: var(--slate); text-align: center; margin-bottom: clamp(28px, 4vw, 44px); }
.logo-wall { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); align-items: center; justify-items: center; column-gap: clamp(20px, 2.5vw, 36px); row-gap: 32px; max-width: 1140px; }
@media (max-width: 1000px) { .logo-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 620px) { .logo-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.logo-wall li { display: flex; align-items: center; justify-content: center; min-height: 72px; }
.logo-wall img { display: block; max-width: 100%; height: auto; }
.logo-wall .wordmark { font-weight: 780; font-size: 1.625rem; letter-spacing: -0.02em; color: var(--navy); white-space: nowrap; }
@media (max-width: 620px) { .logo-wall { column-gap: 28px; row-gap: 12px; } .logo-wall li { min-height: 56px; } .logo-wall .wordmark { font-size: 1.25rem; } .logo-wall img { width: calc(var(--w) * .8px); height: auto; } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 10vw, 124px); }
.section-paper { background: var(--paper); }
.section-dark { background: var(--navy); color: #fff; }
.section-head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2, .h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 780; }
.section-head p { margin-top: 18px; color: var(--slate); font-size: 1.125rem; max-width: 42em; }
.section-dark .section-head p { color: var(--on-dark); }

/* ---------- How I work ---------- */
.approach { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.approach-photo { border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 5; position: sticky; top: 104px; }
.approach-photo img { width: 100%; height: 100%; object-fit: cover; }
.approach-intro { margin-top: 20px; font-size: 1.1875rem; line-height: 1.6; max-width: 34em; }
.principles { list-style: none; margin: 36px 0 0; padding: 0; }
.principles li { padding: 22px 0 24px 28px; border-top: 1px solid var(--rule); position: relative; }
.principles li::before { content: ""; position: absolute; left: 0; top: 31px; width: 10px; height: 10px; border-radius: 50%; background: var(--violet); }
.principles li:nth-child(2)::before { background: var(--cyan); }
.principles li:nth-child(3)::before { background: var(--orange); }
.principles h3 { font-size: 1.25rem; font-weight: 720; }
.principles p { margin-top: 6px; color: var(--slate); }
@media (max-width: 860px) { .approach { grid-template-columns: 1fr; } .approach-photo { position: static; max-width: 420px; } }

/* ---------- Services ---------- */
.services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 6vw, 88px); }
.services li { padding: 28px 0 32px; border-top: 1px solid var(--rule); }
.services h3 { font-size: 1.375rem; font-weight: 720; }
.services p { margin-top: 10px; color: var(--slate); }
.services .kw { margin-top: 12px; font-size: .875rem; line-height: 1.5; color: var(--violet-deep); font-weight: 550; }
@media (max-width: 760px) { .services { grid-template-columns: 1fr; } }

/* ---------- Engagement models ---------- */
.models { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.model { background: var(--paper); border-radius: 18px; padding: 32px 28px 34px; }
.model h3 { font-size: 1.5rem; font-weight: 760; }
.model .when { margin-top: 6px; font-weight: 600; color: var(--violet-deep); font-size: .96875rem; }
.model p:not(.when) { margin-top: 16px; color: var(--slate); }
.model.featured { background: var(--navy); color: #fff; }
.model.featured .when { color: var(--cyan); }
.model.featured p:not(.when) { color: var(--on-dark); }
@media (max-width: 900px) { .models { grid-template-columns: 1fr; } }

.sectors { margin-top: clamp(48px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.sectors h3 { font-size: 1.5rem; font-weight: 750; }
.sectors > div > p { margin-top: 10px; color: var(--slate); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--rule); background: var(--white); font-weight: 550; font-size: .96875rem; }
.chips li.key { background: var(--navy); border-color: var(--navy); color: #fff; }
@media (max-width: 760px) { .sectors { grid-template-columns: 1fr; } }

/* ---------- Testimonials: running ticker ---------- */
.quotes-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; }
.marquee-toggle { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: transparent; cursor: pointer; position: relative; }
.marquee-toggle::before, .marquee-toggle::after { content: ""; position: absolute; top: 14px; width: 4px; height: 14px; background: #fff; border-radius: 1px; }
.marquee-toggle::before { left: 15px; } .marquee-toggle::after { left: 23px; }
.marquee-toggle[aria-pressed="true"]::before { left: 17px; width: 0; height: 0; background: none; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent #fff; top: 13px; border-radius: 0; }
.marquee-toggle[aria-pressed="true"]::after { display: none; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; width: max-content; animation: ticker 55s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track, .marquee.paused .marquee-track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }
.quote { flex: none; width: clamp(290px, 34vw, 440px); margin: 0 20px 0 0; padding: 28px 28px 30px; border-radius: 18px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); }
.quote figcaption { display: flex; align-items: center; gap: 14px; font-size: .9375rem; color: var(--on-dark); }
.quote figcaption strong { color: #fff; font-weight: 680; }
.quote .who { flex: 1; min-width: 0; line-height: 1.35; }
.quote .co { display: block; font-size: .875rem; }
.avatar { flex: none; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,.25); }
.avatar-ph { display: inline-flex; align-items: center; justify-content: center; background: var(--navy-2); color: var(--cyan); font-weight: 700; font-size: .9375rem; }
.q-logo { flex: none; height: 26px; width: auto; max-width: 96px; object-fit: contain; opacity: .9; }
.quote blockquote { margin: 14px 0 0; font-size: 1.1875rem; line-height: 1.5; }
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; padding-inline: var(--gutter); }
  .marquee-track { animation: none; }
  .quote[aria-hidden="true"], .marquee-toggle { display: none; }
}

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.about-photo { border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 5; position: sticky; top: 104px; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-copy > p { margin-top: 20px; font-size: 1.125rem; max-width: 36em; }
.about-copy h3 { margin-top: 44px; font-size: 1.25rem; font-weight: 720; }
.personal { margin-top: 12px; max-width: 36em; }
.career { list-style: none; margin: 16px 0 0; padding: 0; }
.career li { display: grid; grid-template-columns: 8.5rem 1fr; gap: 20px; padding: 18px 0; border-top: 1px solid var(--rule); }
.career .yrs { color: var(--slate); font-variant-numeric: tabular-nums; font-size: .96875rem; padding-top: 2px; }
.career strong { display: block; font-weight: 680; }
.career span.detail { display: block; margin-top: 2px; color: var(--slate); font-size: .96875rem; }
.tools { margin-top: 14px; }
.tools li { font-size: .90625rem; padding: 7px 13px; }
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { position: static; max-width: 420px; }
  .career li { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- FAQ ---------- */
.faq { max-width: 880px; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative; font-weight: 680; font-size: 1.1875rem; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -9px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq details p { padding: 0 0 24px; color: var(--slate); max-width: 46em; }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }

/* ---------- Contact ---------- */
.contact { background: var(--violet); color: #fff; position: relative; }
.contact::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--brand-line); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 80px); align-items: end; }
.contact h2 { font-size: clamp(2.125rem, 4.4vw, 3.25rem); font-weight: 800; letter-spacing: -0.03em; max-width: 18ch; }
.contact-grid > div > p { margin-top: 20px; font-size: 1.1875rem; color: #ebe5ff; max-width: 32em; }
.contact .hero-actions { margin-top: 32px; }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { padding: 14px 0; border-top: 1px solid rgba(255,255,255,.3); }
.contact-list li:last-child { border-bottom: 1px solid rgba(255,255,255,.3); }
.contact-list .k { display: block; font-size: .875rem; color: #d9d0ff; }
.contact-list a { color: #fff; font-weight: 600; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; color: #fff; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--on-dark); font-size: .9375rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 40px; padding-block: 28px; }
.site-footer img { height: 34px; width: auto; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer .copy { font-size: .875rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
@media (max-width: 760px) { .site-footer .wrap { flex-direction: column-reverse; align-items: flex-start; } }

/* ---------- Legal pages ---------- */
.legal { padding-block: clamp(48px, 7vw, 96px); }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; margin-bottom: 32px; }
.legal h2 { font-size: 1.3125rem; font-weight: 720; margin: 36px 0 10px; }
.legal p, .legal li { color: #2f3458; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 1.2em; }

/* ---------- Multi-page additions ---------- */
.lead { margin-top: 20px; font-size: 1.1875rem; line-height: 1.6; max-width: 36em; }
.positioning { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.facts { list-style: none; margin: 0; padding: 0; }
.facts li { padding: 22px 0; border-top: 1px solid var(--rule); }
.facts li:last-child { border-bottom: 1px solid var(--rule); }
.facts strong { display: block; font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 780; letter-spacing: -0.02em; line-height: 1.15; }
.facts span { color: var(--slate); }
@media (max-width: 860px) { .positioning { grid-template-columns: 1fr; } }

.svc-index { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.svc-index a { display: flex; align-items: flex-end; min-height: 112px; height: 100%; padding: 20px; border-radius: 16px; background: var(--white); border: 1px solid var(--rule); color: var(--navy); text-decoration: none; font-weight: 700; font-size: 1.125rem; line-height: 1.25; transition: border-color .15s, box-shadow .15s; }
.svc-index a:hover { border-color: var(--violet); color: var(--violet-deep); }
.teaser-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
@media (max-width: 960px) { .svc-index { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .svc-index { grid-template-columns: 1fr; } .svc-index a { min-height: 0; } }

.page-head { background: var(--navy); color: #fff; padding-block: clamp(56px, 8vw, 104px) clamp(48px, 6vw, 80px); position: relative; }
.page-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--brand-line); }
.page-head h1 { font-size: clamp(2.5rem, 5.4vw, 4.25rem); font-weight: 800; letter-spacing: -0.035em; }
.page-head p { margin-top: 18px; max-width: 40em; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); color: var(--on-dark); }
.section.first { padding-top: clamp(48px, 6vw, 80px); }

.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.steps li { counter-increment: step; padding-top: 20px; border-top: 3px solid var(--navy); }
.steps li::before { content: counter(step); display: block; font-size: 2rem; font-weight: 800; color: var(--violet); line-height: 1; margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 1.25rem; font-weight: 720; }
.steps p { margin-top: 8px; color: var(--slate); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; letter-spacing: -0.035em; }
.about-copy .lead-strong { margin-top: 20px; font-size: 1.3125rem; font-weight: 650; line-height: 1.4; max-width: 30em; }
.about-copy .h3 { margin-top: 44px; font-size: 1.25rem; font-weight: 720; letter-spacing: -0.01em; }
.about-top { padding-top: clamp(48px, 6vw, 80px); }
.tools-title { margin-top: 40px; font-size: 1.125rem; font-weight: 720; }
.approach > div > .principles { margin-top: 28px; }

/* ---------- Three roles ---------- */
.roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.role { background: var(--paper); border-radius: 20px; padding: 30px 28px 32px; display: flex; flex-direction: column; }
.role h3 { font-size: 1.625rem; font-weight: 780; letter-spacing: -0.02em; }
.role dl { margin: 22px 0 0; }
.role dl > div { padding: 12px 0; border-top: 1px solid var(--rule); }
.role dt { font-size: .8125rem; font-weight: 650; color: var(--violet-deep); }
.role dd { margin: 2px 0 0; font-weight: 560; line-height: 1.4; }
.role > p { margin-top: 18px; color: var(--slate); }
.week { display: flex; gap: 4px; margin-top: 10px; }
.week span { flex: 1; text-align: center; font-size: .6875rem; font-weight: 650; padding: 4px 0; border-radius: 6px; background: var(--white); border: 1px solid var(--rule); color: var(--slate); }
.week span.on { background: var(--violet); border-color: var(--violet); color: #fff; }
.week.flex span { border-style: dashed; background: transparent; }
.role.featured { background: var(--navy); color: #fff; }
.role.featured dt { color: var(--cyan); }
.role.featured dl > div { border-top-color: rgba(255,255,255,.14); }
.role.featured > p { color: var(--on-dark); }
.role.featured .week span { background: transparent; border-color: rgba(255,255,255,.25); color: var(--on-dark); }
.role.featured .week span.on { background: var(--cyan); border-color: var(--cyan); color: var(--navy); }
@media (max-width: 900px) { .roles { grid-template-columns: 1fr; } }

/* ---------- Network block (fourth area next to the roles) ---------- */
.network { margin-top: 20px; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(28px, 4vw, 44px); border-radius: 20px; background: var(--tint); }
.network h3 { font-size: 1.625rem; font-weight: 780; letter-spacing: -0.02em; max-width: 22ch; }
.network-copy p { margin-top: 14px; color: var(--slate); max-width: 40em; }
.field { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.field li { padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: .9375rem; }
.field li.mine { background: var(--navy); color: #fff; }
.field li.net { background: transparent; border: 1.5px dashed var(--violet); color: var(--violet-deep); }
.legend { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 18px; font-size: .875rem; color: var(--slate); }
.legend span::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 7px; vertical-align: -1px; }
.legend .mine::before { background: var(--navy); }
.legend .net::before { border: 1.5px dashed var(--violet); }
@media (max-width: 860px) { .network { grid-template-columns: 1fr; } }

/* ---------- v9 spacing tweaks ---------- */
#references { padding-block: clamp(44px, 6vw, 80px); }
#references .section-head { margin-bottom: clamp(22px, 3vw, 36px); }
.contact { padding-block: clamp(52px, 7vw, 88px); }
.role dd { font-weight: 520; }

/* ---------- Contact: buttons beside the text ---------- */
.contact-grid { align-items: center; }
.contact-actions { display: flex; flex-direction: column; gap: 12px; }
.contact-actions .btn { justify-content: flex-start; padding: 15px 22px; }
@media (max-width: 860px) { .contact-actions { flex-direction: row; flex-wrap: wrap; } .contact-actions .btn { flex: 1 1 auto; justify-content: center; } }

/* ---------- About: career at the end ---------- */
.career-wrap { max-width: var(--wrap); }
.career-wrap .career { margin-top: 28px; }
.about-top .about-photo { position: static; }

/* ---------- Personal promise (pull quote below the tagline band) ---------- */
.promise { background: var(--white); padding-block: clamp(44px, 6vw, 80px); }
.promise figure { margin: 0 auto; }
.promise blockquote { margin: 0; max-width: 980px; position: relative; padding-left: clamp(0px, 4vw, 56px); }
.promise blockquote::before { content: "“"; position: absolute; left: -6px; top: -0.32em; font-size: clamp(4rem, 8vw, 7rem); line-height: 1; font-weight: 800; color: var(--violet); opacity: .9; }
.promise blockquote p { font-size: clamp(1.3125rem, 2.3vw, 1.875rem); font-weight: 620; line-height: 1.38; letter-spacing: -0.015em; color: var(--navy); }
.promise figcaption { margin-top: 18px; padding-left: clamp(0px, 4vw, 56px); font-weight: 650; color: var(--violet-deep); }
@media (max-width: 620px) { .promise blockquote { padding-top: 40px; } .promise blockquote::before { top: -10px; left: -4px; } }
.network-copy p.kick { font-size: 1.25rem; font-weight: 760; color: var(--navy); letter-spacing: -0.01em; }

/* ---------- Services: one-liner + bullets ---------- */
.services > li > p { margin-top: 8px; color: var(--navy); font-weight: 560; }
.services .bullets { list-style: none; margin: 12px 0 0; padding: 0; }
.services .bullets li { position: relative; padding: 3px 0 3px 20px; color: var(--slate); font-size: .96875rem; line-height: 1.45; border: 0; }
.services .bullets li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: var(--violet); }

/* ---------- Testimonial cards v2: photo + name / logo + quote ---------- */
.quote { display: grid; grid-template-columns: 76px minmax(0, 1fr); grid-template-areas: "av who" "logo quote"; column-gap: 16px; row-gap: 14px; align-items: start; width: clamp(280px, 27vw, 380px); padding: 22px 22px 24px; }
.quote .avatar { grid-area: av; justify-self: center; width: 56px; height: 56px; }
.quote .who { grid-area: who; align-self: center; display: block; font-size: 1rem; color: var(--on-dark); line-height: 1.3; }
.quote .who strong { display: block; color: #fff; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.quote .who .q-role { display: block; font-size: .875rem; margin-top: 2px; }
.quote .q-logo { grid-area: logo; justify-self: center; align-self: start; height: auto; max-height: 30px; max-width: 76px; margin-top: 4px; }
.quote blockquote { grid-area: quote; margin: 0; font-size: 1.0625rem; line-height: 1.5; }

/* ---------- Photos that grow into place when scrolled into view ---------- */
.js-grow .grow { transform: scale(.86); opacity: .6; transition: transform 1.5s cubic-bezier(.2,.7,.2,1), opacity 1.5s ease; }
.js-grow .grow.in { transform: none; opacity: 1; }

/* ---------- Page head with photo (services) ---------- */
.page-head.has-photo { padding-top: clamp(24px, 3vw, 40px); padding-bottom: clamp(32px, 4vw, 48px); }
.page-head-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.page-head-photo { margin: 0; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 5; max-height: 420px; justify-self: end; }
.page-head-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 10%; }
@media (max-width: 860px) { .page-head-grid { grid-template-columns: 1fr; } .page-head-photo { justify-self: start; max-width: 320px; } }

/* testimonial logos: optical fine-tuning per brand */
.quote { grid-template-columns: 86px minmax(0, 1fr); }
.quote .q-logo { max-width: 80px; }
.quote .q-logo--arx-robotics { max-height: 40px; }
.quote .q-logo--rheinmetall-iceye { max-width: 86px; max-height: 34px; }
.quote .q-logo--merantix-momentum { max-width: 86px; }
.quote .q-logo--arise { max-width: 62px; }

/* about: name story (Finance + Anticipate) */
.name-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.name-eq { margin: 0; display: flex; flex-direction: column; gap: .12em; font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.name-eq .ln { display: block; white-space: nowrap; }
.name-eq b { font-weight: inherit; }
.name-eq i { font-style: normal; color: rgba(255,255,255,.28); }
.name-eq .a { color: var(--cyan); }
.name-eq .b { color: #8a63f0; }
.name-eq .res { margin-top: .3em; padding-top: .3em; border-top: 3px solid rgba(255,255,255,.18); }
.name-eq .res .a, .name-eq .res .b { color: #fff; }
.name-eq .res b { padding-bottom: .12em; background: linear-gradient(var(--cyan), var(--cyan)) 0 100% / 100% 4px no-repeat; }
.name-eq .res .b { background-image: linear-gradient(var(--violet), var(--violet)); }
.name-eq { width: fit-content; }
.name-copy p { margin-top: 16px; color: var(--on-dark); font-size: 1.0625rem; line-height: 1.65; max-width: 36em; }
.name-copy h2 { color: #fff; }
@media (max-width: 820px) { .name-grid { grid-template-columns: 1fr; } }
.name-eq .res { padding-bottom: .16em; }

.tagline-band a { color: inherit; text-decoration: none; }
.tagline-band a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }

/* mobile menu: compact dropdown under the burger, photo stays visible */
@media (max-width: 1120px) {
  .nav { left: auto; right: var(--gutter); top: 68px; width: max-content; min-width: 210px; max-width: calc(100vw - 2 * var(--gutter)); padding: 6px 20px; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; box-shadow: 0 16px 40px rgba(3,6,30,.45); }
  .nav a { padding: 12px 0; font-size: 1.0625rem; }
  .nav a:first-child { border-top: 0; }
}

/* name story: brand-gradient wave along the bottom edge */
.name-story { position: relative; overflow: hidden; padding-top: clamp(60px, 8vw, 96px); padding-bottom: clamp(90px, 10vw, 140px); }
.name-story .wrap { position: relative; z-index: 1; }
.name-wave { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: clamp(80px, 10vw, 148px); pointer-events: none; }

.section-head p a { color: var(--violet); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.section-head p a:hover { color: var(--navy); }

/* hero photo: fixed proportions on desktop, independent of text length (EN/DE identical) */
@media (min-width: 861px) {
  .hero-photo { align-self: start; min-height: 0; aspect-ratio: 10 / 17; }
}

/* mobile: sticky booking button at the bottom after the first section, hidden near contact */
.sticky-cta { display: none; }
@media (max-width: 1120px) {
  .sticky-cta { display: flex; position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 60;
    align-items: center; justify-content: center; gap: 8px; padding: 14px 18px; border-radius: 999px;
    background: var(--violet); color: #fff; font-weight: 700; font-size: 1rem; text-decoration: none;
    box-shadow: 0 12px 30px rgba(3, 6, 30, .35); transform: translateY(160%); visibility: hidden;
    transition: transform .28s ease, visibility .28s; }
  .sticky-cta.show { transform: none; visibility: visible; }
  .sticky-cta:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
}
@media (prefers-reduced-motion: reduce) { .sticky-cta { transition: none; } }

/* about photo: taller 3:4 crop so the hall ceiling stays visible */
.about-photo { aspect-ratio: 3 / 4; }

/* tools & partners page */
.tool-legend { display: flex; align-items: center; gap: 10px; color: var(--slate); font-size: .9375rem; margin-bottom: 8px; }
.tool-group { margin-top: clamp(56px, 7vw, 88px); }
.tool-group h2 { margin-bottom: 20px; }
.tool-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.tool-card { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 18px 20px; border: 1px solid rgba(11,17,69,.12); border-radius: 14px; background: #fff; color: var(--navy); text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease; }
.tool-card:hover { border-color: var(--violet); box-shadow: 0 8px 24px rgba(11,17,69,.08); }
.tool-card:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; }
.tool-card.is-partner { border-color: rgba(103,58,225,.45); background: linear-gradient(180deg, rgba(103,58,225,.05), #fff 60%); }
.tool-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tool-head strong { font-size: 1.0625rem; font-weight: 750; }
.tool-desc { font-size: .9375rem; line-height: 1.5; color: var(--slate); }
.tool-badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; background: var(--violet); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .01em; white-space: nowrap; }
.tools-link { margin-top: 28px; }
@media (prefers-reduced-motion: reduce) { .tool-card { transition: none; } }

/* services: who I work with */
.audience-section { }
.audience { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.audience li { padding: 22px 24px; border-radius: 16px; border: 1px solid rgba(11,17,69,.12); border-top: 4px solid var(--violet); background: #fff; }
.audience li:nth-child(2) { border-top-color: var(--cyan); }
.audience li:nth-child(3) { border-top-color: var(--orange); }
.audience h3 { font-size: 1.125rem; font-weight: 750; color: var(--navy); }
.audience p { margin-top: 8px; color: var(--slate); line-height: 1.55; }
@media (max-width: 860px) { .audience { grid-template-columns: 1fr; } }

/* restructure: tinted roles band on services, facts strip under client logos, compact role tiles on home */
.section-tint { background: var(--tint); }
.facts-strip { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.85fr) minmax(0, 1.05fr); gap: 0 clamp(20px, 3vw, 40px); max-width: 1140px; margin: clamp(36px, 5vw, 56px) auto 0; }
.facts-strip li { border-top: 1px solid rgba(11,17,69,.15); border-bottom: 0 !important; padding: 18px 0 0; }
.facts-strip strong { color: var(--navy); }
@media (max-width: 860px) { .facts-strip { grid-template-columns: repeat(1, minmax(0, 1fr)); row-gap: 20px; } }
.role-tiles { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.role-tile { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 24px 26px; border-radius: 18px; background: var(--navy); color: #fff; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.role-tile:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(11,17,69,.18); }
.role-tile:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; }
.role-tile h3 { font-size: 1.25rem; font-weight: 780; color: #fff; }
.role-tile p { color: var(--on-dark); line-height: 1.55; flex: 1; }
.role-more { color: var(--cyan); font-weight: 650; font-size: .9375rem; }
@media (max-width: 860px) { .role-tiles { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .role-tile { transition: none; } .role-tile:hover { transform: none; } }
#roles, #financipate { scroll-margin-top: 90px; }

/* testimonials with real quotes: content starts at the top, a bit wider on desktop, stacked on phones */
.quote { align-content: start; width: clamp(300px, 32vw, 460px); }
@media (max-width: 620px) {
  .quote { grid-template-columns: 56px minmax(0, 1fr); grid-template-areas: "av who" "logo logo" "quote quote"; width: min(84vw, 340px); }
  .quote .q-logo { justify-self: start; margin-top: 2px; }
}

/* testimonial card v3: header row (photo, name/role, company logo right), quote full width below */
.quote { grid-template-columns: 56px minmax(0, 1fr) auto; grid-template-areas: "av who logo" "quote quote quote"; column-gap: 14px; row-gap: 16px; align-items: center; align-content: start; width: clamp(340px, 36vw, 520px); }
.quote .avatar { justify-self: start; }
.quote .q-logo { justify-self: end; align-self: center; margin: 0; max-height: 30px; max-width: 96px; }
.quote blockquote { align-self: start; }
@media (max-width: 620px) {
  .quote { grid-template-columns: 48px minmax(0, 1fr) auto; grid-template-areas: "av who logo" "quote quote quote"; width: min(86vw, 360px); }
  .quote .avatar { width: 48px; height: 48px; }
  .quote .q-logo { justify-self: end; max-width: 72px; max-height: 26px; }
}
.quote .q-logo--arx-robotics { max-height: 38px; }
.quote .q-logo--arise { max-width: 76px; max-height: 22px; }
.quote .q-logo--rheinmetall-iceye { max-width: 112px; max-height: 32px; }
.quote .q-logo--merantix-momentum { max-width: 104px; }
.quote .q-logo--lateration { max-width: 100px; }
@media (max-width: 620px) { .quote .q-logo--rheinmetall-iceye { max-width: 88px; } .quote .q-logo--arise { max-width: 64px; } }

/* testimonial card v4: company logo on top (left), then photo + name/role, then quote */
.quote { grid-template-columns: 56px minmax(0, 1fr); grid-template-areas: "logo logo" "av who" "quote quote"; row-gap: 14px; }
.quote .q-logo { justify-self: start; align-self: start; max-height: 28px; max-width: 120px; margin-bottom: 4px; }
.quote .who strong { white-space: normal; overflow: visible; }
@media (max-width: 620px) {
  .quote { grid-template-columns: 48px minmax(0, 1fr); grid-template-areas: "logo logo" "av who" "quote quote"; }
  .quote .q-logo { justify-self: start; max-width: 110px; max-height: 26px; }
}
.quote .q-logo--arise { max-width: 84px; max-height: 24px; }
.quote .q-logo--arx-robotics { max-height: 36px; }
/* partner logos on tools page: fixed height, natural proportions, no effects (brand rules) */
.tool-logo { display: block; height: 28px; width: auto; max-width: 160px; }
/* testimonial logos: ARX (symbol) and Rheinmetall ICEYE (two-line wordmark) read smaller than the others at equal height */
.quote .q-logo--arx-robotics { max-height: 46px; }
.quote .q-logo--rheinmetall-iceye { max-height: 38px; max-width: 132px; }
@media (max-width: 620px) {
  .quote .q-logo--arx-robotics { max-height: 40px; }
  .quote .q-logo--rheinmetall-iceye { max-height: 34px; max-width: 116px; }
}
/* fixed logo row so avatar and name sit at the same height in every testimonial card */
.quote { grid-template-rows: 46px auto auto; align-content: start; }
.quote .q-logo { align-self: center; margin: 0; }
@media (max-width: 620px) { .quote { grid-template-rows: 40px auto auto; } }
/* about page: photos fill their column (no empty space below), principles and career in two columns on desktop,
   wide but short photos on mobile so the page gets shorter */
@media (min-width: 861px) {
  .about-grid, .approach { align-items: stretch; }
  .about-top .about-photo, .approach-photo { position: static; aspect-ratio: auto; height: 100%; min-height: 440px; }
  .about-top .about-photo img { object-position: 50% 55%; }
  .approach-photo img { object-position: 50% 35%; }
  .approach > div > .principles { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .principles li { padding: 20px 0 20px 24px; }
  .principles li::before { top: 29px; }
  .career { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
  .career li { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 860px) {
  .about-top .about-photo { max-width: none; aspect-ratio: 4 / 3; }
  .about-top .about-photo img { object-position: 50% 45%; }
  .approach-photo { max-width: none; aspect-ratio: 16 / 10; }
  .approach-photo img { object-position: 50% 30%; }
}
@media (min-width: 861px) { .approach { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
@media (max-width: 860px) { .about-copy > p { font-size: 1rem; margin-top: 16px; } .about-copy .lead-strong { font-size: 1.1875rem; } }
/* personal photo above the contact headline */
.contact-photo { display: block; width: 104px; height: 104px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(255,255,255,.85); margin-bottom: 22px; }
@media (max-width: 860px) { .contact-photo { width: 84px; height: 84px; margin-bottom: 18px; } }
@media (max-width: 860px) { .approach-photo img { object-position: 50% 12%; } }
@media (min-width: 861px) { .approach-photo img { object-position: 50% 20%; } }
/* testimonial card v3: avatar + name left, company logo top right (linked), quote full width below */
.quote { grid-template-columns: 56px minmax(0, 1fr) auto; grid-template-rows: auto auto; grid-template-areas: "av who logo" "quote quote quote"; column-gap: 14px; row-gap: 18px; }
.quote .avatar { align-self: start; }
.quote .who { align-self: start; padding-top: 6px; }
.quote .q-logo-link { grid-area: logo; justify-self: end; align-self: start; display: block; padding-top: 4px; }
.quote .q-logo { display: block; max-height: 30px; max-width: 100px; margin: 0; }
.quote .q-logo--arx-robotics { max-height: 42px; }
.quote .q-logo--rheinmetall-iceye { max-height: 34px; max-width: 110px; }
.quote .q-logo--arise { max-height: 22px; max-width: 80px; }
.quote .q-logo-link:hover .q-logo, .logo-wall a:hover img { opacity: .75; }
.logo-wall a { display: block; }
@media (max-width: 620px) {
  .quote { grid-template-columns: 48px minmax(0, 1fr) auto; grid-template-areas: "av who logo" "quote quote quote"; column-gap: 12px; }
  .quote .q-logo { max-height: 24px; max-width: 78px; }
  .quote .q-logo--arx-robotics { max-height: 34px; }
  .quote .q-logo--rheinmetall-iceye { max-height: 28px; max-width: 88px; }
  .quote .q-logo--arise { max-height: 18px; max-width: 64px; }
}
/* Jan's role at the client, small label above the quote */
.quote { grid-template-rows: auto auto auto; grid-template-areas: "av who logo" "mine mine mine" "quote quote quote"; }
.quote .q-mine { grid-area: mine; margin: 0 0 -8px; font-size: .8125rem; font-weight: 650; letter-spacing: .01em; color: var(--cyan); }
@media (max-width: 620px) { .quote { grid-template-areas: "av who logo" "mine mine mine" "quote quote quote"; } }

/* about: employers before going independent, as logo cards */
.employers { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
.employers li { display: flex; flex-direction: column; gap: 6px; padding-top: 22px; border-top: 1px solid var(--rule); }
.employers .emp-mark { display: flex; align-items: center; height: 48px; margin-bottom: 10px; }
.employers .emp-mark img { display: block; max-width: 100%; height: auto; }
.employers .yrs { color: var(--slate); font-variant-numeric: tabular-nums; font-size: .96875rem; }
.employers strong { font-weight: 680; line-height: 1.35; }
.career-wrap .edu { margin: 28px 0 0; color: var(--slate); font-size: .96875rem; }
@media (max-width: 760px) {
  .employers { grid-template-columns: 1fr; gap: 0; }
  .employers li { padding: 20px 0; }
}
.employers li { gap: 14px; }
.employers .emp-mark { margin-bottom: 0; }
.employers .emp-role { display: flex; flex-direction: column; gap: 2px; }
.career-wrap .edu strong { color: var(--navy); font-weight: 680; }


/* services: "stage over sector" and "network" as tinted panels so they read as part of their section;
   role cards carry the same three accent colours as the audience cards */
.sectors { margin-top: 20px; padding: clamp(28px, 4vw, 44px); border-radius: 20px; background: var(--tint); align-items: center; }
.network { margin-top: 24px; }
.roles .role:nth-child(1), .role-tiles li:nth-child(1) .role-tile { border-top: 4px solid var(--violet); }
.roles .role:nth-child(2), .role-tiles li:nth-child(2) .role-tile { border-top: 4px solid var(--cyan); }
.roles .role:nth-child(3), .role-tiles li:nth-child(3) .role-tile { border-top: 4px solid var(--orange); }

/* tool logos: sized so the lettering of every wordmark has the same optical height (~14.5px cap height),
   regardless of icon or padding in the file; negative margins keep every card head the same height */
.tool-head { min-height: 30px; }
.tool-logo { width: auto; max-width: none; }
.tool-logo[src*="agicap"]   { height: 21px; }
.tool-logo[src*="atlar"]    { height: 20px; }
.tool-logo[src*="finway"]   { height: 23px; }
.tool-logo[src*="flowers"]  { height: 28px; }
.tool-logo[src*="finokapi"] { height: 29px; }
.tool-logo[src*="tidely"]   { height: 31px; margin-block: -1px; }
.tool-logo[src*="helu"]     { height: 42px; margin-block: -9px -3px; }
.tool-logo[src*="payhawk"] { height: 19px; }
.tool-logo[src*="candis"] { height: 20px; }

/* headings: the tight letter-spacing also shrinks the spaces, so give words a little air back */
h1, h2, h3, .h1, .h2, .h3, .tagline-band p, .facts strong, .contact h2 { word-spacing: 0.08em; }
/* smaller headings (h3 level): tight tracking only suits large display sizes, so loosen it here */
h3, .h3, .role h3, .network h3 { letter-spacing: -0.005em; line-height: 1.2; }

/* two white sections in a row (services: who I work with -> three roles): no double padding,
   so the gap matches the gap before a tinted section */
.audience-section + .roles-section { padding-top: 0; }
button { font-family: inherit; }

/* before going independent: same three accent colours as the other three-column blocks */
.employers li { border-top: 3px solid var(--violet); }
.employers li:nth-child(2) { border-top-color: var(--cyan); }
.employers li:nth-child(3) { border-top-color: var(--orange); }
/* tools page: larger photo next to the longer intro */
.page-head-photo:has(img[src*="jan-dick-tools"]) { max-height: 540px; }

/* home: on laptops and desktops the hero + "Anticipate your financial future" band fit the first screen */
@media (min-width: 861px) {
  .hero-photo { min-height: 0; aspect-ratio: 10 / 17; width: auto; height: clamp(380px, calc(100svh - 76px - var(--band-h, 92px) - var(--hero-pad, 104px) - 4px), 760px); }
  .hero-grid { --hero-pad: calc(clamp(24px, 3vw, 40px) + clamp(40px, 5vw, 64px)); grid-template-columns: auto minmax(0, 1fr); }
}
@media (min-width: 861px) and (max-height: 860px) {
  .hero-grid { padding-block: 18px 26px; --hero-pad: 44px; }
  .hero h1 { font-size: clamp(2rem, 3.3vw, 2.875rem); }
  .hero-claim { margin-top: 14px; font-size: clamp(1.125rem, 1.6vw, 1.3125rem); }
  .hero-lead { margin-top: 10px; }
  .hero-actions { margin-top: 20px; }
}
:root { --band-h: calc(clamp(1.375rem, 3.2vw, 2.375rem) * 1.2 + 2 * clamp(14px, 2vw, 22px)); }
.faq details .faq-more { padding: 0 0 28px; margin-top: -8px; }

/* QA: Touch-Ziele auf dem Handy vergrößern */
@media (max-width: 860px) {
  .lang a { padding: 9px 12px; }
  .site-footer nav { gap: 2px 24px; }
  .site-footer nav a { padding-block: 7px; }
}
.nb { white-space: nowrap; }
