/* Atelier Agnes Tekaat
   Weiße Galeriewand: Die Bilder bringen die Farbe, die Seite hält sich zurück.
   ------------------------------------------------------------------------- */

@font-face {
  font-family: "Young Serif";
  src: url("../fonts/young-serif-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-grotesk-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-grotesk-latin-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-grotesk-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-grotesk-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;

  /* Wand, Tinte, Pinselrot */
  --wall: #faf9f6;
  --wall-shade: #f2f0eb;
  --ink: #1d1b18;
  --ink-soft: #5c564e;
  --line: #e3dfd7;
  --red: #d2141e;
  --red-deep: #a80f17;

  --serif: "Young Serif", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 78rem;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--wall);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

img { max-width: 100%; height: auto; display: block; }

::selection { background: var(--red); color: #fff; }

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 2px;
}

a {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  text-decoration-color: color-mix(in srgb, var(--ink) 35%, transparent);
  transition: text-decoration-color 160ms ease, color 160ms ease;
}
@media (hover: hover) and (pointer: fine) {
  a:not(.btn):hover { text-decoration-color: var(--red); color: var(--red-deep); }
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-wrap: balance;
  margin: 0;
}

p { margin: 0 0 1em; text-wrap: pretty; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 4px;
  text-decoration: none;
}
.skip:focus { top: 1rem; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Kopf ---------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--wall) 92%, transparent);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease;
}
.site-head.is-scrolled { border-bottom-color: var(--line); }

.site-head .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-block: 0.9rem;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1;
  white-space: nowrap;
}
.brand img {
  width: 34px;
  height: auto;
  mix-blend-mode: multiply;
}
@media (hover: hover) and (pointer: fine) {
  .brand:hover { color: var(--ink); }
}

.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: clamp(1.1rem, 3vw, 2.2rem);
}
.nav a {
  position: relative;
  display: inline-block;
  padding-block: 0.45rem;
  font-weight: 500;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--ink-soft);
}
.nav a::after {
  /* gemalter Strich unter dem aktiven Menüpunkt */
  content: "";
  position: absolute;
  left: -4%;
  right: -4%;
  bottom: -0.1rem;
  height: 0.42rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 8' preserveAspectRatio='none'%3E%3Cpath d='M1 5.2C14 3.4 31 2.6 48 3.1s35 1.4 51 .2c.6 1-.2 2.3-1.4 2.6-17 1.6-33 .3-50-.1S16 6 2.4 7.1C1 7.3.2 6 1 5.2Z' fill='%23d2141e'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 260ms var(--ease-out);
}
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after { clip-path: inset(0 0 0 0); }
@media (hover: hover) and (pointer: fine) {
  .nav a:hover { color: var(--ink); }
  .nav a:hover::after { clip-path: inset(0 0 0 0); }
}

@media (max-width: 34rem) {
  .site-head .wrap { justify-content: center; padding-block: 0.75rem 0.35rem; gap: 0.35rem; }
  .brand { font-size: 1.1rem; }
  .nav { width: 100%; }
  .nav ul { justify-content: space-between; gap: 0.5rem; }
  .nav a { font-size: 0.95rem; padding-block: 0.55rem; }
}

/* ---------- Seitentitel ---------- */

.page-title {
  padding-block: clamp(3rem, 8vw, 6rem) clamp(2rem, 4vw, 3rem);
}
.page-title h1 {
  font-size: clamp(2.6rem, 7vw, 5rem);
}
.page-title p {
  max-width: 38rem;
  margin-top: 1.25rem;
  color: var(--ink-soft);
  font-size: 1.125rem;
}

/* ---------- Startseite ---------- */

