/* by_amalia.art · Stil
   Klassisches Portfolio mit italienischem Einschlag: Bodoni (Parma) für Titel,
   Jost für Text, Weiß und Silbergrau ihrer Leinwände, Puderrosa aus ihrem Logo. */

@font-face {
  font-family: "Bodoni Moda";
  src: url("../assets/fonts/bodoni-moda.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bodoni Moda";
  src: url("../assets/fonts/bodoni-moda-italic.woff2") format("woff2");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("../assets/fonts/jost.woff2") format("woff2");
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --weiss: #ffffff;
  --argento: #ededeb;
  --argento-tief: #d8d8d5;
  --nero: #000000;
  --grafit: #5a5a58;
  --cipria: #f4e0e4;
  --cipria-tief: #e9c9d0;
  --rosa: #d9a3b1;
  --malva: #7a3e5b;
  --malva-tief: #5c2b44;
  --fehler: #a3273c;

  --serif: "Bodoni Moda", "Bodoni 72", Didot, "Times New Roman", serif;
  --sans: "Jost", Futura, "Century Gothic", "Avenir Next", sans-serif;

  --rand: clamp(16px, 4vw, 56px);
  --spalt: clamp(16px, 2.2vw, 32px);
  --abschnitt: clamp(88px, 11vw, 168px);
  --kopf: 64px;
  --breite: 1520px;

  --schatten-werk: drop-shadow(0 1px 1px rgb(0 0 0 / 0.14)) drop-shadow(0 14px 22px rgb(0 0 0 / 0.16));
  --schatten-hoch: drop-shadow(0 2px 2px rgb(0 0 0 / 0.14)) drop-shadow(0 26px 34px rgb(0 0 0 / 0.2));
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--kopf) + 16px);
  scrollbar-color: #b9b9b6 var(--weiss);
  scrollbar-width: thin;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--weiss);
  color: var(--nero);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
  caret-color: var(--malva);
  -webkit-font-smoothing: antialiased;
  font-optical-sizing: auto;
}
@media (min-width: 900px) { body { font-size: 1.125rem; } }

::selection { background: var(--cipria-tief); color: var(--nero); }

img, video { display: block; max-width: 100%; height: auto; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

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

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:not(.knopf):hover { color: var(--malva); }

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

[hidden] { display: none !important; }

.unsichtbar {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.sprunglink {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 100;
  background: var(--nero); color: var(--weiss);
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
}
.sprunglink:focus { top: 12px; color: var(--weiss); }

.rahmen {
  width: 100%;
  max-width: var(--breite);
  margin-inline: auto;
  padding-inline: var(--rand);
}

/* ---------- Knöpfe und Links ---------- */

.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 26px;
  border: 1px solid var(--nero);
  border-radius: 999px;
  background: var(--nero);
  color: var(--weiss);
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.knopf:hover { background: var(--malva); border-color: var(--malva); color: var(--weiss); }
.knopf--zweit { background: transparent; color: var(--malva); border-color: var(--malva); }
.knopf--zweit:hover { background: var(--malva); border-color: var(--malva); color: var(--weiss); }
.knopf--zweit[aria-pressed="true"] { background: var(--cipria); color: var(--malva-tief); border-color: var(--malva-tief); }
.knopf--zweit[aria-pressed="true"]:hover { background: var(--cipria-tief); color: var(--malva-tief); }
.knopf[aria-pressed="true"] { background: var(--cipria); color: var(--malva-tief); border-color: var(--malva-tief); }
.knopf[aria-pressed="true"]:hover { background: var(--cipria-tief); color: var(--malva-tief); border-color: var(--malva-tief); }
.knopf:disabled { background: var(--argento); border-color: var(--argento-tief); color: var(--grafit); cursor: not-allowed; }
.knopf svg { width: 18px; height: 18px; flex: none; }

.textknopf {
  border: 0;
  padding: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
}
.textlink {
  color: var(--malva);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
}

/* ---------- Kopfzeile ---------- */

.kopf {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--weiss);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}
.kopf.ist-gescrollt { border-bottom-color: var(--argento-tief); }
.kopf-innen {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--kopf);
}
.marke {
  font-family: var(--serif);
  font-size: 1.625rem;
  line-height: 1;
  letter-spacing: -0.01em;
  text-decoration: none;
  margin-right: auto;
  transition: opacity 0.35s var(--ease);
}
.marke:hover { color: var(--nero); }
/* Auf der Startseite übernimmt der große Schriftzug, die kleine Marke erscheint beim Scrollen */
.seite-start .kopf:not(.ist-gescrollt) .marke { opacity: 0; pointer-events: none; }

