/* KREN CI v1.0 (Oct 2026): Inter, licensed via Google Fonts (SIL OFL). */
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,400;0,600;0,700;0,800;1,700&display=swap");
/* KREN v5.2 — CI rhythm, mobile hardening, image sizing */
:root {
  --kren-font: "Inter", Arial, sans-serif;
  --black: #050505;
  --black-soft: #101010;
  --white: #f3f1ed;
  --muted: #aaa7a0;
  --line: rgba(255,255,255,.18);
  --lime: #caff00;
  --yellow: #ffe500;
  --pink: #ff2aa7;
  --blue: #315cff;
  --gradient: linear-gradient(115deg, #caff00 0%, #ffe500 34%, #ff744a 66%, #ff2aa7 100%);
  --pad: clamp(22px, 5vw, 72px);
  --header-h: 86px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  background: var(--black);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  min-width: 320px;
  font-family: var(--kren-font);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.45;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.menu-open { overflow: hidden; }
main > section { scroll-margin-top: calc(var(--header-h) + 14px); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
svg { display: block; }
img { max-width: 100%; }
::selection { background: var(--lime); color: var(--black); }

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 5px;
}

.skip-link {
  position: fixed; z-index: 999;
  left: 12px; top: -80px;
  background: var(--white); color: #000;
  padding: 10px 14px;
}
.skip-link:focus { top: 12px; }

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto 0;
  height: calc(var(--header-h) + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) var(--pad) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background .3s ease, backdrop-filter .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(5,5,5,.82);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-color: rgba(255,255,255,.10);
}

.brand {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1;
  background: var(--gradient);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.menu-button {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  padding: 10px 0 10px 10px;
  font-size: 12px;
  letter-spacing: .01em;
}
.menu-icon { width: 24px; height: 16px; display: grid; align-content: space-between; }
.menu-icon i { height: 1px; background: currentColor; display: block; transition: transform .25s, opacity .25s; }
.menu-open .menu-icon i:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-open .menu-icon i:nth-child(2) { opacity: 0; }
.menu-open .menu-icon i:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.menu-panel {
  position: fixed;
  color: var(--white);
  z-index: 90;
  inset: 0;
  padding-top: env(safe-area-inset-top);
  background: rgba(5,5,5,.985);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .3s ease, visibility .3s ease;
}
.menu-panel[aria-hidden="false"] { opacity: 1; visibility: visible; pointer-events: auto; }
.menu-panel__inner { width: min(820px, 86vw); display: grid; }
.menu-panel__inner a {
  font-size: clamp(32px, 7vw, 76px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.035em;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  transition: color .2s, padding-left .2s;
}
.menu-panel__inner a:hover { color: var(--lime); padding-left: 14px; }

.section-dark { background: var(--black); color: var(--white); }
.section-light { background: #ffffff; color: var(--black); }
.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  font-size: clamp(11px, 1vw, 13px);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: .045em;
}
.lime-text { color: var(--lime); }
.yellow-text { color: var(--yellow); }
.pink-text { color: var(--pink); }
.blue-text { color: var(--blue); }

.hero {
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  padding: calc(125px + env(safe-area-inset-top)) var(--pad) 95px;
}
.hero__content { position: relative; z-index: 2; }
.hero h1 {
  font-size: clamp(58px, 9.7vw, 148px);
  font-weight: 700;
  line-height: .84;
  letter-spacing: -.058em;
  margin: 0 0 32px;
  max-width: 900px;
}
.hero__lead {
  max-width: 29ch;
  font-size: clamp(19px, 2.2vw, 31px);
  line-height: 1.28;
  letter-spacing: -.015em;
  margin: 0 0 28px;
}
.hero__mark {
  width: min(38vw, 430px);
  justify-self: center;
  transform: translateY(var(--parallax, 0px));
  will-change: transform;
}
.hero__mark svg { width: 100%; height: auto; filter: saturate(1.1); }
.hero__dotline {
  position: absolute;
  left: var(--pad);
  bottom: 32px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .035em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero__dotline span { width: 10px; height: 10px; border-radius: 50%; background: var(--lime); }

.text-link {
  text-transform: uppercase;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: .015em;
  display: inline-flex;
  gap: 16px;
  align-items: center;
  color: var(--lime);
  transition: gap .2s ease;
}
.text-link:hover { gap: 24px; }
.text-link--dark { color: var(--black); }

.intro { padding: clamp(72px, 10vw, 150px) var(--pad); }
.content-narrow { max-width: 1050px; }
.intro h2 {
  margin: 0 0 28px;
  max-width: 14ch;
  font-size: clamp(38px, 5.4vw, 78px);
  font-weight: 700;
  line-height: .99;
  letter-spacing: -.048em;
}
.intro__body {
  max-width: 42ch;
  margin: 0 0 30px;
  font-size: clamp(17px, 1.55vw, 23px);
  line-height: 1.45;
  letter-spacing: -.01em;
}

.services { padding: 70px var(--pad) 90px; }
.section-heading { margin-bottom: 14px; }
.service {
  min-height: 130px;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) 42px;
  gap: 22px;
  align-items: center;
  border-top: 1px solid var(--line);
}
.service:last-child { border-bottom: 1px solid var(--line); }
.service__icon {
  width: 50px; height: 50px;
  border: 1px solid currentColor;
  border-radius: 50%;
  display: grid; place-items: center;
}
.service__icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lime { color: var(--lime); }.blue { color: var(--blue); }.pink { color: var(--pink); }.yellow { color: var(--yellow); }
.service__copy { padding: 24px 0; }
.service__number { display: inline; margin-right: 6px; font-size: 13px; font-weight: 700; }
.service h3 {
  display: inline;
  font-size: clamp(19px, 2vw, 28px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -.018em;
  margin: 0;
  text-transform: uppercase;
}
.service__copy > p:last-child {
  max-width: 68ch;
  margin: 7px 0 0;
  color: #d1cec8;
  line-height: 1.5;
}
.service__arrow { font-size: 30px; justify-self: end; transition: transform .2s; }
.service:hover .service__arrow { transform: translateX(7px); }

.approach {
  padding: clamp(80px, 10vw, 150px) var(--pad);
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(60px, 9vw, 150px);
}
.approach__headline h2 {
  margin: 0 0 24px;
  font-size: clamp(45px, 6.6vw, 98px);
  font-weight: 700;
  line-height: .91;
  letter-spacing: -.052em;
}
.approach__headline > p:last-child {
  color: #ccc9c2;
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.5;
  max-width: 43ch;
}
.principle {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  border-top: 1px solid var(--line);
  padding: 27px 0;
}
.principle:last-child { border-bottom: 1px solid var(--line); }
.principle__symbol {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid;
  display: grid;
  place-items: center;
}
.principle__symbol svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lime-border { border-color: var(--lime); color: var(--lime); }
.pink-border { border-color: var(--pink); color: var(--pink); }
.blue-border { border-color: var(--blue); color: var(--blue); }
.yellow-border { border-color: var(--yellow); color: var(--yellow); }
.principle p { margin: 0; }
.principle p:first-child {
  font-size: clamp(13px, 1.2vw, 15px);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: .005em;
  margin-bottom: 10px;
}
.principle p:last-child {
  max-width: 42ch;
  color: #d1cec8;
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.45;
}

.case {
  padding: clamp(70px, 9vw, 130px) var(--pad);
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: clamp(40px, 8vw, 120px);
  align-items: center;
}
.case h2 {
  margin: 0;
  font-size: clamp(52px, 7vw, 100px);
  font-weight: 700;
  line-height: .95;
  letter-spacing: -.055em;
}
.case__tagline {
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.025em;
  margin: 10px 0 22px;
}
.case__body {
  max-width: 40ch;
  margin: 0 0 30px;
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.5;
}
.case__visual {
  min-height: 560px;
  position: relative;
  overflow: hidden;
  background: #070707;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.case__visual::before {
  content: "";
  position: absolute; inset: auto -15% -30% auto;
  width: 70%; height: 80%;
  background: radial-gradient(circle, rgba(255,42,167,.5), transparent 65%);
  z-index: -1;
}
.brand-board {
  width: 56%;
  aspect-ratio: .72;
  background: #0e0e0e;
  color: #fff;
  padding: 34px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
  transform: rotate(-4deg) translateX(-12%);
}
.tiny { font-size: 10px; letter-spacing: .12em; }
.aa { font-size: 64px; line-height: .96; margin-top: auto; }
.board-copy { font-size: clamp(20px, 2.2vw, 36px); line-height: 1.02; margin-top: 40px; }
.phone {
  position: absolute;
  width: 31%;
  height: 76%;
  right: 11%;
  top: 12%;
  border: 6px solid #242424;
  border-radius: 42px;
  padding: 8px;
  background: #000;
  transform: rotate(12deg);
  box-shadow: 0 30px 70px rgba(0,0,0,.55);
}
.phone__screen {
  height: 100%; border-radius: 31px; padding: 22px 16px;
  display: flex; flex-direction: column; gap: 40px;
  background: linear-gradient(145deg,#080808,#171717);
}
.phone__screen > span:last-child { font-size: clamp(13px, 1.8vw, 25px); line-height: 1.05; }

.cta {
  min-height: 280px;
  padding: clamp(52px, 7vw, 90px) var(--pad);
  color: #060606;
  background: var(--gradient);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  justify-content: space-between;
  align-items: end;
  gap: clamp(24px, 5vw, 60px);
}
.cta h2 {
  margin: 0 0 12px;
  max-width: 12ch;
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.045em;
}
.cta p { font-size: clamp(16px, 2vw, 23px); line-height: 1.4; margin: 0 0 28px; }
.round-button {
  flex: 0 0 auto;
  width: 64px; height: 64px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: #050505; color: #fff;
  transition: transform .25s ease, background .25s ease;
}
.round-button svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.round-button:hover { transform: rotate(45deg); }

.footer {
  padding: 64px var(--pad) calc(26px + env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: 1.3fr 1fr .7fr;
  gap: 40px;
}
.brand--footer { font-size: 31px; }
.footer p { color: #d0cdc7; line-height: 1.5; }
.footer__contact p { margin: 0 0 5px; }
.footer__links { display: grid; align-content: start; gap: 8px; text-transform: uppercase; font-size: 13px; }
.footer__links a:hover, .footer__contact a:hover, .footer__legal a:hover { color: var(--lime); }
.footer__legal {
  grid-column: 1 / -1;
  margin-top: 50px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
  color: #aaa;
}
.footer__legal span:last-child { display: flex; gap: 28px; }

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.legal-page {
  min-height: 100vh; padding: 130px var(--pad) 80px;
  background: #ffffff; color: var(--black);
}
.legal-page__inner { max-width: 850px; }
.legal-page h1 { font-size: clamp(42px, 6vw, 76px); margin: 0 0 30px; }
.legal-note {
  border-left: 5px solid var(--pink);
  padding: 16px 18px;
  background: #e8e5df;
  margin: 24px 0;
}

@media (max-width: 850px) {
  :root { --header-h: 72px; }
  .hero {
    min-height: 780px;
    grid-template-columns: 1fr;
    align-content: center;
    padding-top: calc(105px + env(safe-area-inset-top));
  }
  .hero h1 { font-size: clamp(56px, 18vw, 92px); }
  .hero__lead { font-size: 19px; }
  .hero__mark {
    position: absolute;
    width: min(45vw, 230px);
    right: -22px;
    bottom: 90px;
    opacity: .98;
  }
  .hero__content { padding-bottom: 180px; }
  .hero__dotline { bottom: 28px; }
  .approach, .case { grid-template-columns: 1fr; }
  .approach { gap: 60px; }
  .case__visual { min-height: 480px; }
  .footer { grid-template-columns: 1fr 1fr; }
  .footer__links { grid-column: 2; grid-row: 1 / span 2; }
}

@media (max-width: 560px) {
  :root { --pad: 24px; }
  html { scroll-padding-top: calc(var(--header-h) + 12px); }
  main > section { scroll-margin-top: calc(var(--header-h) + 12px); }

  .brand { font-size: 23px; }
  .menu-button { font-size: 12px; }

  .hero { min-height: 720px; }
  .hero h1 { margin-bottom: 26px; }
  .hero__lead { max-width: 24ch; font-size: 18px; }
  .hero__mark { width: 200px; right: -32px; }
  .hero__dotline { max-width: calc(100% - (2 * var(--pad))); font-size: 10px; }

  .intro { padding-top: 82px; padding-bottom: 82px; }
  .intro h2 { max-width: 11ch; font-size: clamp(40px, 12.4vw, 60px); margin-bottom: 22px; }
  .intro__body { font-size: 17px; max-width: 34ch; }

  .services { padding-top: 64px; padding-bottom: 72px; }
  .service { grid-template-columns: 48px minmax(0, 1fr) 20px; gap: 14px; min-height: 0; }
  .service__icon { width: 42px; height: 42px; }
  .service__icon svg { width: 23px; height: 23px; }
  .service__copy { padding: 22px 0; }
  .service h3 { display: block; margin-top: 3px; font-size: 18px; line-height: 1.15; }
  .service__copy > p:last-child { font-size: 14px; line-height: 1.45; }
  .service__arrow { font-size: 22px; }

  .approach { padding-top: 82px; padding-bottom: 82px; gap: 48px; }
  .approach__headline h2 { font-size: clamp(46px, 14vw, 64px); line-height: .92; margin-bottom: 22px; }
  .approach__headline > p:last-child { font-size: 17px; line-height: 1.48; }
  .principle { grid-template-columns: 48px minmax(0, 1fr); gap: 18px; padding: 25px 0; }
  .principle__symbol { width: 44px; height: 44px; }
  .principle__symbol svg { width: 25px; height: 25px; }
  .principle p:first-child { font-size: 13px; line-height: 1.25; margin-bottom: 9px; }
  .principle p:last-child { font-size: 16px; line-height: 1.45; }

  .case { padding-top: 78px; padding-bottom: 78px; gap: 44px; }
  .case h2 { font-size: clamp(54px, 16vw, 74px); }
  .case__tagline { font-size: 27px; }
  .case__body { font-size: 16px; }
  .case__visual { min-height: 390px; }
  .brand-board { width: 64%; padding: 22px; }
  .aa { font-size: 48px; }
  .phone { width: 36%; right: 7%; border-radius: 30px; }
  .phone__screen { border-radius: 20px; padding: 14px 10px; }

  .cta { min-height: 300px; align-items: center; gap: 20px; }
  .cta h2 { max-width: 8.5ch; font-size: clamp(40px, 12.5vw, 56px); }
  .cta p { font-size: 17px; max-width: 24ch; }
  .round-button { width: 54px; height: 54px; }
  .round-button svg { width: 23px; height: 23px; }

  .footer { grid-template-columns: 1fr; gap: 30px; padding-top: 58px; }
  .brand--footer { font-size: 29px; }
  .footer__links { grid-column: 1; grid-row: auto; }
  .footer__legal { flex-direction: column; margin-top: 18px; gap: 12px; }
}

@media (max-width: 380px) {
  :root { --pad: 20px; }
  .principle { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; }
  .principle__symbol { width: 40px; height: 40px; }
  .principle p:first-child { font-size: 12px; }
  .cta { gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__mark { transform: none !important; }
}

/* ===== KREN ABOUT / ÜBER MICH ===== */
.about-page {
  --about-white: #ffffff;
  background: var(--about-white);
  color: var(--black);
  overflow-x: hidden;
}
.about-page .site-header--solid,
.about-page .site-header--solid.scrolled {
  background: rgba(5,5,5,.96);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-color: rgba(255,255,255,.10);
}
.about-main { background: var(--about-white); }
.about-white { background: var(--about-white); color: var(--black); }

.about-hero {
  position: relative;
  min-height: 820px;
  padding: calc(var(--header-h) + env(safe-area-inset-top) + clamp(52px, 6vw, 90px)) var(--pad) 0;
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(420px, 1.06fr);
  gap: clamp(30px, 4.5vw, 76px);
  overflow: hidden;
  align-items: end;
}
.about-hero__copy {
  position: relative;
  z-index: 3;
  max-width: 760px;
  padding-bottom: clamp(64px, 7vw, 96px);
}
.about-hero h1 {
  margin: 0;
  max-width: 13ch;
  font-size: clamp(52px, 6.1vw, 94px);
  font-weight: 800;
  line-height: .91;
  letter-spacing: -.058em;
}
.about-lead {
  max-width: 46ch;
  margin: 32px 0 12px;
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1.42;
  letter-spacing: -.012em;
}
.marker-line {
  margin: 0 0 28px;
  font-size: clamp(17px, 1.42vw, 22px);
  line-height: 1.35;
}
.marker-line span {
  background: linear-gradient(to bottom, transparent 8%, var(--yellow) 8%, var(--yellow) 92%, transparent 92%);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  padding: 1px 4px 2px;
}
.about-button {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 50px;
  padding: 0 22px;
  background: var(--black);
  color: var(--white);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .015em;
  transition: transform .2s ease, background .2s ease;
}
.about-button:hover { transform: translateY(-2px); background: #151515; }
.about-button--pink { background: var(--pink); color: var(--black); }
.about-button--pink:hover { background: #ff4bb6; }

.about-hero__portrait {
  position: relative;
  min-height: 690px;
  display: grid;
  place-items: end center;
  isolation: isolate;
}
.about-hero__portrait picture {
  position: relative;
  z-index: 2;
  display: block;
  width: min(100%, 670px);
  align-self: end;
  justify-self: center;
}
.about-hero__portrait img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 720px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 24px 32px rgba(0,0,0,.12));
}
.hand-note,
.sticky-note {
  font-family: var(--kren-font);
  font-style: italic;
  font-weight: 700;
  letter-spacing: .01em;
}
.hand-note--hello {
  position: absolute;
  z-index: 4;
  left: 15%;
  top: 14%;
  transform: rotate(-7deg);
  font-size: clamp(17px, 1.5vw, 24px);
  line-height: 1.06;
}
.doodle-arrow {
  position: absolute;
  z-index: 4;
  left: 13%;
  top: 27%;
  width: 130px;
  height: auto;
  fill: none;
  stroke: var(--black);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sticky-note {
  background: var(--lime);
  color: var(--black);
  box-shadow: 0 12px 26px rgba(0,0,0,.12);
}
.sticky-note--hero {
  position: absolute;
  z-index: 5;
  right: -2%;
  top: 11%;
  width: min(230px, 34%);
  padding: 24px 22px;
  transform: rotate(-10deg);
  font-size: clamp(16px, 1.35vw, 22px);
  line-height: 1.15;
}
.doodle-heart {
  position: absolute;
  z-index: 4;
  right: 2%;
  top: 51%;
  width: 72px;
  fill: none;
  stroke: var(--black);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: rotate(9deg);
}
.scribble {
  width: 150px;
  margin: 12px 0 0 auto;
  transform: rotate(-8deg);
}
.scribble span {
  display: block;
  height: 4px;
  border-radius: 100px;
  margin-top: 7px;
  transform-origin: center;
}
.scribble span:first-child { width: 100%; transform: rotate(-2deg); }
.scribble span:last-child { width: 72%; margin-left: 26px; transform: rotate(3deg); }
.scribble--pink span { background: var(--pink); }
.scribble--yellow span { background: var(--yellow); }

.experience {
  padding: clamp(66px, 7vw, 104px) var(--pad);
  display: grid;
  grid-template-columns: .95fr 1.05fr 1.05fr;
  gap: clamp(26px, 3vw, 52px);
  align-items: start;
}
.experience--dark { background: var(--black); color: var(--white); }
.experience--light { background: var(--about-white); color: var(--black); }
.experience__intro { min-width: 0; }
.experience__intro .eyebrow { margin-bottom: 12px; }
.experience__title {
  margin: 0 0 14px;
  max-width: 15ch;
  font-size: clamp(38px, 4.2vw, 66px);
  font-weight: 800;
  line-height: .94;
  letter-spacing: -.05em;
}
.experience--dark .experience__title { color: var(--white); }
.experience--light .experience__title { color: var(--black); }
.experience__brand {
  margin: 0 0 12px;
  line-height: .9;
  letter-spacing: -.045em;
}
.experience__brand--magenta {
  color: var(--pink);
  font-size: clamp(52px, 5.7vw, 90px);
  font-weight: 800;
}
.experience__brand--wko {
  display: flex;
  gap: 7px;
  margin: 0 0 20px;
}
.experience__brand--wko span {
  width: clamp(66px, 6vw, 96px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: #e40018;
  color: white;
  font-size: clamp(45px, 4vw, 66px);
  font-weight: 800;
  letter-spacing: -.05em;
}
.experience__intro h3 {
  margin: 22px 0 18px;
  max-width: 18ch;
  font-size: clamp(27px, 2.6vw, 42px);
  line-height: 1.02;
  letter-spacing: -.035em;
}
.experience__intro > p:last-child {
  max-width: 45ch;
  margin: 0;
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.48;
}
.experience--dark .experience__intro > p:last-child { color: #d3d0ca; }
.experience__intro .scribble { margin: 8px auto 0 0; width: 150px; }

.media-card { min-width: 0; }
.media-frame {
  position: relative;
  overflow: visible;
  background: #ececec;
  border: 8px solid var(--about-white);
  box-shadow: 0 8px 20px rgba(0,0,0,.16);
  transform: rotate(-1.6deg);
}
.media-card:nth-of-type(3) .media-frame { transform: rotate(1.8deg); }
.media-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 1.45 / 1;
  object-fit: cover;
  background: #efefef;
}
.media-card p {
  margin: 16px 6px 0;
  font-size: clamp(14px, 1.08vw, 17px);
  line-height: 1.42;
}
.media-card--dark p { color: #dedbd6; }
.media-frame--wide img { aspect-ratio: 1.5 / 1; }
.media-card--span {
  grid-column: 2 / 4;
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(220px, .75fr);
  gap: 24px;
  align-items: center;
  margin-top: 8px;
}
.media-card--span p { margin: 0; }
.media-frame--panorama img { aspect-ratio: 2.1 / 1; }

.sticky-note--small {
  position: absolute;
  z-index: 4;
  right: -4%;
  bottom: -8%;
  min-width: 118px;
  padding: 13px 15px;
  transform: rotate(-7deg);
  font-size: clamp(14px, 1.15vw, 18px);
  line-height: 1.12;
}
.sticky-note--yellow { background: var(--yellow); }
.sticky-note--white { background: #fff; }
.experience--light .media-card:nth-of-type(3) .sticky-note--small { transform: rotate(7deg); right: -2%; bottom: 4%; }
.experience--light .media-card--span .sticky-note--small { right: 8%; top: -10%; bottom: auto; transform: rotate(-7deg); }

.about-closing {
  padding: clamp(76px, 8vw, 122px) var(--pad);
  display: grid;
  grid-template-columns: 1.1fr 1fr auto;
  gap: clamp(34px, 5vw, 76px);
  align-items: center;
}
.about-closing__title { position: relative; }
.about-closing__title h2 {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(48px, 5vw, 82px);
  line-height: .91;
  letter-spacing: -.055em;
}
.scribble--closing { margin: 18px 0 0 100px; width: 170px; }
.about-closing__copy {
  max-width: 52ch;
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.5;
  color: #d6d2cc;
}
.about-closing__copy p { margin: 0 0 18px; }
.about-closing__copy strong { color: var(--white); }
.about-closing__cta { position: relative; justify-self: end; }
.doodle-rays {
  position: absolute;
  width: 70px;
  right: -45px;
  top: -48px;
  fill: none;
  stroke: var(--yellow);
  stroke-width: 5;
  stroke-linecap: round;
}


/* Mobile scroll indicator for the About page. Native iOS scrollbars are not persistent. */
.page-scroll-indicator {
  display: none;
  position: fixed;
  z-index: 120;
  top: calc(var(--header-h) + env(safe-area-inset-top) + 10px);
  right: 3px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  width: 3px;
  pointer-events: none;
  opacity: .62;
}
.page-scroll-indicator span {
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  min-height: 48px;
  border-radius: 99px;
  background: rgba(128,128,128,.82);
  transform: translateY(var(--scroll-thumb-y, 0px));
  height: var(--scroll-thumb-h, 70px);
}
.menu-open .page-scroll-indicator { opacity: 0; }

@media (max-width: 1040px) {
  .about-hero {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .about-hero__portrait { min-height: 590px; }
  .hand-note--hello { left: 18%; top: 12%; }
  .doodle-arrow { left: 16%; top: 24%; width: 116px; }
  .sticky-note--hero { right: -8%; }
  .experience { grid-template-columns: 1fr 1fr; }
  .experience__intro { grid-column: 1 / -1; max-width: 760px; }
  .media-card--span { grid-column: 1 / -1; }
  .about-closing { grid-template-columns: 1fr 1fr; }
  .about-closing__cta { grid-column: 2; justify-self: start; }
}

@media (max-width: 760px) {
  .about-page .page-scroll-indicator { display: block; }
  .about-page .footer { padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
  .about-hero {
    min-height: 0;
    grid-template-columns: 1fr;
    padding-top: calc(var(--header-h) + env(safe-area-inset-top) + 46px);
    padding-bottom: 0;
  }
  .about-hero__copy { padding-bottom: 18px; }
  .about-hero h1 { font-size: clamp(30px, 9.7vw, 50px); line-height: .92; max-width: none; letter-spacing: -.055em; }
  .about-lead { margin-top: 28px; font-size: 17px; }
  .marker-line { font-size: 17px; }
  .scribble { width: 112px; margin-right: 16px; }
  .about-hero__portrait { min-height: 520px; margin: 0 calc(var(--pad) * -1); overflow: hidden; }
  .about-hero__portrait picture { width: min(112%, 560px); }
  .about-hero__portrait img { max-height: 570px; }
  .hand-note--hello { left: 9%; top: 9%; font-size: 17px; }
  .doodle-arrow { left: 9%; top: 20%; width: 92px; }
  .sticky-note--hero { right: 4%; top: 5%; width: 150px; padding: 16px 14px; font-size: 14px; }
  .doodle-heart { right: 7%; top: 47%; width: 54px; }

  .experience { grid-template-columns: 1fr; gap: 42px; padding-top: 72px; padding-bottom: 78px; }
  .experience__intro { grid-column: auto; }
  .experience__title { font-size: clamp(38px, 10.8vw, 54px); max-width: 12ch; }
  .experience__intro h3 { font-size: 30px; margin-top: 18px; }
  .experience__intro > p:last-child { font-size: 16px; }
  .media-card { max-width: 680px; }
  .media-card p { margin-top: 14px; font-size: 15px; }
  .media-card--span { grid-column: auto; grid-template-columns: 1fr; gap: 16px; }
  .media-card--span p { margin: 0 6px; }
  .media-frame { border-width: 6px; }
  .sticky-note--small { right: 2%; bottom: 10px; font-size: 14px; }
  .experience--light .media-card:nth-of-type(3) .sticky-note--small { right: 2%; bottom: 10px; }
  .experience--light .media-card--span .sticky-note--small { right: 4%; top: 10px; }

  .about-closing { grid-template-columns: 1fr; gap: 34px; padding-top: 80px; padding-bottom: 80px; }
  .about-closing__title h2 { font-size: clamp(46px, 13vw, 64px); }
  .about-closing__copy { font-size: 17px; }
  .about-closing__cta { grid-column: auto; justify-self: start; }
  .doodle-rays { right: -54px; }
}

@media (max-width: 420px) {
  .about-hero h1 { font-size: clamp(30px, 9.7vw, 44px); }
  .about-hero__portrait { min-height: 460px; }
  .about-hero__portrait img { max-height: 500px; }
  .sticky-note--hero { width: 138px; font-size: 13px; }
  .hand-note--hello { left: 7%; }
  .doodle-arrow { left: 6%; }
  .sticky-note--small { min-width: 104px; padding: 11px 12px; }
}

/* ===== KREN CASE STUDY / HAFNER — MOBILE FIRST ===== */
.hafner-page {
  --case-white: #ffffff;
  background: var(--case-white);
  color: var(--black);
  overflow-x: hidden;
}
.hafner-page .site-header--solid,
.hafner-page .site-header--solid.scrolled {
  background: rgba(5,5,5,.97);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-color: rgba(255,255,255,.10);
}
.hafner-main { background: var(--case-white); }
.case-white { background: var(--case-white); color: var(--black); }
.hafner-page figure { margin: 0; }
.hafner-page .page-scroll-indicator { display: block; }

.hafner-hero {
  position: relative;
  padding: calc(var(--header-h) + env(safe-area-inset-top) + 46px) var(--pad) 76px;
  display: grid;
  gap: 48px;
  overflow: hidden;
}
.hafner-hero__copy { min-width: 0; }
.hafner-hero h1 {
  margin: 0 0 22px;
  font-size: clamp(58px, 18vw, 86px);
  font-weight: 800;
  line-height: .88;
  letter-spacing: -.06em;
}
.hafner-hero h2 {
  margin: 0 0 26px;
  max-width: 14ch;
  font-size: clamp(34px, 10.5vw, 52px);
  font-weight: 800;
  line-height: .96;
  letter-spacing: -.05em;
}
.hafner-hero__copy > p:not(.eyebrow) {
  max-width: 42ch;
  margin: 0 0 18px;
  font-size: 17px;
  line-height: 1.48;
  letter-spacing: -.012em;
}
.hafner-hero__copy .text-link { margin-top: 12px; }

.hafner-device-stage {
  position: relative;
  min-height: 540px;
  margin: 0 calc(var(--pad) * -.35);
}
.device-card,
.result-device,
.result-card {
  margin: 0;
  overflow: hidden;
  display: block;
  background: #fff;
  border: 8px solid #fff;
  border-radius: 18px;
  box-shadow: 0 20px 46px rgba(0,0,0,.17);
}
.device-card {
  position: absolute;
}
.device-card--main {
  width: 74%;
  right: 4%;
  top: 0;
  transform: rotate(-5deg);
}
.device-card--detail {
  width: 58%;
  left: 2%;
  bottom: 0;
  transform: rotate(7deg);
}
.device-card__bar {
  height: 48px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  background: #fff;
  color: #111;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
}
.device-card__bar span { margin-right: auto; }
.device-card__bar i {
  width: 18px;
  height: 1.5px;
  margin-left: -18px;
  background: currentColor;
  display: block;
}
.device-card__bar i:nth-of-type(1) { transform: translateY(-5px); }
.device-card__bar i:nth-of-type(3) { transform: translateY(5px); }
.device-card img,
.result-device img {
  display: block;
  width: 100%;
  object-fit: cover;
  background: #eee;
}
.device-card--main img { aspect-ratio: .77 / 1; }
.device-card--detail img { aspect-ratio: .8 / 1; }

.hafner-task {
  padding: 76px var(--pad) 84px;
}
.case-copy { max-width: 920px; }
.case-copy h2,
.hafner-result__copy h2 {
  margin: 0 0 24px;
  max-width: 15ch;
  font-size: clamp(38px, 11vw, 58px);
  font-weight: 800;
  line-height: .94;
  letter-spacing: -.052em;
}
.case-copy > p:last-child,
.hafner-result__copy > p:not(.eyebrow) {
  max-width: 42ch;
  margin: 0;
  color: #d5d1cb;
  font-size: 17px;
  line-height: 1.48;
}

.hafner-work {
  padding: 76px var(--pad) 84px;
}
.hafner-work__head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}
.hafner-work__head .eyebrow { margin: 0; white-space: nowrap; }
.case-rule {
  width: 64px;
  height: 2px;
  background: var(--pink);
  transform: translateY(1px);
}
.work-list { border-top: 1px solid rgba(5,5,5,.18); }
.work-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 8px 16px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(5,5,5,.18);
  align-items: center;
}
.work-icon {
  grid-row: 1 / span 3;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid;
  border-radius: 50%;
}
.work-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.work-no {
  margin: 0;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .015em;
}
.work-item h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.1;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.025em;
}
.work-item > p:last-child {
  margin: 2px 0 0;
  color: #333;
  font-size: 15px;
  line-height: 1.45;
}

.hafner-result {
  padding: 78px var(--pad) 88px;
  display: grid;
  gap: 48px;
  overflow: hidden;
}
.hafner-result__visuals {
  position: relative;
  width: min(100%, 680px);
  min-height: 470px;
  justify-self: center;
}
.result-card {
  position: absolute;
  overflow: hidden;
  background: #fff;
  border: 8px solid #fff;
  border-radius: 18px;
  box-shadow: 0 20px 46px rgba(0,0,0,.17);
}
.result-card__sticker {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(5,5,5,.12);
  color: var(--black);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}
.result-card--after {
  width: min(100%, 610px);
  right: 0;
  top: 38px;
  z-index: 1;
  transform-origin: 82% 10%;
  transform: translate3d(0, calc(26px * (1 - var(--straighten-progress, 0))), 0) rotate(calc(-6deg + 6deg * var(--straighten-progress, 0)));
}
.result-card--before {
  width: min(42%, 250px);
  left: 0;
  bottom: 0;
  z-index: 2;
  transform: rotate(-8deg);
}
.result-card img {
  display: block;
  width: 100%;
  object-fit: cover;
  background: #eee;
}
.result-card--after img { aspect-ratio: 1.08 / 1; }
.result-card--before img { aspect-ratio: .93 / 1; }

/* Case Study: iOS/mobile tune */
@media (max-width: 760px) {
  .hafner-page .page-scroll-indicator { display: block; }
  .hafner-page .footer { padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
  .hafner-page .cta h2 { max-width: 9ch; }
}

@media (min-width: 760px) {
  .hafner-page .page-scroll-indicator { display: none; }
  .hafner-hero {
    min-height: 780px;
    grid-template-columns: minmax(0,.92fr) minmax(390px,1.08fr);
    align-items: center;
    gap: clamp(38px, 5vw, 86px);
    padding-top: calc(var(--header-h) + env(safe-area-inset-top) + 64px);
    padding-bottom: 96px;
  }
  .hafner-hero h1 { font-size: clamp(78px, 8vw, 126px); }
  .hafner-hero h2 { font-size: clamp(40px, 4.4vw, 68px); }
  .hafner-hero__copy > p:not(.eyebrow) { font-size: clamp(17px,1.25vw,20px); }
  .hafner-device-stage { min-height: 660px; margin: 0; }
  .device-card--main { width: 70%; right: 4%; }
  .device-card--detail { width: 52%; left: 2%; }

  .hafner-task { padding-top: 94px; padding-bottom: 102px; }
  .case-copy h2,
  .hafner-result__copy h2 { font-size: clamp(48px, 5vw, 78px); }
  .case-copy > p:last-child,
  .hafner-result__copy > p:not(.eyebrow) { font-size: clamp(17px,1.25vw,20px); }

  .hafner-work { padding-top: 90px; padding-bottom: 100px; }
  .work-item {
    grid-template-columns: 58px 66px minmax(170px,.65fr) minmax(0,1.35fr);
    gap: 22px;
    padding: 24px 0;
  }
  .work-icon { grid-row: auto; width: 50px; height: 50px; }
  .work-no { font-size: 13px; }
  .work-item h3 { font-size: clamp(18px,1.5vw,23px); }
  .work-item > p:last-child { margin: 0; font-size: clamp(15px,1.15vw,18px); }

  .hafner-result {
    grid-template-columns: minmax(0,.9fr) minmax(390px,1.1fr);
    align-items: center;
    gap: clamp(44px,6vw,100px);
    padding-top: 96px;
    padding-bottom: 110px;
  }
  .hafner-result__visuals { width: min(100%, 690px); min-height: 520px; justify-self: end; }
}

@media (min-width: 1100px) {
  .hafner-hero { grid-template-columns: .9fr 1.1fr; }
  .hafner-device-stage { min-height: 720px; }
  .device-card--main { width: 63%; right: 7%; }
  .device-card--detail { width: 46%; left: 8%; bottom: 1%; }
  .hafner-task .case-copy { max-width: 1050px; }
  .hafner-work__head { margin-bottom: 24px; }
}
@media (max-width: 759px) {
  .hafner-result__visuals {
    width: min(100%, 520px);
    min-height: 380px;
  }
  .result-card--after {
    width: min(100%, 470px);
    top: 36px;
  }
  .result-card--before {
    width: min(46%, 208px);
    bottom: 6px;
  }
  .result-card__sticker {
    top: 12px;
    left: 12px;
    min-height: 26px;
    padding: 0 10px;
    font-size: 10px;
  }
}
@media (min-width: 760px) {
  .result-card__sticker {
    top: 16px;
    left: 16px;
  }
}
@media (min-width: 1100px) {
  .hafner-result__visuals {
    min-height: 560px;
  }
}

@media (max-width: 380px) {
  .hafner-hero h1 { font-size: 56px; }
  .hafner-hero h2 { font-size: 32px; }
  .hafner-device-stage { min-height: 485px; }
  .device-card__bar { height: 42px; }
  .case-copy h2,
  .hafner-result__copy h2 { font-size: 36px; }
}
@media (max-width: 380px) {
  .hafner-result__visuals {
    min-height: 370px;
  }
}

/* v5 — proof block / commercial sharpening */
.proof-block {
  padding: 0 0 72px;
  margin-bottom: 54px;
  border-bottom: 1px solid var(--line);
}
.proof-block h2 {
  margin: 0 0 34px;
  max-width: 12ch;
  font-size: clamp(42px, 6vw, 82px);
  line-height: .92;
  letter-spacing: -.045em;
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.proof-card {
  border-top: 1px solid var(--line);
  padding: 20px 0 0;
}
.proof-card__label {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .035em;
}
.proof-card > p:last-child {
  margin: 0;
  max-width: 34ch;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.45;
}
@media (max-width: 760px) {
  .proof-block { padding-bottom: 52px; margin-bottom: 38px; }
  .proof-grid { grid-template-columns: 1fr; gap: 28px; }
  .proof-block h2 { font-size: clamp(42px, 13vw, 62px); }
  .proof-card > p:last-child { max-width: none; }
}


/* ===== v5.1 — CI + mobile headline hardening ===== */
/* White surfaces in the KREN CI are pure white. Circular functional icons
   follow one consistent system: outline, never solid fill. On white surfaces
   the keyline and glyph are black for legibility; the CI colour is carried by
   a compact accent dot instead of a low-contrast lime/yellow hairline. */
.section-light :focus-visible,
.about-white :focus-visible,
.experience--light :focus-visible,
.case-white :focus-visible,
.hafner-work :focus-visible,
.legal-page :focus-visible {
  outline-color: var(--black);
}
.hafner-work .work-icon {
  position: relative;
  background: transparent;
  color: var(--black);
  border: 2px solid var(--black);
}
.hafner-work .work-icon::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  top: -4px;
  right: -4px;
  border-radius: 50%;
  background: var(--icon-accent, var(--pink));
  box-shadow: 0 0 0 2px #fff;
}
.hafner-work .work-icon.lime-border { --icon-accent: var(--lime); }
.hafner-work .work-icon.blue-border { --icon-accent: var(--blue); }
.hafner-work .work-icon.pink-border { --icon-accent: var(--pink); }
.hafner-work .work-icon.yellow-border { --icon-accent: var(--yellow); }
.hafner-work .work-no {
  color: var(--black);
}

/* Image credit fields: readable on every image, independent of the image tone. */
.image-credit {
  position: absolute;
  z-index: 8;
  left: 8px;
  bottom: 8px;
  max-width: calc(100% - 16px);
  padding: 4px 7px;
  border-radius: 2px;
  background: rgba(5,5,5,.78);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: .01em;
  overflow-wrap: anywhere;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}
.about-hero__portrait > .image-credit {
  left: max(8px, calc(var(--pad) * .35));
  bottom: 12px;
}
.device-card,
.result-device {
  isolation: isolate;
}
.result-device { position: relative; }

/* Prevent iOS text auto-enlargement and long CI headlines from exceeding the viewport. */
.about-hero h1,
.experience__title,
.about-closing__title h2,
.hafner-hero h1,
.hafner-hero h2,
.case-copy h2,
.hafner-result__copy h2,
.proof-block h2,
.cta h2 {
  max-width: 100%;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

@media (max-width: 760px) {
  .about-hero h1 {
    font-size: clamp(30px, 8.5vw, 48px);
    line-height: .94;
    letter-spacing: -.055em;
  }
  .experience__title {
    max-width: 100%;
    font-size: clamp(28px, 8.4vw, 48px);
    line-height: .96;
    letter-spacing: -.048em;
  }
  .about-closing__title h2 {
    max-width: 100%;
    font-size: clamp(38px, 10.4vw, 56px);
    line-height: .94;
  }
  .hafner-hero h2 {
    max-width: 100%;
    font-size: clamp(30px, 8.8vw, 48px);
    line-height: .98;
  }
  .hafner-task .case-copy h2 {
    max-width: 100%;
    font-size: clamp(28px, 7.8vw, 46px);
    line-height: .97;
    letter-spacing: -.045em;
  }
  .hafner-result__copy h2 {
    max-width: 100%;
    font-size: clamp(30px, 8.7vw, 48px);
    line-height: .96;
  }
  .proof-block h2 {
    max-width: 100%;
    font-size: clamp(36px, 10vw, 56px);
    line-height: .94;
  }
}

@media (max-width: 380px) {
  .about-hero h1 { font-size: 29px; }
  .experience__title { font-size: 28px; }
  .hafner-task .case-copy h2 { font-size: 27px; }
  .hafner-result__copy h2 { font-size: 29px; }
}


/* ===== v5.2 — STARTSEITEN-RHYTHMUS + ROBUSTE BILDRAHMEN =====
   Inhalt/Texte bleiben unverändert. Die Flächen folgen jetzt in Kapiteln:
   Brand (schwarz) → Kern (weiß) → Erfahrung+Angebot (schwarz) →
   Arbeitsweise+Case (weiß) → CTA (Gradient) → Footer (schwarz). */

/* „Wie KREN arbeitet“ gehört als eigenes inhaltliches Kapitel nicht mehr in
   den langen schwarzen Angebotsblock. Auf Weiß werden keine Lime-/Gelb-
   Hairlines oder kleine Lime-/Gelb-Texte eingesetzt. */
.approach--light {
  background: #fff;
  color: var(--black);
  border-top: 0;
  padding-top: clamp(84px, 9vw, 138px);
  padding-bottom: clamp(84px, 9vw, 138px);
}
.approach--light .approach__headline > p:last-child,
.approach--light .principle p:last-child {
  color: #333;
}
.approach--light .approach__headline .eyebrow {
  color: var(--pink);
}
.approach--light .principle {
  border-top-color: rgba(5,5,5,.18);
}
.approach--light .principle:last-child {
  border-bottom-color: rgba(5,5,5,.18);
}
.approach--light .principle p:first-child {
  color: var(--black);
}
.approach--light .principle__symbol {
  position: relative;
  background: transparent;
  color: var(--black);
  border: 2px solid var(--black);
}
.approach--light .principle__symbol::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  top: -4px;
  right: -4px;
  border-radius: 50%;
  background: var(--icon-accent, var(--pink));
  box-shadow: 0 0 0 2px #fff;
}
.approach--light .principle__symbol.lime-border { --icon-accent: var(--lime); }
.approach--light .principle__symbol.blue-border { --icon-accent: var(--blue); }
.approach--light .principle__symbol.pink-border { --icon-accent: var(--pink); }
.approach--light .principle__symbol.yellow-border { --icon-accent: var(--yellow); }
.approach--light :focus-visible { outline-color: var(--black); }

/* Methodik und Case sind bewusst ein gemeinsames helles Kapitel. Die
   Trennung erfolgt neutral/dunkel statt mit einer schlecht lesbaren Neonlinie. */
.case.section-light {
  border-top: 1px solid rgba(5,5,5,.14);
}

/* Die Bildrahmen besitzen die Proportion – nicht das Bild selbst. Damit
   können Width/Height-Metadaten und neue Originalfotos am Desktop keine
   meterhohen Platzhalter mehr erzeugen. */
.media-frame {
  aspect-ratio: 1.5 / 1;
}
.media-frame--panorama {
  aspect-ratio: 2.1 / 1;
}
.media-frame img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}

/* Hafner: Screenshots bleiben als kontrollierte Device-Cards im Hochformat.
   Die HTML-Bildmaße dienen nur der Layout-Stabilität und bestimmen nicht die
   sichtbare Höhe. */
.device-card--main img,
.device-card--detail img,
.result-device img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.device-card--main img { aspect-ratio: 4 / 5; }
.device-card--detail img { aspect-ratio: 4 / 5; }
.result-device img { aspect-ratio: 1.25 / 1; }

/* Desktop: kompaktere Mockup-Bühne; auf Mobile bleibt die bestehende
   Hierarchie unangetastet. */
@media (min-width: 760px) {
  .hafner-device-stage { min-height: 570px; }
  .device-card--main { width: 64%; right: 5%; }
  .device-card--detail { width: 46%; left: 5%; }
  .result-device { width: min(82%, 590px); }

  .experience { align-items: start; }
  .media-frame { max-height: 360px; }
  .media-frame--panorama { max-height: 330px; }
}
@media (min-width: 1100px) {
  .hafner-device-stage { min-height: 610px; }
  .device-card--main { width: 58%; right: 8%; }
  .device-card--detail { width: 42%; left: 9%; bottom: 1%; }
}

/* Mobile: keine unkontrollierten Ausläufer durch rotierte Mockups oder
   Sticker. Die Seite bleibt bei 320px aufwärts horizontal stabil. */
@media (max-width: 759px) {
  .approach--light { padding-top: 82px; padding-bottom: 82px; }
  .case.section-light { border-top-color: rgba(5,5,5,.16); }

  .media-frame { aspect-ratio: 4 / 3; }
  .media-frame--panorama { aspect-ratio: 16 / 10; }

  .hafner-device-stage {
    margin-inline: 0;
    overflow: hidden;
  }
  .device-card--main { width: 70%; right: 2%; }
  .device-card--detail { width: 56%; left: 1%; }
  .result-device { width: min(92%, 520px); }
}

@media (max-width: 380px) {
  .device-card--main { width: 68%; }
  .device-card--detail { width: 54%; }
}

/* 320px hardening: decorative rays must never widen the document. */
.about-closing { overflow: hidden; }
@media (max-width: 420px) {
  .doodle-rays { right: -8px; top: -44px; width: 58px; }
}


/* ===== KREN v5.4 — FINAL CI RHYTHM / DESKTOP HEADLINES / ICON SYSTEM =====
   No copy changes. This block is authoritative for the current layout. */

/* 1) Homepage chapter rhythm:
   black Hero → white Core → black Proof → white Offer → black Method → white Case. */
.proof-section {
  background: var(--black);
  color: var(--white);
  padding: clamp(78px, 8.5vw, 128px) var(--pad);
}
.proof-section .proof-block {
  padding: 0;
  margin: 0;
  border-bottom: 0;
}
.proof-section .proof-block h2 {
  margin-bottom: clamp(34px, 4vw, 56px);
}

.services--light {
  background: #fff;
  color: var(--black);
  padding-top: clamp(78px, 8.5vw, 128px);
  padding-bottom: clamp(78px, 8.5vw, 128px);
}
.services--light .section-heading .eyebrow {
  color: var(--pink);
}
.services--light .service,
.services--light .service:last-child {
  border-color: rgba(5,5,5,.18);
}
.services--light .service h3,
.services--light .service__arrow,
.services--light .service__number {
  color: var(--black);
}
.services--light .service__copy > p:last-child {
  color: #333;
}

/* 2) One icon language across all pages.
   Dark surfaces = coloured outline/glyph.
   White surfaces = black outline/glyph + a compact CI-colour dot.
   Never use a filled circle merely because the accent is lime/yellow. */
.service__icon,
.principle__symbol,
.hafner-work .work-icon {
  border-width: 2px;
}
.service__icon svg,
.principle__symbol svg,
.hafner-work .work-icon svg {
  stroke-width: 1.6;
}
.services--light .service__icon {
  position: relative;
  color: var(--black);
  border-color: var(--black);
  background: transparent;
}
.services--light .service__icon::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  top: -4px;
  right: -4px;
  border-radius: 50%;
  background: var(--icon-accent, var(--pink));
  box-shadow: 0 0 0 2px #fff;
}
.services--light .service__icon.lime { --icon-accent: var(--lime); }
.services--light .service__icon.blue { --icon-accent: var(--blue); }
.services--light .service__icon.pink { --icon-accent: var(--pink); }
.services--light .service__icon.yellow { --icon-accent: var(--yellow); }
.hafner-work .work-no {
  color: var(--black) !important;
}

/* 3) Method is a distinct dark chapter again; no lime/yellow hairlines on white. */
.approach.section-dark {
  background: var(--black);
  color: var(--white);
  padding-top: clamp(84px, 9vw, 138px);
  padding-bottom: clamp(84px, 9vw, 138px);
}
.approach.section-dark .approach__headline > p:last-child,
.approach.section-dark .principle p:last-child {
  color: #d1cec8;
}
.approach.section-dark .principle {
  border-color: rgba(255,255,255,.18);
}
.approach.section-dark .principle p:first-child.lime-text { color: var(--lime); }
.approach.section-dark .principle p:first-child.pink-text { color: var(--pink); }
.approach.section-dark .principle p:first-child.blue-text { color: var(--blue); }
.approach.section-dark .principle p:first-child.yellow-text { color: var(--yellow); }

/* 4) About desktop: titles must own their column and never disappear below images.
   The previous 3-column composition gave long German words less width than their
   rendered glyphs. The intro now gets a guaranteed column and a bounded type size. */
@media (min-width: 1181px) {
  .experience {
    grid-template-columns: minmax(410px, 1.2fr) repeat(2, minmax(0, 1fr));
    gap: clamp(28px, 2.5vw, 44px);
  }
  .experience__title {
    max-width: 100%;
    font-size: clamp(38px, 3vw, 50px);
    line-height: .94;
    letter-spacing: -.048em;
    text-wrap: balance;
  }
  .experience__intro h3 {
    max-width: 19ch;
    font-size: clamp(27px, 2.15vw, 36px);
  }
  .experience__intro > p:last-child {
    max-width: 40ch;
  }
}
@media (min-width: 761px) and (max-width: 1180px) {
  .experience {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px;
  }
  .experience__intro {
    grid-column: 1 / -1;
    max-width: 780px;
  }
  .experience__title {
    max-width: 13ch;
    font-size: clamp(40px, 5.2vw, 58px);
    line-height: .94;
  }
  .media-card--span { grid-column: 1 / -1; }
}

/* 5) Controlled media frames. Placeholder metadata must never dictate visual height. */
.media-frame {
  width: 100%;
  max-height: none;
  aspect-ratio: 3 / 2;
}
.media-frame--wide { aspect-ratio: 3 / 2; }
.media-frame--panorama { aspect-ratio: 16 / 9; }
.media-frame img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  aspect-ratio: auto;
  object-fit: cover;
}

/* 6) White-surface rules: neutral structural lines only. CI neon is reserved for
   robust text, stickers, accents and dots — not low-contrast hairlines. */
.section-light .service,
.case.section-light,
.hafner-work .work-list,
.hafner-work .work-item {
  border-color: rgba(5,5,5,.18);
}

/* 7) Mobile: preserve hierarchy and remove accidental oversized whitespace. */
@media (max-width: 760px) {
  .proof-section,
  .services--light,
  .approach.section-dark {
    padding-top: 76px;
    padding-bottom: 80px;
  }
  .proof-section .proof-block { padding-bottom: 0; margin-bottom: 0; }
  .services--light .service { min-height: 0; }

  .experience {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .experience__title {
    max-width: 100%;
    font-size: clamp(27px, 8.2vw, 34px);
    line-height: .95;
  }
  .media-frame,
  .media-frame--wide { aspect-ratio: 4 / 3; }
  .media-frame--panorama { aspect-ratio: 16 / 10; }
}
@media (max-width: 380px) {
  .experience__title { font-size: 27px; }
}

/* Modern browsers may balance display copy, but explicit <br> breaks remain respected. */
.hero h1,
.intro h2,
.proof-block h2,
.service h3,
.approach__headline h2,
.case h2,
.about-hero h1,
.experience__title,
.about-closing__title h2,
.hafner-hero h1,
.hafner-hero h2,
.case-copy h2,
.hafner-result__copy h2,
.cta h2 {
  text-wrap: balance;
}

/* ===== v5.4.1 — ONLY FIX: filled CI icons on white surfaces =====
   No layout, text, spacing or section changes in this release.
   Uses plain background/border/currentColor only for broad mobile/browser support. */
.services--light .service__icon,
.hafner-work .work-icon,
.approach--light .principle__symbol {
  background-color: var(--icon-accent, var(--pink));
  border-color: var(--icon-accent, var(--pink));
  color: #050505;
}

.services--light .service__icon::after,
.hafner-work .work-icon::after,
.approach--light .principle__symbol::after {
  content: none;
  display: none;
}

/* ===== v5.4.4 — ONLY TWO REQUESTED FIXES =====
   1) Filled CI icons on white: stronger black outline + glyph for reliable contrast.
   2) Homepage Hafner teaser uses an exchangeable image placeholder. */
.services--light .service__icon,
.hafner-work .work-icon,
.approach--light .principle__symbol {
  border-color: #050505;
  border-width: 2.25px;
  color: #050505;
}
.services--light .service__icon svg,
.hafner-work .work-icon svg,
.approach--light .principle__symbol svg {
  stroke: #050505;
  stroke-width: 2.35;
  vector-effect: non-scaling-stroke;
}

.case__visual--image {
  position: relative;
  background: #f5f5f3;
}
.case__visual--image::before { content: none; }
.case__visual--image > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

/* ===== v5.4.6 — HAFNER CASE ONLY: TYPOGRAPHIC BANDWIDTH PROOF =====
   Replaces only the two hero image mockups. All existing KREN design tokens,
   typography, navigation, section rhythm and downstream case-study sections remain unchanged. */
.hafner-page .hafner-hero {
  display: block;
}
.hafner-page .hafner-hero__copy {
  max-width: 760px;
}
.hafner-bandwidth {
  margin-top: clamp(62px, 7vw, 104px);
  min-width: 0;
}
.hafner-bandwidth__label {
  margin: 0 0 clamp(20px, 2vw, 30px);
  color: var(--black);
  font-size: clamp(12px, 1vw, 14px);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -.006em;
}
.hafner-bandwidth__stage {
  position: relative;
  width: 100%;
  height: clamp(610px, 80svh, 820px);
  min-height: 610px;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-end;
  align-items: flex-end;
  gap: clamp(12px, 1.6vw, 24px) clamp(18px, 2vw, 34px);
  padding: 42% 0 10px;
  contain: layout paint;
}
.hafner-bandwidth__word {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  white-space: nowrap;
  color: var(--black);
  font-weight: 800;
  line-height: .88;
  letter-spacing: -.052em;
  text-transform: uppercase;
  transform-origin: 50% 50%;
  user-select: none;
  -webkit-user-select: none;
}
.hafner-bandwidth__word > span {
  display: block;
  transform-origin: 50% 50%;
  transition: transform .18s ease;
}
.hafner-bandwidth__word.size-xl { font-size: clamp(52px, 5.4vw, 74px); }
.hafner-bandwidth__word.size-lg { font-size: clamp(42px, 4.15vw, 58px); }
.hafner-bandwidth__word.size-md { font-size: clamp(31px, 3.05vw, 43px); }
.hafner-bandwidth__word.size-sm { font-size: clamp(23px, 2.18vw, 31px); }

/* Physics mode is applied only when motion is allowed and JS has initialised. */
.hafner-bandwidth__stage.is-physics {
  display: block;
  padding: 0;
}
.hafner-bandwidth__stage.is-physics .hafner-bandwidth__word {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  will-change: transform;
}
.hafner-bandwidth__stage.is-physics.is-started .hafner-bandwidth__word.is-launched {
  opacity: 1;
}
.hafner-bandwidth__stage.is-settled .hafner-bandwidth__word {
  will-change: auto;
}
@media (hover:hover) and (pointer:fine) {
  .hafner-bandwidth__word:hover > span { transform: scale(1.02); }
}

/* Restore the existing case-study breakpoints while giving the proof stage
   the requested editorial scale on tablet and mobile. */
@media (min-width: 760px) {
  .hafner-page .hafner-hero {
    min-height: 0;
    padding-top: calc(var(--header-h) + env(safe-area-inset-top) + 64px);
    padding-bottom: 0;
  }
  .hafner-page .hafner-hero__copy > p:not(.eyebrow) {
    max-width: 42ch;
  }
}
@media (min-width: 1100px) {
  .hafner-page .hafner-hero__copy { max-width: 790px; }
}
@media (max-width: 980px) {
  .hafner-bandwidth__stage {
    height: clamp(620px, 78svh, 760px);
    min-height: 620px;
    padding-top: 38%;
  }
  .hafner-bandwidth__word.size-xl { font-size: clamp(43px, 7.2vw, 60px); }
  .hafner-bandwidth__word.size-lg { font-size: clamp(36px, 5.7vw, 48px); }
  .hafner-bandwidth__word.size-md { font-size: clamp(28px, 4.3vw, 36px); }
  .hafner-bandwidth__word.size-sm { font-size: clamp(21px, 3.2vw, 27px); }
}
@media (max-width: 759px) {
  .hafner-page .hafner-hero {
    padding-bottom: 0;
  }
  .hafner-bandwidth {
    margin-top: 58px;
  }
  .hafner-bandwidth__label {
    margin-bottom: 18px;
    font-size: 12px;
  }
  .hafner-bandwidth__stage {
    height: clamp(540px, 70svh, 670px);
    min-height: 540px;
    gap: 11px 17px;
    padding: 34% 0 8px;
  }
  .hafner-bandwidth__word {
    letter-spacing: -.045em;
  }
  .hafner-bandwidth__word.size-xl { font-size: clamp(34px, 10.5vw, 43px); }
  .hafner-bandwidth__word.size-lg { font-size: clamp(29px, 8.7vw, 36px); }
  .hafner-bandwidth__word.size-md { font-size: clamp(24px, 7vw, 30px); }
  .hafner-bandwidth__word.size-sm { font-size: clamp(19px, 5.45vw, 24px); }
}
@media (max-width: 380px) {
  .hafner-bandwidth__stage {
    height: clamp(545px, 72svh, 640px);
    min-height: 545px;
  }
  .hafner-bandwidth__word.size-xl { font-size: 35px; }
  .hafner-bandwidth__word.size-lg { font-size: 30px; }
  .hafner-bandwidth__word.size-md { font-size: 24px; }
  .hafner-bandwidth__word.size-sm { font-size: 19px; }
}

/* Reduced motion / no-JS: same semantic words, directly composed as typography.
   No information depends on the animation. */
@media (prefers-reduced-motion: reduce) {
  .hafner-bandwidth__stage {
    height: auto;
    min-height: clamp(480px, 65svh, 650px);
    display: flex !important;
    align-content: flex-end;
    align-items: flex-end;
    padding: 32% 0 10px !important;
  }
  .hafner-bandwidth__word {
    position: relative !important;
    opacity: 1 !important;
    transform: none !important;
    will-change: auto !important;
  }
}


/* ===== v5.4.10 — HAFNER CASE: compact claim → bandwidth proof ===== */
.hafner-page .hafner-hero__claim {
  margin-bottom: 0;
  padding-bottom: clamp(20px, 2vw, 28px);
  border-bottom: 2px solid var(--black);
}
.hafner-bandwidth__heading {
  margin: clamp(16px, 1.4vw, 22px) 0 0;
  max-width: 18ch;
  color: var(--black);
  font-size: clamp(22px, 2.1vw, 32px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.035em;
}
.hafner-bandwidth {
  margin-top: clamp(12px, 1.5vw, 18px);
}
.hafner-bandwidth__stage {
  height: clamp(410px, 50svh, 520px);
  min-height: 410px;
}
.hafner-result__copy > p:not(.eyebrow) + p {
  margin-top: 16px;
}
@media (max-width: 980px) {
  .hafner-bandwidth__stage {
    height: clamp(430px, 55svh, 560px);
    min-height: 430px;
  }
}
@media (max-width: 759px) {
  .hafner-bandwidth__heading {
    margin-top: 16px;
    font-size: clamp(20px, 6.2vw, 26px);
  }
  .hafner-bandwidth {
    /* Mobile: a small protected entry zone keeps the falling type
       visually separate from the heading without changing the effect. */
    margin-top: 28px;
  }
  .hafner-bandwidth__stage {
    height: clamp(455px, 61svh, 540px);
    min-height: 455px;
  }
}
@media (max-width: 380px) {
  .hafner-bandwidth {
    margin-top: 24px;
  }
  .hafner-bandwidth__stage {
    height: clamp(440px, 62svh, 510px);
    min-height: 440px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hafner-bandwidth__stage {
    min-height: clamp(360px, 50svh, 470px);
    padding-top: 18% !important;
  }
}


/* ===== HAFNER CASE — spacing and result mockups ===== */
.hafner-page .hafner-hero {
  padding-top: calc(var(--header-h) + env(safe-area-inset-top) + 64px);
}

/* Result mockups: preserve the full placeholder artwork instead of cropping it. */
.hafner-result__visuals {
  min-height: 500px;
}
.result-card {
  height: auto;
}
.result-card img {
  width: 100%;
  height: auto;
  aspect-ratio: auto !important;
  object-fit: contain;
  object-position: center center !important;
}
.result-card--after {
  width: min(88%, 590px);
  right: 0;
  top: 34px;
}
.result-card--before {
  width: min(36%, 230px);
  left: 0;
  bottom: 18px;
  transform: rotate(-6deg);
}

@media (min-width: 760px) {
  .hafner-page .hafner-hero {
    padding-top: calc(var(--header-h) + env(safe-area-inset-top) + 88px);
  }
  .hafner-result__visuals {
    min-height: 520px;
  }
}

@media (min-width: 1100px) {
  .hafner-result__visuals {
    min-height: 540px;
  }
}

@media (max-width: 759px) {
  .hafner-page .hafner-hero {
    padding-top: calc(var(--header-h) + env(safe-area-inset-top) + 58px);
  }
  .hafner-result__visuals {
    width: min(100%, 520px);
    min-height: 360px;
  }
  .result-card--after {
    width: 91%;
    right: 0;
    top: 30px;
  }
  .result-card--before {
    width: 43%;
    left: 0;
    bottom: 10px;
  }
}

@media (max-width: 380px) {
  .hafner-result__visuals {
    min-height: 330px;
  }
}

/* ===== HAFNER CASE — typographic accents and result motion ===== */
/* Deliberately restrained: >80% remains neutral. Only two surprising terms
   pick up KREN colour, while the overall field stays editorial and quiet. */
.hafner-bandwidth__word.tone-pink { color: var(--pink); }
.hafner-bandwidth__word.tone-blue { color: var(--blue); }

/* GLÄSER is intentionally one step smaller on desktop: still prominent,
   but it no longer reaches the clipping edge of a dense final pile. */
.hafner-bandwidth__word.word-glaeser {
  letter-spacing: -.046em;
}
.hafner-bandwidth__word.word-leuchten {
  letter-spacing: -.050em;
}

/* Desktop: enough clearance for rotated glyphs without bringing back the
   oversized white gap. */
.hafner-page .hafner-hero {
  padding-top: calc(var(--header-h) + env(safe-area-inset-top) + 94px);
}
.hafner-bandwidth__stage {
  height: clamp(432px, 52svh, 548px);
  min-height: 432px;
}

/* Result section: large card settles first, small polaroid pins in after it. */
.result-card--after {
  transform:
    translate3d(
      calc(10px * (1 - var(--straighten-progress, 0))),
      calc(24px * (1 - var(--straighten-progress, 0))),
      0
    )
    rotate(calc(-5.5deg + 5.5deg * var(--straighten-progress, 0)));
}
.result-card--before {
  opacity: calc(.12 + (.88 * var(--pin-progress, 0)));
  transform-origin: 54% 8%;
  transform:
    translate3d(
      calc(-32px * (1 - var(--pin-progress, 0))),
      calc(52px * (1 - var(--pin-progress, 0))),
      0
    )
    rotate(calc(-12deg + 6deg * var(--pin-progress, 0)))
    scale(calc(.90 + .10 * var(--pin-progress, 0)));
  filter:
    drop-shadow(0 calc(8px + 12px * var(--pin-progress, 0)) calc(15px + 18px * var(--pin-progress, 0)) rgba(0,0,0,calc(.08 + .08 * var(--pin-progress, 0))));
}
.result-card--before::before {
  content: "";
  position: absolute;
  z-index: 9;
  top: 10px;
  left: 54%;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 1px 0 rgba(255,255,255,.58) inset, 0 3px 8px rgba(0,0,0,.18);
  opacity: var(--pin-progress, 0);
  transform: translate(-50%, calc(-16px * (1 - var(--pin-progress, 0)))) scale(calc(.55 + .45 * var(--pin-progress, 0)));
  transform-origin: 50% 50%;
}

@media (max-width: 980px) {
  .hafner-bandwidth__stage {
    height: clamp(444px, 56svh, 566px);
    min-height: 444px;
  }
}
@media (max-width: 759px) {
  /* Mobile was already working well: retain its spacing and keep the colour
     accents subtle rather than increasing visual density. */
  .hafner-page .hafner-hero {
    padding-top: calc(var(--header-h) + env(safe-area-inset-top) + 58px);
  }
  .result-card--before {
    transform:
      translate3d(
        calc(-22px * (1 - var(--pin-progress, 0))),
        calc(38px * (1 - var(--pin-progress, 0))),
        0
      )
      rotate(calc(-10deg + 5deg * var(--pin-progress, 0)))
      scale(calc(.92 + .08 * var(--pin-progress, 0)));
  }
  .result-card--before::before {
    width: 11px;
    height: 11px;
    top: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .result-card--after {
    transform: none !important;
  }
  .result-card--before {
    opacity: 1 !important;
    transform: rotate(-6deg) !important;
    filter: drop-shadow(0 18px 28px rgba(0,0,0,.14)) !important;
  }
  .result-card--before::before {
    opacity: 1 !important;
    transform: translate(-50%, 0) scale(1) !important;
  }
}


/* ===== HAFNER CASE — micro typography ===== */
.hafner-bandwidth__word.word-stein {
  letter-spacing: -.038em;
}

@media (min-width: 760px) {
  .hafner-page .hafner-hero__copy {
    max-width: 980px;
  }
}


/* ===== HAFNER CASE — result heading and mobile device ===== */
.hafner-result__lead {
  margin: 0 0 18px;
  color: rgba(255,255,255,.92);
  font-size: clamp(20px, 2vw, 32px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.035em;
}
.hafner-result__lead + p {
  margin-top: 14px;
}
.hafner-result__visuals picture {
  display: block;
}
/* real desktop screenshots: no faux hamburger/browser UI */
.hafner-result .device-card__bar {
  display: none;
}

/* keep Stein safely inside the pile */
.hafner-bandwidth__word.word-stein {
  font-size: .92em;
}

@media (max-width: 759px) {
  .hafner-result__copy h2 {
    max-width: 100%;
  }
  .hafner-result__lead {
    font-size: 22px;
    margin-bottom: 16px;
  }
  .hafner-result__visuals {
    min-height: 780px;
  }
  .result-card--after {
    width: min(72vw, 320px);
    max-width: 320px;
    right: 6px;
    top: 14px;
    border: 10px solid #101010;
    border-radius: 42px;
    background: #101010;
    padding: 16px 8px 14px;
    box-shadow: 0 22px 46px rgba(0,0,0,.24);
    overflow: hidden;
  }
  .result-card--after::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 50%;
    width: 34%;
    max-width: 116px;
    height: 22px;
    transform: translateX(-50%);
    background: #101010;
    border-radius: 0 0 16px 16px;
    z-index: 4;
  }
  .result-card--after .result-card__sticker {
    top: 26px;
    left: 50%;
    transform: translateX(-50%);
  }
  .result-card--after .image-credit {
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    white-space: nowrap;
  }
  .result-card--after img {
    border-radius: 28px;
    background: #fff;
  }
  .result-card--before {
    width: min(46vw, 188px);
    left: 0;
    bottom: 22px;
    z-index: 5;
  }
}

@media (max-width: 380px) {
  .hafner-result__visuals {
    min-height: 720px;
  }
  .result-card--after {
    width: min(76vw, 292px);
  }
  .result-card--before {
    width: min(49vw, 176px);
  }
}


/* ===== HAFNER CASE — result spacing ===== */
@media (min-width: 760px) {
  .hafner-result {
    padding-bottom: 124px;
  }
  .hafner-result__visuals {
    min-height: 592px;
  }
  .result-card--before {
    bottom: 34px;
  }
}
@media (min-width: 1100px) {
  .hafner-result__visuals {
    min-height: 616px;
  }
  .result-card--before {
    bottom: 40px;
  }
}


/* ===== HAFNER CASE — desktop Bandbreite: 2s hold, then contract ===== */
.hafner-task__bandwidth {
  display: inline-block;
}
@media (min-width: 1100px) and (prefers-reduced-motion: no-preference) {
  .hafner-task__bandwidth {
    position: relative;
    z-index: 1;
    transform: scaleX(var(--task-bandwidth-scale, 2.35));
    transform-origin: left center;
    will-change: transform;
    transition: none;
  }
  .hafner-task__bandwidth.is-collapsing {
    transition: transform 1.1s cubic-bezier(.22,.82,.28,1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hafner-task__bandwidth {
    transform: none !important;
    transition: none !important;
  }
}

/* ===== HAFNER CASE — final result labels ===== */
.hafner-result__lead {
  margin: 0 0 22px;
  max-width: 15ch;
  color: rgba(255,255,255,.96);
  font-size: clamp(48px, 5vw, 78px);
  font-weight: 800;
  line-height: .94;
  letter-spacing: -.052em;
}
.hafner-result__lead + p { margin-top: 16px; }
.result-card { overflow: visible; }
.result-card--before::before,
.result-card__sticker,
.result-card__sticker::before {
  display: none !important;
  content: none !important;
}
.result-handnote {
  position: absolute;
  z-index: 12;
  margin: 0;
  color: #fff;
  font-family: var(--kren-font);
  font-style: italic;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.03;
  white-space: nowrap;
  pointer-events: none;
  text-shadow: 0 2px 10px rgba(0,0,0,.24);
}
.result-handnote--after {
  top: -54px;
  left: 8px;
  font-size: clamp(20px, 1.65vw, 27px);
  transform: rotate(-3deg);
}
.result-handnote--before {
  top: -40px;
  left: -62px;
  font-size: clamp(18px, 1.5vw, 24px);
  transform: rotate(-5deg);
}
.result-handnote--before svg {
  display: block;
  width: 92px;
  height: 74px;
  margin: 1px 0 0 10px;
  overflow: visible;
  fill: none;
  stroke: #fff;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (min-width: 760px) {
  .hafner-result__lead { margin-bottom: 26px; }
}
@media (max-width: 759px) {
  .hafner-result__lead {
    max-width: 100%;
    font-size: clamp(30px, 8.7vw, 48px);
    line-height: .96;
    margin-bottom: 18px;
  }
  .result-handnote--after {
    top: -42px;
    left: 2px;
    font-size: 19px;
  }
  .result-handnote--before {
    top: -32px;
    left: -12px;
    font-size: 18px;
  }
  .result-handnote--before svg {
    width: 70px;
    height: 56px;
    margin-left: 8px;
    stroke-width: 3;
  }
}
@media (max-width: 380px) {
  .hafner-result__lead { font-size: 29px; }
}


/* ===== v5.5.5 — result subheadline matches HAFNER title size ===== */
.hafner-result__copy > p.hafner-result__lead {
  max-width: none;
  margin: 0 0 26px;
  color: rgba(255,255,255,.96);
  font-size: clamp(30px, 8.7vw, 48px);
  font-weight: 800;
  line-height: .96;
  letter-spacing: -.052em;
}
@media (min-width: 760px) {
  .hafner-result__copy > p.hafner-result__lead {
    font-size: clamp(48px, 5vw, 78px);
    line-height: .94;
    white-space: nowrap;
  }
}
@media (max-width: 380px) {
  .hafner-result__copy > p.hafner-result__lead {
    font-size: 29px;
  }
}


/* ===== v5.5.6 — Hafner result desktop mobile-first card ===== */
.result-card--mobile {
  display: none;
}

@media (min-width: 760px) {
  .hafner-result__visuals {
    width: min(100%, 790px);
    min-height: 640px;
  }
  .result-card--after {
    width: min(100%, 590px);
    right: 118px;
    top: 56px;
  }
  .result-card--before {
    width: min(39%, 238px);
    left: 10px;
    bottom: 26px;
    z-index: 4;
  }
  .result-card--mobile {
    display: block;
    width: min(23%, 168px);
    right: 0;
    top: 180px;
    z-index: 5;
    overflow: hidden;
    background: #101010;
    border: 9px solid #101010;
    border-radius: 34px;
    padding: 14px 7px 18px;
    box-shadow: 0 20px 44px rgba(0,0,0,.24);
    transform: rotate(3.5deg);
    transform-origin: center;
  }
  .result-card--mobile::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 50%;
    width: 38%;
    max-width: 70px;
    height: 18px;
    transform: translateX(-50%);
    background: #101010;
    border-radius: 0 0 14px 14px;
    z-index: 4;
  }
  .result-card--mobile img {
    aspect-ratio: 944 / 2048;
    border-radius: 24px;
    object-fit: cover;
    object-position: top center;
    background: #fff;
  }
  .result-card--mobile .image-credit {
    left: 50%;
    bottom: 13px;
    transform: translateX(-50%);
    white-space: nowrap;
  }
  .result-handnote--mobile {
    top: -42px;
    left: 2px;
    font-size: clamp(17px, 1.25vw, 21px);
    color: rgba(255,255,255,.86);
    transform: rotate(-2.5deg);
  }
}

@media (min-width: 1100px) {
  .hafner-result__visuals {
    width: min(100%, 840px);
    min-height: 676px;
  }
  .result-card--after {
    width: min(100%, 640px);
    right: 126px;
    top: 48px;
  }
  .result-card--before {
    width: min(37%, 252px);
    left: 12px;
    bottom: 30px;
  }
  .result-card--mobile {
    width: min(22%, 182px);
    right: 0;
    top: 198px;
  }
  .result-handnote--mobile {
    top: -44px;
    left: 6px;
  }
}

@media (max-width: 759px) {
  .result-card--mobile { display: none !important; }
}


/* ===== v5.5.7 — Hafner result desktop layout polish ===== */
@media (min-width: 760px) and (max-width: 1099px) {
  .result-card--mobile {
    display: none !important;
  }
}

@media (min-width: 1100px) {
  .hafner-result {
    grid-template-columns: minmax(0, .84fr) minmax(560px, 1.16fr);
    gap: clamp(84px, 8vw, 138px);
    align-items: start;
  }
  .hafner-result__copy {
    max-width: 560px;
    padding-top: 18px;
  }
  .hafner-result__copy > p.hafner-result__lead {
    max-width: 10.5ch;
    margin-bottom: 28px;
    font-size: clamp(52px, 4.75vw, 76px);
    line-height: .95;
    white-space: normal;
  }
  .hafner-result__copy > p:not(.eyebrow) {
    max-width: 33ch;
  }
  .hafner-result__visuals {
    width: min(100%, 780px);
    min-height: 674px;
    justify-self: end;
  }
  .result-card--after {
    width: min(100%, 610px);
    right: 98px;
    top: 50px;
  }
  .result-card--before {
    width: min(35%, 238px);
    left: 12px;
    bottom: 34px;
    z-index: 4;
  }
  .result-card--mobile {
    display: block;
    width: min(18%, 142px);
    right: 28px;
    top: 228px;
    z-index: 6;
    overflow: hidden;
    background: #101010;
    border: 4px solid #101010;
    border-radius: 28px;
    padding: 10px 4px 14px;
    box-shadow: 0 16px 34px rgba(0,0,0,.22);
    transform: translateX(64px) rotate(3.8deg);
    transform-origin: center;
    transition: transform 900ms cubic-bezier(.22,.7,.18,1);
  }
  .reveal.is-visible .result-card--mobile {
    transform: translateX(0) rotate(3.8deg);
  }
  .result-card--mobile::before {
    content: "";
    position: absolute;
    top: 6px;
    left: 50%;
    width: 36%;
    max-width: 44px;
    height: 10px;
    transform: translateX(-50%);
    background: #101010;
    border-radius: 0 0 10px 10px;
    z-index: 4;
  }
  .result-card--mobile img {
    aspect-ratio: 944 / 2048;
    border-radius: 20px;
    object-fit: cover;
    object-position: top center;
    background: #fff;
  }
  .result-card--mobile .image-credit {
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 9px;
  }
  .result-handnote--mobile {
    top: -48px;
    right: -10px;
    left: auto;
    font-size: clamp(18px, 1.22vw, 22px);
    color: rgba(255,255,255,.88);
    transform: rotate(-2.5deg);
    white-space: nowrap;
  }
}

@media (min-width: 1400px) {
  .hafner-result__visuals {
    width: min(100%, 820px);
  }
  .result-card--after {
    width: min(100%, 632px);
    right: 108px;
  }
  .result-card--mobile {
    width: min(17.5%, 148px);
    right: 34px;
    top: 232px;
  }
}


/* ===== v5.5.8 — Hafner result spacing and label refinement ===== */
@media (min-width: 1100px) {
  .hafner-result {
    grid-template-columns: minmax(0, .88fr) minmax(520px, 1.12fr);
    gap: clamp(96px, 8.5vw, 156px);
  }
  .hafner-result__copy {
    max-width: 540px;
    padding-top: 24px;
  }
  .hafner-result__copy > p.hafner-result__lead,
  .hafner-result__lead {
    max-width: none;
    margin-bottom: 32px;
    font-size: clamp(42px, 4vw, 64px);
    line-height: .94;
    letter-spacing: -.052em;
    white-space: nowrap;
  }
  .hafner-result__copy > p:not(.eyebrow) {
    max-width: 31ch;
  }
  .hafner-result__visuals {
    width: min(100%, 736px);
    min-height: 632px;
  }
  .result-card--after {
    width: min(100%, 564px);
    right: 116px;
    top: 58px;
  }
  .result-card--before {
    width: min(35%, 226px);
    left: 34px;
    bottom: 46px;
  }
  .result-card--mobile {
    width: min(17%, 128px);
    right: 22px;
    top: 238px;
    border-width: 3px;
    border-radius: 26px;
    padding: 9px 4px 12px;
  }
  .result-card--mobile::before {
    top: 5px;
    max-width: 40px;
    height: 9px;
  }
  .result-card--mobile img {
    border-radius: 18px;
  }
  .result-card--mobile .image-credit {
    bottom: 8px;
    font-size: 8.5px;
  }
  .result-handnote--after {
    top: -62px;
    left: 18px;
    font-size: clamp(19px, 1.45vw, 25px);
  }
  .result-handnote--before {
    top: -18px;
    left: -72px;
    font-size: clamp(18px, 1.32vw, 22px);
  }
  .result-handnote--before svg {
    width: 84px;
    height: 70px;
    margin: 0 0 0 10px;
  }
  .result-handnote--mobile {
    top: -40px;
    right: 4px;
    font-size: clamp(17px, 1.08vw, 20px);
  }
}

@media (min-width: 1400px) {
  .hafner-result__visuals {
    width: min(100%, 760px);
  }
  .result-card--after {
    width: min(100%, 586px);
    right: 120px;
  }
  .result-card--mobile {
    width: min(16.5%, 132px);
    right: 24px;
    top: 244px;
  }
}


/* ===== v5.5.9 — Hafner result note and text-width polish ===== */
@media (min-width: 1100px) {
  .hafner-result__copy {
    max-width: 570px;
  }
  .hafner-result__copy > p:not(.eyebrow) {
    max-width: 34ch;
  }
  .result-handnote--before {
    top: -16px;
    left: -128px;
    font-size: clamp(18px, 1.25vw, 22px);
    transform: rotate(-7deg);
  }
  .result-handnote--before svg {
    width: 176px;
    height: 92px;
    margin: -6px 0 0 18px;
  }
}

@media (min-width: 1400px) {
  .hafner-result__copy > p:not(.eyebrow) {
    max-width: 35ch;
  }
  .result-handnote--before {
    left: -136px;
  }
}