.hero {
  position: relative;
  padding-block: clamp(3.5rem, 10vw, 8rem) clamp(3rem, 8vw, 6rem);
  overflow: hidden;
}
.hero .wrap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
}
.hero h1 {
  position: relative;
  z-index: 1;
  font-size: clamp(3.1rem, 10vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.hero h1 span { display: block; }
.hero-sub {
  position: relative;
  z-index: 1;
  margin-top: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}

.stroke {
  /* Pinselstrich kommt vom oberen Rand und läuft hinter Titel und Zitat */
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  width: min(92vw, 30rem);
  height: auto;
  mix-blend-mode: multiply;
  pointer-events: none;
  opacity: 0.9;
  animation: paint 1300ms var(--ease-in-out) 150ms both;
}
@keyframes paint {
  from { clip-path: inset(0 0 100% 0); }
  to { clip-path: inset(0 0 0 0); }
}

.quote {
  position: relative;
  z-index: 1;
  max-width: 30rem;
  margin: 0;
}
.quote p {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  line-height: 1.35;
  margin: 0 0 0.75rem;
}
.quote footer {
  font-size: 0.95rem;
  color: var(--ink-soft);
}

@media (min-width: 52rem) {
  .hero .wrap {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    align-items: end;
  }
  .hero-aside { justify-self: end; max-width: 30rem; }
  .quote { margin-bottom: 0.6rem; }
  .stroke {
    /* endet immer über der Trennlinie; nie größer als die Originalgrafik (616 px) */
    right: auto;
    left: 32%;
    width: auto;
    max-width: none;
    height: calc(100% - 2rem);
    max-height: 616px;
  }
}

/* Neues */

.news {
  padding-block: clamp(3rem, 8vw, 6rem);
  border-top: 1px solid var(--line);
}
.news .wrap {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
}
.section-head {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 1.5rem;
}
.news-text { max-width: 34rem; }
.news-text .lead {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.8vw, 1.9rem);
  line-height: 1.3;
  margin-bottom: 1.25rem;
}
.news-text p { color: var(--ink-soft); }
.news-text .lead { color: var(--ink); }

.event {
  margin-top: 2rem;
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(40, 30, 20, 0.05), 0 14px 30px -18px rgba(40, 30, 20, 0.22);
}
.event h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  color: var(--red-deep);
  margin-bottom: 0.9rem;
}
.event p { color: var(--ink); margin-bottom: 0.9rem; }
.event .event-date {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.2vw, 2.15rem);
  line-height: 1.2;
  margin-bottom: 0.4rem;
  text-wrap: balance;
}
.event .event-time {
  font-size: 1.125rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  padding-bottom: 1.1rem;
  margin-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
}
.event .event-guest strong { font-weight: 600; }
.nowrap { white-space: nowrap; }
.event .event-welcome { font-weight: 500; margin-bottom: 1.25rem; }

.atelier-photo {
  margin: 0;
}
.atelier-photo a {
  display: block;
  overflow: hidden;
  border-radius: 2px;
  background: var(--wall-shade);
}
.atelier-photo img {
  width: 100%;
  aspect-ratio: 1205 / 595;
  object-fit: cover;
  transition: transform 600ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .atelier-photo a:hover img { transform: scale(1.02); }
}
.atelier-photo figcaption {
  margin-top: 0.85rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.fb {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.fb p { color: var(--ink); }

@media (min-width: 60rem) {
  .news .wrap {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: start;
  }
  .news .atelier-photo { margin-top: 4.25rem; }
}

/* Teaser */

.teaser {
  padding-block: clamp(3rem, 8vw, 6rem) clamp(4rem, 9vw, 7rem);
  border-top: 1px solid var(--line);
}
.teaser-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem 2rem;
  flex-wrap: wrap;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
.teaser-head .section-head { margin: 0; }

/* ---------- Knöpfe & Links ---------- */

.btn {
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.75rem;
  padding: 0.6rem 1.15rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: 500 0.95rem/1.2 var(--sans);
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms var(--ease-out);
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 1rem; height: 1rem; flex: none; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--ink); color: var(--wall); }
  .btn:hover svg { transform: translateX(3px); }
}
.btn--quiet { border-color: var(--line); }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.arrow-link svg { width: 1rem; height: 1rem; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .arrow-link:hover svg { transform: translateX(4px); }
}

/* ---------- Die Wand (Galerie) ---------- */

.wall {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(2.5rem, 6vw, 5rem) clamp(1.75rem, 4.5vw, 4.5rem);
}

.work {
  width: max-content;
  max-width: 100%;
  margin: 0;
}

