/* Generated by tools/assets-vorbereiten.py; edit the source modules. */

/* variables.css */
:root {
  --cream: #f4f2e4;
  --forest: #183b2e;
  --dark: #17251f;
  --sage: #a6af98;
  --secondary: #6b8768;
  --light: #e2e5d9;
  --ink: #19231d;
  --line: rgba(24, 59, 46, 0.18);
  --pad: clamp(24px, 2.45vw, 56px);
  --space: clamp(40px, 4.5vw, 90px);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', Arial, sans-serif;
}

/* base.css */
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorantgaramond.woff2') format('woff2');
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/dmsans.woff2') format('woff2');
  font-weight: 100 1000;
  font-display: swap;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: clamp(16px, 1.02vw, 19px) / 1.5 var(--sans);
}
body.modal-open {
  overflow: hidden;
}
h1, h2, h3, p, figure, dl {
  margin: 0;
}
h1, h2, h3 {
  font-family: var(--serif);
  line-height: 1.1;
  font-weight: 600;
}
h1 {
  font-size: clamp(40px, 3.35vw, 72px);
}
h2 {
  font-size: clamp(30px, 2.25vw, 46px);
}
h3 {
  font-size: 25px;
}
p + p {
  margin-top: 1em;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button, input, textarea {
  font: inherit;
}
button {
  color: inherit;
  cursor: pointer;
  border: 0;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button, a {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--secondary);
  outline-offset: 5px;
}
.dark :focus-visible {
  outline-color: var(--cream);
}
::selection {
  color: var(--cream);
  background: var(--forest);
}
.sr-only, .honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 12px;
  background: white;
  transform: translateY(-160%);
}
.skip:focus {
  transform: none;
}
.page-pad {
  padding: var(--space) var(--pad);
}
.dark {
  background-color: var(--dark);
  color: var(--cream);
}
.eyebrow {
  font: 600 clamp(15px, 1.15vw, 23px) / 1.4 var(--serif);
  letter-spacing: 0.035em;
}
/* Grid children may shrink without overflowing into neighboring artwork. */
main, section, article, figure, div {
  min-width: 0;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* components.css */
/* Navigation */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 5px 3%;
  background: #d9d9cb;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font: 600 16px var(--serif);
  white-space: nowrap;
}
.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.header nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3.8vw, 76px);
}
.header nav > a {
  position: relative;
  text-decoration: none;
  font-size: clamp(12px, 0.82vw, 16px);
  font-weight: 500;
  white-space: nowrap;
}
.header nav > a:not(.button)::after {
  content: '';
  position: absolute;
  bottom: -7px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--forest);
  transform: scaleX(0);
  transition: transform 0.2s;
}
.header nav > a[aria-current]::after, .header nav > a:hover::after {
  transform: scaleX(1);
}
.menu-toggle {
  display: none;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 26px;
  min-height: 46px;
  border-radius: 6px;
  background: var(--forest);
  color: white;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.button:hover {
  background: #28503d;
  transform: translateY(-2px);
}
.button:disabled {
  cursor: wait;
  opacity: 0.7;
}
.nav-cta {
  padding: 12px 20px;
}
/* Original banner artwork stays behind a bounded text column. */
.banner {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 1;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.banner-art {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.banner-copy {
  width: 34%;
  margin-left: 11%;
  padding: 38px 0;
}
.banner-copy p {
  margin-top: 18px;
  font-size: clamp(16px, 0.92vw, 18px);
  line-height: 1.45;
  max-width: 450px;
}
.photo-hero .banner-copy {
  margin-left: 22%;
  width: 31%;
}
.map-hero {
  aspect-ratio: 1884 / 834;
}
.map-hero .banner-copy {
  margin-left: 14%;
  width: 30%;
}
.composing-hero .banner-copy {
  margin-left: 11%;
  width: 32%;
}
.skills-hero .banner-copy {
  margin-left: 4%;
  width: 25%;
}
.skills-hero .banner-art, .contact-hero .banner-art {
  left: -25%;
  width: 125%;
  max-width: none;
}
.contact-hero {
  aspect-ratio: 2.67 / 1;
}
.contact-hero .banner-copy {
  margin-left: 2.5%;
  width: 30%;
}
/* Three project facts */
.project-info {
  display: grid;
  grid-template-columns: 1.05fr 1.1fr 0.85fr;
  gap: 24px;
  padding: 32px var(--pad) 40px;
}
.project-info > div {
  display: flex;
  gap: 18px;
  padding: 8px 28px 8px 0;
  border-right: 1px solid var(--line);
  align-items: flex-start;
}
.project-info > div:last-child {
  border: 0;
}
.project-info img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex-shrink: 0;
}
.project-info h2 {
  font-size: 18px;
  letter-spacing: 0.07em;
  margin: 6px 0 10px;
}
.project-info p {
  font-size: 16px;
  line-height: 1.45;
  max-width: 440px;
}
/* Reusable headings and original-image lightbox */
.split-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6%;
  align-items: start;
}
.split-heading h2 {
  display: flex;
  gap: 25px;
  align-items: center;
}
.split-heading h2::after {
  content: '';
  flex: 1;
  height: 1px;
  background: currentColor;
  opacity: 0.22;
}
.zoom {
  display: block;
  width: 100%;
  padding: 0;
  background: transparent;
}
.zoom img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.zoom:hover {
  outline: 1px solid var(--secondary);
  outline-offset: 3px;
}
.lightbox {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  border: 0;
  margin: 0;
  padding: 70px 70px 30px;
  background: rgba(10, 20, 15, 0.98);
  color: white;
}
.lightbox[open] {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.lightbox::backdrop {
  background: #102019;
}
.lightbox figure {
  flex: 1;
  max-width: calc(100% - 128px);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 15px;
}
.lightbox-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  width: 100%;
  flex: 1;
}
.lightbox-media img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.lightbox figcaption {
  text-align: center;
  font-size: 14px;
}
.lightbox > button {
  flex-shrink: 0;
  background: var(--forest);
  color: white;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 24px;
}
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 24px;
}
.lightbox-prev:disabled, .lightbox-next:disabled {
  visibility: hidden;
}
/* Form */
label {
  display: block;
  margin: 25px 0 9px;
  font-size: 14px;
}
label span {
  font-size: 12px;
  color: #53604f;
}
input, textarea {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 12px;
  color: var(--ink);
}
textarea {
  resize: vertical;
  min-height: 210px;
}
input:focus, textarea:focus {
  border-color: var(--forest);
}
.privacy-note {
  font-size: 12px;
  margin: 18px 0 25px;
}
#form-status {
  margin-top: 20px;
  font-size: 14px;
}
#form-status[data-state='error'] {
  color: #8c2c1b;
}