.navi { display: flex; gap: clamp(20px, 2.6vw, 40px); }
.navi a {
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  padding-block: 6px;
  background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat;
  transition: background-size 0.35s var(--ease), color 0.2s;
}
.navi a:hover, .navi a[aria-current="page"] { background-size: 100% 1px; color: var(--nero); }

.kopf-werkzeuge { display: flex; align-items: center; gap: 14px; }

.sprache { display: flex; border: 1px solid var(--argento-tief); border-radius: 999px; padding: 2px; }
.sprache button {
  border: 0;
  background: transparent;
  border-radius: 999px;
  min-width: 36px;
  min-height: 30px;
  padding: 4px 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--grafit);
}
.sprache button[aria-pressed="true"] { background: var(--nero); color: var(--weiss); }

.korb-knopf {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 6px 14px 6px 12px;
  border: 1px solid var(--nero);
  border-radius: 999px;
  background: var(--weiss);
  font-size: 0.9375rem;
  font-weight: 500;
}
.korb-knopf svg { width: 18px; height: 18px; }
.korb-knopf:hover { background: var(--nero); color: var(--weiss); }
.korb-zahl {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding-inline: 6px;
  border-radius: 999px;
  background: var(--cipria);
  color: var(--malva-tief);
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
}
.korb-zahl[data-n="0"] { background: var(--argento); color: var(--grafit); }
.korb-knopf.hat-neu .korb-zahl { animation: zahl 0.6s var(--ease); }
@keyframes zahl { 40% { transform: scale(1.25); background: var(--rosa); } }

.menue-knopf {
  display: none;
  width: 44px; height: 44px;
  border: 0;
  background: transparent;
  padding: 10px;
  margin-right: -10px;
}
.menue-knopf svg { width: 24px; height: 24px; }

