:root{
  /* Surfaces + text. Contrast (WCAG): text-muted 5.7:1 on paper, 5.2:1 on paper-2;
     on-ink 15:1 and on-ink-muted 7:1 on ink; cyan 9:1 on ink but only 1.8:1 on paper,
     so on paper cyan is never used for text or focus, only for decorative details. */
  --paper:#F3F5F5;
  --paper-2:#E7ECED;
  --ink:#0E1A20;
  --text:#14171A;
  --text-muted:#5E6166;
  --line:#D2DADC;
  --edge:rgb(20 23 26 / .22);  /* outline of ghost buttons: visible, but quieter than ink */
  --on-ink:#EEF2F3;
  --on-ink-muted:#9AA5AB;
  --line-on-ink:rgba(238,242,243,.14);
  --cyan:#00cde7;

  --max:1180px;
  --gutter:clamp(20px, 5vw, 64px);
  --section-y:clamp(88px, 11vw, 144px);
  --ff:'Schibsted Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ff-serif:'Newsreader', Georgia, 'Times New Roman', serif;

  /* Motion */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-hover: ease;
  --dur-press: 120ms;
  --dur-hover: 200ms;
  --dur-moderate: 350ms;
  --dur-glide: 500ms;
  --dur-transition: 480ms;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  /* Elevation — only on photography */
  --shadow-md: 0 24px 48px -24px rgba(14,26,32,.28);
}