/* pages.css */
/* Start */
.home-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 1888 / 833;
  isolation: isolate;
  overflow: hidden;
}
.home-art {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-copy {
  max-width: 57%;
  padding: 2vw var(--pad);
}
.home-copy h1 {
  margin-top: 2.1vw;
  font-size: clamp(40px, 3.25vw, 76px);
  line-height: 1.18;
  color: #0c140f;
}
.profession {
  font: 500 clamp(19px, 1.35vw, 28px) / 1.4 var(--serif);
}
.home-copy .intro {
  max-width: 960px;
  margin-top: 2.2vw;
  line-height: 1.35;
}
.actions {
  display: flex;
  gap: 4.8vw;
  margin-top: 2vw;
}
.actions .button {
  min-width: clamp(170px, 12.8vw, 270px);
}
.stats {
  display: flex;
  margin-top: 2vw;
  font-size: clamp(14px, 1vw, 20px);
  line-height: 1.9;
}
.stats > div {
  padding: 8px 26px;
  border-right: 1px solid var(--line);
}
.stats > div:first-child {
  padding-left: 0;
}
.stats > div:last-child {
  border: 0;
}
.stats dt {
  font-weight: 500;
}
.stats dd {
  margin: 0;
}
/* Projects */
.projects {
  min-height: calc(100vh - 66px);
  padding-top: 25px;
  background: url('../images/blätter.webp') right top / 20% auto no-repeat, linear-gradient(#f4f2e4dd, #f4f2e4dd), url('../images/Hintergrundformen.webp') center / cover no-repeat;
}
.section-intro h1 {
  margin: 20px 0 18px;
}
.section-intro > p:last-child {
  max-width: 650px;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5%;
  margin-top: 46px;
}
.project-card {
  display: block;
  padding: 15px;
  background: var(--sage);
  border-radius: 9px;
  text-decoration: none;
  transition: transform 0.25s;
}
.card-image {
  aspect-ratio: 1.65 / 1;
  overflow: hidden;
  border: 1px solid var(--line);
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.project-card:hover {
  transform: translateY(-4px);
}
.project-card:hover img {
  transform: scale(1.035);
}
.card-copy {
  position: relative;
  padding: 28px 14px 22px;
  min-height: 145px;
}
.card-copy h2 {
  font-size: clamp(25px, 1.65vw, 34px);
  padding-right: 20px;
}
.card-copy p {
  font-size: 14px;
  margin-top: 20px;
  padding-right: 40px;
}
.project-number {
  position: absolute;
  top: 22px;
  right: 5px;
  font-size: 12px;
  opacity: 0.7;
}
.circle-arrow {
  position: absolute;
  right: 5px;
  bottom: 12px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--forest);
  color: white;
}
/* Photography and a carousel that also has visible static markup. */
.photo-process {
  display: grid;
  grid-template-columns: 1fr 2fr 0.9fr;
  gap: 2%;
  align-items: start;
  padding: 55px var(--pad) 65px;
}
.photo-process > div:first-child p {
  margin-top: 24px;
  max-width: 420px;
}
.process-notes {
  padding: 24px;
  background: #deded3;
  color: var(--ink);
}
.process-note {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  margin-top: 22px;
}
.process-note:first-child {
  margin-top: 0;
}
.process-note img {
  width: 24px;
  height: 28px;
  object-fit: contain;
}
.process-note h3 {
  font: 500 13px / 1.35 var(--sans);
  letter-spacing: 0.045em;
}
.process-note p {
  font-size: 13px;
  margin-top: 5px;
  line-height: 1.45;
}
.gallery-section {
  display: grid;
  grid-template-columns: 0.85fr 3.4fr;
  align-items: start;
  gap: 28px;
  padding: 24px var(--pad) 42px;
}
.gallery-section > h2 {
  padding-top: 22px;
  font-size: clamp(25px, 1.8vw, 36px);
}
.gallery {
  --photo-height: clamp(220px, 19vw, 370px);
  position: relative;
  touch-action: pan-y;
}
.gallery-viewport {
  overflow: hidden;
  width: 100%;
  height: calc(var(--photo-height) + 26px);
}
.gallery-track {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  height: 100%;
  list-style: none;
  padding: 13px 0;
  margin: 0;
  transition: transform 0.4s ease;
}
.gallery-slide {
  flex: 0 0 auto;
  height: var(--photo-height);
}
.gallery-slide .zoom, .gallery-slide .carousel-clone {
  display: block;
  width: auto;
  height: 100%;
}
.gallery-slide img {
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: contain;
  border: 2px solid transparent;
  opacity: 0.85;
  transition: opacity 0.3s, border-color 0.3s, transform 0.3s;
}
.gallery-slide.is-active img {
  opacity: 1;
  border-color: white;
  transform: scale(1.025);
}
.gallery-item:hover {
  outline: none;
}
.gallery-item:focus-visible {
  outline-offset: -5px;
}
.gallery-controls {
  position: absolute;
  top: 50%;
  left: -20px;
  right: -20px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  transform: translateY(-50%);
}
.gallery-controls button {
  pointer-events: auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: white;
  background: var(--forest);
  font-size: 24px;
}
/* Interactive map */
.map-overview {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 7%;
  padding: 65px var(--pad);
}
.map-overview p {
  max-width: 650px;
  margin-top: 24px;
}
.map-hint {
  font-size: 14px;
  color: var(--light);
}
/* The original illustration and its five markers share the same coordinate space. */
.interactive-map {
  min-width: 0;
  align-self: start;
}
.map-canvas {
  position: relative;
}
.map-canvas > img {
  width: 100%;
  height: auto;
}
.map-markers {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.map-marker {
  position: absolute;
  left: var(--marker-x);
  top: var(--marker-y);
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  pointer-events: auto;
  text-decoration: none;
  border-radius: 50%;
}
.map-marker span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid transparent;
  transition: transform 0.2s ease;
}
.map-marker:hover span, .map-marker:focus-visible span {
  transform: scale(1.15);
  border-color: var(--cream);
}
.map-marker[aria-expanded="true"] span {
  border-color: var(--cream);
  box-shadow: 0 0 0 3px #ffffff50;
}
.map-overview .map-enlarge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 44px;
  padding: 10px 0;
  background: transparent;
  color: var(--cream);
  text-align: left;
  font-size: 14px;
}
.map-spots {
  margin-top: 12px;
  border-top: 1px solid #ffffff40;
}
.map-spot {
  scroll-margin-top: 100px;
  border-bottom: 1px solid #ffffff40;
}
.map-spot summary {
  position: relative;
  min-height: 48px;
  padding: 13px 30px 13px 4px;
  cursor: pointer;
  font-weight: 600;
}
.map-spot-island {
  display: block;
  padding-left: 18px;
  color: var(--light);
  font-size: 12px;
  font-weight: 400;
}
.map-overview .map-spot p {
  margin: 0;
  padding: 0 16px 18px 22px;
  font-size: 14px;
}
.map-spot:target, .map-spot[open] {
  background: #ffffff0a;
}
.map-spot summary:focus-visible {
  outline: 3px solid var(--cream);
  outline-offset: -3px;
}
@media (max-width: 600px) {
  /* The native disclosure list supplies generous touch targets on small screens. */
  .map-markers {
    display: none;
  }
}
.features {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: 58px;
}
.features::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: -60px;
  right: -6%;
  width: 20%;
  height: 400px;
  background: url('../images/grüneblätter.webp') right top / contain no-repeat;
  transform: rotate(28deg);
  opacity: 0.75;
}
.features .split-heading {
  grid-template-columns: 0.9fr 1.1fr;
  gap: 6%;
}
.features .split-heading > p {
  padding-right: clamp(150px, 18vw, 350px);
  font-size: 16px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3%;
  margin-top: 80px;
}
.feature-grid article {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: #fffdf8;
  border-radius: 12px;
  align-items: flex-start;
}
.feature-grid img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  flex-shrink: 0;
}
.feature-grid h3 {
  font-size: 24px;
  margin: 8px 0 14px;
}
.feature-grid p {
  font-size: 15px;
  line-height: 1.5;
}
/* Composing */
.composing-detail {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 2.05fr;
  gap: 5%;
  padding: 45px var(--pad) 65px;
}
.composing-detail::before {
  content: '';
  position: absolute;
  z-index: -1;
  left: -60px;
  bottom: -60px;
  width: 30%;
  height: 450px;
  background: url('../images/grüneblätter.webp') center / contain no-repeat;
  transform: rotate(-100deg);
}
.composing-description p {
  max-width: 500px;
  margin-top: 20px;
}
.techniques {
  margin: 45px 0 150px 38px;
}
.techniques dt {
  font: 600 22px var(--serif);
  margin-top: 28px;
}
.techniques dd {
  margin: 5px 0 0;
  font-size: 15px;
  max-width: 400px;
}
.composing-images > h3 {
  margin: 30px 0 22px;
  font-size: 25px;
}
.source-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.source-grid img {
  aspect-ratio: 3 / 4;
  object-fit: contain;
}
.source-grid figcaption {
  font-size: 13px;
  margin-top: 10px;
}
/* About: original cream arch, contour lines, four icons, green arch and illustrated foliage. */
.about-intro {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 60fr) minmax(0, 32fr);
  gap: 8%;
  padding-top: 0;
  padding-right: 0;
  padding-bottom: 32px;
}
.about-intro::before {
  content: '';
  position: absolute;
  inset: 0 38% 0 0;
  z-index: -1;
  background: url('../images/Hintergrundformenmitte.webp') left center / cover no-repeat;
  opacity: 0.13;
  mask-image: linear-gradient(to right, black 65%, transparent 100%), linear-gradient(to bottom, black 75%, transparent 100%);
  mask-composite: intersect;
  pointer-events: none;
}
.about-intro::after {
  content: '';
  position: absolute;
  inset: 0 30% auto 18%;
  aspect-ratio: 1122 / 1402;
  max-height: 100%;
  z-index: -1;
  background: url('../images/bogencreme.webp') center top / cover no-repeat;
  opacity: 0.18;
  mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent), linear-gradient(to bottom, black 65%, transparent 98%);
  mask-composite: intersect;
  pointer-events: none;
}
.about-intro > div {
  padding-top: 26px;
}
.about-intro h1 {
  margin: 26px 0;
  font-size: clamp(40px, 3.3vw, 70px);
  line-height: 1.12;
}
.about-intro p:not(.eyebrow) {
  max-width: 650px;
}
.about-portrait {
  width: 100%;
  height: auto;
  align-self: start;
  object-fit: contain;
}
.traits {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 40px var(--pad);
  gap: 0;
}
.traits::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(#f4f2e4de, #f4f2e4de), url('../images/Hintergrundformenunten.webp') center / cover no-repeat;
}
.traits > div {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 70px;
  padding: 8px 25px;
  border-right: 1px solid var(--line);
}
.traits > div:first-child {
  padding-left: 0;
}
.traits > div:last-child {
  border: 0;
}
.traits img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  flex-shrink: 0;
}
.traits h2 {
  font: 600 18px / 1.3 var(--serif);
  letter-spacing: 0.05em;
}
.traits p {
  font-size: 14px;
  margin-top: 5px;
}
.passion {
  /* Rotated foliage may cross the section edge without widening the page. */
  overflow-x: clip;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7%;
  padding-top: 70px;
}
.personal-photos {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-content: center;
  align-items: center;
  gap: 20px;
  padding: 45px 30px 100px 0;
}
.personal-photos::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: -50px;
  left: -30%;
  width: 110%;
  height: 55%;
  background: url('../images/bogengrün.webp') left bottom / 100% 200% no-repeat;
}
.personal-photos::after {
  content: '';
  position: absolute;
  z-index: -1;
  width: 115%;
  height: 70%;
  left: -8%;
  bottom: -15px;
  background: url('../images/grüneblätter.webp') center bottom / contain no-repeat;
  transform: rotate(172deg);
}
.personal-photos img {
  width: 100%;
  height: auto;
  border-radius: 35px;
}
.passion > div:last-child {
  padding-top: 50px;
}
.passion h2 {
  margin-bottom: 30px;
}
.passion p {
  max-width: 780px;
  font-size: clamp(16px, 1vw, 19px);
}
/* Skills */
.workflow-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  margin: 65px 0 0;
  padding: 0;
}
.workflow-grid li {
  position: relative;
}
.workflow-grid img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  filter: grayscale(1) brightness(0) invert(0.95);
}
.workflow-grid li:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 35px;
  left: 95px;
  right: 0;
  height: 1px;
  background: #ffffff45;
}
.workflow-grid h3 {
  font-size: 17px;
  letter-spacing: 0.06em;
  margin: 25px 0 12px;
}
.workflow-grid p {
  font-size: 15px;
}
.software-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 30px;
  padding: 0;
  margin: 55px 0 0;
}
.software-grid li {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 18px;
}
.software-grid img {
  width: 90px;
  height: 90px;
  object-fit: contain;
}
.software-grid span {
  font: 600 15px / 1.4 var(--serif);
  text-align: center;
}
.skill-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6%;
  padding-top: 20px;
}
.skill-columns > div + div {
  border-left: 1px solid var(--line);
  padding-left: 8%;
}
.skill-columns h2 {
  font-size: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.skill-columns ul {
  list-style: none;
  padding: 0;
  margin: 25px 0;
}
.skill-columns li {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  margin: 22px 0;
  font-size: 16px;
}
.skill-columns > div:first-child ul {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.skill-label {
  display: flex;
  gap: 16px;
  align-items: center;
}
.skill-label img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  flex-shrink: 0;
}
.skill-bar {
  display: block;
  height: 13px;
  border-radius: 20px;
  background: #e6e5df;
  overflow: hidden;
}
.skill-bar > span {
  display: block;
  height: 100%;
  background: var(--dark);
  border-radius: 20px;
}
.qualitative-note {
  grid-column: 1 / -1;
  font-size: 12px;
  color: #515c52;
}
/* Contact: original illustrated transition and the photographic leaf frame. */
.social {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 10%;
  padding: 48px var(--pad);
}
.social::after {
  content: '';
  position: absolute;
  z-index: -1;
  top: -30px;
  right: 0;
  width: 24%;
  height: 140%;
  background: url('../images/grüneblätter.webp') right top / contain no-repeat;
  transform: rotate(10deg);
}
.social ul {
  list-style: none;
  display: flex;
  justify-content: space-around;
  flex: 1;
  max-width: 850px;
  padding: 0;
  margin: 0;
}
.social-link {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 8px;
  min-width: 48px;
  min-height: 48px;
  text-decoration: none;
  border-radius: 4px;
  transition: transform 0.2s ease;
}
.social-link:hover, .social-link:focus-visible {
  transform: translateY(-2px);
}
.social-link img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}
.social-link span {
  font-size: 12px;
}
.contact-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4%;
  min-height: 850px;
}
.contact-section::after {
  content: '';
  position: absolute;
  z-index: -1;
  top: 0;
  right: -8%;
  width: 39%;
  height: 100%;
  background: url('../images/blätterrahmen.webp') left center / cover no-repeat;
  transform: scaleX(-1);
  mask-image: linear-gradient(to left, transparent, black 35%);
}
.contact-section > div {
  padding-right: 7%;
}
.contact-section h2 {
  display: flex;
  align-items: center;
  gap: 24px;
}
.contact-section h2::after {
  content: '';
  height: 1px;
  background: var(--line);
  flex: 1;
}
.contact-section form {
  max-width: 680px;
  width: 82%;
  margin-top: 55px;
}
.contact-section address {
  font-style: normal;
  border-left: 1px solid var(--line);
  padding: clamp(110px, 11vw, 220px) 34% 0 40px;
}
.contact-section address > div {
  display: flex;
  gap: 25px;
  margin-bottom: 65px;
}
.contact-section address img {
  width: 55px;
  height: 55px;
  object-fit: contain;
  flex-shrink: 0;
}
.contact-section address .contact-label {
  font: 600 24px / 1.1 var(--serif);
  margin: 0;
}
.contact-section address p {
  font-size: 15px;
  margin-top: 8px;
  overflow-wrap: anywhere;
}