@media (max-width: 759px) {
  :root { --kopf: 58px; }
  .marke { font-size: 1.4rem; }
  .menue-knopf { display: inline-grid; place-items: center; }
  .kopf-werkzeuge { gap: 8px; }
  .korb-knopf .korb-text { display: none; }
  .korb-knopf { padding: 6px 10px; }
  .navi {
    position: absolute;
    left: 0; right: 0; top: 100%;
    flex-direction: column;
    gap: 0;
    padding: 8px var(--rand) 24px;
    background: var(--weiss);
    border-bottom: 1px solid var(--argento-tief);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s 0.25s;
  }
  .navi.ist-offen { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .navi a { font-family: var(--serif); font-size: 1.75rem; font-weight: 400; padding-block: 10px; background: none; }
  .sprache-navi { display: none; }
}

/* ---------- Hero: Masthead mit Werk davor ---------- */

.hero {
  container-type: inline-size;
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto 1fr;
  column-gap: var(--spalt);
  min-height: calc(100svh - var(--kopf));
  padding-top: clamp(4px, 1vw, 16px);
  padding-bottom: clamp(28px, 4vw, 56px);
  --mh: 25.9cqi; /* Höhe der Masthead-Zeile, abgeleitet aus der Schriftgröße */
}
.masthead {
  grid-column: 1 / -1;
  grid-row: 1;
  font-family: var(--serif);
  font-size: 32.2cqi;
  font-weight: 400;
  line-height: 0.805;
  letter-spacing: -0.035em;
  text-align: center;
  margin-left: -0.02em;
  user-select: none;
}
.hero-werk {
  grid-column: 5 / 9;
  grid-row: 1 / span 2;
  margin: calc(var(--mh) * 0.7) 0 0;
  justify-self: center;
  align-self: start;
  position: relative;
  z-index: 2;
  width: min(100%, calc((100svh - var(--kopf) - var(--mh) * 0.7 - 48px) * 0.675));
}
.hero-werk a { display: block; }
.hero-werk img { filter: var(--schatten-hoch); }
.hero-text {
  grid-column: 1 / 5;
  grid-row: 2;
  align-self: end;
  display: grid;
  gap: 24px;
  max-width: 34ch;
  padding-top: 32px;
}
.hero-lead { font-size: clamp(1.0625rem, 1.35vw, 1.25rem); line-height: 1.55; }
.aktionen { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-angabe {
  grid-column: 9 / 13;
  grid-row: 2;
  align-self: end;
  justify-self: end;
  text-align: right;
  font-size: 0.9375rem;
  color: var(--grafit);
  line-height: 1.45;
}
.hero-angabe a { text-decoration: none; }
.hero-angabe em {
  display: block;
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--nero);
  margin-bottom: 4px;
}

@media (prefers-reduced-motion: no-preference) {
  .masthead { animation: aufdecken 1.15s var(--ease) both; }
  .hero-werk { animation: aufsteigen 1.3s 0.28s var(--ease) both; }
  .hero-text, .hero-angabe { animation: einblenden 0.9s 0.7s var(--ease) both; }
}
@keyframes aufdecken {
  from { clip-path: inset(0 -5% 100% -5%); transform: translateY(0.14em); }
  to { clip-path: inset(-20% -5% -20% -5%); transform: none; }
}
@keyframes aufsteigen {
  from { opacity: 0; transform: translateY(40px) scale(0.985); }
  to { opacity: 1; transform: none; }
}
@keyframes einblenden { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 899px) {
  .hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding-top: 6px;
  }
  /* Auf Handys verschwinden die Haarstriche der Display-Optik (opsz 96), etwa der linke Strich des A */
  .masthead { font-size: 31.6cqi; font-variation-settings: "opsz" 28; }
  .hero-werk {
    width: min(64%, 400px);
    margin-top: calc(var(--mh) * -0.16);
    align-self: center;
  }
  .hero-angabe { align-self: flex-end; margin-top: 18px; }
  .hero-angabe em { font-size: 1.25rem; }
  .hero-text { padding-top: 28px; max-width: 40ch; }
}

/* ---------- Abschnitte ---------- */

.abschnitt { padding-block: var(--abschnitt); }
.abschnitt-kopf {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px 32px;
  margin-bottom: clamp(40px, 6vw, 88px);
}
.abschnitt-kopf h2, .titel-2 { font-size: clamp(2.25rem, 4.8vw, 4.25rem); }

/* Werk-Abbildung mit Bildangabe (Startseite, Galerie) */
.werk-fig { margin: 0; }
.werk-fig a { display: block; text-decoration: none; }
.werk-fig img { width: 100%; filter: var(--schatten-werk); transition: filter 0.5s var(--ease), transform 0.5s var(--ease); }
.werk-fig a:hover img { filter: var(--schatten-hoch); transform: translateY(-3px); }
.werk-fig figcaption { margin-top: 18px; }
.werk-titel { font-family: var(--serif); font-style: italic; font-size: 1.375rem; line-height: 1.25; }
.werk-meta { font-size: 0.875rem; color: var(--grafit); line-height: 1.5; margin-top: 4px; }

.auswahl-raster {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--spalt);
  row-gap: clamp(56px, 8vw, 128px);
}
.auswahl-raster > :nth-child(1) { grid-column: 1 / 7; }
.auswahl-raster > :nth-child(2) { grid-column: 8 / 12; align-self: end; }
.auswahl-raster > :nth-child(3) { grid-column: 3 / 11; }
@media (max-width: 759px) {
  .auswahl-raster > :nth-child(1) { grid-column: 1 / -1; }
  .auswahl-raster > :nth-child(2) { grid-column: 4 / -1; }
  .auswahl-raster > :nth-child(3) { grid-column: 1 / -1; }
}

/* ---------- Stoff-Detail (Fashion Paris) ---------- */

