:root {
  color-scheme: light;
  --canvas: #d0d0d0;
  --ink: #111111;
  --white: #ffffff;
  --green: #6cac48;
  --line: rgb(17 17 17 / 23%);
  --gutter: clamp(1.25rem, 5vw, 5rem);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--canvas);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; }
a:focus-visible, button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
section[id] { scroll-margin-block-start: 1.5rem; }
[hidden] { display: none !important; }
.frame { max-width: 100rem; margin-inline: auto; padding-inline: var(--gutter); }
.skip {
  position: fixed;
  inset: .5rem auto auto .5rem;
  z-index: 20;
  padding: .8rem 1rem;
  background: var(--white);
}
.skip:not(:focus) {
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.header-inner, .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.header-inner { min-height: 6rem; }
.home .header {
  position: absolute;
  z-index: 3;
  inset: 0 0 auto;
}
.brand { display: inline-flex; padding-block: .35rem; }
.brand img { width: clamp(8.5rem, 14vw, 10.4rem); height: auto; }
.footer nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.8rem); }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; text-underline-offset: .35rem; }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--ink);
  background: var(--canvas);
}
.hero-inner {
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(42rem, 91svh, 63rem);
  padding-block: clamp(7.5rem, 12vw, 11rem) clamp(4rem, 10vw, 8rem);
}
.hero-copy {
  max-width: min(53rem, 61vw);
  transform: translate3d(0, var(--copy-shift, 0px), 0);
}
.eyebrow, .section-label {
  display: flex;
  align-items: baseline;
  gap: .75rem;
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .085em;
  text-transform: uppercase;
}
.eyebrow::before, .section-label::before {
  content: "";
  flex: 0 0 .58rem;
  height: .58rem;
  background: var(--green);
}
.hero h1 {
  margin-block: 1.45rem 1.4rem;
  font-size: clamp(3rem, 6.1vw, 6.4rem);
  font-weight: 700;
  line-height: .96;
  letter-spacing: -.065em;
  text-wrap: balance;
}
.end-word { white-space: nowrap; }
.accent { color: var(--green); margin-inline-start: .13em; letter-spacing: 0; }
.intro, .section-text { max-width: 48ch; font-size: clamp(1rem, 1.25vw, 1.22rem); line-height: 1.55; }
.button {
  display: inline-flex;
  margin-top: 2rem;
  padding: .95rem 1.35rem;
  font-weight: 700;
  background: var(--ink);
  color: var(--white);
  border: 1px solid var(--ink);
  text-decoration: none;
  transition: background .2s, color .2s;
}
.button:hover { background: var(--canvas); color: var(--ink); }
.profile .section-label, .focus .section-label, .collaboration .section-label,
.profile-copy, .collaboration-headline, .contact-copy,
.practice > *, .conversation > * {
  transform: translate3d(0, calc((1 - var(--section-progress, 1)) * var(--text-travel)), 0);
}
.contact-copy:focus-within { transform: none; }