/* Consistent icon presence for both skills lists. */
.skill-columns > div:nth-of-type(2) .skill-label {
  gap: 12px;
}
.skill-columns > div:nth-of-type(2) .skill-label img {
  width: 32px;
  height: 32px;
  filter: brightness(0);
}

/* responsive.css */
/* Tablet: split text and artwork into separate, non-overlapping columns. */
@media (max-width: 1200px) {
  .header nav {
    gap: 24px;
  }
  .feature-grid article {
    padding: 20px;
    gap: 12px;
  }
  .feature-grid img {
    width: 48px;
    height: 48px;
  }
  .photo-process {
    grid-template-columns: 0.9fr 1.8fr;
    gap: 28px;
  }
  .process-notes {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
  .process-note {
    margin: 0;
  }
  .traits > div {
    padding-inline: 16px;
    gap: 10px;
  }
  .traits img {
    width: 46px;
    height: 46px;
  }
  .traits h2 {
    font-size: 16px;
  }
  .traits p {
    font-size: 13px;
  }
  .contact-section address {
    padding-right: 22%;
    padding-left: 25px;
  }
  .contact-section address > div {
    gap: 16px;
  }
  .contact-section address img {
    width: 44px;
    height: 44px;
  }
}
@media (max-width: 1100px) {
  .home-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    aspect-ratio: auto;
  }
  .home-copy {
    grid-column: 1;
    grid-row: 1;
    max-width: none;
    padding: 32px 24px;
    background: var(--cream);
  }
  .home-art {
    grid-column: 2;
    grid-row: 1;
    position: relative;
    inset: auto;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-position: right center;
  }
  .home-copy h1 {
    font-size: clamp(34px, 3.8vw, 44px);
    margin-top: 26px;
    line-height: 1.13;
  }
  .profession {
    font-size: 20px;
    margin-top: 10px;
  }
  .home-copy .intro {
    font-size: 16px;
    margin-top: 24px;
    line-height: 1.5;
  }
  .actions {
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
  }
  .actions .button {
    flex: 1;
    min-width: 145px;
    padding: 12px;
    font-size: 13px;
  }
  .stats {
    font-size: 13px;
    line-height: 1.6;
    margin-top: 24px;
  }
  .stats > div {
    padding: 8px 14px;
  }
  .banner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    aspect-ratio: auto;
    min-height: 360px;
    align-items: stretch;
  }
  .banner .banner-art {
    position: relative;
    inset: auto;
    z-index: 0;
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-position: right center;
  }
  .banner .banner-copy {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    width: auto;
    margin: 0;
    padding: 32px 24px;
  }
  .banner-copy h1 {
    font-size: clamp(34px, 4vw, 44px);
  }
  .banner-copy p {
    font-size: 16px;
    line-height: 1.5;
    max-width: 100%;
  }
  .project-info {
    gap: 16px;
  }
  .project-info > div {
    padding-right: 16px;
    gap: 12px;
  }
  .project-info img {
    width: 42px;
    height: 42px;
  }
  .project-info h2 {
    font-size: 16px;
  }
  .project-info p {
    font-size: 15px;
  }
  .about-intro {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 5%;
  }
  .about-intro h1 {
    font-size: 40px;
  }
  .about-intro h1 br {
    display: none;
  }
  .about-intro p:not(.eyebrow) {
    font-size: 16px;
  }
  .personal-photos {
    padding-right: 0;
    gap: 16px;
  }
  .contact-section form {
    width: 95%;
  }
}
@media (max-width: 1000px) {
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
  .workflow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px;
    margin-top: 40px;
  }
  .workflow-grid li::after {
    display: none;
  }
  .software-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 36px;
  }
  .feature-grid {
    gap: 18px;
  }
  .feature-grid article {
    display: block;
  }
  .feature-grid h3 {
    margin-top: 16px;
  }
  .features .split-heading > p {
    padding-right: 80px;
  }
  .traits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 0;
  }
  .traits > div:nth-child(2) {
    border-right: 0;
  }
  .traits > div:nth-child(3) {
    padding-left: 0;
  }
  .contact-section, .skill-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 35px;
  }
  .skill-columns > div + div {
    padding-left: 0;
    border-left: 0;
  }
  .contact-section > div {
    padding-right: 0;
  }
  .contact-section form {
    max-width: 680px;
    width: 100%;
  }
  .contact-section address {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 35px 25% 0 0;
  }
  .contact-section::after {
    height: 35%;
    top: auto;
    bottom: 0;
    width: 35%;
  }
  .contact-section address > div {
    margin-bottom: 35px;
  }
}
@media (max-width: 900px) {
  .header {
    padding-inline: 24px;
  }
  .header nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    padding: 20px 24px 30px;
    background: #d9d9cb;
    box-shadow: 0 12px 18px #17251f15;
  }
  .header nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .header nav > a {
    padding: 14px 4px;
    font-size: 15px;
  }
  .header nav .button {
    padding: 14px;
    margin-top: 15px;
  }
  .header nav > a::after {
    bottom: 7px;
    right: auto;
    width: 40px;
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 12px;
    background: transparent;
  }
  .menu-toggle span {
    height: 2px;
    width: 23px;
    background: var(--forest);
  }
  .photo-process, .map-overview, .composing-detail, .passion {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }
  .photo-process > div:first-child p, .map-overview p, .composing-description p {
    max-width: 700px;
  }
  .techniques {
    margin: 28px 0;
  }
  .composing-detail::before {
    display: none;
  }
  .gallery-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .gallery-section > h2 {
    padding-top: 0;
  }
  .gallery {
    --photo-height: 250px;
    margin-inline: 6px;
  }
  .features::before {
    width: 26%;
    right: -10%;
  }
  .features .split-heading > p {
    padding-right: 45px;
  }
  .feature-grid {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 35px;
  }
  .feature-grid article {
    display: flex;
    gap: 20px;
  }
  .feature-grid h3 {
    margin-top: 5px;
  }
  .personal-photos {
    max-width: 650px;
    padding: 35px 15px 80px 0;
  }
  .personal-photos::before {
    top: -20px;
    left: -25%;
  }
  .personal-photos::after {
    height: 75%;
  }
  .passion > div:last-child {
    padding-top: 0;
  }
  .social {
    gap: 8%;
  }
  .social::after {
    width: 18%;
    opacity: 0.65;
  }
  .social ul {
    padding-right: 8%;
  }
}
/* Phone: text first, uncropped text areas, large touch targets, then original artwork. */
@media (max-width: 700px) {
  :root {
    --pad: 24px;
    --space: 36px;
  }
  h2 {
    font-size: 32px;
  }
  .home-hero {
    display: flex;
    flex-direction: column;
  }
  .home-copy {
    padding: 30px 24px 32px;
  }
  .home-copy h1 {
    font-size: clamp(34px, 9.7vw, 55px);
  }
  .home-copy .eyebrow {
    font-size: 15px;
  }
  .home-art {
    order: 2;
    width: 100%;
    height: clamp(300px, 95vw, 440px);
    object-position: right center;
  }
  .banner {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .banner .banner-copy {
    width: 100%;
    padding: 32px 24px;
  }
  .banner-copy h1 {
    font-size: clamp(36px, 9vw, 46px);
  }
  .banner .banner-art {
    order: 2;
    width: 100%;
    height: clamp(220px, 55vw, 320px);
  }
  .project-grid, .project-info, .about-intro {
    grid-template-columns: minmax(0, 1fr);
  }
  .project-info {
    padding: 20px 24px;
    gap: 0;
  }
  .project-info > div {
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    gap: 18px;
  }
  .project-info > div:last-child {
    border-bottom: 0;
  }
  .projects {
    background-size: 35% auto, cover, cover;
  }
  .projects .section-intro br {
    display: none;
  }
  .project-card {
    padding: 12px;
  }
  .card-copy {
    min-height: 130px;
    padding: 22px 12px;
  }
  .card-copy h2 {
    font-size: 28px;
  }
  .card-copy p {
    font-size: 14px;
  }
  .photo-process, .map-overview, .composing-detail {
    padding: 35px 24px;
  }
  .process-notes {
    display: block;
  }
  .process-note {
    margin-top: 22px;
  }
  .split-heading, .features .split-heading {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }
  .split-heading h2::after {
    display: none;
  }
  .features .split-heading > p {
    padding-right: 0;
  }
  .features::before {
    top: auto;
    bottom: -70px;
    opacity: 0.4;
    width: 55%;
  }
  .source-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 14px;
  }
  .about-intro {
    padding: 30px 24px;
    gap: 28px;
  }
  .about-intro > div {
    padding-top: 0;
  }
  .about-intro h1 {
    font-size: clamp(32px, 8.5vw, 47px);
  }
  .about-portrait {
    width: min(85%, 380px);
    justify-self: center;
  }
  .traits {
    padding: 28px 24px;
    gap: 16px 0;
  }
  .traits > div {
    padding: 8px 12px;
    gap: 8px;
    min-height: 80px;
  }
  .traits img {
    width: 36px;
    height: 36px;
  }
  .traits h2 {
    font-size: 14px;
  }
  .traits p {
    font-size: 12px;
  }
  .passion {
    overflow: hidden;
    padding-top: 30px;
  }
  .personal-photos {
    gap: 12px;
    padding-bottom: 70px;
  }
  .personal-photos img {
    border-radius: 25px;
  }
  .passion h2 br {
    display: none;
  }
  .passion p {
    font-size: 16px;
    line-height: 1.55;
  }
  .workflow-grid {
    gap: 35px 24px;
  }
  .workflow-grid h3 {
    font-size: 15px;
  }
  .workflow-grid img {
    width: 60px;
    height: 60px;
  }
  .software-grid {
    gap: 30px 15px;
    margin-top: 35px;
  }
  .software-grid img {
    width: 76px;
    height: 76px;
  }
  .software-grid span {
    font-size: 12px;
  }
  .skill-columns li {
    font-size: 15px;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 14px;
  }
  .skill-label {
    gap: 10px;
  }
  .skill-label img {
    width: 32px;
    height: 32px;
  }
  .social {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding: 30px 24px;
    overflow: hidden;
  }
  .social::after {
    width: 25%;
    right: -10%;
  }
  .social ul {
    justify-content: space-between;
    gap: 24px;
    max-width: 400px;
    padding: 0;
  }
  .social-link img {
    width: 44px;
    height: 44px;
  }
  .contact-section {
    min-height: 0;
  }
  .contact-section::after {
    width: 40%;
    opacity: 0.3;
    right: -20%;
  }
  .contact-section form {
    margin-top: 30px;
  }
  .contact-section address {
    padding-right: 0;
  }
  .contact-section address p {
    font-size: 15px;
  }
  .contact-section address > div {
    gap: 20px;
  }
  .lightbox {
    padding: 70px 8px 24px;
  }
  .lightbox[open] {
    gap: 8px;
  }
  .lightbox figure {
    max-width: calc(100% - 88px);
  }
  .lightbox > button:not(.lightbox-close) {
    width: 36px;
    height: 36px;
  }
  .lightbox figcaption {
    font-size: 12px;
  }
}
@media (max-width: 360px) {
  .home-copy {
    padding-inline: 20px;
  }
  .home-copy h1 {
    font-size: 32px;
  }
  .actions .button {
    flex-basis: 100%;
  }
  .stats > div {
    padding-inline: 10px;
  }
  .stats > div:first-child {
    padding-left: 0;
  }
  .traits img {
    width: 28px;
    height: 28px;
  }
  .traits h2 {
    font-size: 12px;
  }
  .skill-columns li {
    font-size: 14px;
    grid-template-columns: minmax(0, 1.3fr) minmax(70px, 0.7fr);
  }
}

