/* =========================================================
   Laura Capozzi – Website
   Farben, Schriften und Layout (Designlinie „Pigmento“)
   ========================================================= */

/* ---------- Schriften (lokal, ohne Google-Server) ---------- */
@font-face {
  font-family: "Libre Bodoni";
  src: url("schriften/libre-bodoni-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Libre Bodoni";
  src: url("schriften/libre-bodoni-latin-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("schriften/jost-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("schriften/jost-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ---------- Farben ---------- */
:root {
  --carta: #FBF9F4;        /* Hintergrund */
  --carta-dunkel: #F2EEE5; /* Flächen, Bildhintergrund */
  --linie: #E2DDD2;
  --tinte: #1F2421;        /* Text */
  --text-ruhig: #3E4440;
  --grau: #5F6660;
  --verde: #3F6650;        /* Akzent: Terra verde */
  --verde-dunkel: #2C4A39;

  --ocra: #C8923A;
  --siena: #9C4A2C;
  --terra-verde: #5E7A5A;
  --indaco: #3E4C6B;
  --robbia: #B5636A;

  --serif: "Libre Bodoni", "Bodoni 72", Georgia, serif;
  --sans: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
  --rand: clamp(20px, 5vw, 64px);
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--carta);
  color: var(--tinte);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--verde); }
a:hover { color: var(--verde-dunkel); }
:focus-visible { outline: 2px solid var(--verde); outline-offset: 3px; }

.inhalt { max-width: 1152px; margin: 0 auto; padding-left: var(--rand); padding-right: var(--rand); }
.serif { font-family: var(--serif); }
.kicker {
  font-size: 13px; font-weight: 500; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--verde);
}
.titel {
  margin: 0; font-family: var(--serif); font-weight: 400;
  font-size: clamp(34px, 4.4vw, 56px); line-height: 1.1;
}
.kopf-zentriert { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }

/* Fünf Pigmentpunkte */
.punkte { display: flex; gap: 8px; }
.punkte span { width: 10px; height: 10px; border-radius: 50%; }
.punkte.klein { gap: 6px; }
.punkte.klein span { width: 7px; height: 7px; }
.p-ocra { background: var(--ocra); }
.p-siena { background: var(--siena); }
.p-verde { background: var(--terra-verde); }
.p-indaco { background: var(--indaco); }
.p-robbia { background: var(--robbia); }

/* Schaltflächen */
.knopf {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 30px; border: 0;
  background: var(--verde); color: var(--carta);
  font-family: var(--sans); font-size: 14px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none;
  cursor: pointer;
}
.knopf:hover { background: var(--verde-dunkel); color: var(--carta); }
.textlink { font-size: 14px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; }

/* ---------- Kopfzeile ---------- */
.kopfzeile { padding-top: 36px; padding-bottom: 8px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.logo { font-family: var(--serif); font-size: 30px; line-height: 1.1; color: var(--tinte); text-decoration: none; }
.logo:hover { color: var(--tinte); }
.navigation { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 30px; font-size: 13px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; }
.navigation a { color: var(--tinte); text-decoration: none; }
.navigation a:hover { color: var(--verde); }
.sprache { color: var(--grau); }
.sprache a { color: var(--grau); }
.sprache [aria-current="true"] { color: var(--tinte); }

/* ---------- Einstieg ---------- */
.einstieg { padding-top: 72px; padding-bottom: 104px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; }
.einstieg h1 {
  margin: 0; max-width: 12em; font-family: var(--serif); font-weight: 400;
  font-size: clamp(44px, 6.4vw, 92px); line-height: 1.04; text-wrap: balance;
}
.einstieg .unterzeile { margin: 0; max-width: 28em; font-size: 19px; color: var(--text-ruhig); }
.knopfreihe { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 28px; }

/* Bildrahmen: Bilder werden ganz gezeigt, nie beschnitten */
/* Bilder werden immer ganz und im eigenen Format gezeigt (Hoch- oder Querformat) */
.bildrahmen { display: flex; align-items: flex-end; justify-content: center; }
.bildrahmen img { width: 100%; height: auto; border: 1px solid #000000; } /* feiner schwarzer Rahmen */
.titelbild .bildrahmen img { width: auto; max-width: 100%; max-height: min(75vh, 680px); }
.titelbild { margin: 40px 0 0; width: 100%; max-width: 880px; display: flex; flex-direction: column; gap: 12px; }
.bildunterschrift { font-size: 14px; color: var(--grau); }
.bildunterschrift em { font-family: var(--serif); font-size: 17px; color: var(--tinte); }

/* ---------- Ausstellung ---------- */
.ausstellung { background: var(--verde); color: var(--carta); }
.ausstellung .inhalt {
  padding-top: 64px; padding-bottom: 64px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 28px 56px; align-items: center;
}
.ausstellung .kicker { color: var(--carta); }
.ausstellung h2 { margin: 10px 0 0; font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 3.8vw, 48px); line-height: 1.1; }
.ausstellung .angaben { display: flex; flex-direction: column; gap: 6px; }
.ausstellung .mitwirkende { margin: 16px 0 0; max-width: 34em; font-size: 15px; line-height: 1.6; color: #E3E9E4; }
.ausstellung .mitwirkende strong { color: var(--carta); font-weight: 500; }
.ausstellung a { margin-top: 10px; color: var(--carta); text-underline-offset: 0.3em; }

/* ---------- Arbeiten ---------- */
.arbeiten { padding-top: 104px; padding-bottom: 104px; display: flex; flex-direction: column; gap: 48px; }
.raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 48px 28px; align-items: end; } /* Bilder stehen auf einer gemeinsamen Linie */
.werk { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.werk figcaption { display: flex; flex-direction: column; gap: 2px; }
.werk .werktitel { display: flex; align-items: center; gap: 10px; }
.werk .werktitel span { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.werk .werktitel em { font-family: var(--serif); font-size: 19px; }
.werk .technik { font-size: 14px; color: var(--grau); }

/* ---------- Farben ---------- */
.farben { background: var(--carta-dunkel); }
.farben .inhalt {
  padding-top: 96px; padding-bottom: 96px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr));
  gap: 48px 72px; align-items: center;
}
.farben .text { display: flex; flex-direction: column; gap: 18px; }
.farben p { margin: 0; max-width: 28em; color: var(--text-ruhig); }
.farbpalette { display: grid; grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)); gap: 24px 16px; margin: 0; padding: 0; list-style: none; }
.farbpalette li { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; font-family: var(--serif); font-style: italic; font-size: 17px; }
.farbpalette li span { width: 72px; height: 72px; }
.f1 { border-radius: 48% 52% 46% 54%; background: var(--ocra); }
.f2 { border-radius: 54% 46% 52% 48%; background: var(--siena); }
.f3 { border-radius: 50% 50% 46% 54%; background: var(--terra-verde); }
.f4 { border-radius: 46% 54% 50% 50%; background: var(--indaco); }
.f5 { border-radius: 52% 48% 54% 46%; background: var(--robbia); }