.stoff { padding-top: 0; }
.stoff-raster {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--spalt);
  row-gap: 32px;
  align-items: end;
}
.stoff-bild { grid-column: 1 / 9; margin: 0; }
.stoff-bild a { display: block; }
.stoff-bild img { width: 100%; filter: var(--schatten-werk); }
.stoff-text { grid-column: 9 / 13; display: grid; gap: 18px; justify-items: start; padding-bottom: 12px; }
@media (max-width: 899px) { .stoff-bild, .stoff-text { grid-column: 1 / -1; } }

/* ---------- Making-of ---------- */

.making { background: var(--argento); }
.making-raster {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--spalt);
  row-gap: 48px;
  align-items: center;
}
.video-rahmen {
  grid-column: 1 / 6;
  position: relative;
  width: min(100%, 440px);
  justify-self: center;
}
.video-rahmen video {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #2a2a28;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgb(0 0 0 / 0.12), 0 24px 48px rgb(0 0 0 / 0.18);
}
.video-knopf {
  position: absolute;
  right: 14px; bottom: 14px;
  display: inline-grid;
  place-items: center;
  width: 48px; height: 48px;
  border: 0;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.92);
  color: var(--nero);
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.2);
}
.video-knopf svg { width: 20px; height: 20px; }
.video-knopf .ic-play { display: none; }
.video-knopf[data-zustand="pause"] .ic-play { display: block; }
.video-knopf[data-zustand="pause"] .ic-pause { display: none; }
.making-text { grid-column: 7 / 13; display: grid; gap: 24px; max-width: 46ch; }
.schritte {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--spalt);
  counter-reset: schritt;
}
.schritte li { counter-increment: schritt; font-size: 0.9375rem; line-height: 1.4; }
.schritte img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 3px; margin-bottom: 12px; }
.schritte li::before {
  content: counter(schritt);
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1;
  margin-bottom: 6px;
  color: var(--malva);
}
@media (max-width: 899px) {
  .video-rahmen, .making-text { grid-column: 1 / -1; }
  .video-rahmen { width: min(100%, 360px); }
}

/* ---------- Shop-Vorschau und Werk-Kacheln ---------- */

.shopv { background: var(--cipria); }
.shopv .abschnitt-kopf { align-items: end; }
.shopv-text { max-width: 44ch; margin-top: 18px; }
.kacheln {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(28px, 3vw, 44px) var(--spalt);
}
@media (max-width: 1099px) { .kacheln { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.kachel { position: relative; display: flex; flex-direction: column; }
.kachel-wand {
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  place-items: center;
  aspect-ratio: 4 / 5;
  padding: 8%;
  background: var(--argento);
  margin-bottom: 16px;
  overflow: hidden;
}
.shopv .kachel-wand { background: var(--weiss); }
.kachel-wand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: var(--schatten-werk);
  transition: transform 0.6s var(--ease), filter 0.6s var(--ease);
}
.kachel-link { text-decoration: none; color: inherit; }
.kachel-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.kachel:hover .kachel-wand img { transform: translateY(-4px) scale(1.015); filter: var(--schatten-hoch); }
.kachel:hover .kachel-titel { color: var(--malva); }
.kachel-titel { font-family: var(--serif); font-style: italic; font-size: 1.3125rem; line-height: 1.2; transition: color 0.2s; }
.kachel-meta { font-size: 0.875rem; color: var(--grafit); line-height: 1.5; margin-top: 4px; }
.shopv .kachel-meta { color: #57434a; }
.kachel-fuss {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 12px;
}
.waehrung { font-family: var(--sans); font-weight: 400; font-size: 0.82em; }
.preis { font-family: var(--serif); font-size: 1.1875rem; font-weight: 500; font-variant-numeric: lining-nums tabular-nums; }
.status-hinweis { font-size: 0.875rem; color: var(--grafit); }
.status-hinweis[data-status="verkauft"]::before,
.status-hinweis[data-status="reserviert"]::before {
  content: "";
  display: inline-block;
  width: 9px; height: 9px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--fehler);
  vertical-align: 0.05em;
}
.status-hinweis[data-status="reserviert"]::before { background: var(--rosa); }
.kachel .knopf { position: relative; z-index: 2; min-height: 40px; padding: 8px 16px; font-size: 0.875rem; }

.shopv-fuss { margin-top: clamp(40px, 5vw, 64px); }

/* ---------- Über mich ---------- */

.ueber-raster {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--spalt);
  row-gap: 40px;
  align-items: center;
}
.portraet { grid-column: 1 / 6; margin: 0; }
.portraet img { width: 100%; border-radius: 3px; }
.ueber-text { grid-column: 7 / 12; display: grid; gap: 20px; max-width: 52ch; }
.ueber-text h2 { font-size: clamp(2.5rem, 5.2vw, 4.5rem); margin-bottom: 8px; }
.insta-link { color: var(--malva); display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; font-weight: 500; }
.insta-link svg { width: 20px; height: 20px; }
@media (max-width: 899px) {
  .portraet { grid-column: 1 / -1; max-width: 520px; }
  .ueber-text { grid-column: 1 / -1; }
}

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