.work button,
.work .work-link {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  /* alle Bilder gleich hoch */
  width: calc(var(--ar) * clamp(9rem, 22vw, 15rem));
  max-width: 100%;
  padding: 0;
  border: 0;
  background: var(--wall-shade);
  cursor: zoom-in;
  /* Bild hängt an der Wand: weicher Schlagschatten nach unten */
  box-shadow:
    0 1px 1px rgba(40, 30, 20, 0.08),
    0 8px 18px -6px rgba(40, 30, 20, 0.22),
    0 22px 40px -18px rgba(40, 30, 20, 0.2);
  transition: transform 260ms var(--ease-out), box-shadow 260ms var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.work .work-link { cursor: pointer; }
.work button:active,
.work .work-link:active { transform: scale(0.985); }
@media (hover: hover) and (pointer: fine) {
  .work button:hover,
  .work .work-link:hover {
    transform: translateY(-3px);
    box-shadow:
      0 1px 1px rgba(40, 30, 20, 0.08),
      0 14px 26px -8px rgba(40, 30, 20, 0.26),
      0 34px 56px -22px rgba(40, 30, 20, 0.24);
  }
}
.work img {
  width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity 500ms ease;
}
.work img.is-loaded,
.no-js .work img { opacity: 1; }

.label {
  margin-top: 0.8rem;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--ink-soft);
  max-width: 11rem;
}
.label b {
  display: block;
  font-weight: 500;
  color: var(--ink);
  font-size: 0.875rem;
}
.label span { font-variant-numeric: tabular-nums; }

/* ---------- Bildbetrachter ---------- */

.viewer {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--wall);
  color: var(--ink);
  opacity: 0;
  transition: opacity 220ms var(--ease-out), display 220ms allow-discrete, overlay 220ms allow-discrete;
}
.viewer[open] { opacity: 1; }
@starting-style {
  .viewer[open] { opacity: 0; }
}
.viewer::backdrop { background: transparent; }

.viewer-inner {
  height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  padding: max(0.75rem, env(safe-area-inset-top)) var(--gutter) max(1rem, env(safe-area-inset-bottom));
}

.viewer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 3rem;
}
.viewer-count {
  font-size: 0.875rem;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}

.viewer-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  touch-action: pan-y;
}
.viewer-stage img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 18px 50px -20px rgba(40, 30, 20, 0.35);
  transform: scale(1);
  transition: opacity 200ms ease, filter 200ms ease, transform 280ms var(--ease-out);
}
.viewer[open] .viewer-stage img {
  @starting-style { transform: scale(0.97); }
}
.viewer-stage img.is-swapping {
  opacity: 0;
  filter: blur(6px);
}

.viewer-caption {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 0.75rem 2rem;
  flex-wrap: wrap;
  padding-top: 1rem;
}
.viewer-caption h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
.viewer-caption p { margin: 0.3rem 0 0; color: var(--ink-soft); font-size: 0.95rem; font-variant-numeric: tabular-nums; }

.icon-btn {
  -webkit-appearance: none;
  appearance: none;
  display: inline-grid;
  place-items: center;
  width: 2.875rem;
  height: 2.875rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 160ms ease, transform 160ms var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.icon-btn:active { transform: scale(0.94); }
.icon-btn svg { width: 1.2rem; height: 1.2rem; }
@media (hover: hover) and (pointer: fine) {
  .icon-btn:hover { border-color: var(--ink); }
}

.viewer-prev,
.viewer-next {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
}
.viewer-prev { left: 0; }
.viewer-next { right: 0; }
@media (max-width: 40rem) {
  .viewer-prev,
  .viewer-next { top: auto; bottom: -0.25rem; translate: 0 100%; }
  .viewer-stage { margin-bottom: 3.25rem; }
  .viewer-prev { left: auto; right: 3.5rem; }
}

/* ---------- Biographie ---------- */

.bio {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
  padding-bottom: clamp(4rem, 9vw, 7rem);
}
.bio-intro p { max-width: 34rem; }
.bio-intro .lead {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.8vw, 1.9rem);
  line-height: 1.3;
}
.milestones {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.milestones li {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 1rem;
  padding-block: 1rem;
  border-bottom: 1px solid var(--line);
}
.milestones b {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.15rem;
  font-variant-numeric: tabular-nums;
}
.bio-art {
  margin: 2.5rem 0 0;
  max-width: 22rem;
}
.bio-art img {
  box-shadow: 0 8px 18px -6px rgba(40, 30, 20, 0.22), 0 22px 40px -18px rgba(40, 30, 20, 0.2);
}
.bio-art figcaption { margin-top: 0.8rem; font-size: 0.8125rem; color: var(--ink-soft); }
.bio-art figcaption b { display: block; color: var(--ink); font-weight: 500; font-size: 0.875rem; }

.cv-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.cv-head .section-head { margin: 0; }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}
.chip {
  -webkit-appearance: none;
  appearance: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-soft);
  font: 500 0.875rem/1 var(--sans);
  padding: 0.6rem 0.9rem;
  min-height: 2.5rem;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.chip:active { transform: scale(0.97); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--wall); }