/* ---------- Kontakt ---------- */
.kontakt { padding-top: 104px; padding-bottom: 104px; display: flex; flex-direction: column; align-items: center; gap: 36px; }
.kontakt .kopf-zentriert p { margin: 6px 0 0; color: var(--text-ruhig); }
.formular { width: 100%; max-width: 640px; display: flex; flex-direction: column; gap: 20px; }
.formular .zweispaltig { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 20px; }
.feld { display: flex; flex-direction: column; gap: 6px; }
.feld label { font-size: 13px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-ruhig); }
.feld input, .feld textarea {
  border: 1px solid #C9C3B6; border-radius: 0; background: #FFFFFF;
  padding: 12px 14px; font-family: var(--sans); font-size: 17px; color: var(--tinte);
}
.feld textarea { resize: vertical; min-height: 140px; }
.feld input:focus, .feld textarea:focus { border-color: var(--verde); outline: 1px solid var(--verde); }
.formular .knopf { align-self: center; padding: 0 36px; }
.formular .hinweis-datenschutz { margin: 0; font-size: 13px; color: var(--grau); text-align: center; }
.honigtopf { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.meldung { display: none; width: 100%; max-width: 640px; padding: 16px 20px; text-align: center; border: 1px solid var(--verde); color: var(--verde-dunkel); background: #FFFFFF; }
.meldung:target { display: block; }
.meldung.fehler { border-color: var(--siena); color: #7A3720; }


/* ---------- Fußzeile ---------- */
.fusszeile { border-top: 1px solid var(--linie); }
.fusszeile .inhalt { padding-top: 32px; padding-bottom: 32px; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 13px; color: var(--grau); }
.fusszeile nav { display: flex; gap: 24px; }
.fusszeile a { color: var(--grau); }

/* ---------- Rechtstexte (Impressum, Datenschutz) ---------- */
.rechtstext { max-width: 760px; padding-top: 64px; padding-bottom: 96px; }
.rechtstext h1 { margin: 0 0 32px; font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 5vw, 52px); line-height: 1.1; }
.rechtstext h2 { margin: 40px 0 8px; font-family: var(--serif); font-weight: 400; font-size: 24px; }
.rechtstext p, .rechtstext li { color: var(--text-ruhig); }
.rechtstext .zurueck { display: inline-block; margin-bottom: 32px; }