*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;overflow-x:hidden;}
body{
  margin:0;
  font-family:var(--ff);
  font-size:17px;
  line-height:1.6;
  color:var(--text);
  background:var(--paper);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
ul,ol{margin:0;padding:0;list-style:none;}
h1,h2,h3,h4,p,figure,dl,dd{margin:0;}
h1,h2,h3,h4{
  font-family:var(--ff-serif);
  font-weight:400;
  font-optical-sizing:auto;
  letter-spacing:-.015em;
}
em{font-style:italic;}

:focus-visible{outline:2px solid var(--ink);outline-offset:3px;border-radius:2px;}
.weg :focus-visible{outline-color:var(--on-ink);}
::selection{background:rgb(0 205 231 / .99);color:var(--ink);}

/* PAGE TRANSITION — the rising tide (see script.js setupPageTransition).
   Parked below the screen; .is-covering rises it (ease-in-out, it crosses the whole
   screen), removing html.is-page-entering on the next page drains it (ease-out).
   The crest sits on top of the layer, so it is offscreen whenever the layer covers. */
.page-transition{
  position:fixed;
  inset:0;
  z-index:2000;
  pointer-events:none;
  background:var(--ink);
  transform:translateY(calc(100% + 48px));
  transition:transform var(--dur-transition) var(--ease-out);
}
.page-transition.is-covering{
  transform:translateY(0);
  transition:transform 520ms var(--ease-in-out);
}
html.is-page-entering .page-transition{transform:translateY(0);transition:none;}
.tide__crest{position:absolute;left:0;bottom:100%;width:100%;height:48px;}
.tide__water{fill:var(--ink);}
.tide__line{fill:none;stroke:var(--cyan);stroke-width:2px;vector-effect:non-scaling-stroke;}
@media (prefers-reduced-motion: reduce){
  .page-transition{display:none;}
}

/* LANGUAGE CROSSFADE (see i18n.js toggleLang). Transitions are only declared while a
   swap runs, so they never linger on the text. */
html.is-lang-swapping [data-i18n]{
  opacity:0;
  filter:blur(2px);
  transition:opacity 120ms ease, filter 120ms ease;
}
html.is-lang-settling [data-i18n]{transition:opacity 180ms ease, filter 180ms ease;}

/* NAV */
.nav{
  position:fixed;top:0;left:0;right:0;
  height:72px;
  display:flex;align-items:center;justify-content:space-between;
  padding:0 var(--gutter);
  z-index:1000;
  background:rgb(243 245 245 / .82);
  backdrop-filter:saturate(180%) blur(14px);
  -webkit-backdrop-filter:saturate(180%) blur(14px);
  border-bottom:1px solid transparent;
  transition:border-bottom-color var(--dur-hover) var(--ease-hover);
}
.nav.is-scrolled{border-bottom-color:var(--line);}
/* Brand: the logo split in two so the B's stripes can rise into place. The circle is
   CSS, the stripes are logo.png's white pixels (assets/mark-stripes.png) clipped into
   three bands along the stripe angle; the wordmark is logo.png's own lettering. Sizes
   are in em of the circle so the proportions match logo.png exactly. */
.nav__brand{display:flex;align-items:baseline;font-size:31px;translate:0 -.1em;} /* re-centres the nudged circle in the bar */
/* The mark's bottom edge is its baseline; nudged down so the circle sits .203em below
   the wordmark's baseline, exactly as in logo.png. */
.mark{position:relative;top:.203em;flex:none;width:1em;height:1em;border-radius:50%;overflow:hidden;background:var(--cyan);}
.mark i{position:absolute;inset:0;background:url(assets/mark-stripes.png) center/100% 100% no-repeat;}
.mark i:nth-child(1){clip-path:polygon(0 0,100% 0,100% 9.1%,0 63.4%);}
.mark i:nth-child(2){clip-path:polygon(0 63.4%,100% 9.1%,100% 28.4%,0 82.7%);}
.mark i:nth-child(3){clip-path:polygon(0 82.7%,100% 28.4%,100% 100%,0 100%);}
.brand__word{display:flex;align-items:baseline;margin-left:.278em;}
.nav__wordmark{width:auto;height:.307em;}
.brand__by{
  margin-left:10px;
  font-family:var(--ff-serif);
  font-style:italic;
  font-size:18px;
  line-height:1;
  white-space:nowrap;
  color:var(--text);
}

/* Logo-mark intro — first page of a session only (html.is-intro, set in <head>).
   The stripes surface from below the circle's edge, bottom one first; then the
   wordmark settles in. Keyframes on purpose: it plays once while the page is still
   busy loading, and CSS animations run off the main thread. */
html.is-intro .mark i{animation:stripe-rise 420ms var(--ease-out) both;}
html.is-intro .mark i:nth-child(2){animation-delay:90ms;}
html.is-intro .mark i:nth-child(1){animation-delay:180ms;}
html.is-intro .brand__word{animation:wordmark-in 400ms var(--ease-out) 300ms both;}
@keyframes stripe-rise{from{transform:translateY(40%);opacity:0;}}
@keyframes wordmark-in{from{transform:translateX(-6px);opacity:0;}}
@media (prefers-reduced-motion: reduce){
  html.is-intro .mark i, html.is-intro .brand__word{animation:none;}
}
.nav__links{display:flex;align-items:center;gap:36px;}
.nav__section-links a,.nav__cta{position:relative;padding:4px 0;}
.nav__section-links a::after{
  content:'';
  position:absolute;left:0;right:0;bottom:0;
  height:2px;background:var(--cyan);
  transform:scaleX(0);
  transform-origin:left;
  transition:transform var(--dur-hover) var(--ease-out);
}
@media (hover:hover) and (pointer:fine){
  .nav__section-links a:hover::after{transform:scaleX(1);}
}

/* Section links live in their own wrapper so the shared scroll-spy indicator can use
   plain bottom:0 against a box that is exactly the links' own height (the language
   toggle and Contact button are taller). See script.js setupNavIndicator. */
.nav__section-links{position:relative;display:flex;align-items:center;gap:30px;font-family:var(--ff-serif);font-size:18px;letter-spacing:-.005em;}
.nav__indicator{
  position:absolute;
  left:0;bottom:0;
  height:2px;
  border-radius:1px;
  background:var(--cyan);
  opacity:0;
  pointer-events:none;
  transition:left var(--dur-glide) var(--ease-in-out), width var(--dur-glide) var(--ease-in-out), opacity .3s ease;
}
.nav__indicator.is-visible{opacity:1;}
@media (prefers-reduced-motion: reduce){
  .nav__indicator{transition:opacity .3s ease;}
}
.nav__links a.nav__cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  white-space:nowrap;
  line-height:1;
  padding:11px 20px;
  border:1px solid var(--edge);
  border-radius:var(--radius-pill);
  font-size:14px;
  font-weight:600;
  transition:background-color var(--dur-hover) var(--ease-hover), color var(--dur-hover) var(--ease-hover), border-color var(--dur-hover) var(--ease-hover), transform var(--dur-press) var(--ease-out);
}