.fuss { background: var(--nero); color: #d6d6d3; padding-block: clamp(64px, 8vw, 112px) 36px; }
.fuss a { color: var(--weiss); }
.fuss a:hover { color: var(--rosa); }
.fuss-raster {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px var(--spalt);
  align-items: start;
}
.fuss-marke { font-family: var(--serif); font-size: clamp(3rem, 7vw, 5.5rem); line-height: 0.9; color: var(--weiss); letter-spacing: -0.02em; }
.fuss-satz { margin-top: 16px; max-width: 30ch; }
.fuss-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.fuss-liste a { text-decoration: none; }
.fuss-liste a:hover, .fuss-liste .textknopf:hover { text-decoration: underline; }
.fuss-liste .textknopf { color: var(--weiss); text-decoration: none; }
.fuss-liste .textknopf:hover { color: var(--rosa); }
.fuss-unten {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-top: clamp(56px, 7vw, 96px);
  padding-top: 24px;
  border-top: 1px solid #2e2e2c;
  font-size: 0.875rem;
  color: #a9a9a6;
}
.fuss-credit a { color: #d6d6d3; text-decoration: underline; text-decoration-color: #5a5a58; }
.fuss-credit a:hover { color: var(--rosa); text-decoration-color: currentColor; }
.fuss .sprache { border-color: #3a3a38; }
.fuss .sprache button { color: #b5b5b2; }
.fuss .sprache button[aria-pressed="true"] { background: var(--weiss); color: var(--nero); }
@media (max-width: 759px) { .fuss-raster { grid-template-columns: 1fr 1fr; } .fuss-raster > :first-child { grid-column: 1 / -1; } }

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

.seitenkopf {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--spalt);
  row-gap: 20px;
  align-items: end;
  padding-top: clamp(40px, 7vw, 104px);
  padding-bottom: clamp(48px, 7vw, 104px);
}
.seitenkopf h1 { grid-column: 1 / 8; font-size: clamp(3.25rem, 9vw, 6rem); line-height: 0.95; letter-spacing: -0.025em; }
.seitenkopf p { grid-column: 8 / 13; max-width: 40ch; color: #2b2b2a; }
@media (max-width: 759px) { .seitenkopf h1, .seitenkopf p { grid-column: 1 / -1; } }

/* ---------- Galerie ---------- */

.galerie-liste { display: grid; gap: clamp(96px, 12vw, 176px); padding-bottom: var(--abschnitt); }
.g-werk {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--spalt);
  row-gap: 28px;
  align-items: end;
}
.g-bild {
  grid-column: 1 / 8;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  justify-self: start;
}
.g-bild img { filter: var(--schatten-werk); transition: filter 0.5s var(--ease), transform 0.5s var(--ease); max-height: 84svh; width: auto; }
.g-bild:hover img { filter: var(--schatten-hoch); transform: translateY(-3px); }
.g-text { grid-column: 9 / 13; display: grid; gap: 14px; max-width: 38ch; padding-bottom: 8px; }
.g-titel { font-size: clamp(2rem, 3.4vw, 3rem); font-style: italic; }
.g-meta { font-size: 0.9375rem; color: var(--grafit); }
.g-werk:nth-child(even) .g-bild { grid-column: 6 / 13; grid-row: 1; justify-self: end; }
.g-werk:nth-child(even) .g-text { grid-column: 1 / 5; grid-row: 1; }
.g-werk--quer .g-bild { grid-column: 1 / 10; }
.g-werk--quer:nth-child(even) .g-bild { grid-column: 5 / 13; }
.g-werk--quer .g-bild img { width: 100%; max-height: none; }
@media (max-width: 899px) {
  .g-werk .g-bild, .g-werk:nth-child(even) .g-bild, .g-werk .g-text, .g-werk:nth-child(even) .g-text { grid-column: 1 / -1; grid-row: auto; justify-self: stretch; }
  .g-bild img { width: 100%; max-height: none; }
}

.atelier { background: var(--argento); }
.atelier-raster {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--spalt);
  row-gap: 40px;
  align-items: end;
}
.atelier-text { grid-column: 1 / 5; display: grid; gap: 18px; }
.atelier-bilder { grid-column: 6 / 13; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--spalt); margin: 0; padding: 0; list-style: none; }
.atelier-bilder img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 3px; }
@media (max-width: 899px) { .atelier-text, .atelier-bilder { grid-column: 1 / -1; } }