@media (hover: hover) and (pointer: fine) {
  .chip[aria-pressed="false"]:hover { border-color: var(--ink); color: var(--ink); }
}

.standing {
  margin: 0 0 1.5rem;
  padding: 1rem 0;
  border-block: 1px solid var(--line);
  font-size: 0.975rem;
}
.standing b { font-weight: 600; }

.cv {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cv-year {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 1rem;
  padding-block: 0.9rem;
  border-bottom: 1px solid var(--line);
}
.cv-year h3 {
  font-size: 1.15rem;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
}
.cv-year ul { list-style: none; margin: 0; padding: 0; }
.cv-year li { padding-block: 0.12rem; }
.cv-year li small {
  display: inline-block;
  margin-left: 0.35rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}
.cv-year[hidden],
.cv-year li[hidden] { display: none; }

@media (min-width: 60rem) {
  .bio { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: start; }
  .bio-intro { position: sticky; top: 6.5rem; }
}

/* ---------- Kontakt ---------- */

.contact {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
  padding-bottom: clamp(4rem, 9vw, 7rem);
}
.address {
  font-style: normal;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.6vw, 2.4rem);
  line-height: 1.25;
  margin-bottom: 2rem;
}
.reach {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.reach li {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 1rem;
  align-items: baseline;
  padding-block: 1rem;
  border-bottom: 1px solid var(--line);
}
.reach span { font-size: 0.875rem; color: var(--ink-soft); }
.reach a {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  font-weight: 500;
  overflow-wrap: anywhere;
}
.map-links { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2rem; }

.directions { margin: 0; }
.directions img {
  width: 100%;
  background: #fff;
  mix-blend-mode: multiply;
}
.directions figcaption { margin-top: 0.85rem; font-size: 0.95rem; color: var(--ink-soft); }

@media (min-width: 60rem) {
  .contact { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: start; }
}

/* ---------- Rechtstexte ---------- */

.legal {
  max-width: 44rem;
  padding-bottom: clamp(4rem, 9vw, 7rem);
}
.legal h2 {
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  margin: 2.75rem 0 0.9rem;
}
.legal h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0;
  margin: 1.75rem 0 0.5rem;
}
.legal p,
.legal li { color: var(--ink); }
.legal ul { padding-left: 1.2rem; margin: 0 0 1em; }
.legal li { margin-bottom: 0.35rem; }
.legal .note { font-size: 0.9rem; color: var(--ink-soft); }

/* ---------- Fuß ---------- */

.site-foot {
  border-top: 1px solid var(--line);
  padding-block: 2.5rem calc(2.5rem + env(safe-area-inset-bottom));
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.site-foot .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem 2.5rem;
}
.site-foot p { margin: 0; }
.site-foot strong { color: var(--ink); font-weight: 500; }
.site-foot ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  align-items: flex-start;
}

/* ---------- 404 ---------- */

.lost { padding-block: clamp(4rem, 12vw, 9rem); }
.lost p { max-width: 32rem; color: var(--ink-soft); margin-top: 1.25rem; }

/* ---------- Weniger Bewegung ---------- */

@media (prefers-reduced-motion: reduce) {
  .stroke { animation: none; }
  .work button,
  .viewer-stage img,
  .atelier-photo img { transition: opacity 200ms ease; }
  .work button:hover,
  .atelier-photo a:hover img { transform: none; }
  .viewer-stage img.is-swapping { filter: none; }
  html { scroll-behavior: auto; }
}