/* Language switch: <lang-switch> from lang-switch.css, here in the site's colours */
lang-switch{--ls-ink:var(--text);--ls-paper:var(--paper);font-size:15px;}
.mobile-menu__lang{align-self:flex-start;margin-top:12px;font-size:19px;}

@media (hover:hover) and (pointer:fine){
  .nav__cta:hover{background:var(--ink);border-color:var(--ink);color:var(--on-ink);}
}

.nav__toggle{
  display:none;
  flex-direction:column;
  gap:5px;
  background:none;border:none;cursor:pointer;padding:8px;
}
.nav__toggle span{
  width:22px;height:2px;background:var(--text);
  transition:transform var(--dur-hover) var(--ease-in-out), opacity var(--dur-hover) var(--ease-hover);
}
.nav__toggle.is-open span:nth-child(1){transform:translateY(7px) rotate(45deg);}
.nav__toggle.is-open span:nth-child(2){opacity:0;}
.nav__toggle.is-open span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}
@media (prefers-reduced-motion: reduce){
  .nav__toggle span{transition:none;}
}

.mobile-menu{
  position:fixed;top:72px;left:0;right:0;bottom:0;
  background:rgb(243 245 245 / .94);
  backdrop-filter:saturate(180%) blur(20px);
  -webkit-backdrop-filter:saturate(180%) blur(20px);
  z-index:999;
  display:flex;flex-direction:column;
  padding:32px var(--gutter);
  gap:24px;
  font-family:var(--ff-serif);
  font-size:34px;
  letter-spacing:-.015em;
  transform:translateY(-110%);
  transition:transform var(--dur-moderate) var(--ease-drawer);
}
.mobile-menu.is-open{transform:translateY(0);}
@media (prefers-reduced-transparency: reduce){
  .nav, .mobile-menu{background:var(--paper); backdrop-filter:none; -webkit-backdrop-filter:none;}
}

@media (max-width:1000px){
  .nav__links{display:none;}
  .nav__toggle{display:flex;}
}

/* BUTTONS + LINKS */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:16px 28px;
  border:1px solid transparent; /* same box as .btn--ghost, so both sit level */
  border-radius:var(--radius-pill);
  font-family:var(--ff);
  font-weight:600;
  font-size:15px;
  line-height:1;
  cursor:pointer;
  transition:background-color var(--dur-hover) var(--ease-hover), color var(--dur-hover) var(--ease-hover), border-color var(--dur-hover) var(--ease-hover), transform var(--dur-press) var(--ease-out);
}
.btn--primary{background:var(--ink);color:var(--on-ink);}
.btn--ghost{background:none;color:var(--text);border-color:var(--edge);}
.btn--ghost::after{content:'→';transition:transform var(--dur-hover) var(--ease-out);}
@media (hover:hover) and (pointer:fine){
  .btn--primary:hover{background:var(--cyan);color:var(--ink);}
  .btn--ghost:hover{border-color:var(--text);}
  .btn--ghost:hover::after{transform:translateX(3px);}
}
.btn:active, .nav__cta:active{transform:scale(.97);}

