@font-face { font-family: "Poppins"; font-weight: 300; font-style: normal; font-display: swap; src: url("../fonts/poppins-300.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 300; font-style: italic; font-display: swap; src: url("../fonts/poppins-300i.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/poppins-600.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/poppins-700.woff2") format("woff2"); }

:root {
  --rot: #cc3b52;          /* Überschriften */
  --rot-hell: #e23e57;     /* Fuß, Knöpfe, Fotorahmen */
  --rot-dunkel: #a63345;
  --text: #222222;
  --weiss: #ffffff;
  --rand: 16px;
  --inhalt: 900px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--weiss); color: var(--text);
  font-family: "Poppins", system-ui, sans-serif; font-weight: 300; font-size: 16px; line-height: 1.7;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rot); }

/* Kopf */
.kopf {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 40px 24px 30px;
}
.logo img { width: 156px; height: auto; }
.navigation { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.navigation a {
  color: var(--text); text-decoration: none; font-weight: 400; font-size: 17px; letter-spacing: .02em;
  padding: 9px 11px; border: 2px solid transparent;
}
.navigation a:hover, .navigation a[aria-current="page"] { border-color: #555; }

/* Abschnitte */
main { min-height: 50vh; }
.abschnitt { max-width: var(--inhalt); margin: 0 auto; padding: 100px var(--rand) 80px; }
.abschnitt.schmal { max-width: 760px; padding-top: 40px; }
.titel {
  color: var(--rot); font-weight: 700; font-size: 46px; line-height: 1.2; letter-spacing: -.01em;
  text-align: center; margin: 0 0 30px;
}
.titel.links { text-align: left; }
.titel.klein { font-size: 32px; margin: 30px 0 24px; }
.untertitel { color: var(--rot); font-weight: 400; font-size: 32px; text-align: center; margin: 0 0 22px; line-height: 1.3; }

/* Galerie: Mosaik in 3 Spalten (2 auf dem Handy), Reihenfolge spaltenweise wie im Original */
.galerie { columns: 3; column-gap: 16px; }
.werk { margin: 0 0 16px; break-inside: avoid; }
.werk-link { display: block; box-shadow: 0 1px 4px rgba(0, 0, 0, .18); background: #f4f4f4; }
.werk-link img { width: 100%; transition: opacity .2s; }
.werk-link:hover img, .werk-link:focus-visible img { opacity: .85; }

/* Großansicht */
.lightbox {
  position: fixed; inset: 0; z-index: 50; background: rgba(0, 0, 0, .92);
  display: flex; align-items: center; justify-content: center; padding: 50px 64px;
}
.lightbox[hidden] { display: none; }
.lb-inhalt { margin: 0; display: flex; flex-direction: column; align-items: center; max-height: 100%; }
.lb-inhalt img { max-height: calc(100vh - 190px); max-width: 100%; width: auto; object-fit: contain; }
.lb-inhalt figcaption {
  color: #fff; text-align: center; margin-top: 14px; display: flex; flex-direction: column; line-height: 1.5; font-size: 15px;
}
.lb-titel { font-weight: 600; font-size: 18px; }
.lb-status { margin-top: 6px; font-weight: 600; letter-spacing: .05em; }
.lb-status.verkauft { color: #ffb3bf; }
.lightbox button {
  position: absolute; background: none; border: 0; color: #fff; cursor: pointer; font-family: inherit;
  font-size: 44px; line-height: 1; padding: 10px 14px; opacity: .85;
}
.lightbox button:hover, .lightbox button:focus-visible { opacity: 1; }
.lb-zu { top: 8px; right: 12px; }
.lb-zurueck { left: 6px; top: 50%; transform: translateY(-50%); }
.lb-weiter { right: 6px; top: 50%; transform: translateY(-50%); }

.lb-mehr { color: #fff; margin-top: 8px; font-size: 14px; }

/* Eigene Seite pro Werk */
.werkseite { max-width: 1100px; padding-top: 30px; }
.zurueck { margin: 0 0 20px; }
.zurueck a, .werk-blaettern a { color: var(--text); text-decoration: none; font-weight: 400; }
.zurueck a:hover, .werk-blaettern a:hover { color: var(--rot); }
.werk-gross { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 48px; align-items: start; }
.werk-gross img { width: 100%; box-shadow: 0 1px 6px rgba(0, 0, 0, .18); }
.werk-angaben .titel { margin-top: 0; }
.werk-status { font-weight: 600; letter-spacing: .05em; color: var(--rot); }
.werk-status.verkauft { color: #777; }
.werk-blaettern { display: flex; justify-content: space-between; gap: 16px; margin-top: 40px; border-top: 1px solid #eee; padding-top: 16px; }
.partner { font-size: 14px; }

/* Info / Kontakt: zwei Spalten, Foto mit versetztem roten Block */
.zweispaltig { display: grid; grid-template-columns: 1fr 1fr; gap: 110px; align-items: start; max-width: 1000px; }
.zweispaltig + .zweispaltig { padding-top: 60px; }
.zweispaltig .text { font-size: 15.5px; }
.zweispaltig .text p { margin: 0 0 16px; }
.foto img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 30%; position: relative; }
.foto-rechts, .foto-links { position: relative; }
.foto-rechts::before, .foto-links::before { content: ""; position: absolute; inset: 0; background: var(--rot-hell); }
.foto-rechts::before { transform: translate(25px, 25px); }
.foto-links::before { transform: translate(-25px, -25px); }
.umgekehrt .text { padding-top: 0; }
.kontakt { grid-template-columns: 1fr 1.5fr; gap: 80px; max-width: 760px; padding-top: 10px; }
.kontakt .foto img { aspect-ratio: auto; }
.mitte { text-align: center; margin-top: 40px !important; }
.knopf {
  display: inline-block; background: var(--rot-hell); color: #fff; text-decoration: none; font-weight: 400;
  padding: 7px 8px; border-radius: 6px; font-size: 15px;
}
.knopf:hover, .knopf:focus-visible { background: var(--rot-dunkel); }

/* Rechtstexte */
.rechtstext h2 { font-size: 18px; font-weight: 600; margin: 28px 0 6px; }
.rechtstext p { margin: 0 0 12px; }
.klein-text { font-size: 13px; color: #666; }

/* Fuß */
.fuss { background: var(--rot-hell); color: #fff; margin-top: 60px; }
.fuss-innen { max-width: var(--inhalt); margin: 0 auto; padding: 40px var(--rand) 20px; font-weight: 400; }
.fuss h2 { font-weight: 700; font-size: 22px; margin: 20px 0 8px; }
.fuss p { margin: 0 0 20px; }
.fuss a { color: #fff; text-decoration: none; }
.fuss a:hover { text-decoration: underline; }
.fuss .fuss-link { font-weight: 700; font-size: 22px; text-decoration: underline; color: #f6d2d5; }
.copyright { text-align: center; font-size: 14px; margin-top: 40px !important; }

/* Tablet und Handy */
@media (max-width: 900px) {
  .zweispaltig { gap: 60px; }
}
@media (max-width: 700px) {
  .kopf { padding: 12px var(--rand); gap: 12px; }
  .logo img { width: 76px; }
  .kopf-rechts { flex: 1 1 auto; min-width: 0; }
  .navigation { gap: 2px; }
  .navigation a { font-size: 14px; padding: 5px 7px; }
  .abschnitt { padding-top: 40px; padding-bottom: 40px; }
  .titel { font-size: 34px; }
  .titel.klein { font-size: 26px; }
  .untertitel { font-size: 22px; }
  .galerie { columns: 2; column-gap: 12px; }
  .werk { margin-bottom: 12px; }
  .zweispaltig, .kontakt, .werk-gross { grid-template-columns: 1fr; gap: 30px; }
  .umgekehrt .foto { order: 2; }
  .foto-rechts::before { transform: translate(14px, 14px); }
  .foto-links::before { transform: translate(-14px, -14px); }
  .foto-rechts, .foto-links { margin: 0 14px; }
  .lightbox { padding: 50px 8px 20px; }
  .lb-pfeil { top: auto !important; bottom: 6px; transform: none !important; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Sprachumschalter */
.kopf-rechts { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.sprachwahl { display: flex; gap: 2px; font-size: 13px; }
.sprachwahl a { color: #777; text-decoration: none; padding: 2px 6px; font-weight: 400; }
.sprachwahl a:hover { color: var(--rot); }
.sprachwahl a[aria-current="true"] { color: var(--text); font-weight: 600; }

/* Hinweis auf Zunft & Pinsel (Info-Seite) */
.abschnitt.scheiben-hinweis { text-align: center; padding-top: 80px; }
.scheiben-hinweis p { font-size: 15.5px; }
.scheiben-reihe { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; margin: 28px 0; }
.scheiben-reihe img { width: 180px; height: auto; max-width: 28vw; filter: drop-shadow(0 4px 10px rgba(0,0,0,.18)); }
@media (max-width: 700px) { .scheiben-reihe { gap: 10px; flex-wrap: nowrap; } }