/* Große Ansicht */
.licht {
  width: 100vw; height: 100dvh;
  max-width: none; max-height: none;
  margin: 0; padding: 0;
  border: 0;
  background: rgb(250 250 248 / 0.98);
  color: var(--nero);
}
.licht::backdrop { background: rgb(0 0 0 / 0.3); }
.licht[open] { display: grid; grid-template-rows: auto 1fr auto; }
.licht-kopf { display: flex; justify-content: flex-end; padding: 12px var(--rand); }
.licht-buehne { display: grid; place-items: center; min-height: 0; padding: 0 var(--rand); }
.licht-buehne img { max-width: 100%; max-height: calc(100dvh - 190px); width: auto; height: auto; object-fit: contain; filter: var(--schatten-werk); }
.licht-fuss { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px var(--rand) 22px; }
.licht-angabe em { font-family: var(--serif); font-size: 1.375rem; display: block; }
.licht-angabe span { font-size: 0.875rem; color: var(--grafit); }
.licht-pfeile { display: flex; gap: 10px; }
.rund-knopf {
  display: inline-grid;
  place-items: center;
  width: 48px; height: 48px;
  border: 1px solid var(--nero);
  border-radius: 999px;
  background: var(--weiss);
}
.rund-knopf:hover { background: var(--nero); color: var(--weiss); }
.rund-knopf svg { width: 20px; height: 20px; }
@media (prefers-reduced-motion: no-preference) {
  .licht[open] .licht-buehne img { animation: einblenden 0.4s var(--ease); }
}

/* ---------- Shop ---------- */

.schritte-shop {
  list-style: none;
  margin: 0 0 clamp(48px, 6vw, 80px);
  padding: 22px 0;
  border-block: 1px solid var(--argento-tief);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px var(--spalt);
  counter-reset: schritt;
}
.schritte-shop li { counter-increment: schritt; display: flex; gap: 14px; align-items: baseline; font-size: 0.9375rem; line-height: 1.45; }
.schritte-shop li::before { content: counter(schritt); font-family: var(--serif); font-style: italic; font-size: 1.625rem; line-height: 1; color: var(--malva); }
@media (max-width: 759px) { .schritte-shop { grid-template-columns: 1fr; } }
.shop-raster { padding-bottom: var(--abschnitt); }
.shop-raster .kacheln { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 4vw, 64px) var(--spalt); }
@media (min-width: 900px) { .shop-raster .kachel-wand { aspect-ratio: 1 / 1; } }
@media (max-width: 599px) { .shop-raster .kacheln { grid-template-columns: repeat(2, minmax(0, 1fr)); } .kachel .kachel-fuss { flex-direction: column; align-items: stretch; } }

/* ---------- Werk-Detail ---------- */

.brotkrumen { padding-top: 28px; font-size: 0.875rem; color: var(--grafit); }
.brotkrumen ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.brotkrumen li + li::before { content: "/"; margin-right: 8px; color: var(--argento-tief); }
.brotkrumen a { color: var(--malva); }
.brotkrumen [aria-current] { color: var(--nero); }