/* SECTION GENERIC */
section{padding:var(--section-y) var(--gutter);}
.section-head{max-width:var(--max);margin:0 auto clamp(48px,6vw,80px);}
.section-title{
  font-size:clamp(36px,4.6vw,64px);
  line-height:1.04;
  letter-spacing:-.02em;
  margin-bottom:28px;
  text-wrap:balance;
}
.lede{font-size:17px;line-height:1.65;color:var(--text-muted);max-width:56ch;}
.lede p + p{margin-top:16px;}

/* Two-column editorial layout: sticky heading left, content right */
.split{
  max-width:var(--max);margin:0 auto;
  display:grid;
  grid-template-columns:minmax(0,5fr) minmax(0,7fr);
  gap:clamp(40px,7vw,112px);
}
.split__head{align-self:start;position:sticky;top:120px;}
@media (max-width:900px){
  .split{grid-template-columns:1fr;}
  .split__head{position:static;}
}

/* HERO */
.hero{padding:clamp(112px,12vw,148px) var(--gutter) clamp(64px,8vw,104px);}
.hero__inner{
  max-width:var(--max);margin:0 auto;
  display:grid;
  grid-template-columns:minmax(0,1.3fr) minmax(0,.7fr);
  gap:clamp(40px,6vw,88px);
  align-items:center;
}
/* Desktop: the headline only breaks at its <br>s, so DE and EN are both exactly three
   lines and switching language never changes the hero's height. The size is set so the
   longest line of either language ("Buoyancy sorgt für Ihren", 10.5em) fits the
   text column: that column is ~54.6vw wide, or 710px once the page hits its max width. */
.hero__headline{
  font-size:clamp(42px,5.1vw,66px);
  line-height:1.02;
  letter-spacing:-.025em;
  margin-bottom:28px;
  text-wrap:balance;
}
@media (min-width:901px){
  .hero__headline{white-space:nowrap;}
  /* The intro runs 4 lines in German, 3 in English: always reserve 4 (line-height 1.6),
     so the buttons and stats below sit at the same height in both languages. */
  .hero__sub{min-height:6.4em;}
}
.hero__sub{
  font-size:clamp(17px,1.5vw,19px);
  line-height:1.6;
  color:var(--text-muted);
  max-width:560px;
  margin-bottom:36px;
}
.hero__actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;}
@media (max-width:480px){
  .hero__actions .btn{width:100%;} /* too narrow for two side by side: stack them equal */
}
.hero__portrait{
  border-radius:var(--radius-lg);
  overflow:hidden;
  aspect-ratio:4/5;
  background:var(--paper-2);
  box-shadow:var(--shadow-md);
}
.hero__portrait img{width:100%;height:100%;object-fit:cover;}
@media (max-width:900px){
  .hero__inner{grid-template-columns:1fr;}
  .hero__media{order:-1;width:min(64%,300px);}
  .hero__headline{font-size:clamp(42px,8vw,64px);}
  .hero__headline br{display:none;} /* stacked layout: let it wrap naturally */
}
/* Upright, "unternehmerischen" is wider than it was in italic: on the smallest phones it needs a size step down. */
@media (max-width:360px){.hero__headline{font-size:35px;}}

/* Sink & rise — scrolling out of the hero, the words sink and the portrait floats up:
   heavy things sink, light things rise. Scroll-linked, so linear by definition. On the
   wrappers, so the two transforms never fight. Browsers
   without scroll-driven animations simply keep the hero still.
   Two-column layout only: the 56px sink must stay inside the hero's bottom padding
   (≥72px from 901px up), otherwise the words slide into the logo strip — which is what
   happened on phones, where the stacked hero is taller than the screen. */
@supports (animation-timeline: scroll()){
  @media (prefers-reduced-motion: no-preference) and (min-width:901px){
    .hero__text,.hero__media{animation:linear both;animation-timeline:scroll(root);animation-range:0 100vh;}
    .hero__text{animation-name:hero-sink;}
    .hero__media{animation-name:hero-rise;}
  }
}
@keyframes hero-sink{to{transform:translateY(56px);opacity:.3;}}
@keyframes hero-rise{to{transform:translateY(-56px);}}