.home { --text-travel: 16px; }
.profile, .focus, .collaboration, .contact { padding-block: clamp(3rem, 7vw, 6.7rem); }
.profile { background: var(--ink); color: var(--white); }
.profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(10rem, .68fr);
  align-items: start;
  gap: clamp(1.5rem, 3.5vw, 3.5rem);
}
.profile-copy .section-headline {
  font-size: clamp(2.15rem, 3.85vw, 4.35rem);
  overflow-wrap: anywhere;
}
.profile-portrait { margin: 0; }
.portrait-frame {
  position: relative;
  overflow: hidden;
  border-radius: 7px;
}
.portrait-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 32%;
  filter: saturate(.38) contrast(.96);
}
.profile-portrait figcaption {
  display: grid;
  gap: .22rem;
  padding-top: .75rem;
  line-height: 1.4;
}
.profile-portrait figcaption span { font-size: .9rem; color: var(--canvas); }
.section-grid { display: grid; grid-template-columns: minmax(10rem, 1fr) minmax(0, 2.65fr); gap: 1.5rem 2rem; }
.section-headline {
  max-width: 15ch;
  font-size: clamp(2.35rem, 5vw, 5rem);
  font-weight: 700;
  line-height: .99;
  letter-spacing: -.06em;
}
.section-text { margin-top: 1.4rem; }
.practice { position: relative; padding-block: 1.4rem; display: grid; grid-template-columns: 1fr 1fr; gap: .8rem 2rem; }
.practice::before, .practice:last-child::after, .conversation::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  border-top: 1px solid var(--line);
  transform: translate3d(0, calc((1 - var(--section-progress, 1)) * var(--text-travel)), 0);
}
.practice:last-child::after { inset: auto 0 0; }
.practice h3 { font-size: clamp(1.25rem, 2.25vw, 2.2rem); letter-spacing: -.035em; }
.practice p { max-width: 42ch; line-height: 1.55; }
.collaboration {
  position: relative;
  isolation: isolate;
  background: var(--ink);
  color: var(--white);
  --line: rgb(255 255 255 / 28%);
}
.collaboration-headline {
  max-width: 20ch;
  font-size: clamp(2rem, 4vw, 4rem);
}
.conversation-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem clamp(1.25rem, 3vw, 2.5rem);
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}
.conversation { position: relative; padding-top: 1rem; }
.conversation h3 { margin-bottom: .65rem; font-size: 1.08rem; }
.conversation p { line-height: 1.55; }
.contact {
  background: var(--white);
  color: var(--ink);
}
.contact-content {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(2.5rem, 9vw, 8rem);
}
.contact-copy .section-headline {
  margin-top: clamp(1.1rem, 2.5vw, 1.65rem);
  font-size: clamp(2.35rem, 4.7vw, 4.6rem);
}
.contact-form { padding-top: .2rem; }
.contact-copy address { margin-top: 1.6rem; }
.contact-form label { display: block; font-weight: 700; margin-bottom: .45rem; }
.contact-form input, .contact-form textarea {
  width: 100%;
  margin-bottom: 1rem;
  padding: .8rem .85rem;
  border: 1px solid #767676;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}
.contact-form textarea { resize: vertical; }
.contact-form input:focus-visible, .contact-form textarea:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
.contact-form p { font-size: .9rem; line-height: 1.5; }
.contact-form .button {
  margin-top: 1.2rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
#kontakt-status:not(:empty) { margin-top: .8rem; }
.email { display: inline-block; margin-top: 1.5rem; text-decoration-color: var(--green); text-underline-offset: .35rem; overflow-wrap: anywhere; }
address { font-style: normal; line-height: 1.55; }
.footer { background: var(--ink); color: var(--white); }
.footer-inner { min-height: 5.75rem; font-size: .92rem; }

.legal { padding-block: clamp(2.25rem, 7vw, 6rem); border-top: 1px solid var(--line); }
.legal-content { max-width: 76ch; }
.legal h1 { font-size: clamp(2.35rem, 5.7vw, 5rem); line-height: 1; letter-spacing: -.055em; overflow-wrap: anywhere; }
.legal h2 { font-size: 1.25rem; margin-block: 2rem .55rem; }
.legal p, .legal address { line-height: 1.65; }
.legal p + p { margin-top: .75rem; }
.legal-note { margin-top: 1.3rem; padding-left: 1rem; border-left: 3px solid var(--green); }
.legal-link { text-underline-offset: .2em; overflow-wrap: anywhere; }

:is(.profile, .focus, .contact) {
  position: relative;
  isolation: isolate;
}
.motif-background {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.motif-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}
:is(.focus, .collaboration, .contact) .motif-background img { object-fit: fill; }
.motif-background::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--motif-shade, transparent);
  mask-image: linear-gradient(180deg, #000 65%, transparent 98%);
}
.hero {
  --motif-shade: linear-gradient(90deg, rgb(208 208 208 / 72%), rgb(208 208 208 / 55%) 51%, transparent 78%);
}
.profile {
  --motif-shade: linear-gradient(90deg, rgb(17 17 17 / 19%), rgb(17 17 17 / 46%) 32%, rgb(17 17 17 / 58%) 73%, transparent);
}
.focus {
  --motif-shade: linear-gradient(90deg, transparent, rgb(208 208 208 / 54%) 28%, rgb(208 208 208 / 70%) 60%);
}
.collaboration {
  --motif-shade: linear-gradient(90deg, rgb(17 17 17 / 20%), rgb(17 17 17 / 72%) 29%, rgb(17 17 17 / 63%) 74%, rgb(17 17 17 / 44%));
}
.contact {
  --motif-shade: linear-gradient(90deg, rgb(255 255 255 / 22%), rgb(255 255 255 / 52%) 38%, rgb(255 255 255 / 72%) 64%);
}

.contact { padding-block-end: 10rem; }
.contact-content {
  padding-inline-start: max(var(--gutter), calc(11.6vw + 1.25rem));
}
@media (min-width: 851px) {
  .profile {
    padding-top: clamp(3rem, 5.5vw, 5.5rem);
    padding-bottom: clamp(7rem, 12vw, 12rem);
  }
  :is(.focus, .collaboration) .section-label {
    padding-inline-start: clamp(1.25rem, 3vw, 2.4rem);
  }
}

@media (max-width: 850px) {
  .practice, .contact-content, .conversation-list { grid-template-columns: 1fr; }
  .profile-layout { grid-template-columns: 1fr; }
  .profile-portrait { max-width: 20rem; }
}

@media (650px < width <= 850px) {
  .contact { padding-block-end: 13rem; }
  :is(.focus, .collaboration) { padding-block-end: 7rem; }
}

@media (max-width: 650px) {
  .header-inner { min-height: 4.5rem; }
  .home { --text-travel: 10px; }
  .hero-inner { min-height: clamp(28rem, 72svh, 42rem); padding-block: 5.5rem 3rem; }
  .hero .motif-background img { object-position: 45.5% bottom; }
  .hero-copy { max-width: 80vw; }
  .hero h1 { font-size: clamp(1.75rem, 8.7vw, 3.75rem); margin-block: 1.1rem; }
  .button { margin-top: 1.35rem; }
  .section-grid { grid-template-columns: 1fr; }
  .profile-layout { gap: 2rem; }
  .portrait-frame img { aspect-ratio: 7 / 6; object-position: center 27%; }
  .hero {
    --motif-shade: linear-gradient(90deg, rgb(208 208 208 / 74%) 53%, rgb(208 208 208 / 58%) 80%, transparent);
  }
  .profile { padding-block-end: 10rem; }
  .profile .motif-background img { object-position: right bottom; }
  :is(.focus, .collaboration) { padding-block-end: 7.5rem; }
  .contact { padding-block-end: 11rem; }
  .profile-layout { padding-inline-end: max(1.5rem, 5vw); }
  :is(.focus, .collaboration) > .frame,
  .contact-content { padding-inline-start: max(var(--gutter), 1.75rem); }
  .profile { --motif-shade: linear-gradient(90deg, rgb(17 17 17 / 66%), rgb(17 17 17 / 48%) 78%, transparent); }
  .focus { --motif-shade: linear-gradient(90deg, transparent, rgb(208 208 208 / 65%) 21%, rgb(208 208 208 / 72%)); }
  .collaboration { --motif-shade: linear-gradient(90deg, rgb(17 17 17 / 18%), rgb(17 17 17 / 70%) 21%, rgb(17 17 17 / 69%)); }
  .contact { --motif-shade: linear-gradient(90deg, rgb(255 255 255 / 18%), rgb(255 255 255 / 78%) 25%, rgb(255 255 255 / 89%)); }
  .legal h1 { font-size: clamp(1.7rem, 7.5vw, 2.5rem); }
  .footer-inner { min-height: 0; padding-block: 1.3rem; align-items: flex-start; flex-direction: column; gap: .85rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-copy, .home .section-label, .profile-copy,
  .collaboration-headline, .contact-copy, .practice > *, .conversation > *,
  .practice::before, .practice:last-child::after, .conversation::before { transform: none; }
  .button { transition: none; }
}