.detail {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--spalt);
  row-gap: 40px;
  padding-top: 28px;
  padding-bottom: var(--abschnitt);
  align-items: start;
}
.detail-bilder { grid-column: 1 / 8; display: grid; gap: 16px; }
.detail-buehne {
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  place-items: center;
  background: var(--argento);
  aspect-ratio: 1 / 1;
  padding: 9%;
  overflow: hidden;
}
.detail-buehne img { width: 100%; height: 100%; object-fit: contain; filter: var(--schatten-hoch); }
.detail-buehne.ist-raum { padding: 0; aspect-ratio: auto; grid-template: auto / minmax(0, 1fr); }
.detail-buehne.ist-raum img { width: 100%; height: auto; object-fit: fill; filter: none; }
.detail-ansichten { display: flex; gap: 12px; }
.raum-hinweis { margin-top: -4px; }
.ansicht-knopf {
  width: 84px;
  aspect-ratio: 1;
  padding: 8px;
  border: 1px solid var(--argento-tief);
  border-radius: 3px;
  background: var(--argento);
  display: grid;
  place-items: center;
}
.ansicht-knopf { grid-template: minmax(0, 1fr) / minmax(0, 1fr); }
.ansicht-knopf img { width: 100%; height: 100%; object-fit: contain; }
.ansicht-knopf[aria-pressed="true"] { border-color: var(--nero); box-shadow: inset 0 0 0 1px var(--nero); }
.detail-info { grid-column: 9 / 13; position: sticky; top: calc(var(--kopf) + 32px); display: grid; gap: 22px; }
.detail-info h1 { font-size: clamp(2.5rem, 4.4vw, 4rem); font-style: italic; line-height: 1; }
.detail-preis { font-family: var(--serif); font-size: 2rem; font-weight: 500; line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.detail-daten { display: grid; grid-template-columns: auto 1fr; gap: 8px 24px; margin: 0; padding: 18px 0; border-block: 1px solid var(--argento-tief); font-size: 0.9375rem; }
.detail-daten dt { color: var(--grafit); }
.detail-daten dd { margin: 0; }
.detail-aktion { display: grid; gap: 12px; }
.detail-aktion .knopf { width: 100%; }
.klein { font-size: 0.875rem; color: var(--grafit); line-height: 1.5; }
@media (max-width: 899px) {
  .detail-bilder, .detail-info { grid-column: 1 / -1; position: static; }
}
.leer-zustand { padding-block: clamp(64px, 10vw, 140px); display: grid; gap: 18px; justify-items: start; max-width: 46ch; }
.leer-zustand h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }

.weitere { padding-bottom: var(--abschnitt); }
.weitere h2 { font-size: clamp(2rem, 3.6vw, 3rem); margin-bottom: 40px; }
@media (min-width: 900px) { .weitere .kacheln { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 899px) { .weitere .kachel:nth-child(n + 3) { display: none; } }

/* ---------- Anfrage-Korb (Dialog) ---------- */

.korb {
  margin: 0 0 0 auto;
  width: min(460px, 100vw);
  height: 100dvh;
  max-height: none;
  padding: 0;
  border: 0;
  background: var(--weiss);
  color: var(--nero);
  box-shadow: -12px 0 48px rgb(0 0 0 / 0.16);
}
.korb::backdrop { background: rgb(20 12 16 / 0.36); }
.korb[open] { display: flex; flex-direction: column; }
@media (prefers-reduced-motion: no-preference) {
  .korb[open] { animation: hereinschieben 0.45s var(--ease); }
  .korb[open]::backdrop { animation: einblenden 0.3s ease; }
}
@keyframes hereinschieben { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.korb-kopf { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; border-bottom: 1px solid var(--argento-tief); }
.korb-kopf h2 { font-size: 1.75rem; }
.korb-inhalt { flex: 1; overflow-y: auto; padding: 8px 24px 32px; overscroll-behavior: contain; }
.korb-liste { list-style: none; margin: 0; padding: 0; }
.korb-posten { display: grid; grid-template-columns: 72px 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--argento); }
.korb-posten .mini { width: 72px; aspect-ratio: 4 / 5; background: var(--argento); display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; padding: 8px; }
.korb-posten .mini img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 3px 4px rgb(0 0 0 / 0.18)); }
.korb-posten h3 { font-size: 1.125rem; font-style: italic; }
.korb-posten .klein { margin-top: 2px; }
.entfernen-knopf { width: 40px; height: 40px; border: 0; border-radius: 999px; background: transparent; display: grid; place-items: center; color: var(--grafit); }
.entfernen-knopf:hover { background: var(--argento); color: var(--nero); }
.entfernen-knopf svg { width: 18px; height: 18px; }
.korb-summe { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 0 8px; font-weight: 500; }
.korb-summe > span:last-child { font-family: var(--serif); font-size: 1.375rem; font-variant-numeric: lining-nums tabular-nums; }
.korb-hinweis { margin: 4px 0 24px; }
.korb-form { display: grid; gap: 16px; }
.feld { display: grid; gap: 6px; }
.feld label { font-size: 0.875rem; font-weight: 500; }
.feld input, .feld textarea {
  width: 100%;
  border: 1px solid #b4b4b1;
  border-radius: 4px;
  padding: 12px 14px;
  background: var(--weiss);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.2s;
}
.feld textarea { min-height: 96px; resize: vertical; }
.feld input:hover, .feld textarea:hover { border-color: var(--grafit); }
.feld input:focus-visible, .feld textarea:focus-visible { outline: 2px solid var(--malva); outline-offset: 1px; border-color: var(--malva); }
.feld input[aria-invalid="true"] { border-color: var(--fehler); }
.feld-fehler { font-size: 0.875rem; color: var(--fehler); }
.feld-fehler:empty { display: none; }
.korb-leer { display: grid; gap: 14px; justify-items: start; padding: 20px 0 32px; }
.korb-leer + .korb-form { padding-top: 28px; border-top: 1px solid var(--argento-tief); }
/* Honigtopf für Bots: unsichtbar, aber nicht display:none (sonst füllen ihn manche Bots nicht aus) */
.feld-honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-fehler { color: var(--fehler); font-size: 0.9375rem; line-height: 1.5; }
.form-datenschutz a { color: var(--malva); }
.korb-form.sendet button[type="submit"] { opacity: 0.6; cursor: progress; }
.korb-leer p:first-child { font-family: var(--serif); font-size: 1.5rem; }
.korb-danke { display: grid; gap: 16px; padding: 24px 0; }
.korb-danke h3 { font-size: 2.25rem; font-style: italic; }
.knopf-reihe { display: flex; flex-wrap: wrap; gap: 10px; }
.schliessen-knopf { width: 44px; height: 44px; border: 0; background: transparent; border-radius: 999px; display: grid; place-items: center; }
.schliessen-knopf:hover { background: var(--argento); }
.schliessen-knopf svg { width: 22px; height: 22px; }

/* ---------- Rechtliches ---------- */

.recht { padding-bottom: var(--abschnitt); display: grid; gap: 36px; max-width: 68ch; }
.recht h2 { font-size: 1.625rem; margin-bottom: 10px; }
.recht p + p { margin-top: 12px; }
.recht a, .recht .textknopf { color: var(--malva); }
[data-seite="recht"] .seitenkopf h1 { grid-column: 1 / -1; font-size: clamp(2.5rem, 8vw, 5.5rem); overflow-wrap: anywhere; hyphens: auto; }
[data-seite="recht"] .seitenkopf .recht-sprache { grid-column: 1 / -1; color: var(--grafit); }
.recht-sprache:empty { display: none; }
.recht-stand { margin-top: -8px; }

/* ---------- Prüfmodus (?pruef=1): Platzhalter sichtbar machen ---------- */

.pruef [data-platzhalter] { outline: 2px dashed #c4122f; outline-offset: 2px; }
.pruef-band {
  position: fixed;
  left: 12px; bottom: 12px;
  z-index: 90;
  background: #c4122f;
  color: var(--weiss);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