.stat-row{
  display:flex;
  flex-wrap:wrap;
  gap:20px clamp(28px,4vw,56px);
  margin-top:56px;
  padding-top:28px;
  border-top:1px solid var(--line);
}
.stat{display:flex;align-items:center;gap:12px;}
.stat__num{
  font-family:var(--ff-serif);
  font-size:clamp(34px,3.2vw,42px);
  line-height:1;
  letter-spacing:-.02em;
  font-variant-numeric:lining-nums;
}
.stat__label{font-size:13px;line-height:1.35;color:var(--text-muted);max-width:13ch;}

/* LOGO STRIP — one group in the markup, cloned to 8 by script.js; the keyframe moves the
   track by exactly -12.5% (= one copy), so the loop is seamless at any width. */
.logo-strip{
  overflow:hidden;
  padding:28px 0;
  border-block:1px solid var(--line);
  -webkit-mask-image:linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image:linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.logo-strip__track{display:flex;width:max-content;}
.logo-strip__track.is-running{animation:marquee 60s linear infinite;}
.logo-strip__group{display:flex;align-items:center;gap:72px;padding-right:72px;}
.logo-strip img{height:var(--h,26px);width:auto;filter:grayscale(1) brightness(var(--b,1));mix-blend-mode:multiply;opacity:.55;} /* --b darkens logos whose colours grey out too pale */
.logo-strip .logo-word{opacity:.55;}
@keyframes marquee{
  from{transform:translateX(0);}
  to{transform:translateX(-12.5%);}
}
@media (prefers-reduced-motion: reduce){
  .logo-strip__track.is-running{animation:none;}
}
.logo-word{font-family:var(--ff);font-weight:700;font-size:20px;letter-spacing:-.03em;white-space:nowrap;line-height:1;}

/* ABOUT */
.about,.angel{background:var(--paper-2);}
.rows{border-top:1px solid var(--line);}
.row{
  display:grid;
  padding:36px 0;
  border-bottom:1px solid var(--line);
}
.row h3,.service h3{font-size:clamp(24px,2.4vw,30px);line-height:1.15;margin-bottom:12px;}
.row p,.service p{color:var(--text-muted);max-width:60ch;}

/* BERATUNG */
.services{
  max-width:var(--max);margin:0 auto;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(28px,4vw,56px);
}
.service{border-top:1px solid var(--text);padding-top:24px;}
@media (max-width:900px){
  .services{grid-template-columns:1fr;}
}

/* BUSINESS ANGEL */
.angel__body{display:flex;flex-direction:column;gap:40px;}
.split__head .criteria{margin-top:40px;}
.criteria{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid var(--line);}
.criteria > div{padding:20px 24px 20px 0;border-bottom:1px solid var(--line);}
.criteria dt{font-size:14px;color:var(--text-muted);margin-bottom:6px;}
.criteria dd{font-family:var(--ff-serif);font-size:24px;line-height:1.3;}
/* Placeholder marker until Michael supplies the real criteria. */
.tbc{
  display:inline-block;
  font-family:var(--ff);
  font-size:12px;
  font-weight:600;
  letter-spacing:.08em;
  padding:4px 10px;
  border:1px dashed var(--text-muted);
  border-radius:var(--radius-pill);
  color:var(--text-muted);
}
.bring h3{font-size:26px;margin-bottom:12px;}
.bring li{padding:14px 0;border-bottom:1px solid var(--line);}
.angel__invite{
  font-family:var(--ff-serif);
  font-style:italic;
  font-size:clamp(21px,2.1vw,26px);
  line-height:1.4;
  max-width:36ch;
}

/* WEGBEGLEITUNG — the one deep-ink section */
.weg{position:relative;background:var(--ink);color:var(--on-ink);}

/* Waterline: a 32px band centred on each edge of the ink section. The rect paints ink,
   the path paints the neighbouring section's colour down to the wave — flat, that is
   exactly the plain section edge; script.js setupWaterline() ripples it with scroll
   speed. The bottom band is flipped, so one path shape serves both edges.
   ponytail: colours are hard-wired to the neighbours (angel above, contact below). */
.waterline{position:absolute;left:0;width:100%;height:32px;pointer-events:none;}
.waterline rect{fill:var(--ink);}
.waterline--top{top:-16px;}
.waterline--top path{fill:var(--paper-2);}
.waterline--bottom{bottom:-16px;transform:scaleY(-1);}
.waterline--bottom path{fill:var(--paper);}
.weg__group{max-width:var(--max);margin:0 auto;}
.weg__group + .weg__group{margin-top:clamp(64px,8vw,104px);}
.weg__label{
  font-style:italic;
  font-size:24px;
  color:var(--on-ink-muted);
  margin-bottom:20px;
}
.cards{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  border-top:1px solid var(--line-on-ink);
  border-left:1px solid var(--line-on-ink);
}
.card{
  display:flex;
  flex-direction:column;
  gap:28px;
  min-height:240px;
  padding:32px 28px;
  border-right:1px solid var(--line-on-ink);
  border-bottom:1px solid var(--line-on-ink);
}
.card > div{flex:1;}
.card__logo{
  height:var(--h,30px);width:auto;max-width:180px;
  margin-block:calc((40px - var(--h,30px)) / 2); /* every logo sits in the same 40px slot */
  object-fit:contain;object-position:left center;
  filter:brightness(0) invert(1);
  opacity:.9;
}
.card__logo--native{filter:none;opacity:1;} /* already drawn for ink (band-ink.svg) */
.card__role{font-family:var(--ff-serif);font-size:24px;line-height:1.2;margin-bottom:6px;}
.card__meta{font-size:14px;line-height:1.45;color:var(--on-ink-muted);}
.card__since{font-size:13px;font-weight:600;letter-spacing:.02em;color:var(--cyan);}
.card .logo-word{height:40px;margin:0;font-size:24px;filter:none;display:flex;align-items:center;}

.history{border-top:1px solid var(--line-on-ink);}
.history__row{
  display:grid;
  grid-template-columns:140px minmax(0,1fr) auto;
  gap:24px;
  align-items:baseline;
  padding:18px 0;
  border-bottom:1px solid var(--line-on-ink);
}
.history__years{font-size:13px;color:var(--on-ink-muted);font-variant-numeric:tabular-nums;}
.history__org{font-family:var(--ff-serif);font-size:21px;line-height:1.3;}
.history__role{font-size:14px;color:var(--on-ink-muted);text-align:right;}

@media (max-width:900px){
  .cards{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:640px){
  .cards{grid-template-columns:1fr;}
  .card{min-height:0;}
  .history__row{grid-template-columns:1fr;gap:4px;}
  .history__role{text-align:left;}
}

/* CONTACT */
.contact__inner{max-width:var(--max);margin:0 auto;}
.contact__headline{
  font-size:clamp(36px,5vw,72px);
  line-height:1.04;
  letter-spacing:-.02em;
  max-width:16ch;
  margin-bottom:clamp(40px,6vw,72px);
  text-wrap:balance;
}
.contact__grid{
  display:grid;
  grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);
  gap:48px;
  padding-top:40px;
  border-top:1px solid var(--line);
}
.contact__details{display:flex;flex-direction:column;align-items:flex-start;gap:14px;}
.contact__link{
  max-width:100%;
  font-family:var(--ff-serif);
  font-size:clamp(22px,2.6vw,34px);
  line-height:1.2;
  letter-spacing:-.01em;
  text-decoration:underline;
  text-decoration-color:transparent;
  text-decoration-thickness:2px;
  text-underline-offset:7px;
  transition:text-decoration-color var(--dur-hover) var(--ease-hover);
}
@media (hover:hover) and (pointer:fine){
  .contact__link:hover{text-decoration-color:var(--cyan);}
}
.contact__address p{font-size:15px;line-height:1.6;color:var(--text-muted);margin-bottom:14px;}
.contact__legal{font-size:13px;}
@media (max-width:700px){
  .contact__grid{grid-template-columns:1fr;}
}

/* FOOTER */
.footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap;
  padding:32px var(--gutter);
  border-top:1px solid var(--line);
  font-size:13px;
  color:var(--text-muted);
}
.footer__logo{height:20px;width:auto;}
.footer__legal{display:flex;gap:24px;flex-wrap:wrap;}
.footer__legal a,
.footer__credit,
.footer__cookie-btn{transition:color var(--dur-hover) var(--ease-hover);}
.footer__cookie-btn{
  font:inherit;
  color:inherit;
  background:none;
  border:none;
  padding:0;
  cursor:pointer;
}
@media (hover:hover) and (pointer:fine){
  .footer__legal a:hover,
  .footer__credit:hover,
  .footer__cookie-btn:hover{color:var(--text);}
}