/* comparison.css */
/* Before/after comparison. Without JavaScript both originals remain visible. */
.image-compare { --comparison-position: 50%; }
.comparison-stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.comparison-before { grid-column: 1; grid-row: 1; }
.comparison-after { grid-column: 2; grid-row: 1; }
.comparison-stage img { display: block; width: 100%; height: auto; }
.comparison-range, .comparison-divider { display: none; }
.image-compare.is-ready .comparison-stage {
  position: relative;
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  touch-action: pan-y;
  cursor: ew-resize;
  user-select: none;
}
.image-compare.is-ready .comparison-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.image-compare.is-ready .comparison-before {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--comparison-position)) 0 0);
}
.image-compare.is-ready .comparison-divider {
  position: absolute;
  display: block;
  top: 0;
  bottom: 0;
  left: var(--comparison-position);
  width: 2px;
  background: var(--cream);
  transform: translateX(-50%);
  pointer-events: none;
}
.comparison-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 2px solid var(--cream);
  border-radius: 50%;
  color: var(--cream);
  background: var(--forest);
  font-size: 26px;
  line-height: 1;
  transform: translate(-50%, -50%);
}
.image-compare.is-ready .comparison-range {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  cursor: ew-resize;
  touch-action: pan-y;
}
.comparison-stage:focus-within {
  outline: 3px solid var(--cream);
  outline-offset: 4px;
}
.comparison-captions { display: flex; justify-content: space-between; gap: 18px; margin-top: 12px; }
.comparison-enlarge { padding: 5px 0; background: transparent; color: inherit; font-size: 13px; text-align: left; }
.comparison-enlarge:hover { text-decoration: underline; text-underline-offset: 4px; }
.comparison-help { margin-top: 8px; font-size: 13px; line-height: 1.45; opacity: 0.85; }