/* COOKIE BANNER */
.cookie-banner{
  position:fixed;
  left:0;right:0;bottom:0;
  z-index:900;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:24px;
  flex-wrap:wrap;
  padding:20px var(--gutter);
  background:rgb(243 245 245 / .88);
  backdrop-filter:saturate(180%) blur(14px);
  -webkit-backdrop-filter:saturate(180%) blur(14px);
  border-top:1px solid var(--line);
  transform:translateY(110%);
  transition:transform var(--dur-moderate) var(--ease-drawer);
}
.cookie-banner.is-visible{transform:translateY(0);}
.cookie-banner p{
  font-size:14px;
  line-height:1.6;
  color:var(--text-muted);
  max-width:720px;
}
.cookie-banner a{
  color:var(--text);
  text-decoration:underline;
  text-decoration-color:var(--cyan);
  text-underline-offset:3px;
}
.cookie-banner__accept{flex-shrink:0;}
@media (prefers-reduced-motion: reduce){
  .cookie-banner{transition:opacity .2s ease; transform:none; opacity:0; pointer-events:none;}
  .cookie-banner.is-visible{opacity:1; pointer-events:auto;}
}
@media (prefers-reduced-transparency: reduce){
  .cookie-banner{background:var(--paper); backdrop-filter:none; -webkit-backdrop-filter:none;}
}
@media (max-width:1024px){
  .cookie-banner{
    flex-direction:column;
    align-items:stretch;
    text-align:center;
    padding:16px var(--gutter) 20px;
  }
  .cookie-banner p{max-width:none;}
  .cookie-banner__accept{width:100%;}
}

/* LEGAL PAGES */
.legal{
  max-width:800px;
  margin:0 auto;
  padding:160px var(--gutter) 120px;
}
.legal h1{
  font-size:clamp(36px,5vw,60px);
  line-height:1.05;
  letter-spacing:-.02em;
  margin-bottom:48px;
}
.legal h2{font-size:26px;margin:40px 0 12px;}
.legal p{font-size:15px;line-height:1.75;color:var(--text-muted);margin-bottom:16px;}
.legal p:last-child{margin-bottom:0;}
.legal a{color:var(--text);text-decoration:underline;text-decoration-color:var(--cyan);text-underline-offset:3px;}
.legal .legal__block{margin-bottom:40px;}
.legal .legal__meta{font-size:13px;color:var(--text-muted);margin-top:64px;}

/* Framed (agency case-study preview): no cookie banner, and no footer button that would reopen it. */
html[data-framed] .cookie-banner,
html[data-framed] .footer__cookie-btn{display:none;}
